:root {
  --navy: #01215e;
  --deep: #00143d;
  --mist: #f2f6fb;
  --foam: #ddeff1;
  --tide: #0f8f94;
  --sun: #ffc542;
  --ink: #142033;
  --muted: #56627a;
  --line: #d9e1ec;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.concept-bar { margin: 0; padding: 8px 16px; background: var(--deep); color: #c9d6ee; font-size: 13px; text-align: center; }
.concept-bar a { color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.menu-toggle { display: none; margin-left: auto; font: inherit; font-weight: 700; font-size: 15px; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--navy); cursor: pointer; }
.mobile-nav { display: grid; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 10px 0; text-decoration: none; font-weight: 600; }
.mobile-nav .btn { margin-top: 8px; text-align: center; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--deep); }
.btn-sun { background: var(--sun); color: var(--deep); }
.btn-block { width: 100%; padding: 15px; font-size: 16px; }

/* Hero */
.hero { position: relative; min-height: calc(100dvh - var(--header-h) - 36px); display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,20,61,.92) 0%, rgba(0,20,61,.72) 42%, rgba(0,20,61,.15) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr minmax(340px, 440px); gap: 48px; align-items: center; padding-block: 56px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 800; max-width: 12ch; }
.hero-lede { margin-top: 20px; font-size: 19px; max-width: 34ch; color: #dfe7f5; }
.hero-facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #c9d6ee; }
.hero-facts li { padding-left: 18px; border-left: 3px solid var(--sun); }
.hero-facts strong { color: var(--white); }

/* Booking */
.booking { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 30px 60px -20px rgba(0,20,61,.55); display: grid; gap: 16px; }
.booking h2 { font-size: 23px; color: var(--navy); }
.booking-sub { font-size: 14.5px; color: var(--muted); margin-top: -6px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend, .field-label { font-size: 13px; font-weight: 700; color: var(--muted); padding: 0; margin-bottom: 6px; }
.field-label { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select, .field input[type="text"], .field input[type="date"] { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); min-height: 46px; }
.field select:focus, .field input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(15,143,148,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--tide); outline-offset: 2px; }
.booking-error { color: #b42318; font-size: 14px; font-weight: 600; }
.booking-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--navy); }
.section-head p { color: var(--muted); max-width: 46ch; }

/* Tabs / price list */
.tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 8px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 700; font-size: 16px; background: none; border: 0; padding: 12px 18px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.price-row { display: grid; grid-template-columns: 148px 1fr auto; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row img { width: 148px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.price-row h3 { font-size: 21px; color: var(--navy); }
.price-row p { color: var(--muted); font-size: 15.5px; margin-top: 4px; max-width: 52ch; }
.price-row dl { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 0; text-align: right; }
.price-row dt { font-size: 13px; color: var(--muted); align-self: center; }
.price-row dd { margin: 0; font-weight: 800; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-row dd:nth-of-type(2) { font-size: 15px; font-weight: 600; }
.also { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* Before / after */
.results { margin-top: 72px; }
.results h3 { font-size: 26px; color: var(--navy); }
.results-sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible { opacity: .01; }
.ba:focus-within { outline: 3px solid var(--tide); outline-offset: 2px; }
.ba figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,20,61,.82); color: var(--white); font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; pointer-events: none; }

/* Promo */
.promo { background: var(--navy); color: var(--white); }
.promo-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 56px; align-items: start; }
.star { background: var(--deep); border-radius: var(--radius-lg); padding: 36px; border: 1px solid rgba(255,197,66,.35); }
.star h2 { font-size: 34px; font-weight: 800; }
.star-price { font-size: 52px; font-weight: 800; color: var(--sun); margin-top: 10px; letter-spacing: -0.02em; }
.star ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 6px; color: #dfe7f5; }
.star-fine { font-size: 13px; color: #9fb1d3; margin: 14px 0 22px; }
.promo-list h3 { font-size: 26px; margin-bottom: 12px; }
.promo-list ul { list-style: none; padding: 0; margin: 0; }
.promo-list li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.promo-name { font-weight: 700; font-size: 18px; }
.promo-was { color: #9fb1d3; text-decoration: line-through; font-size: 15px; }
.promo-now { font-weight: 800; font-size: 24px; color: var(--sun); font-variant-numeric: tabular-nums; }
.promo-list a { font-weight: 700; font-size: 14px; color: var(--white); }
.promo-fine { font-size: 13px; color: #9fb1d3; margin-top: 14px; }

/* Doctors */
.doctors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.doc-intro { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.doc-intro h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; color: var(--navy); }
.doc-intro p { color: var(--muted); }
.doc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-sm); background: #c8ced8; }
.doc h3 { font-size: 16.5px; margin-top: 14px; color: var(--navy); }
.doc-spec { font-size: 14.5px; margin-top: 4px; }
.doc-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Founder */
.founder { background: var(--foam); }
.founder-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.founder-grid img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: #c8ced8; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; font-style: italic; color: var(--navy); line-height: 1.2; max-width: 22ch; }
.founder-body { margin-top: 22px; color: var(--muted); max-width: 58ch; }
.founder-name { margin-top: 22px; font-weight: 800; }
.founder-name span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; gap: 14px; }
.bento figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.b-a { grid-column: 1 / 2; grid-row: 1 / 3; }
.b-b { grid-column: 2 / 4; grid-row: 1 / 2; }
.b-c { grid-column: 4 / 5; grid-row: 1 / 3; }
.b-d { grid-column: 2 / 3; grid-row: 2 / 3; }
.b-e { grid-column: 3 / 4; grid-row: 2 / 3; }
.tech-title { font-size: 24px; color: var(--navy); margin: 64px 0 20px; }
.tech { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tech li { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tech img { width: 64px; height: 64px; object-fit: contain; flex: none; background: var(--white); }
.tech span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tech strong { display: block; color: var(--ink); font-size: 15px; }

/* Branches */
.branches { background: var(--mist); }
.region-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.region-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.region-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.region-filter .count { opacity: .7; margin-left: 4px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.branch { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.branch-photo { position: relative; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.branch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.branch-photo .ph { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 46%; height: auto; object-fit: contain; opacity: .9; }
.branch-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.branch-region { font-size: 12.5px; font-weight: 700; color: var(--tide); }
.branch h3 { font-size: 18px; color: var(--navy); }
.branch-addr { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.branch-docs { font-size: 13px; color: var(--ink); }
.branch-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }
.branch-actions .btn { padding: 9px 16px; font-size: 14px; }
.branch-actions .map { font-size: 14px; font-weight: 700; color: var(--navy); align-self: center; }

/* Insurance */
.insurance { padding-block: 72px; }
.ins-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ins-grid h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--navy); }
.ins-grid p { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.ins-grid img { border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-wrap h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--navy); }
.faq-lede { color: var(--muted); margin: 12px 0 28px; }
.warranty { width: 100%; border-collapse: collapse; font-size: 16px; }
.warranty th { text-align: left; font-size: 13px; color: var(--muted); padding: 10px 0; border-bottom: 1.5px solid var(--navy); }
.warranty th:last-child, .warranty td:last-child { text-align: right; }
.warranty td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.warranty td:last-child { font-weight: 800; color: var(--navy); }

/* Footer */
.site-footer { background: var(--deep); color: #c9d6ee; padding: 64px 0 96px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 40px; }
.footer-grid img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-grid h2 { font-size: 15px; color: var(--white); margin-bottom: 12px; }
.footer-grid p + p { margin-top: 8px; }
.footer-grid a { color: var(--white); }
.footer-custom { margin-top: 14px !important; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,197,66,.1); border-left: 3px solid var(--sun); color: #f3e3b8; }

/* Floating CTA (mobile) */
.float-cta { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--sun); color: var(--deep); font-weight: 800; text-decoration: none; padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(0,20,61,.5); }

/* Dialog */
.wa-dialog { border: 0; border-radius: var(--radius-lg); padding: 28px; max-width: min(460px, calc(100% - 32px)); color: var(--ink); }
.wa-dialog::backdrop { background: rgba(0,20,61,.6); }
.wa-dialog h2 { color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.wa-dialog p { font-size: 14.5px; color: var(--muted); }
.wa-dialog pre { white-space: pre-wrap; font-family: var(--font); font-size: 14.5px; background: #e7f6ec; border-radius: 12px 12px 12px 2px; padding: 14px 16px; margin: 14px 0; color: var(--ink); }
.wa-demo { font-weight: 700; color: #8a5a00 !important; margin-bottom: 16px !important; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,20,61,.88) 0%, rgba(0,20,61,.8) 55%, rgba(0,20,61,.92) 100%); }
  .promo-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand img { height: 42px; }
  .hero { min-height: 0; }
  .hero-grid { padding-block: 40px 48px; }
  .hero-lede { font-size: 17px; }
  .booking { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .price-row { grid-template-columns: 96px 1fr; gap: 14px 16px; }
  .price-row img { width: 96px; height: 76px; }
  .price-row dl { grid-column: 1 / -1; text-align: left; grid-template-columns: auto 1fr auto 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .doctors { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; flex-wrap: wrap; }
  .doc-intro { flex: 0 0 100%; margin-bottom: 8px; }
  .doc { flex: 0 0 calc(50% - 7px); }
  .doc h3 { font-size: 15px; }
  .founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-grid img { max-width: 260px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .b-a { grid-column: 1 / 2; grid-row: 1 / 2; }
  .b-c { grid-column: 2 / 3; grid-row: 1 / 2; }
  .b-b { grid-column: 1 / 3; grid-row: 2 / 3; }
  .b-d { grid-column: 1 / 2; grid-row: 3 / 4; }
  .b-e { grid-column: 2 / 3; grid-row: 3 / 4; }
  .promo-list li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .promo-was { grid-column: 1; grid-row: 2; }
  .promo-now { grid-column: 2; grid-row: 1; }
  .promo-list a { grid-column: 2; grid-row: 2; text-align: right; }
  .star { padding: 26px 22px; }
  .ins-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-cta { display: inline-block; }
  .branch-grid { gap: 12px; }
  .branch { display: grid; grid-template-columns: 92px 1fr; }
  .branch-photo { aspect-ratio: auto; min-height: 100%; }
  .branch-photo .ph { width: 76%; }
  .branch-body { padding: 12px 14px 14px; gap: 4px; }
  .branch h3 { font-size: 16.5px; }
  .branch-addr { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .branch-docs { font-size: 12.5px; }
  .branch-actions { padding-top: 6px; }
  .branch-actions .btn { padding: 7px 14px; font-size: 13px; }
}
