/* Luugo Diagnostic Medical Consult: public site.
   Palette sampled from the two reference clinic designs (see docs/PLAN.md). Phone first; no framework. */
:root {
  --primary: #0A58C4; --primary-dark: #0848A0; --bright: #1E6FD9; --band: #3A85CF;
  --navy: #1B2338; --footer: #05254F; --midnight: #060A2E;
  --tint: #F3F8FE; --wash: #E5EFFB; --line: #E4E9F0; --body: #4A5263; --muted: #6B7383; --white: #fff;
  --mint: #DAF6EC; --mint-ink: #1F7A5A; --lavender: #EDE5FA; --lavender-ink: #6B3FB0; --apricot: #FDECDD; --apricot-ink: #B8601F;
  --wa: #0D8A3E; --wa-dark: #0A7334; --danger: #C2362B; --danger-bg: #FDEDEB;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 100%; --gutter: clamp(20px, 4vw, 72px); --r: 14px; --r-sm: 10px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 38, 77, .05), 0 8px 24px rgba(16, 38, 77, .07);
  --shadow-lg: 0 2px 6px rgba(16, 38, 77, .06), 0 24px 48px rgba(16, 38, 77, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.lead { font-size: 18px; line-height: 1.7; color: var(--body); }

/* ---------- icon circles (tone pairs from the palette) ---------- */
.ic { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--wash); color: var(--primary); }
.ic--sm { width: 32px; height: 32px; } .ic--sm .i { width: 16px; height: 16px; }
.ic--lg { width: 60px; height: 60px; } .ic--lg .i { width: 26px; height: 26px; }
.ic--blue { background: var(--wash); color: var(--primary); }
.ic--mint { background: var(--mint); color: var(--mint-ink); }
.ic--lavender { background: var(--lavender); color: var(--lavender-ink); }
.ic--apricot { background: var(--apricot); color: var(--apricot-ink); }
.ic--white { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--r-sm);
  border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(10, 88, 196, .22); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--wash); color: var(--primary-dark); }
.btn--soft { background: var(--wash); color: var(--primary); }
.btn--soft:hover { background: var(--primary); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--wash); color: var(--primary-dark); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--lavender { background: var(--lavender-ink); color: #fff; }
.btn--lavender:hover { background: #57319a; color: #fff; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-row--center { justify-content: center; }
.btn-row--2 { display: grid; grid-template-columns: 1fr 1fr; margin-top: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: .2s; }
.round-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- bars above the header ---------- */
.preview-bar { background: #FFF5D6; color: #6B4E00; text-align: center; font-size: 13px; padding: 6px 16px; }
.preview-bar--warn { background: var(--danger-bg); color: var(--danger); }
.announce { background: var(--bright); color: #fff; font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.announce a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; }
.topbar { background: var(--midnight); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info li { display: flex; align-items: center; gap: 7px; }
.topbar-info .i { width: 15px; height: 15px; color: #6FA8F0; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-call { display: flex; align-items: center; gap: 7px; font-weight: 600; color: #fff !important; }
.topbar-call .i { width: 15px; height: 15px; color: #6FA8F0; }
.socials { display: flex; gap: 6px; }
.socials a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: inherit; }
.socials a:hover { background: rgba(255, 255, 255, .12); }
.socials .i { width: 16px; height: 16px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-stuck { box-shadow: 0 6px 24px rgba(16, 38, 77, .08); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.logo { height: 44px; width: auto; }
.logo--mono svg { width: 44px; height: 44px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 23px; font-weight: 800; letter-spacing: .06em; color: var(--navy); }
.brand-text small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bright); font-weight: 600; margin-top: 4px; }
.brand--light .brand-text strong { color: #fff; }
.brand--light .brand-text small { color: #8FB8EE; }
/* Mega menu, as on the other projects: hover or keyboard focus on desktop, the arrow button on touch screens. */
.header-in { position: static; }
.nav { margin-left: auto; align-self: stretch; display: flex; }
.nav-list { display: flex; align-items: stretch; }
.nav-list > li { display: flex; align-items: center; }
.nav-top { position: relative; display: flex; align-items: center; min-height: var(--header-h); padding: 0 12px; white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-top:hover, .nav-top[aria-current] { color: var(--primary); }
.nav-top:hover::after, .nav-top[aria-current]::after, .has-mega:hover > .nav-top::after, .has-mega.open > .nav-top::after { transform: scaleX(1); }
.sub-toggle { display: flex; margin-left: -8px; padding: 6px 4px; border: 0; background: none; color: var(--muted); }
.sub-toggle .i { transition: transform .25s var(--ease); }
.has-mega:hover .sub-toggle .i, .has-mega.open .sub-toggle .i { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--primary); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(6, 10, 46, .35);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease), visibility 0s .18s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.open > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: .06s, .06s, 0s; }
.has-mega.closed > .mega { visibility: hidden; opacity: 0; }
.mega-inner { display: grid; grid-template-columns: minmax(230px, 1.1fr) repeat(var(--cols, 2), minmax(0, 1fr)) minmax(300px, 1.35fr); gap: 32px; padding: 28px var(--gutter) 32px; align-items: start; }
.mega-intro { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.mega-col { padding-top: 6px; }
.mega-intro p { color: var(--muted); font-size: 14.5px; }
.mega-title { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); }
.mega-title .i { color: var(--primary); transition: transform .2s; }
.mega-title:hover .i { transform: translateX(4px); }
.mega-col h3 { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bright); }
.mega-col a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.mega-col a:hover { color: var(--primary); }
.mega-col small { color: var(--muted); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.mega-feature { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; padding: 16px; border-radius: var(--r); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.5; color: var(--body); }
.mega-feature:hover { color: var(--body); }
.mega-feature img { width: 130px; height: 130px; border-radius: 10px; object-fit: cover; }
.mega-feature--text { grid-template-columns: 1fr; padding: 22px; background: linear-gradient(135deg, var(--wash), var(--tint)); }
.mega-feature small { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bright); }
.mega-feature strong { display: block; margin-bottom: 6px; font-size: 17px; line-height: 1.25; letter-spacing: -.02em; color: var(--navy); }
.mega-feature em { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--primary); }
.mega-feature:hover strong { color: var(--primary); }
.nav-mobile-extra, .nav-head { display: none; }
.header-cta { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.search-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.search-btn:hover { border-color: var(--primary); color: var(--primary); }
.header-phone { display: none; align-items: center; gap: 10px; color: var(--navy); }
.header-phone .ring { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); display: grid; place-items: center; }
.header-phone small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.header-phone strong { display: block; font-size: 15px; line-height: 1.25; white-space: nowrap; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); place-items: center; }

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--tint); overflow: hidden; isolation: isolate; }
.hero-track { position: relative; min-height: 600px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; display: flex; align-items: center; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 600px; }
.slide-media { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tint) 0%, rgba(243, 248, 254, .92) 18%, rgba(243, 248, 254, .35) 46%, rgba(243, 248, 254, 0) 70%); z-index: 1; }
.slide--art .slide-media { inset: 0 0 0 40%; }
.slide--art .slide-media::before { display: none; }
.slide-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(720px, 100%); height: auto; }
.slide-art .a1 { fill: var(--wash); } .slide-art .a2 { fill: #D6E6FA; }
.slide-art .a3 { fill: var(--primary); opacity: .92; }
.slide-art .a4 { fill: none; stroke: #8FB8EE; stroke-width: 8; stroke-linecap: round; }
.slide-art .a5 { fill: var(--bright); }
.slide-body { position: relative; padding-top: 80px; padding-bottom: 150px; }
.slide-text { max-width: 600px; }
.badge-line { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-size: 13.5px; font-weight: 600; padding: 7px 14px 7px 10px; border-radius: 99px; box-shadow: var(--shadow); }
.badge-line .i { color: var(--primary); }
.slide-title { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
.slide-title em { font-style: normal; color: var(--bright); display: block; }
.slide-text p { font-size: 18px; max-width: 480px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide.is-active .slide-text > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-text > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-text > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 92px; display: flex; align-items: center; gap: 8px; z-index: 3; }
.dots { display: flex; gap: 8px; margin-right: 10px; }
.dot { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(10, 88, 196, .25); padding: 0; transition: width .3s var(--ease), background .3s; }
.dot.is-active { width: 30px; background: var(--primary); }
.hero-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-btn:hover { background: var(--primary); color: #fff; }
.hero-btn .i { width: 17px; height: 17px; }
.seal-wrap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: flex-end; pointer-events: none; z-index: 2; }
.seal { position: relative; width: 210px; height: 210px; flex: none; margin-right: 30px; animation: rise .9s .35s var(--ease) both; filter: drop-shadow(0 18px 34px rgba(6, 10, 46, .28)); }
.seal svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal-outer { fill: rgba(5, 37, 79, .78); stroke: rgba(143, 184, 238, .7); stroke-width: 1.5; }
.seal-inner { fill: #fff; }
.seal-text { font: 700 13px var(--font); letter-spacing: 3px; fill: #fff; }
.seal-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; }
.seal-logo .logo, .seal-logo .logo--mono svg { width: 70px; height: 70px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- trust strip (overlaps the hero) ---------- */
.trust { position: relative; z-index: 4; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; min-width: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item h3 { font-size: 16px; margin-bottom: 4px; }
.trust-item p { font-size: 14px; line-height: 1.55; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--first { padding-top: 64px; }
.section--tint { background: var(--tint); }
.section-title { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-title--left { margin-left: 0; text-align: left; }
.section-title h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; }
.section-title h2 em { font-style: normal; color: var(--bright); }
.section-title p { margin-top: 14px; font-size: 17px; }
.pill-label { display: inline-block; background: var(--wash); color: var(--primary); font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 99px; margin-bottom: 14px; letter-spacing: .01em; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-row .section-title { margin-bottom: 0; }
.h-sub { font-size: 24px; margin: 40px 0 18px; }

/* ---------- carousels (scroll-snap; arrows from site.js) ---------- */
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; min-width: 0; }
.cat-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 22px; color: var(--body); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--body); }
.cat-card h3 { font-size: 19px; }
.cat-card p { font-size: 15px; flex: 1; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--primary); padding-top: 14px; border-top: 1px solid var(--line); }
.round-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; transition: .25s; }
.cat-card:hover .round-arrow { background: var(--primary); color: #fff; }
.cat-card--all { background: var(--primary); border-color: var(--primary); color: rgba(255, 255, 255, .88); }
.cat-card--all:hover { color: rgba(255, 255, 255, .88); }
.cat-card--all h3 { color: #fff; }
.cat-card--all .cat-foot { color: #fff; border-top-color: rgba(255, 255, 255, .2); }
.cat-card--all .round-arrow { background: rgba(255, 255, 255, .16); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; }
.popular > span { font-weight: 700; color: var(--navy); margin-right: 4px; }
.chip { padding: 7px 14px; border-radius: 99px; background: var(--wash); color: var(--primary); font-weight: 600; font-size: 14px; }
.chip--mint { background: var(--mint); color: var(--mint-ink); } .chip--lavender { background: var(--lavender); color: var(--lavender-ink); } .chip--apricot { background: var(--apricot); color: var(--apricot-ink); }
.chip:hover { filter: brightness(.96); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px 28px 30px; box-shadow: var(--shadow); }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { font-size: 15px; }
.step-n { position: absolute; top: 22px; right: 26px; font-size: 44px; font-weight: 800; color: var(--wash); line-height: 1; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -24px; width: 24px; border-top: 2px dashed #BFD5F3; }

/* ---------- split (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split > * { min-width: 0; }
.split--rev > :first-child { order: 2; }
.split-media { position: relative; padding: 0 0 30px 30px; }
.split-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%; border-radius: var(--r-lg); background: var(--wash); z-index: -1; }
.frame-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--wash); }
.frame-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.float-badge { position: absolute; right: -18px; bottom: 0; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); padding: 14px 20px 14px 14px; box-shadow: var(--shadow-lg); }
.float-badge strong { display: block; font-size: 24px; color: var(--primary); line-height: 1.1; }
.float-badge small { color: var(--muted); font-size: 13.5px; }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.checks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 3; margin-top: 1px; }
.checks--grid { grid-template-columns: 1fr 1fr; }
.note { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--navy); font-weight: 500; }
.note .i { color: var(--primary); }

/* ---------- pregnancy band and timeline ---------- */
.preg-band { background: linear-gradient(180deg, #F8F4FE 0%, #fff 100%); }
.preg-band .pill-label { background: var(--lavender); color: var(--lavender-ink); }
.preg-band .section-title h2 em { color: var(--lavender-ink); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; padding-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 10px; right: 10px; top: 9px; border-top: 2px dashed #CDB8EF; }
.timeline li { position: relative; background: #fff; border: 1px solid #EBE2F8; border-radius: var(--r-lg); padding: 22px 22px 20px; min-width: 0; }
.tl-dot { position: absolute; top: -29px; left: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--lavender-ink); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--lavender); }
.tl-weeks { display: inline-block; font-size: 13px; font-weight: 700; color: var(--lavender-ink); background: var(--lavender); padding: 4px 11px; border-radius: 99px; }
.timeline h3 { font-size: 17px; margin: 12px 0 6px; }
.timeline h3 a { color: var(--navy); }
.timeline h3 a:hover { color: var(--lavender-ink); }
.timeline p { font-size: 14.5px; }
.timeline--v { grid-template-columns: 1fr; padding: 0 0 0 34px; gap: 18px; }
.timeline--v::before { left: 8px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed #CDB8EF; }
.timeline--v .tl-dot { top: 26px; left: -35px; }
.timeline--v li.is-now { border-color: var(--lavender-ink); box-shadow: 0 0 0 3px var(--lavender); }
.timeline--v .link-arrow { margin-top: 10px; color: var(--lavender-ink); }
.tl-prep { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 14px; color: var(--navy); background: var(--tint); padding: 9px 12px; border-radius: 10px; }
.tl-prep .i { color: var(--primary); margin-top: 3px; }
.preg-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.preg-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.calc { background: #fff; border: 1px solid #EBE2F8; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.calc h2 { font-size: 22px; }
.calc label { font-weight: 600; color: var(--navy); font-size: 14.5px; }
.calc-out { background: var(--lavender); color: var(--navy); border-radius: var(--r); padding: 16px 18px; }
.calc-out strong { display: block; font-size: 22px; color: var(--lavender-ink); }
.calc-out p + p { margin-top: 6px; }

/* ---------- stats band ---------- */
.stats { background: linear-gradient(90deg, var(--band), var(--bright)); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { display: flex; align-items: center; gap: 16px; padding: 34px 26px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .22); }
.stat .i { width: 38px; height: 38px; stroke-width: 1.5; opacity: .9; }
.stat b { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 14.5px; opacity: .9; }

/* ---------- quick booking + health workers ---------- */
.book-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.stack-lg > * + * { margin-top: 22px; }
.workers { display: flex; gap: 16px; background: var(--tint); border-radius: var(--r-lg); padding: 24px; }
.workers h3 { font-size: 18px; margin-bottom: 6px; }
.workers p { font-size: 15px; margin-bottom: 10px; }
.emergency { display: flex; gap: 12px; align-items: flex-start; background: var(--danger-bg); color: #8A231B; border-radius: var(--r); padding: 16px 18px; font-size: 14.5px; font-weight: 500; }
.emergency .i { color: var(--danger); margin-top: 2px; }
.emergency--sm { font-size: 13.5px; }
.quick-book { background: var(--wash); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 12px; }
.quick-book h3 { font-size: 22px; }
.quick-book label { font-weight: 600; color: var(--navy); font-size: 14.5px; margin-top: 6px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid #C9DAF2; }

/* ---------- testimonials ---------- */
.quotes { text-align: center; }
.quote-track { position: relative; max-width: 760px; margin: 0 auto; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; background: #fff; border-radius: var(--r-lg); padding: 44px 40px 34px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .6s var(--ease); }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote-mark { width: 40px; height: 40px; color: var(--wash); fill: var(--wash); stroke: var(--primary); margin: 0 auto 10px; }
.stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 16px; }
.stars .i { width: 18px; height: 18px; color: #D3D9E3; }
.stars .i.on { color: #F0A92C; fill: #F0A92C; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.7; color: var(--navy); font-weight: 500; }
.quote figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; text-align: left; }
.av { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption small { color: var(--muted); }
.quote-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- gallery ---------- */
.carousel--gallery { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
.gal-item { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--wash); aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; left: 14px; bottom: 14px; background: rgba(6, 10, 46, .72); color: #fff; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; }
.gal-item--soon { display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--primary); text-align: center; padding: 20px; border: 2px dashed #BFD5F3; background: #fff; }
.gal-item--soon span { position: static; background: none; color: var(--muted); }
.gal-item--soon .i { width: 34px; height: 34px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 10, 46, .86); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; }
.lb-prev { left: -64px; } .lb-next { right: -64px; }
.lb-close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; }

/* ---------- posts ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-img { display: block; aspect-ratio: 16 / 9; background: var(--wash); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-art { width: 100%; height: 100%; display: grid; place-items: center; color: var(--primary); background: linear-gradient(135deg, var(--wash), #D3E4FA); }
.post-art .i { width: 42px; height: 42px; stroke-width: 1.4; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body time { font-size: 13px; color: var(--primary); font-weight: 600; }
.post-body h3 { font-size: 18px; }
.post-body h3 a { color: var(--navy); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: 15px; flex: 1; }

/* ---------- visit and map ---------- */
.visit { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: stretch; }
.info-list { display: grid; gap: 18px; margin-bottom: 28px; }
.info-list li { display: flex; gap: 14px; }
.info-list strong { display: block; color: var(--navy); }
.info-list small { display: block; color: var(--muted); font-size: 14px; }
.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #DCE9FB, #EEF4FD); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; width: 100%; border: 0; background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(10, 88, 196, .04) 22px 44px); display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--primary); font-weight: 700; }
.map-load .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.map-load small { color: var(--muted); font-weight: 500; }
.map--wide { border-radius: 0; min-height: 420px; }

/* ---------- CTA band ---------- */
.cta { background: var(--primary); color: rgba(255, 255, 255, .9); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 6px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer h2 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: 10px; }
.footer-about p { margin: 18px 0; max-width: 340px; }
.footer-reg { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { color: #6FA8F0; margin-top: 3px; width: 17px; height: 17px; }
.footer-contact small { color: rgba(255, 255, 255, .55); }
.footer .socials { margin-top: 8px; }
.footer .socials a { background: rgba(255, 255, 255, .08); width: 36px; height: 36px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.mobile-bar { display: none; }

/* ---------- inner page header ---------- */
.page-head { position: relative; background: var(--tint); padding: 54px 0 58px; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.035em; max-width: 780px; font-weight: 800; }
.page-head .lead { margin-top: 14px; max-width: 680px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--primary); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--primary); font-weight: 600; }
.page-head-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 420px; height: auto; fill: none; stroke: #C9DCF6; stroke-width: 2.5; }
.page-head-art path:first-child { fill: var(--wash); stroke: none; }

/* ---------- scans list ---------- */
.scans-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.scans-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.search { position: relative; }
.search .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.search input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px var(--wash); }
.cat-nav { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.cat-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: 14.5px; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--tint); color: var(--primary); }
.cat-nav small { margin-left: auto; color: var(--muted); font-weight: 600; background: var(--tint); border-radius: 99px; padding: 1px 9px; }
.side-card { background: var(--primary); color: rgba(255, 255, 255, .88); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; font-size: 14.5px; }
.side-card h2 { color: #fff; font-size: 18px; }
.result-note { background: var(--tint); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 24px; color: var(--navy); }
.scan-group + .scan-group { margin-top: 56px; }
.scan-group-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.scan-group-head h2 { font-size: 26px; }
.scan-group-head p { font-size: 15px; }
.scan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scan-grid--3 { grid-template-columns: repeat(3, 1fr); }
.scan-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: box-shadow .3s, border-color .3s; min-width: 0; }
.scan-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.scan-card .ic { width: 42px; height: 42px; }
.scan-card h3 { font-size: 18px; margin-top: 4px; }
.scan-card h3 a { color: var(--navy); }
.scan-card h3 a:hover { color: var(--primary); }
.scan-card p { font-size: 15px; flex: 1; }
.scan-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; color: var(--muted); }
.scan-meta li { display: flex; align-items: center; gap: 5px; }
.scan-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }

/* ---------- scan detail, articles ---------- */
.detail, .article { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.detail-main > * + * { margin-top: 24px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.summary-card h2 { font-size: 21px; }
.summary-card dl { margin: 4px 0 8px; display: grid; }
.summary-card dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-card dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.summary-card dt .i { width: 16px; height: 16px; color: var(--primary); }
.summary-card dd { margin: 0; color: var(--navy); font-weight: 600; }
.side-call { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.prep-box { display: flex; gap: 16px; background: var(--apricot); border-radius: var(--r-lg); padding: 22px 24px; color: #5E3412; }
.prep-box .ic { background: #fff; }
.prep-box h2 { font-size: 18px; color: #5E3412; margin-bottom: 4px; }
.prep-box small { display: block; margin-top: 8px; opacity: .85; }
.mini-steps { display: grid; gap: 12px; counter-reset: m; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; background: var(--tint); border-radius: var(--r); padding: 16px 18px; }
.mini-steps li::before { content: counter(m); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mini-steps strong { color: var(--navy); }
.mini-steps span { font-size: 15px; }
.prose { color: var(--body); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose h3 { font-size: 19px; margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--navy); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 0; padding: 16px 22px; border-left: 4px solid var(--primary); background: var(--tint); border-radius: 0 var(--r) var(--r) 0; }
.meta-line { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.article .frame-photo { margin-bottom: 28px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.more-list { display: grid; gap: 4px; }
.more-list h2 { font-size: 17px; margin-bottom: 8px; }
.more-list a { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.more-list strong { color: var(--navy); font-size: 15px; }
.more-list small { color: var(--muted); }

/* ---------- about ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.mv > div { background: var(--tint); border-radius: var(--r-lg); padding: 22px; }
.mv h3 { font-size: 17px; margin: 12px 0 6px; }
.mv p { font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow); }
.value h3 { font-size: 18px; margin: 16px 0 6px; }
.value p { font-size: 15px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 22px; text-align: center; }
.person-photo { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--wash); display: grid; place-items: center; margin-bottom: 16px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo span { font-size: 42px; font-weight: 800; color: var(--primary); }
.person h3 { font-size: 18px; }
.person-role { color: var(--primary); font-weight: 600; font-size: 14.5px; margin: 2px 0 6px; }
.person p:last-child { font-size: 14.5px; margin-top: 8px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic a { border-radius: var(--r); overflow: hidden; background: var(--wash); }
.mosaic a:first-child { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

/* ---------- patient guide ---------- */
.guide-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; }
.guide-card h2 { font-size: 18px; margin: 16px 0 8px; }
.guide-card p { font-size: 15px; }
.guide-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.guide-layout .h-sub:first-child { margin-top: 0; }
.prep-table { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.prep-table h2 { font-size: 18px; margin-bottom: 10px; }
.prep-table li { display: grid; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.prep-table a { font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--wash); color: var(--primary); transition: transform .25s var(--ease), background .25s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { padding: 0 22px 20px; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 18px; min-width: 0; }
.form-card h2 { font-size: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .flabel { font-weight: 600; color: var(--navy); font-size: 14.5px; }
.opt { color: var(--muted); font-weight: 500; }
.field small { color: var(--muted); font-size: 13.5px; }
input[type=text], input[type=tel], input[type=email], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2338' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 42px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--wash); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13.5px; font-weight: 600; }
.form-alert { display: flex; gap: 10px; align-items: center; background: var(--danger-bg); color: var(--danger); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 600; }
.hp { display: none; }
.booking fieldset { border: 0; margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; min-width: 0; }
.booking legend { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding: 0; }
.bstep-n { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 15px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 600; font-size: 14.5px; color: var(--navy); text-align: center; cursor: pointer; transition: .2s; }
.slot input:checked + span { border-color: var(--primary); background: var(--wash); color: var(--primary); }
.slot input:focus-visible + span { outline: 3px solid var(--bright); outline-offset: 2px; }
.book-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.book-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.hours-card { background: var(--tint); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.hours-card h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.hours-card h2 .i { color: var(--primary); }
.hours-card dl { margin: 0; display: grid; }
.hours-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #C9DAF2; font-size: 14.5px; }
.hours-card dt { color: var(--navy); font-weight: 600; }
.hours-card dd { margin: 0; text-align: right; }
.dir-list { display: grid; gap: 12px; }
.dir-list li { display: grid; font-size: 14.5px; }
.dir-list strong { color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: grid; justify-items: start; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; color: var(--body); transition: .3s var(--ease); min-width: 0; }
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: var(--body); }
.tile strong { color: var(--navy); font-size: 17px; margin-top: 10px; }
.tile span:last-child { overflow-wrap: anywhere; font-size: 15px; }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-side .hours-card { background: #fff; box-shadow: var(--shadow); }

/* ---------- thanks, error, maintenance ---------- */
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 40px; box-shadow: var(--shadow-lg); text-align: center; display: grid; gap: 18px; justify-items: center; }
.thanks-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.thanks-ic .i { width: 36px; height: 36px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks-card h1 { font-size: clamp(26px, 3.4vw, 34px); }
.thanks-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin: 6px 0 0; }
.thanks-dl > div { background: var(--tint); border-radius: var(--r); padding: 14px; }
.thanks-dl dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.thanks-dl dd { margin: 4px 0 0; color: var(--navy); font-weight: 700; }
.thanks-card .prep-box { text-align: left; width: 100%; }
.error-page { min-height: 50vh; }
.error-code { display: block; font-size: 96px; font-weight: 800; line-height: 1; color: var(--wash); -webkit-text-stroke: 2px var(--primary); }
.error-page h1 { font-size: 34px; margin: 18px 0 10px; }
.maint { min-height: 100vh; display: grid; place-items: center; background: var(--tint); padding: 20px; }
.maint-card { max-width: 520px; background: #fff; border-radius: var(--r-lg); padding: 44px 36px; text-align: center; box-shadow: var(--shadow-lg); display: grid; gap: 14px; justify-items: center; }
.maint-card h1 { font-size: 28px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 32px)); background: var(--navy); color: #fff; padding: 14px 14px 14px 18px; border-radius: var(--r); box-shadow: var(--shadow-lg); animation: rise .5s var(--ease) both; }
.toast .i { color: #7FE0B5; }
.toast--error .i { color: #FFB4AC; }
.toast button { margin-left: auto; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }

/* ---------- reveal on scroll (added by site.js only when motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 1600px) { .header-phone { display: flex; } }
@media (max-width: 1240px) {
  .nav-top { padding: 0 9px; font-size: 14.5px; } .nav-top::after { left: 9px; right: 9px; }
  .mega-inner { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)) minmax(260px, 1.3fr); } .mega-intro { display: none; }
}
@media (max-width: 1080px) {
  .carousel { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .values, .guide-cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  :root { --header-h: 70px; }
  .menu-btn { display: grid; }
  .search-btn { display: none; }
  /* The closed panel stays inside the screen and is hidden with a clip: a panel parked off-screen with a transform
     makes phones widen the whole page (the empty strip on the right). */
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); display: block; background: #fff; z-index: 60; padding: 20px 18px 28px; overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s var(--ease), visibility 0s .35s; box-shadow: -20px 0 60px rgba(6, 10, 46, .18); }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-top { flex: 1; min-height: 50px; padding: 0 12px; font-size: 16.5px; border-radius: 10px; }
  .nav-top::after { display: none; }
  .nav-top[aria-current] { background: var(--tint); }
  .sub-toggle { margin: 0; width: 48px; height: 48px; justify-content: center; align-items: center; border-radius: 10px; background: var(--tint); color: var(--navy); }
  .mega, .has-mega:hover > .mega, .has-mega:focus-within > .mega { position: static; display: none; flex-basis: 100%; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; transition: none; border-radius: 0; }
  .has-mega.open > .mega { display: block; }
  .has-mega:hover .sub-toggle .i { transform: none; }
  .has-mega.open .sub-toggle .i { transform: rotate(180deg); }
  .mega-inner { grid-template-columns: 1fr; gap: 14px; padding: 6px 0 14px 14px; }
  .mega-intro, .mega-feature { display: none; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
  /* A backdrop-filter would make the header the box the fixed panel is placed in (the panel would be header-high). */
  .header { backdrop-filter: none; background: #fff; }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(6, 10, 46, .5); z-index: 45; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav-head strong { font-size: 18px; color: var(--navy); }
  .nav-close { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; }
  .nav-call { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font-weight: 700; color: var(--navy); }
  .header-cta { margin-left: auto; }
}
@media (max-width: 980px) {
  .split, .book-split, .visit, .preg-layout, .detail, .article, .guide-layout, .contact-layout, .book-layout, .scans-layout { grid-template-columns: 1fr; gap: 40px; }
  .split--rev > :first-child { order: 0; }
  .preg-side, .detail-side, .prep-table, .book-side, .scans-side { position: static; max-height: none; }
  .scans-side { grid-template-columns: 1fr; }
  .cat-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .cat-nav a { flex: none; }
  .side-card { display: none; }
  .seal { width: 160px; height: 160px; margin-right: 0; }
  .seal-logo .logo, .seal-logo .logo--mono svg { width: 54px; height: 54px; }
  .trust { margin-top: -40px; }
  .slide-media { inset: 0 0 0 30%; }
  .slide-media::before { background: linear-gradient(90deg, var(--tint) 0%, rgba(243, 248, 254, .9) 35%, rgba(243, 248, 254, .45) 70%, rgba(243, 248, 254, .2) 100%); }
  .hero-controls { bottom: 56px; }
  .slide-body { padding-bottom: 110px; }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 38, 77, .08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--navy); background: var(--tint); }
  .mobile-bar .mb-wa { background: var(--wa); color: #fff; }
  .mobile-bar .mb-book { background: var(--primary); color: #fff; }
  .toast { bottom: 84px; }
  .topbar-info li:nth-child(2), .topbar .hide-sm, .topbar .socials { display: none; }
  .topbar-call { white-space: nowrap; }
  .topbar .wrap { min-height: 38px; font-size: 13px; }
  .hero-track, .slide.is-active { min-height: 0; }
  .slide { align-items: flex-start; }
  .slide-media { position: relative; inset: auto; height: 250px; order: -1; }
  .slide.is-active { display: flex; flex-direction: column; }
  .slide-media::before { background: linear-gradient(180deg, rgba(243, 248, 254, 0) 55%, var(--tint) 100%); }
  .slide--art .slide-media { inset: auto; height: 210px; }
  .slide-art { right: 50%; transform: translate(50%, -50%); width: 380px; }
  .slide-body { padding-top: 8px; }
  .slide-title { margin-top: 14px; }
  .slide-text p { font-size: 16.5px; }
  .badge-line { font-size: 12.5px; }
  .hero-controls { position: static; padding-bottom: 22px; }
  .slide-body { padding-bottom: 18px; }
  .seal-wrap { top: 160px; transform: none; }
  .seal { width: 118px; height: 118px; }
  .seal-text { font-size: 14px; }
  .seal-logo .logo, .seal-logo .logo--mono svg { width: 40px; height: 40px; }
  .post-img { aspect-ratio: 21 / 9; }
  .carousel { grid-auto-columns: 80%; gap: 16px; }
  .carousel--gallery { grid-auto-columns: 85%; }
  .carousel-nav { display: none; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .trust, .steps, .values, .guide-cards, .tiles, .posts-grid, .scan-grid, .scan-grid--3, .mv, .grid-2, .checks--grid, .thanks-dl { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust { width: auto; margin: 8px 16px 0; padding: 4px 0; }
  .steps .step:not(:last-child)::after { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .split-media { padding: 0 0 20px 16px; }
  .float-badge { right: 8px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
  .page-head { padding: 38px 0 42px; }
  .page-head-art { display: none; }
  .form-card, .quick-book, .summary-card { padding: 24px 20px; }
  .thanks-card { padding: 36px 22px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-btn { top: auto; bottom: -62px; transform: none; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 32px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
}
@media (max-width: 560px) { .hide-md { display: none; } }
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 21px; }
  .slide-actions .btn { width: 100%; }
  .header-cta { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .slide-media img { transform: none !important; }
}
@media print {
  .topbar, .header, .footer, .mobile-bar, .cta, .hero-controls { display: none !important; }
}

/* ---------- meet the doctor (home section and page) ---------- */
.doc-media { position: relative; padding: 0 0 34px 0; max-width: 460px; justify-self: center; width: 100%; }
.doc-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--wash); box-shadow: var(--shadow-lg); }
.doc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.doc-media::before { content: ""; position: absolute; right: -22px; top: 28px; bottom: 60px; width: 60%; border-radius: var(--r-lg); background: var(--primary); opacity: .1; z-index: -1; }
.doc-name { position: absolute; left: 22px; right: 22px; bottom: 0; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); }
.doc-name strong { display: block; color: var(--navy); font-size: 16.5px; line-height: 1.25; }
.doc-name small { display: block; color: var(--muted); font-size: 13.5px; }
.doc-split { grid-template-columns: .85fr 1.15fr; }
.doc-role { color: var(--primary); font-weight: 700; margin: -30px 0 14px; }
.doc-quote { margin: 22px 0; padding: 20px 22px 20px 58px; position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.55; }
.doc-quote .i { position: absolute; left: 18px; top: 20px; width: 26px; height: 26px; color: var(--primary); }
.doc-quote--sm { font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.doc-page { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.doc-page .doc-media { position: sticky; top: calc(var(--header-h) + 20px); }
.doc-page .doc-quote { margin-top: 0; background: var(--tint); box-shadow: none; }
.doc-facts { display: grid; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc-facts h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 10px; }
.doc-facts h2 .i { color: var(--primary); }
.doc-facts ul:not(.chips) { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
@media (max-width: 980px) {
  .doc-split, .doc-page { grid-template-columns: 1fr; gap: 40px; }
  .doc-page .doc-media { position: relative; top: auto; }
  .doc-role { margin-top: -22px; }
}

/* ---------- page banners with photos ---------- */
.page-head--photo { background: var(--footer); color: #fff; padding: 76px 0 80px; isolation: isolate; }
.page-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 37, 79, .94) 0%, rgba(5, 37, 79, .82) 38%, rgba(5, 37, 79, .45) 70%, rgba(5, 37, 79, .25) 100%); }
.page-head--photo h1 { color: #fff; }
.page-head--photo .lead { color: rgba(255, 255, 255, .88); }
.page-head--photo .crumbs, .page-head--photo .crumbs a { color: rgba(255, 255, 255, .78); }
.page-head--photo .crumbs a:hover { color: #fff; }
.page-head--photo .crumbs [aria-current] { color: #9CC4F5; }
.page-head--photo .pill-label { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(4px); }
@media (max-width: 760px) {
  .page-head--photo { padding: 48px 0 52px; }
  .page-head--photo::before { background: linear-gradient(180deg, rgba(5, 37, 79, .78), rgba(5, 37, 79, .9)); }
}

/* ---------- services page: sections ---------- */
.section-block + .section-block { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.section-block-h { font-size: clamp(28px, 3vw, 36px); margin-bottom: 8px; }
.section-block-note { margin-bottom: 26px; }
.section-block > .scan-group:first-of-type { margin-top: 26px; }
.scan-group-head h3 { font-size: 22px; }
.scan-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cat-nav-h { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 2px; }
.posts-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 980px) { .cat-nav-h { display: none; } }

/* Mega menus with three link columns (Services): the feature card runs under the columns, full width. */
.mega-inner--wide { grid-template-columns: minmax(230px, 1.1fr) repeat(var(--cols), minmax(0, 1fr)); row-gap: 22px; }
.mega-inner--wide .mega-intro { grid-row: span 2; align-self: stretch; }
.mega-inner--wide .mega-feature { grid-column: 2 / -1; grid-template-columns: 180px 1fr; align-items: center; }
.mega-inner--wide .mega-feature img { width: 180px; height: 96px; }
@media (max-width: 1240px) { .mega-inner--wide { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); } .mega-inner--wide .mega-feature { grid-column: 1 / -1; } }
@media (max-width: 1120px) {
  .mega-inner, .mega-inner--wide { grid-template-columns: 1fr; gap: 6px; padding: 4px 0 12px 12px; }
  .mega-inner--wide .mega-feature, .mega-inner--wide .mega-intro { display: none; }
  .mega-col h3 { margin: 8px 0 2px; }
  .mega-col a { padding: 8px 0; }
}

/* ---------- the seal in the footer (first column, below the text) ---------- */
.footer-about { display: flex; flex-direction: column; }
.seal--footer { width: 150px; height: 150px; margin-top: auto; padding-top: 28px; box-sizing: content-box; animation: none; filter: none; }
.seal--footer svg { width: 150px; height: 150px; }
.seal--footer .seal-logo { top: calc(50% + 14px); }
.seal--footer .seal-outer { fill: rgba(255, 255, 255, .05); stroke: rgba(143, 184, 238, .45); }
.seal--footer .seal-text { fill: #9CC4F5; }
.seal--footer .seal-logo .logo, .seal--footer .seal-logo .logo--mono svg { width: 52px; height: 52px; }
@media (max-width: 760px) { .seal--footer { margin-top: 8px; width: 120px; height: 120px; } .seal--footer svg { width: 120px; height: 120px; } .seal--footer .seal-logo .logo, .seal--footer .seal-logo .logo--mono svg { width: 42px; height: 42px; } }
