/* Dantiki Dental Clinic and Implant Center
   Branding kept from the current dantiki.com: navy/blue palette, aqua accent, green WhatsApp buttons, gold stars,
   the tooth-in-gradient-square logo with the DANTIKI wordmark, and Inter. Light theme only, as on the current site.
   Shape rule: buttons and chips are full pill, cards and images 22px, small tiles 16px. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2-variations"), url("../fonts/inter-var.woff2") format("woff2");
}

:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-2: #eef7fd;
  --surface-3: #e2f1fb;
  --ink: #052a4d;
  --text: #102033;
  --muted: #42546a;
  --muted-2: #68788b;
  --line: #d9e9f6;
  --blue-900: #063f73;
  --blue-800: #075594;
  --blue-700: #0b6fb6;
  --aqua: #16b8d5;
  --accent: #075594;
  --accent-hover: #063f73;
  --accent-soft: rgb(22 184 213 / .13);
  --accent-text: #075594;
  --green: #0a7f41;
  --green-hover: #086b37;
  --green-bright: #19b761;
  --pine: #052a4d;
  --pine-2: #063f73;
  --on-pine: #ffffff;
  --on-pine-muted: #c5d8ea;
  --footer: #062f56;
  --star: #ffb039;
  --shadow: 0 12px 30px rgb(5 60 110 / .08);
  --shadow-lg: 0 20px 52px rgb(5 60 110 / .14);
  --r-card: 22px;
  --r-tile: 16px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 760; line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; line-height: 1.3; }
strong { color: var(--ink); font-weight: 700; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.muted { color: var(--muted); }
.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(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons: full pill. One label per intent across the site: "Book on WhatsApp", "Call", "Get directions". */
.btn {
  --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font: 700 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { --b-fg: #fff; --b-bd: transparent; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); box-shadow: 0 13px 24px rgb(7 85 148 / .25); }
.btn-primary:hover { --b-bd: transparent; filter: brightness(1.08); }
.btn-whatsapp { --b-bg: var(--green); --b-fg: #fff; --b-bd: var(--green); box-shadow: 0 13px 24px rgb(23 182 92 / .22); }
.btn-whatsapp:hover { --b-bg: var(--green-hover); --b-bd: var(--green-hover); }
.btn-quiet { --b-bg: transparent; }
.btn-on-pine { --b-bg: transparent; --b-fg: var(--on-pine); --b-bd: rgb(255 255 255 / .35); }
.btn-on-pine:hover { border-color: var(--on-pine); }
.btn-sm { min-height: 42px; padding: 0 1.05em; font-size: .95rem; }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2.5px; }
.arrow-link { display: inline-flex; align-items: center; gap: .4em; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.arrow-link .icon { transition: transform .25s var(--ease); }
.arrow-link:hover .icon { transform: translateX(3px); }

/* Top bar (kept from the current site) */
.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar .wrap { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar strong { color: #fff; font-weight: 800; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 16px; height: 16px; color: var(--aqua); }
@media (max-width: 760px) { .topbar { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / .95); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; background: linear-gradient(135deg, var(--blue-800), var(--aqua)); color: #fff; font-size: 25px; line-height: 1; box-shadow: 0 10px 22px rgb(7 85 148 / .25); }
.brand-text { display: grid; line-height: 1.05; gap: 2px; }
.brand-name { font-size: 19px; font-weight: 900; letter-spacing: .8px; color: var(--ink); }
.brand-sub { font-size: 12px; color: var(--muted-2); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-drop > summary { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 10px 12px; border-radius: var(--r-pill); color: var(--text); font-size: .97rem; font-weight: 540; text-decoration: none; cursor: pointer; list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-links > li > a:hover, .nav-drop > summary:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-drop[open] .icon { transform: rotate(180deg); }
.drop-panel { position: absolute; top: calc(100% + 10px); left: -20px; width: 560px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-tile); text-decoration: none; font-weight: 540; font-size: .95rem; color: var(--text); }
.drop-panel a:hover { background: var(--surface-2); color: var(--ink); }
.drop-panel .icon { width: 20px; height: 20px; color: var(--accent-text); transform: none !important; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.menu-btn { display: none; }
.mobile-panel { display: none; }
@media (max-width: 1160px) {
  .nav-links, .nav-cta .btn-call { display: none; }
  .menu-btn { display: inline-grid; }
  .mobile-panel { position: fixed; inset: 76px 0 0; z-index: 39; background: var(--bg); padding: 18px var(--gutter) 120px; overflow-y: auto; }
  .mobile-panel.open { display: block; }
  .mobile-panel h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: 18px 0 8px; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .mobile-panel a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; color: var(--ink); text-decoration: none; font-size: 1.08rem; font-weight: 560; border-bottom: 1px solid var(--line); }
  .mobile-panel a .icon { color: var(--accent-text); }
}
@media (max-width: 520px) { .nav-cta .btn-book { display: none; } }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.tint { background: var(--surface-2); }
.head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.head p { color: var(--muted); font-size: 1.08rem; margin-top: .6em; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }

/* Breadcrumb */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Hero (asymmetric split) */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 46ch; margin: 18px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 30%; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.hero-media.service img { aspect-ratio: 4 / 4.2; }
.hero-note { margin-top: 14px; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--accent-text); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img, .hero-media.service img { aspect-ratio: 4 / 3; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* Proof strip under hero */
.proof { padding-block: 0 clamp(40px, 6vw, 72px); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.proof-item { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item .icon { width: 26px; height: 26px; color: var(--accent-text); margin-top: 2px; }
.proof-item b { display: block; color: var(--ink); font-weight: 640; font-size: 1.05rem; line-height: 1.3; }
.proof-item span { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 16px; height: 16px; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } .proof-item:nth-child(3) { border-left: 0; } .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .proof-grid { grid-template-columns: 1fr; } .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); } }

/* Treatments: two feature tiles + compact tiles */
.treat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.treat-feature { grid-column: span 2; grid-row: span 2; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 26px; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.treat-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.treat-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(5 42 77 / 0) 30%, rgb(5 42 77 / .88) 100%); }
.treat-feature:hover img { transform: scale(1.04); }
.treat-feature h3 { color: #fff; font-weight: 760; font-size: 1.55rem; margin-bottom: 6px; }
.treat-feature p { color: rgb(255 255 255 / .86); margin: 0 0 12px; max-width: 38ch; }
.treat-feature .arrow-link { color: #fff; }
.treat-tile { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.treat-tile:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.treat-tile .tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-tile); background: var(--accent-soft); color: var(--accent-text); }
.treat-tile .tile-icon .icon { width: 24px; height: 24px; }
.treat-tile h3 { margin: 4px 0 0; font-size: 1.08rem; }
.treat-tile p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .treat-grid { grid-template-columns: 1fr 1fr; } .treat-feature { min-height: 320px; } }
@media (max-width: 600px) { .treat-grid { grid-template-columns: 1fr; } .treat-feature { grid-column: auto; grid-row: auto; min-height: 300px; } }

/* Doctor split */
.doc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.doc-photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.doc-photos img { width: 100%; object-fit: cover; border-radius: var(--r-card); }
.doc-photos img:first-child { aspect-ratio: 3 / 4.3; }
.doc-photos img:last-child { aspect-ratio: 3 / 4; margin-bottom: 28px; }
.doc-quote { margin: 26px 0; padding: 0 0 0 20px; border-left: 3px solid var(--aqua); font-size: 1.12rem; color: var(--ink); }
.doc-quote p { margin: 0 0 6px; }
.doc-quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--accent-text); margin-top: 3px; width: 20px; height: 20px; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; } }

/* Results: before / with braces */
.results-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.ba { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba figure { margin: 0; }
.ba img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; border-radius: var(--r-tile); }
.ba figcaption { font-size: .88rem; font-weight: 600; color: var(--muted); margin-top: 8px; }
.ba-text { padding: 14px 6px 4px; }
.ba-text h3 { margin-bottom: 6px; }
.ba-text p { color: var(--muted); font-size: .96rem; margin: 0; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; border-radius: var(--r-card); }
@media (max-width: 860px) { .results-grid { grid-template-columns: 1fr; } }

/* Reviews: masonry columns */
.reviews-wrap { display: grid; grid-template-columns: .8fr 2.2fr; gap: 22px; align-items: start; }
.rating-card { position: sticky; top: 100px; padding: 28px; border-radius: var(--r-card); background: var(--ink); color: var(--on-pine); box-shadow: var(--shadow-lg); }
.rating-card .big { font-size: 3.4rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.rating-card .stars { margin: 10px 0 8px; }
.rating-card p { color: var(--on-pine-muted); font-size: .95rem; }
.rating-card .btn { width: 100%; margin-top: 10px; }
.rating-card .btn-primary { margin-top: 18px; }
.quotes { columns: 2 280px; column-gap: 16px; }
.quote { break-inside: avoid; margin: 0 0 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.quote blockquote { margin: 10px 0 14px; color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .88rem; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 620; }
@media (max-width: 860px) { .reviews-wrap { grid-template-columns: 1fr; } .rating-card { position: static; } }

/* Visit steps: horizontal track */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 0 0; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 5px var(--bg); }
.tint .steps li::before { box-shadow: 0 0 0 5px var(--surface-2); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 0; } .steps li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 26px 24px; } .steps li::before { top: 4px; left: -7px; } }

/* Visit / location */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.visit-card { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.visit-card h3 { font-size: 1.35rem; }
.info { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info:last-of-type { border-bottom: 0; }
.info .icon { color: var(--accent-text); margin-top: 3px; }
.info b { display: block; color: var(--ink); font-weight: 620; }
.info span, .info a { color: var(--muted); }
.info a { text-decoration: underline; text-underline-offset: 3px; }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; margin-top: 4px; }
.hours td { padding: 3px 0; color: var(--muted); vertical-align: top; }
.hours td:first-child { color: var(--ink); font-weight: 560; padding-right: 12px; white-space: nowrap; }
.hours tr.today td { color: var(--accent-text); }
.map-frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .map-frame, .map-frame iframe { min-height: 320px; } }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform .25s var(--ease); color: var(--accent-text); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 22px 20px; color: var(--muted); }
.faq-list .answer p:last-child { margin: 0; }

/* Final CTA (tinted, same theme) */
.cta-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--r-card) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { color: var(--muted); margin: 0; }
.cta-panel .cta-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel .cta-row { justify-content: flex-start; } }

/* Service pages */
.svc-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.svc-intro .narrow p { font-size: 1.08rem; }
.side-card { position: sticky; top: 100px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.side-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.side-card a.toc { color: var(--muted); text-decoration: none; font-size: .96rem; }
.side-card a.toc:hover { color: var(--ink); text-decoration: underline; }
.side-card .btn { width: 100%; margin-top: 8px; }
@media (max-width: 900px) { .svc-intro { grid-template-columns: 1fr; } .side-card { position: static; } }

.signs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sign { grid-column: span 2; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.signs-grid.n4 .sign, .signs-grid.n5 .sign:nth-child(-n+2) { grid-column: span 3; }
.sign .tile-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-tile); background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.sign h3 { margin-bottom: 6px; }
.sign p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .signs-grid { grid-template-columns: 1fr 1fr; } .sign, .signs-grid.n4 .sign, .signs-grid.n5 .sign:nth-child(-n+2) { grid-column: auto; } }
@media (max-width: 560px) { .signs-grid { grid-template-columns: 1fr; } }

.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.process-media { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.process-media img { width: 100%; aspect-ratio: 3 / 4.6; object-fit: cover; border-radius: var(--r-card); }
.process-media img:nth-child(2) { margin-top: 36px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #e9f7ff; border: 2px solid var(--blue-800); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-media { position: static; } .process-media img { aspect-ratio: 4 / 4.4; } }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.panel h2 { font-size: 1.45rem; }
.panel p { color: var(--muted); }
.panel.accent { background: #e9f7ff; border-color: transparent; }
.panel.accent h2, .panel.accent strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.chips li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink); font-size: .92rem; font-weight: 540; }
.panel.accent .chips li { background: var(--surface); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 920px; }
.check-grid li { display: flex; gap: 12px; align-items: flex-start; }
.check-grid .icon { color: var(--accent-text); width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }

.why-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why-row > div { padding: 24px 24px 0 0; }
.why-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.why-row h3 { margin-bottom: 6px; }
.why-row p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .why-row { grid-template-columns: 1fr; } .why-row > div, .why-row > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

.updated { font-size: .88rem; color: var(--muted); margin-top: 22px; }

/* Gallery */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; }
.masonry img { width: 100%; border-radius: var(--r-card); }
.masonry figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.video-card { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.video-card video { width: 100%; border-radius: var(--r-card); background: #000; aspect-ratio: 464 / 832; object-fit: cover; }
@media (max-width: 760px) { .video-card { grid-template-columns: 1fr; } .video-card video { max-width: 360px; } }

/* Doctor page */
.doc-hero img { aspect-ratio: 3 / 4; object-position: center 20%; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-list > div { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.fact-list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.fact-list p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 640px) { .fact-list { grid-template-columns: 1fr; } }

/* Contact */
.landmarks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.landmarks li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: .93rem; color: var(--text); }

/* Footer (dark navy, as on the current site) */
.site-footer { background: var(--footer); color: var(--on-pine-muted); padding: clamp(48px, 7vw, 80px) 0 calc(36px + 72px); margin-top: clamp(40px, 6vw, 72px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.site-footer a { color: var(--on-pine); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .96rem; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--on-pine-muted); }
.site-footer p { font-size: .95rem; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.action-bar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r-pill); font-weight: 620; font-size: .95rem; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.action-bar a.primary { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 860px) { .action-bar { display: grid; } }

/* Reveal on scroll: only when motion is allowed and JS is running */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-media img { animation: settle 1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

@media print { .site-header, .action-bar, .site-footer, .cta-panel { display: none; } }

/* Areas */
.km-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.km-chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: .94rem; color: var(--ink); font-weight: 560; }
.km-chips li span { color: var(--muted-2); font-size: .84rem; font-weight: 600; }
.km-chips.hi-links li { padding: 0; }
.km-chips.hi-links a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; }
.km-chips.hi-links a:hover { color: var(--accent-text); }
.area-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.band { margin-bottom: 36px; }
.band h2 { font-size: 1.35rem; margin-bottom: 14px; }
.far-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.far-grid > div { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.far-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.far-grid p { margin: 0; font-size: .95rem; }
.hi-page p, .hi-page .answer { line-height: 1.85; }
@media (max-width: 760px) { .area-links, .far-grid { grid-template-columns: 1fr; } }

/* Family plan */
.plan-teaser { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--r-card) + 6px); background: linear-gradient(145deg, var(--ink), var(--blue-700)); color: #fff; box-shadow: var(--shadow-lg); }
.plan-teaser h2 { color: #fff; }
.plan-teaser p { color: var(--on-pine-muted); max-width: 52ch; }
.plan-teaser .eyebrow { color: var(--aqua); }
.plan-teaser .btn-primary { background: #fff; --b-fg: var(--ink); box-shadow: none; }
.plan-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-mini li { padding: 14px 16px; border-radius: var(--r-tile); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); }
.plan-mini b { display: block; color: #fff; font-weight: 700; }
.plan-mini span { color: var(--on-pine-muted); font-size: .9rem; }
.plan-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan-includes h3, .panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.plan-includes h3 .icon { color: var(--accent-text); width: 24px; height: 24px; }
.plan-includes .ticks { margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.plan-card.featured { border: 2px solid var(--blue-800); box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -12px; left: 20px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--blue-800); color: #fff; font-size: .78rem; font-weight: 700; }
.plan-card h3 { font-size: 1.3rem; margin: 4px 0 0; }
.plan-covers { color: var(--muted); margin: 0; }
.plan-price { color: var(--ink); font-weight: 700; font-size: 1.15rem; margin: 10px 0 14px; flex: 1; }
.plan-card .btn { width: 100%; }
.side-plan { margin-top: 14px; font-size: .95rem; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr 1fr; } .plan-teaser { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .plan-grid, .plan-includes { grid-template-columns: 1fr; } }
.plan-price .amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.plan-price .per { color: var(--muted); font-weight: 600; font-size: .95rem; }
.plan-price .note { display: block; color: var(--muted); font-weight: 600; font-size: .88rem; margin-top: 4px; }
.plan-mini em { font-style: normal; color: var(--aqua); font-weight: 700; margin-left: 4px; }
.terms { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.terms summary { padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--ink); }
.terms ul { margin: 0; padding: 0 22px 18px 40px; color: var(--muted); display: grid; gap: 6px; font-size: .95rem; }
.cred { color: var(--accent-text); font-weight: 600; margin-top: -6px; }
.side-card .fee { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-tile); background: var(--surface-2); color: var(--muted); font-size: .93rem; }
.side-card .fee b { color: var(--ink); font-size: 1.05rem; }

/* ---------- medical review, urgent care, sources ---------- */
.reviewed { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 22px; padding: 10px 14px; max-width: 54ch; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); line-height: 1.45; }
.reviewed .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--green); }
.reviewed a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.urgent { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-card); background: #fff6ec; border: 1px solid #f6d6ae; }
.urgent-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-tile); background: #ffe6c7; color: #8a4b00; }
.urgent-icon .icon { width: 26px; height: 26px; }
.urgent h2 { font-size: 1.35rem; margin-bottom: 10px; }
.urgent ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--text); }
.urgent p { margin: 12px 0 0; color: var(--muted); }
@media (max-width: 560px) { .urgent { grid-template-columns: 1fr; } }
.sources { padding: clamp(22px, 3vw, 30px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.sources h2 { font-size: 1.25rem; margin-bottom: 6px; }
.sources > p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.sources ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.sources li a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources li span { display: block; font-size: .88rem; color: var(--muted-2); }
.sources .review-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.sources .review-note a { color: var(--accent-text); }
.treat-tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.treat-tile.wide .tile-icon { grid-row: span 2; }
.treat-tile.wide h3 { margin: 0; }
@media (max-width: 600px) { .treat-tile.wide { display: flex; } }
.policy h2 { font-size: 1.4rem; margin-top: 34px; }
.policy ul { padding-left: 1.2em; display: grid; gap: 6px; }
.review-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.review-table th, .review-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.review-table th { color: var(--ink); font-weight: 650; background: var(--surface-2); }
.table-scroll { overflow-x: auto; }
.chips li a { color: inherit; text-decoration: none; }
.chips li a:hover { text-decoration: underline; }
