/* ==========================================================================
   Devita Dental and Maxillo Facial Care
   Palette taken from the logo's champagne gold and the clinic's wood + marble.
   ========================================================================== */
:root {
    --porcelain: #f7f5f1;
    --white: #ffffff;
    --ink: #2a1f18;          /* mahogany ink: text + dark bands */
    --ink-2: #3a2b21;
    --ink-3: #4a382c;
    --stone: #6c6058;        /* muted body text */
    --line: #e7e0d6;
    --line-dark: rgba(227, 196, 154, .18);
    --gold: #c4925a;         /* logo gold */
    --gold-lt: #e3c49a;
    --gold-dk: #8a5c2c;      /* gold for small text on light backgrounds (AA) */
    --gold-soft: #f1e6d6;

    --f-display: "Marcellus", "Times New Roman", serif;
    --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-md: 1.25rem;
    --fs-lg: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
    --fs-xl: clamp(2rem, 1.4rem + 2vw, 2.875rem);
    --fs-2xl: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);

    --ease: cubic-bezier(.22, .8, .2, 1);
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--ink);
    background: var(--porcelain);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, .sec-title { font-family: var(--f-display); font-weight: 400; letter-spacing: .005em; line-height: 1.15; color: inherit; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-lt); color: var(--ink); }
.container-xl { --bs-gutter-x: 2rem; max-width: 1320px; }
@media (max-width: 575.98px) { .container-xl { --bs-gutter-x: 2rem; } }

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: var(--gold); color: var(--ink); padding: .6rem 1rem; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.sec-title { font-size: var(--fs-xl); margin-bottom: 1.25rem; max-width: 18ch; }
.sec-note { color: var(--stone); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-line-light, .btn-line-dark {
    position: relative; display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--f-body); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .02em;
    padding: .95rem 1.6rem; border-radius: 2px; text-decoration: none; cursor: pointer;
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
    overflow: hidden; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    transition: transform .8s var(--ease);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: var(--ink); }
.btn-gold:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-sm-gold { padding: .7rem 1.1rem; }
.btn-line-light { color: #fff; border: 1px solid rgba(255,255,255,.45); background: transparent; }
.btn-line-light:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-line-dark { color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-gold[disabled] { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1030; transition: transform .45s var(--ease), background-color .45s var(--ease), box-shadow .45s; color: #fff; }
.topbar { font-size: var(--fs-xs); border-bottom: 1px solid rgba(255,255,255,.12); transition: margin .45s var(--ease), opacity .3s; }
.topbar .container-xl { min-height: 38px; }
.topbar-left, .topbar-right { display: flex; gap: 1.75rem; align-items: center; color: rgba(255,255,255,.75); }
.topbar i { color: var(--gold-lt); margin-right: .3rem; }
.topbar a { color: rgba(255,255,255,.8); text-decoration: none; }
.topbar a:hover { color: var(--gold-lt); }
.topbar-social { display: inline-flex; gap: .9rem; }
.topbar-social i { margin: 0; color: inherit; }
.mainnav .container-xl { height: var(--header-h); }
.brand { display: block; position: relative; width: 196px; }
.brand img { width: 196px; height: auto; transition: opacity .4s; }
.brand-gold { opacity: 0; position: absolute; inset: 0; }
.brand-white { position: relative; width: 186px !important; }
.navlinks { list-style: none; margin: 0; padding: 0; gap: 2.25rem; align-items: center; }
.navlinks > li > a, .navlinks > li > button {
    font-size: var(--fs-sm); font-weight: 500; color: inherit; text-decoration: none; background: none; border: 0; padding: .5rem 0;
    position: relative; display: inline-flex; align-items: center; gap: .35rem;
}
.navlinks > li > a::after, .navlinks > li > button::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.navlinks > li > a:hover::after, .navlinks > li > button:hover::after, .navlinks .is-active::after { transform: scaleX(1); transform-origin: left; }
.navlinks .bi-chevron-down { font-size: .7rem; transition: transform .3s; }
.has-mega:hover .bi-chevron-down, .has-mega.open .bi-chevron-down { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { color: inherit; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); align-items: center; gap: .45rem; }
.nav-phone i { color: var(--gold-lt); }
.nav-phone:hover { color: var(--gold-lt); }
.nav-toggle { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); background: transparent; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 2px; }
.nav-toggle span { width: 18px; height: 1.5px; background: currentColor; display: block; }
.nav-toggle span:last-child { width: 12px; margin-left: 6px; }

.site-header.is-solid { background: rgba(247,245,241,.96); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .topbar { margin-top: -39px; opacity: 0; }
.site-header.is-solid .brand-gold { opacity: 1; }
.site-header.is-solid .brand-white { opacity: 0; }
.site-header.is-solid .nav-phone i { color: var(--gold-dk); }
.site-header.is-solid .nav-toggle { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Mega menu */
.has-mega { position: static; }
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--porcelain); color: var(--ink);
    border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(42,31,24,.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: 1320px; margin: 0 auto; padding: 2.5rem 1rem; display: grid; grid-template-columns: 300px 1fr; gap: 3rem; }
.mega-title { font-family: var(--f-display); font-size: var(--fs-lg); margin-bottom: .5rem; }
.mega-intro p { color: var(--stone); font-size: var(--fs-sm); }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem 2rem; }
.mega-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease), border-color .3s; }
.mega-list a span { display: block; font-family: var(--f-display); font-size: 1.15rem; }
.mega-list a small { color: var(--stone); font-size: var(--fs-xs); }
.mega-list a:hover { padding-left: .5rem; border-color: var(--gold); }

/* Mobile nav */
.mobile-nav { background: var(--ink); color: #fff; width: min(400px, 88vw) !important; }
.mobile-nav .offcanvas-header { padding: 1.5rem 1.5rem 1rem; }
.mnav { list-style: none; padding: 0; margin: 0; }
.mnav > li { border-bottom: 1px solid var(--line-dark); }
.mnav a, .mnav-toggle { display: flex; justify-content: space-between; width: 100%; padding: 1rem 0; color: #fff; text-decoration: none; font-family: var(--f-display); font-size: 1.5rem; background: none; border: 0; text-align: left; }
.mnav-sub { list-style: none; padding: 0 0 1rem; }
.mnav-sub a { font-family: var(--f-body); font-size: 1rem; padding: .45rem 0; color: rgba(255,255,255,.75); }
.mnav-sub a:hover, .mnav a:hover { color: var(--gold-lt); }
.mnav-foot { margin-top: 2rem; }
.mnav-foot p { margin-top: 1.25rem; font-size: var(--fs-sm); color: rgba(255,255,255,.6); }

/* ---------- Intro curtain (home) ---------- */
.intro-curtain { position: fixed; inset: 0; z-index: 3000; background: var(--ink); display: grid; place-items: center; pointer-events: none; }
.intro-mark { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.intro-mark img { width: min(300px, 64vw); opacity: 0; }
.intro-line { width: 160px; height: 1px; background: var(--gold); transform: scaleX(0); }
.no-intro .intro-curtain { display: none; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(30,22,17,.88) 0%, rgba(30,22,17,.62) 45%, rgba(30,22,17,.2) 100%),
    linear-gradient(0deg, rgba(30,22,17,.75) 0%, rgba(30,22,17,0) 40%); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 170px; padding-bottom: 2rem; min-height: 100svh; }
.hero-copy { max-width: 780px; margin-bottom: auto; margin-top: auto; }
.hero-title { font-size: var(--fs-2xl); line-height: 1.04; margin-bottom: 1.75rem; }
.ht-line { display: block; overflow: hidden; padding-bottom: .06em; }
.ht-line > span { display: block; }
.ht-a { color: #fff; }
.ht-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ht-b { font-size: .5em; color: var(--gold-lt); margin-top: .7rem; line-height: 1.25; display: flex; align-items: center; gap: 1rem; }
.ht-b::before { content: ""; width: 56px; height: 1px; background: var(--gold); flex: none; }
.hero-lead { font-size: var(--fs-md); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-foot { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 2rem; border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.5rem; margin-top: 3rem; }
.hero-fact { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.hf-k { color: #fff; font-weight: 600; }
.hf-v { color: rgba(255,255,255,.6); }
.hero-scroll { width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; position: relative; align-self: center; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; background: var(--gold-lt); transform: translateX(-50%); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- INTRO ---------- */
.intro { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--white); }
.intro-statement { font-family: var(--f-display); font-size: var(--fs-lg); line-height: 1.45; color: var(--ink); }
.intro-statement .w { opacity: .14; transition: opacity .2s; }
.intro-sign { display: flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--stone); font-size: var(--fs-sm); }
.sign-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gold-lt); }
.sign-av + .sign-av { margin-left: -16px; margin-right: .5rem; }
.intro-figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; position: relative; }
.intro-figure img, .visit-figure img, .standard-img img, .about-wide-img img, .about-team-img img { width: 100%; height: 115%; object-fit: cover; }
.intro-figure::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(227,196,154,.7); pointer-events: none; }

/* clip reveal base (JS animates). Without JS, images are simply visible. */
.clip-reveal { overflow: hidden; }

/* ---------- FINDER ---------- */
.finder { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--porcelain); }
.finder-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: 3rem; }
.finder-head .sec-title { margin: 0; }
.finder-head .sec-note { margin: 0; }
.finder-grid { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: 3rem; align-items: start; }
.finder-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.finder-tab { position: relative; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 1.15rem 2.5rem 1.15rem 0; color: var(--stone); transition: color .3s, padding .4s var(--ease); cursor: pointer; }
.finder-tab h3 { font-size: 1.3rem; margin: 0; }
.finder-tab::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: 0; top: 50%; transform: translate(-6px, -50%); opacity: 0; transition: .35s var(--ease); color: var(--gold-dk); }
.finder-tab:hover { color: var(--ink); }
.finder-tab.is-active { color: var(--ink); padding-left: 1rem; }
.finder-tab.is-active::after { opacity: 1; transform: translate(0, -50%); }
.ft-progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.finder-tab.is-active .ft-progress { animation: ftprog 7s linear forwards; }
.finder.paused .finder-tab.is-active .ft-progress, .finder.manual .finder-tab.is-active .ft-progress { animation: none; transform: scaleX(1); }
@keyframes ftprog { to { transform: scaleX(1); } }
.finder-panels { position: sticky; top: 110px; }
.finder-panel { display: grid; grid-template-rows: auto auto; background: var(--white); box-shadow: 0 40px 80px -50px rgba(42,31,24,.45); }
.finder-panel[hidden] { display: none; }
.finder-panel.is-active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fp-img { aspect-ratio: 16/9; overflow: hidden; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.fp-body { padding: 2rem 2.25rem 2.25rem; }
.fp-item { font-size: var(--fs-md); line-height: 1.55; }
.fp-item a, .fp-item strong { font-family: var(--f-display); font-weight: 400; color: var(--gold-dk); text-decoration: none; border-bottom: 1px solid var(--gold-lt); }
.fp-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fp-link { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; }
.fp-link i { color: var(--gold-dk); transition: transform .3s var(--ease); display: inline-block; }
.fp-link:hover i { transform: translate(3px, -3px); }

/* ---------- STAGES ---------- */
.stages { background: var(--ink); color: #fff; overflow: hidden; }
.stages-pin { padding: clamp(5rem, 9vw, 7rem) 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.stages-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.stages-head .sec-title { margin: 0; color: #fff; max-width: 14ch; }
.stages-bar { flex: 0 1 320px; height: 1px; background: rgba(255,255,255,.15); margin-bottom: .9rem; }
.stages-bar-fill { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.stages-track { display: flex; gap: 1.5rem; padding-left: max(1rem, calc((100vw - 1320px) / 2 + 1rem)); padding-right: 10vw; will-change: transform; }
.stage { flex: 0 0 min(420px, 80vw); border-left: 1px solid var(--line-dark); padding: 0 2rem 1rem 2rem; position: relative; }
.stage-age { display: block; font-family: var(--f-display); font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 2rem; }
.stage-title { font-size: var(--fs-lg); color: var(--gold-lt); margin-bottom: 1rem; }
.stage p { color: rgba(255,255,255,.75); }

/* ---------- STANDARDS ---------- */
.standards { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--white); }
.standards-intro { position: sticky; top: 120px; }
.standards-lead { font-size: var(--fs-md); color: var(--stone); max-width: 36ch; }
.standard { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); align-items: start; }
.standard:last-child { border-bottom: 1px solid var(--line); }
.standard-img { margin: 0; aspect-ratio: 4/3; }
.standard h3 { font-size: var(--fs-lg); margin-bottom: .6rem; }
.standard p { color: var(--stone); margin: 0; }

/* ---------- VISIT ---------- */
.visit { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--porcelain); }
.visit-big { font-family: var(--f-display); font-size: var(--fs-lg); line-height: 1.4; color: var(--ink); }
.visit p { max-width: 64ch; }
.expect { margin-top: 3rem; padding: 2rem 2.25rem; background: var(--white); border-left: 2px solid var(--gold); }
.expect h3 { font-size: var(--fs-md); margin-bottom: 1rem; }
.expect p { color: var(--stone); }
.expect p:last-child { margin: 0; }
.visit-figure { margin: 0; aspect-ratio: 3/4; position: sticky; top: 120px; }

/* ---------- COST ---------- */
.cost { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cost::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; height: 60vw; border-radius: 50%; border: 1px solid var(--line-dark); pointer-events: none; }
.cost .sec-title { color: #fff; }
.cost-note { color: rgba(255,255,255,.7); }
.price-list { border-top: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price-row > span:first-child { flex: 0 1 auto; }
.price-dots { flex: 1 1 auto; border-bottom: 1px dotted var(--gold); opacity: .6; transform: translateY(-4px); min-width: 1.5rem; }
.price-val { font-family: var(--f-display); font-size: 1.15rem; color: var(--gold-dk); white-space: nowrap; }
.price-head { font-size: var(--fs-xs); font-weight: 600; color: var(--stone); justify-content: space-between; padding: .75rem 0; letter-spacing: .02em; }
.price-list-home { border-color: var(--line-dark); }
.price-list-home .price-row { border-color: var(--line-dark); }
.price-list-home .price-val { color: var(--gold-lt); font-size: 1.3rem; }
.price-list-home .price-head { color: rgba(255,255,255,.55); }

/* ---------- DOCTORS ---------- */
.doctors { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--white); }
.doctor-img { margin: 0 0 1.75rem; aspect-ratio: 4/5; overflow: hidden; background: var(--porcelain); }
.doctor-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.doctor:hover .doctor-img img { transform: scale(1.04); }
.doctor h3 { font-size: var(--fs-lg); margin-bottom: .75rem; }
.doctor p { color: var(--stone); max-width: 52ch; }
@media (min-width: 768px) { .doctor-offset { margin-top: 6rem; } }

/* ---------- GALLERY ---------- */
.gallery { background: var(--white); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.gallery-track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.gal-item { margin: 0; width: clamp(240px, 26vw, 380px); aspect-ratio: 4/3; overflow: hidden; flex: none; }
.gal-item:nth-child(even) { aspect-ratio: 3/4; width: clamp(180px, 18vw, 270px); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track { align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.home-faq { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--porcelain); }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--f-display); font-size: 1.3rem; margin: 0; line-height: 1.3; transition: color .3s; }
.faq summary:hover .faq-q { color: var(--gold-dk); }
.faq-icon { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; flex: none; transition: background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--gold); border-color: var(--gold); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 3.5rem 1.4rem 0; color: var(--stone); }
.faq-a p { margin: 0; }

/* ---------- LOCATION ---------- */
.location { padding: 0 0 clamp(5rem, 9vw, 8rem); background: var(--porcelain); }
.location-card { background: var(--white); box-shadow: 0 40px 80px -60px rgba(42,31,24,.5); }
.location-body { padding: clamp(2rem, 4vw, 3.5rem); }
.location-body address { margin: 1.5rem 0 1rem; font-weight: 500; }
.location-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.4) sepia(.15); }
.loc-hours { list-style: none; padding: 0; margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.loc-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.loc-hours li span:last-child { font-weight: 600; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: var(--fs-sm); }
.footer-cta { border-bottom: 1px solid var(--line-dark); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-cta-title { font-family: var(--f-display); font-size: var(--fs-xl); color: #fff; line-height: 1.15; margin-bottom: .6rem; }
.footer-cta-sub { margin: 0; color: rgba(255,255,255,.65); }
.footer-main { padding-top: 4rem; padding-bottom: 3rem; }
.footer-logo { width: 220px; margin-bottom: 1.5rem; }
.footer-about { max-width: 38ch; }
.footer-head { font-family: var(--f-display); color: var(--gold-lt); font-size: 1.15rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--gold-lt); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: inline-grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-address { margin-bottom: 1rem; }
.footer-contact { overflow-wrap: anywhere; }
.footer-hours { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-hours li { font-size: var(--fs-xs); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line-dark); }
.footer-hours li span:last-child { color: #fff; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.25rem 0; font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

/* Quick actions */
.quick-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020; display: flex; flex-direction: column; gap: .7rem; }
.qa { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.qa:hover { transform: translateY(-3px); }
.qa-wa { background: #25d366; color: #fff; }
.qa-wa:hover { color: #fff; }
.qa-call { background: var(--gold); color: var(--ink); }
.qa-call:hover { color: var(--ink); }
@media (min-width: 992px) { .qa-call { display: none; } }

/* ---------- Booking modal & forms ---------- */
.book-modal .modal-content { border: 0; border-radius: 2px; overflow: hidden; }
.book-side { background: linear-gradient(rgba(42,31,24,.82), rgba(42,31,24,.92)), url("../img/treatment-room-vertical-sm.webp") center/cover; color: #fff; padding: 2.5rem; flex-direction: column; justify-content: space-between; }
.book-side-title { font-family: var(--f-display); font-size: var(--fs-lg); color: var(--gold-lt); }
.book-side p { color: rgba(255,255,255,.75); }
.book-side ul { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.book-side li { padding: .6rem 0; border-top: 1px solid var(--line-dark); }
.book-side a { color: var(--gold-lt); text-decoration: none; font-weight: 600; }
.book-main { padding: 2.5rem; position: relative; background: var(--porcelain); }
.book-main .btn-close { position: absolute; right: 1.25rem; top: 1.25rem; }
.book-title { font-size: var(--fs-lg); margin-bottom: .35rem; }
.book-sub { color: var(--stone); font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.f-label { display: block; font-size: var(--fs-xs); font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.f-opt { font-weight: 400; color: var(--stone); }
.f-input { width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); font: inherit; font-size: var(--fs-sm); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.f-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,146,90,.18); }
select.f-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a5c2c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.5rem; }
.f-error { display: none; font-size: var(--fs-xs); color: #a3341f; margin-top: .3rem; }
.was-validated .f-input:invalid { border-color: #a3341f; }
.was-validated .f-input:invalid + .f-error { display: block; }
.f-status { margin: 0; font-size: var(--fs-sm); }
.f-status.ok { color: #2f6b3a; }
.f-status.err { color: #a3341f; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-left: 2px solid; font-size: var(--fs-sm); }
.form-alert.ok { background: #eef5ee; border-color: #2f6b3a; color: #234f2b; }
.form-alert.err { background: #fbefec; border-color: #a3341f; color: #7d2717; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: var(--fs-xs); color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs span[aria-current] { color: var(--gold-lt); }

/* Treatment hero */
.t-hero { position: relative; background: var(--ink); color: #fff; padding: 190px 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.t-hero-media { position: absolute; inset: 0 0 0 auto; width: 52%; }
.t-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.t-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(42,31,24,.7) 35%, rgba(42,31,24,.25) 100%); }
.t-hero-title { font-size: var(--fs-xl); line-height: 1.12; margin-bottom: 1.5rem; max-width: 22ch; }
.t-hero-intro p { color: rgba(255,255,255,.8); max-width: 62ch; }
.t-hero-intro p:first-child { font-size: var(--fs-md); line-height: 1.6; color: rgba(255,255,255,.9); }

.t-body { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--porcelain); }
.toc { position: sticky; top: 110px; }
.toc-title { font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0 0 2rem; border-left: 1px solid var(--line); counter-reset: toc; }
.toc li a { display: block; padding: .42rem 0 .42rem 1rem; font-size: var(--fs-sm); color: var(--stone); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; transition: color .25s, border-color .25s; line-height: 1.35; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-current { color: var(--ink); border-left-color: var(--gold); font-weight: 600; }
.toc-card { background: var(--ink); color: #fff; padding: 1.4rem; }
.toc-card p { font-family: var(--f-display); font-size: 1.15rem; margin-bottom: .75rem; }
.toc-card a { color: var(--gold-lt); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }

.t-content { max-width: 880px; }
.t-section { padding: 0 0 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.t-section:last-child { border-bottom: 0; }
.t-h { font-size: var(--fs-lg); margin-bottom: 1.25rem; display: flex; gap: 1rem; align-items: baseline; }
.t-h::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; transform: translateY(-.35em); }
.t-section p { max-width: 70ch; }
.t-section > p:first-of-type { }
.t-figure { margin: -1rem 0 3.5rem; aspect-ratio: 21/9; overflow: hidden; }
.t-figure img { width: 100%; height: 100%; object-fit: cover; }
.t-figure.is-service { aspect-ratio: 16/9; }
.t-sec-figure { margin: 0 0 1.75rem; max-width: 900px; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; background: #f3e9df; }
.t-sec-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.tick-list li { position: relative; padding-left: 1.75rem; }
.tick-list strong { font-weight: 600; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border: 1px solid var(--gold); transform: rotate(45deg); }
.tick-list.cols-2 { grid-template-columns: repeat(2, 1fr); gap: .5rem 2rem; }
@media (max-width: 575.98px) { .tick-list.cols-2 { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.step { counter-increment: step; position: relative; padding-left: 4.25rem; padding-bottom: 1.5rem; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 43px; height: 43px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--f-display); color: var(--gold-dk); font-size: 1.05rem; }
.step-title { font-family: var(--f-display); font-size: 1.25rem; margin: .35rem 0 .35rem; color: var(--ink); }
.step-body p:last-child { margin-bottom: 0; }
.steps-plain .step-body { padding-top: .5rem; }

.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.5rem 0; }
.lead-item { background: var(--white); padding: 1.6rem; }
.lead-title { font-family: var(--f-display); font-size: 1.2rem; color: var(--gold-dk); margin-bottom: .5rem; }
.lead-item p:last-child { margin-bottom: 0; color: var(--stone); }

.pull-quote { margin: 2rem 0; padding: 2rem 2.25rem; background: var(--ink); color: #fff; position: relative; }
.pull-quote::before { content: "\201C"; font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--gold); position: absolute; top: .5rem; left: 1.5rem; opacity: .5; }
.pull-quote p { font-family: var(--f-display); font-size: var(--fs-md); line-height: 1.5; padding-left: 2.5rem; }
.pull-quote cite { display: block; padding-left: 2.5rem; font-style: normal; font-size: var(--fs-sm); color: var(--gold-lt); }

.qa-block { margin-bottom: 1.25rem; }
.qa-q { font-weight: 600; margin-bottom: .25rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
.dv-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: var(--fs-sm); }
.dv-table thead th { background: var(--ink); color: var(--gold-lt); font-weight: 600; text-align: left; padding: 1rem 1.1rem; font-size: var(--fs-xs); letter-spacing: .02em; }
.dv-table tbody th { font-weight: 600; text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; width: 30%; }
.dv-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--stone); vertical-align: top; }
.dv-table tbody tr { transition: background-color .25s; }
.dv-table tbody tr:hover { background: var(--gold-soft); }
.dv-compare tbody th { width: auto; }

.t-cost .price-list { background: var(--white); padding: 0 1.5rem; border: 1px solid var(--line); margin: 1.5rem 0; }
.t-cost .price-row:last-child { border-bottom: 0; }

.t-doctors { padding-bottom: 3.5rem; }
.t-doctors-title { font-size: var(--fs-lg); margin-bottom: 1.5rem; }
.doc-card { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; background: var(--white); padding: 1.25rem; height: 100%; border: 1px solid var(--line); }
.doc-card img { width: 140px; height: 175px; object-fit: cover; object-position: top; }
.doc-name { font-family: var(--f-display); font-size: 1.2rem; margin-bottom: .4rem; line-height: 1.25; }
.doc-card p:last-child { font-size: var(--fs-sm); color: var(--stone); margin: 0; }

.t-faq .faq-list { margin-top: 1rem; }
.t-faq .faq-q { font-size: 1.2rem; }

.t-cta { border: 0; padding: 0; margin: 0; }
.t-cta-inner { background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.t-cta-inner::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border: 1px solid var(--line-dark); border-radius: 50%; }
.t-cta-inner h3 { font-size: var(--fs-xl); color: #fff; margin-bottom: 1.25rem; max-width: 18ch; }
.t-cta-inner p { color: rgba(255,255,255,.78); }

.t-more { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--white); }
.t-more-title { font-size: var(--fs-lg); margin-bottom: 2rem; }
.t-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.t-more-item { padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .3rem; transition: background-color .3s; }
.t-more-item:hover { background: var(--porcelain); color: var(--ink); }
.t-more-name { font-family: var(--f-display); font-size: 1.2rem; }
.t-more-blurb { font-size: var(--fs-xs); color: var(--stone); }

/* Plain hero (about/contact/404) */
.plain-hero { background: var(--ink); color: #fff; padding: 190px 0 clamp(4rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.plain-hero::after { content: ""; position: absolute; right: -12vw; top: -20vw; width: 50vw; height: 50vw; border-radius: 50%; border: 1px solid var(--line-dark); pointer-events: none; }
.plain-title { font-size: var(--fs-2xl); line-height: 1.05; margin: 0; max-width: 14ch; }
.plain-lead { font-size: var(--fs-md); line-height: 1.6; color: rgba(255,255,255,.78); margin: 0; }
.page-plain .plain-hero { min-height: 70vh; }

/* About */
.about-wide { background: var(--ink); padding-bottom: 0; }
.about-wide .container-xl { position: relative; }
.about-wide-img { margin: 0; aspect-ratio: 21/9; overflow: hidden; transform: translateY(0); }
.about-wide-img img { object-position: center 30%; }
.page-about .about-wide { background: linear-gradient(var(--ink) 50%, var(--porcelain) 50%); }
.about-story { padding: clamp(5rem, 9vw, 8rem) 0; }
.about-story-body p { max-width: 64ch; color: var(--stone); }
.about-story-body .visit-big { color: var(--ink); }
.journey { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--white); }
.journey-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.journey-list::before { content: ""; position: absolute; left: 0; right: 0; top: 2.1rem; height: 1px; background: var(--line); }
.journey-year { display: inline-block; font-family: var(--f-display); font-size: 2.6rem; color: var(--gold-dk); background: var(--white); padding-right: 1rem; position: relative; line-height: 1.6; }
.journey-img { aspect-ratio: 4/3; overflow: hidden; margin: 1rem 0 1.25rem; }
.journey-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journey-item:hover .journey-img img { transform: scale(1.05); }
.journey-item h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.journey-item p { color: var(--stone); font-size: var(--fs-sm); }
.founders { padding: clamp(5rem, 9vw, 8rem) 0; }
.founder { padding: 3rem 0; border-top: 1px solid var(--line); }
.founder:first-of-type { border-top: 0; }
.founder-img { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder h3 { font-size: var(--fs-xl); margin-bottom: .5rem; }
.founder-role { color: var(--gold-dk); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.founder p { color: var(--stone); max-width: 62ch; }
.tech { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--ink); color: #fff; }
.tech .sec-title { color: #fff; }
.tech .standards-lead { color: rgba(255,255,255,.7); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
.tech-img { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1.25rem; }
.tech-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1s var(--ease); }
.tech-item:hover .tech-img img { transform: scale(1.05); }
.tech-item h3 { font-size: 1.4rem; color: var(--gold-lt); margin-bottom: .5rem; }
.tech-item p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); margin: 0; }
.promise { padding: clamp(5rem, 9vw, 7rem) 0; }
.promise-item { border-top: 1px solid var(--gold); padding-top: 1.5rem; height: 100%; }
.promise-item h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.promise-item p { color: var(--stone); margin: 0; }
.about-team { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.about-team-img { margin: 0; aspect-ratio: 3/2; }

/* Contact */
.contact-cards { background: linear-gradient(var(--ink) 50%, var(--porcelain) 50%); padding-bottom: 0; }
.c-card { display: flex; flex-direction: column; gap: .25rem; background: var(--white); padding: 1.75rem; height: 100%; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; box-shadow: 0 30px 60px -45px rgba(42,31,24,.6); transition: border-color .3s, transform .4s var(--ease); }
.c-card:hover { border-color: var(--gold); transform: translateY(-4px); color: var(--ink); }
.c-card i { font-size: 1.5rem; color: var(--gold-dk); margin-bottom: .75rem; }
.c-k { font-size: var(--fs-xs); font-weight: 600; color: var(--stone); }
.c-v { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.3; word-break: break-word; }
.c-v-sm { font-size: .95rem; font-family: var(--f-body); font-weight: 600; }
.contact-main { padding: clamp(4rem, 7vw, 6rem) 0; }
.contact-form-card { background: var(--white); padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid var(--line); }
.contact-info address { font-weight: 500; margin-bottom: 1.75rem; }
.ci-title { font-size: var(--fs-lg); margin-bottom: 1rem; }
.ci-sub { font-family: var(--f-body); font-weight: 600; font-size: var(--fs-sm); margin: 1.75rem 0 .6rem; color: var(--gold-dk); }
.contact-info p { color: var(--stone); font-size: var(--fs-sm); }
.contact-photo { margin: 2rem 0 0; aspect-ratio: 16/10; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-map iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.4) sepia(.15); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .mega-list { grid-template-columns: repeat(2, 1fr); }
    .t-more-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .brand, .brand img { width: 160px !important; }
    .hero-foot { grid-template-columns: 1fr 1fr; }
    .hero-scroll { display: none; }
    .finder-grid { grid-template-columns: 1fr; }
    .finder-panels { position: static; }
    .standards-intro, .visit-figure { position: static; }
    .standard { grid-template-columns: 160px 1fr; gap: 1.25rem; }
    .t-hero-media { width: 100%; opacity: .35; }
    .journey-list { grid-template-columns: repeat(2, 1fr); }
    .journey-list::before { display: none; }
    .location-map iframe { min-height: 340px; }
}
@media (max-width: 767.98px) {
    .hero-inner { padding-top: 130px; }
    .hero-foot { grid-template-columns: 1fr; gap: .9rem; margin-top: 2rem; }
    .hero-shade { background: linear-gradient(0deg, rgba(30,22,17,.92) 0%, rgba(30,22,17,.6) 60%, rgba(30,22,17,.45) 100%); }
    .stages-head { flex-direction: column; align-items: flex-start; }
    .stages-bar { display: none; }
    .stages-track { flex-direction: column; padding: 0 1rem; gap: 2.5rem; }
    .stage { flex: auto; padding: 0 0 0 1.5rem; }
    .stage-age { font-size: 3.5rem; margin-bottom: 1rem; }
    .standard { grid-template-columns: 1fr; }
    .lead-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .t-more-grid { grid-template-columns: 1fr 1fr; }
    .t-hero, .plain-hero { padding-top: 140px; }
    .doc-card { grid-template-columns: 90px 1fr; }
    .doc-card img { width: 90px; height: 115px; }
    .faq-a { padding-right: 0; }
    .t-figure { aspect-ratio: 16/10; }
    .about-wide-img { aspect-ratio: 4/3; }
    .journey-list { grid-template-columns: 1fr; }
    /* tables become stacked cards */
    .dv-table thead { display: none; }
    .dv-table, .dv-table tbody, .dv-table tr, .dv-table th, .dv-table td { display: block; width: 100% !important; }
    .dv-table tr { border-bottom: 1px solid var(--line); padding: .75rem 0; }
    .dv-table tbody th { border: 0; padding: .25rem 1rem; color: var(--ink); }
    .dv-table td { border: 0; padding: .2rem 1rem; }
    .dv-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--gold-dk); }
    .dv-table td[data-label=""]::before { content: none; }
    .price-row { flex-wrap: wrap; gap: .1rem 1rem; }
    .price-dots { display: none; }
    .price-row > span:first-child { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .gallery-track { animation: none; flex-wrap: nowrap; overflow-x: auto; }
    .intro-curtain { display: none; }
    .intro-statement .w { opacity: 1; }
}

/* ==========================================================================
   Doctors
   ========================================================================== */
/* Doctors dropdown in the main nav */
.has-drop { position: relative; }
.drop {
    list-style: none; margin: 0; padding: .75rem; position: absolute; top: 100%; left: -1rem; min-width: 340px; max-height: min(75vh, 520px); overflow-y: auto;
    background: var(--porcelain); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(42,31,24,.4); border-top: 1px solid var(--gold);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .bi-chevron-down { transform: rotate(180deg); }
.drop-label { padding: .35rem .7rem .25rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); }
.drop-label-sep { margin-top: .5rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.drop a { display: flex; align-items: center; gap: .9rem; padding: .65rem .7rem; text-decoration: none; color: var(--ink); transition: background-color .25s; }
.drop a:hover { background: var(--white); color: var(--ink); }
.drop img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: var(--white); border: 1px solid var(--line); }
.drop strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; line-height: 1.25; }
.drop small { display: block; font-size: var(--fs-xs); color: var(--stone); line-height: 1.35; }
.drop-all { margin-top: .45rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.drop-all a { justify-content: space-between; font-size: var(--fs-xs); font-weight: 600; color: var(--gold-dk); padding: .55rem .7rem; }
.drop-all a:hover { color: var(--ink); }
@media (max-width: 1199.98px) { .navlinks { gap: 1.5rem; } }

.doctor-link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .45s var(--ease), color .3s; }
.doctor-link:hover { color: var(--gold-dk); background-size: 100% 1px; }
.doctor .fp-link { display: inline-block; margin-top: .25rem; }

/* Profile hero */
.d-hero { background: var(--ink); color: #fff; padding: 180px 0 clamp(4rem, 7vw, 6rem); position: relative; overflow: hidden; }
.d-hero::before { content: ""; position: absolute; left: -15vw; bottom: -25vw; width: 50vw; height: 50vw; border: 1px solid var(--line-dark); border-radius: 50%; pointer-events: none; }
.d-hero-title { font-size: var(--fs-xl); line-height: 1.12; margin-bottom: 1.5rem; max-width: 20ch; }
.d-cred { font-size: var(--fs-sm); color: var(--gold-lt); border-left: 1px solid var(--gold); padding-left: 1rem; max-width: 60ch; line-height: 1.6; }
.d-cred strong { color: #fff; font-weight: 600; }
.d-hero-intro p { color: rgba(255,255,255,.8); max-width: 62ch; font-size: var(--fs-md); line-height: 1.6; margin-top: 1.25rem; }
.d-portrait { margin: 0; position: relative; aspect-ratio: 4/5; max-width: 460px; margin-left: auto; }
.d-portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); pointer-events: none; z-index: 0; }
.d-portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.d-portrait figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.4rem 1.2rem; background: linear-gradient(transparent, rgba(30,22,17,.88)); display: flex; flex-direction: column; font-size: var(--fs-sm); }
.d-portrait figcaption span:first-child { font-family: var(--f-display); font-size: 1.2rem; color: #fff; }
.d-portrait figcaption span:last-child { color: var(--gold-lt); }

/* Registration record */
.record-card { margin: 1.5rem 0; background: var(--white); border: 1px solid var(--line); }
.record-row { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; gap: 1.5rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.record-row:last-child { border-bottom: 0; }
.record-head { background: var(--ink); color: var(--gold-lt); font-size: var(--fs-xs); font-weight: 600; padding-top: .8rem; padding-bottom: .8rem; }
.record-row dt { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.record-row dd { margin: 0; color: var(--stone); font-size: var(--fs-sm); }
.d-note { background: var(--white); border-left: 2px solid var(--gold); padding: 1.25rem 1.5rem; }
.d-note strong { color: var(--gold-dk); font-weight: 600; }

.d-cta-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border: 1px solid var(--line-dark); position: relative; z-index: 1; }
.d-cta p a { color: var(--gold-lt); }

/* Link to the other doctor */
.other-doc { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); max-width: 720px; transition: border-color .3s, background-color .3s; }
.other-doc:hover { border-color: var(--gold); background: var(--porcelain); color: var(--ink); }
.other-doc img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; }
.other-doc > span { display: flex; flex-direction: column; }
.other-doc-k { font-size: var(--fs-xs); color: var(--stone); }
.other-doc-name { font-family: var(--f-display); font-size: var(--fs-lg); line-height: 1.2; }
.other-doc-role { font-size: var(--fs-sm); color: var(--gold-dk); }
.other-doc i { font-size: 1.4rem; color: var(--gold-dk); transition: transform .3s var(--ease); }
.other-doc:hover i { transform: translate(3px, -3px); }

/* Doctors index */
.doctors-list { padding: clamp(4rem, 7vw, 6rem) 0; }
.doc-tile { display: block; text-decoration: none; color: var(--ink); }
.doc-tile:hover { color: var(--ink); }
.doc-tile:hover .doctor-img img { transform: scale(1.04); }
.doc-tile h2 { font-size: var(--fs-xl); margin-bottom: .4rem; }
.doc-tile-role { color: var(--gold-dk); font-weight: 600; font-size: var(--fs-sm); }
.doc-tile p { color: var(--stone); }
.doc-tile-link { font-weight: 600; font-size: var(--fs-sm); border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }

/* Specialist consultants grid */
.specialists-sec { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--white); border-top: 1px solid var(--line); }
.specialists-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: 2.75rem; }
.specialists-head .sec-title { margin: 0; }
.specialists-head .sec-note { margin: 0; }
.spec-card { background: var(--porcelain); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: border-color .35s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); scroll-margin-top: 120px; }
.spec-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 28px 56px -40px rgba(42,31,24,.45); }
.spec-card:target { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,146,90,.35); }
.spec-img { margin: 0; aspect-ratio: 4/5; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.spec-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.spec-card:hover .spec-img img { transform: scale(1.04); }
.spec-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.spec-role { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 .35rem; }
.spec-name { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; margin: 0 0 .25rem; color: var(--ink); }
.spec-qual { font-size: var(--fs-sm); color: var(--stone); margin: 0 0 1.25rem; }
.spec-book { margin-top: auto; align-self: flex-start; background: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 .2rem; font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; transition: color .25s; }
.spec-book i { color: var(--gold-dk); transition: transform .3s var(--ease); }
.spec-book:hover { color: var(--gold-dk); }
.spec-book:hover i { transform: translate(3px, -3px); }

@media (max-width: 991.98px) {
    .d-portrait { margin: 2rem auto 0 14px; max-width: 420px; }
}
@media (max-width: 767.98px) {
    .d-hero { padding-top: 140px; }
    .record-row { grid-template-columns: 1fr; gap: .2rem; padding: .9rem 1.1rem; }
    .other-doc { grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1.1rem; }
    .other-doc img { width: 64px; height: 64px; }
}

/* Highlight pill in treatment heroes (e.g. same day implants) */
.t-hero-note { display: inline-flex; align-items: center; gap: .5rem; margin: -.25rem 0 1.25rem; padding: .5rem 1rem .5rem .85rem; border: 1px solid var(--gold); border-radius: 999px; background: rgba(196,146,90,.14); color: var(--gold-lt); font-size: var(--fs-sm); font-weight: 600; }
.t-hero-note i { color: var(--gold); }
.stage-link { color: var(--gold-lt); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .15rem; }
.stage-link:hover { color: #fff; }

/* ---------- Payments, insurance and access strip ---------- */
.facilities { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }
.facilities li { display: flex; gap: .85rem; align-items: flex-start; }
.facilities i { font-size: 1.35rem; color: var(--gold); line-height: 1; margin-top: .15rem; flex: none; }
.facilities strong { display: block; font-weight: 600; }
.facilities small { display: block; font-size: var(--fs-sm); line-height: 1.55; color: var(--stone); margin-top: .15rem; }
.facilities-dark { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); padding-top: 1.75rem; }
.facilities-dark strong { color: #fff; }
.facilities-dark small { color: rgba(255,255,255,.65); }
.facilities-light { margin-top: .25rem; }
.facilities-compact { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1rem; }
.facilities-compact li { align-items: center; gap: .45rem; font-size: var(--fs-sm); }
.facilities-compact i { font-size: 1.05rem; margin: 0; }
.site-footer .facilities-compact { margin: 1.25rem 0 0; flex-direction: column; gap: .5rem; }
.site-footer .facilities-compact strong { font-weight: 500; color: rgba(255,255,255,.8); }
.t-section .facilities-compact { padding: .9rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-top: 0; margin-top: -1.5rem; margin-bottom: 1.5rem; }
.c-alt { display: inline-block; margin-top: .6rem; font-weight: 600; font-size: var(--fs-sm); color: var(--gold-dk); text-decoration: none; }
.c-alt:hover { color: var(--ink); }
.loc-phones, .loc-access { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 .6rem; font-weight: 500; }
.loc-phones i, .loc-access i { color: var(--gold-dk); }
.loc-phones a { color: var(--ink); text-decoration: none; }
.loc-phones a:hover { color: var(--gold-dk); }
.loc-access { margin-bottom: 1.5rem; }
.ci-phones a { color: var(--ink); font-weight: 600; text-decoration: none; }
@media (max-width: 767.98px) { .facilities-dark { grid-template-columns: 1fr; } }
.c-card-multi a.c-v { color: var(--ink); text-decoration: none; }
.c-card-multi a.c-v:hover { color: var(--gold-dk); }
.c-card-multi:hover { transform: none; }
