:root {
  --navy: #0a3d7a;
  --navy-deep: #062a57;
  --ink: #16243a;
  --muted: #4f5d72;
  --line: #d9e2ee;
  --ground: #f4f7fb;
  --card: #ffffff;
  --gold: #a87a1f;
  --gold-soft: #fbf4e4;
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.big { font: italic 500 22px/1.5 var(--serif); color: var(--ink); margin: 0 0 18px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; }

/* Topbar + nav */
.topbar { background: var(--navy-deep); color: #dce6f4; font-size: 14px; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font: 600 15px/1 var(--sans); letter-spacing: 0.04em;
}
.brand-name { font: 600 23px/1.1 var(--serif); margin: 0; }
.brand-name em { font-style: italic; color: var(--gold); font-weight: 500; }
.brand-name.light { color: #fff; }
.brand-name.light em { color: #e2c37f; }
.nav-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.menu-toggle {
  display: none; margin-left: auto;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #b9c8de; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: #e9eff8; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Type */
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.01em; }
h1 em { font-style: italic; color: var(--navy); font-weight: 500; }
.section-title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 28px; }
.lede { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 0 30px; }

/* Hero */
.hero { background: var(--ground); padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(6, 42, 87, 0.18); }

.page-hero { background: var(--ground); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .lede { margin-bottom: 0; }

/* Quick info */
.quick { margin-top: -48px; position: relative; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(10, 61, 122, 0.08);
}
.quick-card h2 { font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }
.quick-card p { margin: 0 0 6px; font-size: 16px; }
.quick-card.accent { border-color: #e9d6a8; background: var(--gold-soft); }

/* Sections */
.section { padding: 96px 0; }
.section.tinted { background: var(--ground); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 21px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card-link { text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s; }
.card-link:hover { border-color: var(--navy); transform: translateY(-2px); }

.doctor { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.doctor-photo { margin: 0; }
.doctor-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }

.step-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-cards h3 { font-size: 22px; margin: 14px 0 8px; }
.step-cards p { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-weight: 700;
}

.gallery { padding: 0 0 96px; }
.gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.gallery-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }

.cta-band { background: var(--navy-deep); color: #dce6f4; padding: 72px 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3vw, 36px); margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: 36em; }
.cta-band-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* About */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.team-card h3 { font-size: 21px; margin: 16px 0 2px; }
.team-card .role { color: var(--gold); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.team-card p { margin: 0; color: var(--muted); font-size: 16px; }
.avatar {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #e5edf8; color: var(--navy); font-weight: 700;
}

/* Services */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.service { padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; margin-bottom: 0; }
.service h2 { font-size: 30px; margin: 0 0 12px; }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.steps { padding-left: 22px; margin: 0 0 16px; }
.steps li { margin-bottom: 14px; padding-left: 6px; }
.cta-card, .note-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cta-card { display: grid; gap: 12px; border-top: 4px solid var(--navy); }
.cta-card.sticky { position: sticky; top: 104px; }
.cta-card h3, .note-card h3 { font-size: 24px; margin: 0; }
.note-card h3.sub { margin-top: 24px; }
.cta-card p { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }

/* New patients */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.action-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 34px; }
.action-card h2 { font-size: 28px; margin: 14px 0 10px; }
.action-card p { color: var(--muted); margin: 0 0 22px; }
.action-card .small { margin: 16px 0 0; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: 13px; font-weight: 600; }

.faq-intro { color: var(--muted); margin: -12px 0 24px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style-position: inside; min-height: 44px; }
details p { margin: 0; padding: 0 22px 18px; color: var(--muted); }

.form-list { display: grid; gap: 12px; margin-bottom: 18px; }
.form-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
}
.form-item h3 { font-size: 21px; margin: 0 0 4px; }
.form-item p { margin: 0; color: var(--muted); font-size: 16px; }
.form-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* Contact */
.contact-list { display: grid; grid-template-columns: 110px 1fr; gap: 14px 20px; margin: 0 0 28px; }
.contact-list dt { font-weight: 600; color: var(--navy); }
.contact-list dd { margin: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.footer { background: #041d3d; color: #c9d6ea; padding: 56px 0 0; font-size: 15px; }
.footer a { color: #fff; }
.footer h2 { font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #e2c37f; margin: 4px 0 14px; }
.footer p { margin: 0 0 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 32px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding: 20px 0 104px; font-size: 13px; color: #9fb1cc; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }
  .hero-grid, .split, .doctor, .service-layout { grid-template-columns: 1fr; gap: 36px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .team, .step-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-card.sticky { position: static; }
  .cta-band-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-addr { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar-row span { display: none; }
  .topbar-row { justify-content: center; }
  .nav-row { min-height: 64px; gap: 12px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; font-size: 13px; }
  .hero { padding: 40px 0 80px; }
  .page-hero { padding: 48px 0 40px; }
  .quick-grid, .cards, .team, .step-cards, .action-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 8px; }
  .contact-list { grid-template-columns: 1fr; gap: 4px; }
  .contact-list dd { margin-bottom: 12px; }
  .action-card { padding: 26px; }
  .btn-lg { width: 100%; }
  .form-item { grid-template-columns: 1fr; gap: 12px; }
  .form-item .btn { width: 100%; }
}
