:root {
  --ink: #13293d;
  --muted: #52677a;
  --blue: #075985;
  --cyan: #0891b2;
  --light: #eef8fb;
  --line: #d8e7ed;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(13, 62, 84, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f8fcfd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 231, 237, 0.9);
  background: rgba(248, 252, 253, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.18), rgba(8, 145, 178, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; }

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 750;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 89, 133, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
}

.portrait-wrap {
  position: relative;
  max-width: 380px;
  justify-self: end;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(150deg, var(--cyan), var(--blue));
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 24%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.section { padding: 78px 0; }
.section-soft { background: var(--light); }

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
}

.section-heading p { margin: 14px 0 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(13, 62, 84, 0.05);
}

.card-number {
  display: block;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card h3 { margin: 14px 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: clamp(25px, 5vw, 40px);
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
}

.panel.light {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.panel h2 { margin: 0 0 22px; font-size: clamp(1.8rem, 4vw, 2.5rem); }

.hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 22px;
  margin: 0;
}

.hours dt { color: #bed5df; }
.hours dd { margin: 0; font-weight: 800; text-align: right; }
.hours .closed { color: #8fadb9; }

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li + li { margin-top: 14px; }
.contact-label { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-list a { color: var(--blue); font-weight: 800; text-decoration: none; }

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--cyan);
  background: rgba(8, 145, 178, 0.08);
  color: var(--muted);
  border-radius: 0 12px 12px 0;
  font-size: 0.94rem;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-links a { color: var(--blue); text-decoration: none; font-weight: 700; }

.legal-main { padding: 64px 0 90px; }
.legal {
  max-width: 800px;
  padding: clamp(25px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.legal h2 { margin-top: 34px; font-size: 1.35rem; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { margin: 10px 0 30px; color: var(--cyan); font-weight: 750; }
.legal a { color: var(--blue); }

@media (max-width: 860px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .portrait-wrap { justify-self: start; width: min(82%, 360px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { min-height: 68px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text { font-size: 0.95rem; }
  .nav-links { gap: 0; }
  .nav-links .button { min-height: 42px; padding: 9px 13px; font-size: 0.86rem; }
  .hero { padding: 38px 0 56px; }
  .hero-grid { gap: 40px; }
  .cards, .visit-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .footer-grid { flex-direction: column; }
}
