/* ==========================================================================
   Dental Trust — website preview stylesheet
   Colours, fonts and spacing live in :root below — change them there.
   ========================================================================== */

:root {
  /* Premium light palette */
  --bg: #FCFAF7;            /* warm white page background */
  --white: #FFFFFF;         /* cards sit a touch brighter than the page */
  --mist: #F4F0EA;          /* soft stone for alternate sections */
  --brand-soft: #C9B8DC;     /* muted, used only for tiny details */
  --brand-tint: #F0EAF6;     /* very soft wash (selected states, focus halos) */
  --brand: #5E2F91;          /* refined teal: buttons and links */
  --brand-dark: #45216C;
  --ink: #2A1A3F;           /* deep ink-teal: headings and text */
  --muted: #5B5266;         /* secondary text (AA on warm white and stone) */
  --demo: #6A6274;          /* "(demo)" labels */
  /* the one accent: champagne gold */
  --champagne: #CDB27E;
  --gold-grad: linear-gradient(120deg, #E6CF9E 0%, #B8935A 100%);            /* hairlines, rings, glows */
  --gold-text: linear-gradient(120deg, #A07B43 0%, #85622F 55%, #9B7640 100%); /* large gold words: 3:1+ on warm white AND stone */
  --gold-label: linear-gradient(120deg, #80602F 0%, #6A4E25 100%);            /* tiny labels: 4.5:1+ on warm white AND stone */
  --champagne-text: #7C5E31;
  --line: rgba(184, 147, 90, .3);
  --hairline: linear-gradient(90deg, rgba(230, 207, 158, 0), rgba(184, 147, 90, .45) 50%, rgba(230, 207, 158, 0));

  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 22px 48px -30px rgba(42, 26, 63, .28), 0 2px 6px rgba(42, 26, 63, .04);
  --shadow-lift: 0 30px 60px -30px rgba(42, 26, 63, .34), 0 4px 12px rgba(42, 26, 63, .05);
  --glow-img: 0 40px 90px -40px rgba(184, 147, 90, .45), 0 0 0 1px rgba(230, 207, 158, .25);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.02; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; }
h1 { font-size: clamp(3rem, 8.4vw, 5.6rem); font-weight: 300; line-height: .95; }
h2 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); font-weight: 300; line-height: .98; }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); font-weight: 500; line-height: 1.1; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
/* one key word per headline: italic + champagne-gold gradient */
h1 em, h2 em, em.accent, .accent, .hero h1 .line--accent > span {
  font-style: italic; font-weight: 400; color: #8A6634;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .06em; /* keeps the italic overhang inside the gradient */
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* ~30% more breathing room between sections */
.section { padding: clamp(84px, 13vw, 156px) 0; position: relative; }
/* thin champagne hairline between sections */
.section + .section::before, .trust + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px; background: var(--hairline);
}
.section--mist { background: var(--mist); }
.section--tint { background: linear-gradient(170deg, #F6F2EA 0%, var(--bg) 60%, #F3EEE4 100%); }
.section-head { max-width: 720px; margin-bottom: clamp(42px, 6.5vw, 72px); position: relative; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
/* soft warm glow behind major headlines (pure CSS gradient: cheap on phones) */
.section-head h2, .page-hero h1, .hero h1 { position: relative; isolation: isolate; }
.section-head h2::before, .page-hero h1::before, .hero h1::before {
  content: ""; position: absolute; z-index: -1; left: -8%; top: -35%; width: 70%; height: 170%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 252, 244, .9), rgba(240, 222, 184, .24) 55%, rgba(240, 222, 184, 0));
}
.section-head--center h2::before { left: 15%; }

/* small labels: tiny caps, wide tracking, gold, with a 40px hairline before them */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: .7rem; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; color: var(--champagne-text);
  background: var(--gold-label); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-grad); flex: none; }
.section-head--center .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold-grad); flex: none; }
.divider { border: 0; height: 1px; background: var(--hairline); margin: 0; }
.demo { font-size: .72rem; vertical-align: middle; color: var(--demo); font-weight: 400; letter-spacing: .02em; white-space: nowrap; font-family: var(--font-sans); font-style: normal; -webkit-text-fill-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1.2 var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease);
}
/* primary: refined teal pill, soft glow on hover */
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -16px rgba(94, 47, 145, .6); }
.btn--primary:hover {
  background: var(--brand-dark); color: #fff; transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(94, 47, 145, .08), 0 14px 34px -12px rgba(94, 47, 145, .55), 0 0 40px -8px rgba(230, 207, 158, .55);
}
/* secondary: thin champagne outline with letter-spaced caps */
.btn--ghost {
  background: transparent; color: var(--ink); border-color: rgba(184, 147, 90, .75);
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
}
.btn--ghost:hover { border-color: #B8935A; color: var(--ink); box-shadow: 0 0 30px -10px rgba(230, 207, 158, .9); background: rgba(255, 255, 255, .6); }
.btn--ghost .icon { width: 18px; height: 18px; }
.btn--small { min-height: 48px; padding: 10px 24px; font-size: .92rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.text-link {
  display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--ink);
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: rgba(184, 147, 90, .8); text-underline-offset: .7em; text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--brand); text-decoration-color: var(--brand); }
.more-link { font-weight: 600; text-decoration: none; color: var(--brand); }
.more-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--bg); /* fully solid on phones: nothing shows through */ border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(184, 147, 90, .35); box-shadow: 0 6px 18px -12px rgba(42, 26, 63, .28); }
@media (min-width: 1024px) {
  .site-header { background: rgba(252, 250, 247, .84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; min-height: 48px; justify-content: center; }
.logo-word { font-family: var(--font-serif); font-weight: 500; font-size: 2rem; letter-spacing: .16em; }
.logo-sub { font-size: .58rem; font-weight: 600; letter-spacing: .4em; color: var(--champagne-text); margin-top: 4px; }
.logo:hover { color: var(--ink); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a.nav-cta, .site-nav a.nav-cta:hover { color: #fff; }

/* mobile nav panel */
.js .site-nav {
  position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99; background: var(--bg); padding: 24px var(--gutter) 120px;
  overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.js.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open body { overflow: hidden; }
.site-nav .nav-list > li { border-bottom: 1px solid var(--mist); }
.site-nav .nav-list > li > a { display: flex; align-items: center; min-height: 56px; font-size: 1.15rem; }
.sub-list { padding: 0 0 12px 12px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sub-list a { display: flex; align-items: center; min-height: 44px; color: var(--muted) !important; font-size: .98rem; }
.nav-cta { margin-top: 24px; width: 100%; }
.no-js .nav-toggle { display: none; }
.no-js .site-header { position: relative; height: auto; }
.no-js .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav { position: static; inset: auto; padding: 0; opacity: 1; visibility: visible; transform: none; overflow: visible; background: none; }
  .site-nav { display: flex; align-items: center; gap: 32px; }
  .site-nav .nav-list { display: flex; gap: 30px; align-items: center; }
  .site-nav .nav-list > li { border: 0; position: relative; }
  .site-nav .nav-list > li > a { min-height: 48px; font-size: .98rem; }
  .nav-cta { margin: 0; width: auto; }
  .has-sub > .sub-list {
    position: absolute; top: 100%; left: -24px; width: 420px; background: var(--bg); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift); border: 1px solid var(--line); padding: 14px 18px !important;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
  }
  .has-sub:hover > .sub-list, .has-sub:focus-within > .sub-list { opacity: 1; visibility: visible; transform: none; }
}


/* ---------- Trust strip ---------- */
.trust { position: relative; background: var(--bg); border-block: 1px solid transparent; border-image: var(--hairline) 1; }
.trust ul { list-style: none; margin: 0 auto; padding: 18px var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .93rem; font-weight: 500; }
.trust svg { width: 20px; height: 20px; flex: none; color: #B8935A; }
@media (min-width: 900px) { .trust ul { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; } }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid rgba(184, 147, 90, .5); color: var(--brand); margin-bottom: 20px; }
.icon-badge .icon { width: 28px; height: 28px; }


/* ---------- Cards / treatments ---------- */
.grid { display: grid; gap: 20px; }
.treat-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .treat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .treat-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 26px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid transparent; border-image: var(--hairline) 1; }
.price-from { font-size: .9rem; color: var(--muted); }
.price-from strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.card a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card--text { background: linear-gradient(160deg, #fff 0%, var(--mist) 140%); }
.card--text .card-body { padding-top: 32px; }

/* ---------- Nervous ---------- */
.nervous { background: linear-gradient(160deg, #F4EFE6 0%, var(--bg) 52%, #EFE8DC 100%); }
.feature-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: rgba(255, 255, 255, .5); border-radius: var(--radius); padding: 34px 28px; border: 0; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; padding-left: 76px; }
.step-num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid #CDB27E; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--ink);
}
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
.steps::before { content: ""; position: absolute; left: 28px; top: 28px; bottom: 28px; width: 1px; background: var(--champagne); transform-origin: top; transform: scaleY(var(--draw, 1)); transition: transform 1.4s var(--ease); }
.js .steps.reveal { --draw: 0; }
.js .steps.reveal.is-in { --draw: 1; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 80px 0 0; }
  .steps::before { left: 28px; right: 28px; top: 28px; bottom: auto; width: auto; height: 1px; transform-origin: left; transform: scaleX(var(--draw, 1)); }
}

/* ---------- Booking ---------- */
.booking { display: grid; gap: 32px; }
@media (min-width: 1024px) { .booking { grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; } }
.booking-aside .contact-quick { display: grid; gap: 12px; margin-top: 24px; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: clamp(22px, 4vw, 40px); border: 1px solid rgba(201, 169, 124, .25); }
.progress { display: flex; gap: 8px; margin-bottom: 8px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress span.is-done::after { transform: none; }
.progress-label { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.no-js .progress, .no-js .progress-label, .no-js .form-nav [data-next], .no-js .form-nav [data-prev] { display: none; }
.form-step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.form-step legend { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 18px; padding: 0; }
.js .form-step:not(.is-active) { display: none; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 600px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px 12px;
  border: 1.5px solid #E0D9CC; border-radius: 14px; font-weight: 500; font-size: .95rem; transition: .2s; background: #fff;
}
.choice input:checked + span { border-color: var(--brand); background: var(--mist); color: var(--brand-dark); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field-label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #E0D9CC; border-radius: 14px; background: #fff; transition: border-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field.has-error input, .field.has-error textarea { border-color: #B4442F; }
.error-msg { color: #A33A27; font-size: .88rem; min-height: 0; margin: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin: 8px 0 16px; }
.check input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--brand); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.form-nav .btn--primary { margin-left: auto; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .icon-badge { margin: 0 auto 20px; width: 72px; height: 72px; border-radius: 50%; }
.form-success h3 { font-size: 2rem; }

/* calendar */
.calendar { border: 1px solid #E0D9CC; border-radius: 18px; padding: 14px; margin-bottom: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.2rem; }
.cal-head button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.cal-head button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 6px 0; letter-spacing: .06em; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; background: var(--mist); font: 500 .95rem var(--font-sans); color: var(--ink); cursor: pointer; transition: .15s; }
.cal-day:hover:not(:disabled) { background: var(--brand-tint); }
.cal-day:disabled { background: transparent; color: #B5ABBF; cursor: not-allowed; }
.cal-day[aria-pressed="true"] { background: var(--brand); color: #fff; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--champagne); }
.js .date-native { display: none; }
.no-js .calendar, .no-js .stage-controls, .no-js .stage-thumbs, .no-js .carousel-nav { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E3DCEB; padding: 72px 0 32px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(201, 169, 124, .6); }
.site-footer a:hover { color: var(--brand-soft); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.site-footer .logo { color: #fff; }
.site-footer .logo-sub { color: var(--champagne); }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; min-height: 48px; align-items: center; }
.site-footer address { font-style: normal; margin: 16px 0; }
.hours dt { float: left; clear: left; width: 6.5em; }
.hours dd { margin: 0 0 4px 6.5em; }
/* Visit us map card: rounded, thin border, soft shadow; 320px tall on phones, 420px on desktop */
.map-box {
  position: relative; width: 100%; height: 320px; border-radius: 16px; overflow: hidden; background: #F3EEE6;
  border: 1px solid rgba(184, 147, 90, .35); box-shadow: 0 24px 50px -30px rgba(42, 26, 63, .35), 0 2px 8px rgba(42, 26, 63, .05);
}
@media (min-width: 1024px) { .map-box { height: 420px; } }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 44%; width: 46px; height: 46px; margin: -46px 0 0 -23px; filter: drop-shadow(0 8px 10px rgba(42, 26, 63, .3)); animation: pin-bob 2.4s ease-in-out infinite; }
.map-pin svg { width: 100%; height: 100%; }
@keyframes pin-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.map-cta { position: absolute; left: 50%; top: 44%; transform: translate(-50%, 14px); display: grid; justify-items: center; gap: 2px; padding: 10px 18px; border-radius: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, .95); border: 1px solid rgba(184, 147, 90, .4); box-shadow: 0 12px 26px -14px rgba(42, 26, 63, .5); }
.map-cta strong { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; }
.map-cta span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.map-load:hover .map-cta { border-color: #B8935A; }
.map-load:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.map-box.is-loading .map-cta span::after { content: "…"; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(201, 169, 124, .5); display: grid; place-items: center; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(201, 169, 124, .3); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .88rem; color: #C2B6CF; }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(42, 26, 63, .4); transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; border: 1.5px solid #E0D9CC; color: var(--ink); }
.mobile-bar a.mb-book { background: var(--brand); border-color: var(--brand); color: #fff; }
.mobile-bar .icon { width: 20px; height: 20px; }
.show-bar .mobile-bar { transform: none; }
.nav-open .mobile-bar, .nav-open .wa-float { transform: translateY(140%); }
.show-bar .wa-float { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 1023px) { .show-bar body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .mobile-bar { display: none; } .show-bar .wa-float { opacity: 1; pointer-events: auto; transform: none; } }
.no-js .mobile-bar { display: none; }

.two-col { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.rounded-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rounded-img img { width: 100%; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
.js .card.reveal.is-in:hover { transform: translateY(-6px); }

/* ---------- Desktop-only motion (html.is-desktop is set by main.js on big screens with a mouse) ---------- */
/* blur-to-sharp reveals */
.is-desktop .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.is-desktop .reveal:not(.is-in) { filter: blur(10px); }
.is-desktop .card.reveal:not(.is-in) { transform: perspective(900px) translateY(48px) rotateX(10deg); }
.is-desktop .card:hover { box-shadow: var(--shadow-lift), 0 0 0 1px var(--champagne), 0 0 36px -10px rgba(201, 169, 124, .7); }
/* eyebrow lines draw outwards as a heading appears */
.is-desktop .reveal .eyebrow::before { transform: scaleX(0); transform-origin: right; transition: transform 1.2s var(--ease) .25s; }
.is-desktop .reveal .eyebrow::after { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .25s; }
.is-desktop .reveal.is-in .eyebrow::before, .is-desktop .reveal.is-in .eyebrow::after { transform: none; }


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-sheen { display: none; }
  .js .reveal, .is-desktop .reveal:not(.is-in) { opacity: 1; transform: none; filter: none; }
}

/* ---------- Premium detail layer: small typographic refinements ---------- */
.prose h2 { font-weight: 400; font-size: clamp(2rem, 3.8vw, 2.6rem); }
.prose h3, .feature h3, .step h3, .card-body h3, .person h3 { font-weight: 500; }
.site-footer h2 { font-weight: 500; font-size: 1.4rem; }
.page-hero h1 { font-size: clamp(3rem, 7.4vw, 5.4rem); }
.review blockquote { font-weight: 400; font-size: 1.45rem; }
.stars { color: #9A7A45; }
.section-head p .demo { font-size: .8em; }
.stat-num, .aside-card .big-price, .price-table td, .stage-count, .price-from strong, .chip strong, .step-num { font-variant-numeric: lining-nums; }

/* ==========================================================================
   Signature treatments slider — one screen tall on every device
   Rule: elements GSAP animates (.sig-prod, .sig-word, .fl, copy children) never get a CSS transform —
   they are centred/positioned by their wrappers instead.
   ========================================================================== */
:root { --bar-h: 0px; }
@media (max-width: 1023px) { :root { --bar-h: calc(72px + env(safe-area-inset-bottom)); } } /* sticky Book / Call / WhatsApp bar */

/* exactly one viewport tall, minus the header and the phone bottom bar (svh = small viewport, with vh fallback) */
.sig {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100vh - var(--header-h) - var(--bar-h));
  height: calc(100svh - var(--header-h) - var(--bar-h));
  min-height: 480px; scroll-margin-top: var(--header-h);
}
.no-js .sig { height: auto; }
.sig.is-fading { transition: background-color .45s ease; } /* only for the simple fade; GSAP tweens the colour itself */
.sig-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 34% at 50% 20%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%),
              radial-gradient(ellipse 40% 50% at 15% 85%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%); }
.sig-track { position: relative; z-index: 2; display: grid; height: 100%; }
.sig-slide { grid-area: 1 / 1; position: relative; height: 100%; min-height: 0; }
.js .sig-slide { visibility: hidden; pointer-events: none; }
.js .sig-slide.is-active, .js .sig-slide.is-moving { visibility: visible; }
.js .sig-slide.is-active { pointer-events: auto; }
.no-js .sig-track { display: block; }
.no-js .sig-slide { height: auto; padding: 32px 0; }
.no-js .sig-controls, .no-js .sig-more-btn, .no-js .sig-hint { display: none; }

/* giant background word: wrapper centres it and gives perspective; the inner element turns */
.sig-word-wrap { position: absolute; left: 0; right: 0; top: 0; height: 40%; z-index: 0; display: flex; align-items: center; justify-content: center; perspective: 1100px; pointer-events: none; overflow: hidden; }
.sig-word { transform-origin: 50% 50%; backface-visibility: hidden; }
.sig-word::before { content: attr(data-word); display: block; font-family: var(--font-serif); font-weight: 400; line-height: .85; letter-spacing: .02em; color: var(--wc); font-size: clamp(3.2rem, 14vw, 6rem); white-space: nowrap; }

/* PHONES: image area on top (40%), essentials below */
.sig-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-rows: 40% minmax(0, 1fr); }
.sig-prod-wrap { min-height: 0; padding: 10px 0 34px; display: flex; align-items: center; justify-content: center; }
.sig-prod { height: 100%; aspect-ratio: 1 / 1; max-width: 72vw; will-change: transform; }
.sig-prod img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(42, 26, 63, .14)); animation: prod-float 7s ease-in-out infinite; }
@keyframes prod-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sig-copy { min-height: 0; padding-top: 10px; }

.sig-label { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--champagne-text); }
.sig-label::before { content: ""; width: 32px; height: 1px; background: var(--gold-grad); }
.sig-name { font-size: clamp(2rem, 8.8vw, 2.6rem); font-weight: 300; line-height: .98; letter-spacing: -.02em; margin: 0 0 6px; }
.sig-name em { font-style: italic; font-weight: 400; color: #85622F; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.sig-desc { font-size: .98rem; color: var(--ink); margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-desc-long { display: none; }
.sig-points { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sig-points li { font-size: .78rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(184, 147, 90, .45); background: rgba(255, 255, 255, .55); color: var(--ink); }
.sig-more { display: none; } /* phones: facts, note and guide link live in the "More details" sheet */
.sig-price { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.sig-price strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; color: var(--ink); font-variant-numeric: lining-nums; }
.sig-actions { display: flex; align-items: center; gap: 10px; }
.sig-actions .btn--primary { flex: 1 1 auto; padding-left: 18px; padding-right: 18px; }
.sig-more-btn { flex: none; min-height: 52px; padding: 12px 16px; font-size: .68rem; letter-spacing: .18em; }

.sig-facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; max-width: 30em; }
.sig-facts li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 0; font-size: .95rem; color: var(--ink); border-top: 1px solid rgba(184, 147, 90, .28); }
.sig-facts li:last-child { border-bottom: 1px solid rgba(184, 147, 90, .28); }
.sig-facts span { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-text); padding-top: 4px; }
.sig-note { font-size: .86rem; color: var(--muted); max-width: 30em; margin: 0 0 8px; }
.sig-more-link { margin: 0; }

/* floating details */
.sig-floaters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sig-floaters--ghost { z-index: 3; }
.fl { position: absolute; display: block; }
.fl-in { display: block; animation: fl-float 6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); }
@keyframes fl-float { from { transform: translate3d(0, -6px, 0); } to { transform: translate3d(4px, 8px, 0); } }
.fl--spark .fl-in { width: 14px; height: 14px; opacity: .9; }
.fl--dot .fl-in { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #FFF8E6 0%, #E6CF9E 60%, rgba(230, 207, 158, 0) 100%); box-shadow: 0 0 12px 3px rgba(255, 244, 214, .9); }
.fl--arc .fl-in { width: 60px; height: 60px; opacity: .8; }
.fl--tab .fl-in { width: 30px; height: 58px; opacity: .95; }
.fl svg { width: 100%; height: 100%; display: block; }
.fl--desk { display: none; }

/* controls — phones: arrows on the left/right edges of the image area, dots + counter under the image */
.sig-controls { position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 40%; pointer-events: none; }
.sig-btn { pointer-events: auto; position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(184, 147, 90, .65); box-shadow: 0 10px 24px -14px rgba(42, 26, 63, .35); transition: background .25s, box-shadow .3s, border-color .25s; }
.sig-btn--prev { left: 8px; } .sig-btn--next { right: 8px; }
.sig-btn:hover { background: rgba(255, 255, 255, .95); border-color: #B8935A; box-shadow: 0 0 24px -6px rgba(230, 207, 158, .9); }
.sig-nav-mid { pointer-events: auto; position: absolute; left: 0; right: 0; bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.sig-dots { display: flex; align-items: center; }
.sig-dot { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sig-dot span { display: block; width: 7px; height: 7px; border-radius: 999px; background: rgba(42, 26, 63, .25); transition: width .35s var(--ease), background .35s; }
.sig-dot.is-active span { width: 22px; background: #B8935A; }
.sig-count { font-family: var(--font-serif); font-size: 1.05rem; min-width: 56px; text-align: center; color: var(--ink); font-variant-numeric: lining-nums; }
.sig-count span { font-size: .85rem; color: var(--muted); }
.sig[aria-busy="true"] .sig-btn { cursor: progress; }

/* first-view swipe hint: a hand sweeps right → left twice over the lower part of the product (placed by main.js),
   with "Swipe" (touch) or "Drag or use arrows" (mouse). Gone for good after the first swipe / arrow / key press. */
.sig-hint { position: absolute; z-index: 6; left: 50%; top: 30%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: rgba(255, 255, 255, .95); border: 1px solid rgba(184, 147, 90, .5); color: var(--brand-dark);
  box-shadow: 0 14px 30px -12px rgba(42, 26, 63, .45), 0 2px 6px rgba(42, 26, 63, .08);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.sig.show-hint .sig-hint { opacity: 1; visibility: visible; }
/* fallback spots (main.js normally places it exactly): lower part of the product on each layout */
@media (max-width: 1023px) { .sig-hint { top: 34%; } }
@media (min-width: 1024px) { .sig-hint { left: 70.8%; top: 70%; } }
.sig-hint-track { position: relative; width: 62px; height: 34px; flex: none; }
.sig-hint-track::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, rgba(94, 47, 145, .05), rgba(94, 47, 145, .35)); }
.sig-hint-hand { position: absolute; top: 1px; right: 0; width: 32px; height: 32px; padding: 5px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px rgba(94, 47, 145, .8); }
.sig-hint-hand .icon { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.8; }
.sig.hint-run .sig-hint-hand { animation: hand-swipe 1.2s cubic-bezier(.45, .05, .25, 1) 2; }
@keyframes hand-swipe { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 72% { transform: translateX(-30px); opacity: 1; } 100% { transform: translateX(-30px); opacity: 0; } }
.sig-hint-arrow { display: none; }
.sig.hint-static .sig-hint { padding: 8px 16px; } /* reduced motion: just "Swipe →", no movement */
.sig.hint-static .sig-hint-track { display: none; }
.sig.hint-static .sig-hint-arrow { display: inline; }

/* first-view "peek": the product nudges left and springs back (wrapper only, never the GSAP-animated product)… */
.sig-prod-wrap.is-peek { animation: sig-nudge 1.2s var(--ease); }
@keyframes sig-nudge { 0% { transform: translateX(0); } 40% { transform: translateX(-24px); } 66% { transform: translateX(5px); } 84% { transform: translateX(-2px); } 100% { transform: translateX(0); } }
/* …while the edge of the next slide's product peeks in from the right */
.sig-peek { position: absolute; z-index: 1; right: 0; width: 160px; aspect-ratio: 1; pointer-events: none; opacity: 0; transform: translateX(100%); }
.sig-peek img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(42, 26, 63, .14)); }
.sig.hint-run .sig-peek { animation: next-peek 1.2s var(--ease) .05s; }
@keyframes next-peek { 0% { transform: translateX(100%); opacity: 0; } 40% { transform: translateX(64%); opacity: .95; } 66% { transform: translateX(72%); opacity: .9; } 100% { transform: translateX(100%); opacity: 0; } }
/* arrows give one soft pulse during the hint */
.sig.hint-run .sig-btn { animation: btn-pulse 1.2s ease-out .2s; }
@keyframes btn-pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 47, 145, .4); } 70% { box-shadow: 0 0 0 14px rgba(94, 47, 145, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 47, 145, 0); } }
/* mouse drag on desktop */
.sig.can-drag .sig-track { cursor: grab; }
.sig.is-grabbing .sig-track { cursor: grabbing; }
.sig.can-drag a, .sig.can-drag button { cursor: pointer; }
.sig img { -webkit-user-drag: none; user-select: none; }

/* "More details" bottom sheet */
.sig-sheet { position: fixed; inset: 0; z-index: 150; }
.sig-sheet-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 63, .38); opacity: 0; transition: opacity .3s; }
.sig-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; max-height: 82svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 24px 24px 0 0; padding: 12px 22px calc(26px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgba(42, 26, 63, .35);
  transform: translateY(100%); transition: transform .38s var(--ease); }
.sig-sheet.is-open .sig-sheet-backdrop { opacity: 1; }
.sig-sheet.is-open .sig-sheet-panel { transform: none; }
.sig-sheet-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(184, 147, 90, .5); margin: 0 auto 14px; }
.sig-sheet-head { position: relative; padding-right: 52px; margin-bottom: 10px; }
.sig-sheet-close { position: absolute; right: -6px; top: -6px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.sig-sheet .sig-price { margin-top: 14px; }
.sheet-open, .sheet-open body { overflow: hidden; }
@media (min-width: 640px) { .sig-sheet-panel { left: 50%; right: auto; width: 560px; margin-left: -280px; } }

/* phones: centre the essentials in the space under the image; taller phones give the image the full 42% */
@media (max-width: 1023px) { .sig-copy { align-self: center; padding-top: 0; } }
/* taller phones: give the product more of the screen so the slide feels full, not sparse */
@media (max-width: 1023px) and (min-height: 700px) { .sig-grid { grid-template-rows: 46% minmax(0, 1fr); } .sig-controls, .sig-word-wrap { height: 46%; } .sig-prod { max-width: 78vw; } }
@media (max-width: 1023px) and (min-height: 800px) { .sig-grid { grid-template-rows: 50% minmax(0, 1fr); } .sig-controls, .sig-word-wrap { height: 50%; } .sig-prod { max-width: 82vw; } }
/* keep both buttons on one line */
.sig-actions .btn { white-space: nowrap; }
@media (max-width: 400px) { .sig-actions .btn--primary .arrow { display: none; } .sig-actions .btn--primary { padding-left: 14px; padding-right: 14px; font-size: .92rem; } .sig-more-btn { padding: 12px 12px; letter-spacing: .12em; } }
/* short phones: drop the key points before anything else */
@media (max-width: 1023px) and (max-height: 600px) { .sig-points { display: none; } .sig-name { font-size: 1.9rem; } }

@media (min-width: 600px) and (max-width: 1023px) {
  .sig-copy { max-width: 560px; margin: 0 auto; width: 100%; }
}

/* DESKTOP: two columns inside one screen, everything visible; arrows + dots + counter bottom centre */
@media (min-width: 1024px) {
  .sig { min-height: 560px; }
  .sig-word-wrap { height: 100%; }
  .sig-word::before { font-size: clamp(7rem, 12.5vw, 15rem); }
  .sig-glow { background: radial-gradient(ellipse 55% 60% at 68% 48%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%),
              radial-gradient(ellipse 40% 50% at 15% 85%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%); }
  .sig-grid { grid-template-rows: none; grid-template-columns: 5fr 7fr; align-items: center; gap: 40px; padding-top: clamp(16px, 3vh, 40px); padding-bottom: 96px; }
  .sig-copy { order: -1; padding-top: 0; align-self: center; }
  .sig-prod-wrap { height: 100%; padding: 0; }
  .sig-prod { height: min(80%, 660px); max-width: none; } /* grows on big monitors so the slide never looks empty */
  .sig-label { font-size: .68rem; letter-spacing: .35em; margin-bottom: clamp(8px, 1.4vh, 14px); }
  .sig-label::before { width: 40px; }
  .sig-name { font-size: clamp(2.6rem, 6.4vh, 4.4rem); margin-bottom: clamp(6px, 1.4vh, 14px); }
  .sig-desc { white-space: normal; overflow: visible; font-size: 1.04rem; max-width: 30em; margin-bottom: clamp(8px, 1.8vh, 18px); }
  .sig-desc-long { display: inline; } .sig-desc-short { display: none; }
  .sig-points, .sig-more-btn { display: none; }
  .sig-more { display: block; }
  .sig-facts { margin-bottom: clamp(8px, 1.6vh, 14px); }
  .sig-facts li { padding: clamp(5px, .9vh, 9px) 0; }
  .sig-note { margin-bottom: 4px; }
  .sig-more-link { margin-bottom: clamp(6px, 1.4vh, 14px); }
  .sig-price { margin-bottom: clamp(8px, 1.6vh, 16px); }
  .sig-price strong { font-size: clamp(1.8rem, 4vh, 2.2rem); }
  .sig-actions .btn--primary { flex: none; }
  .fl--desk { display: block; }
  .fl--spark .fl-in { width: 20px; height: 20px; }
  .fl--arc .fl-in { width: 110px; height: 110px; }
  .sig-controls { top: auto; bottom: 26px; height: auto; display: flex; align-items: center; justify-content: center; gap: 18px; }
  .sig-btn, .sig-nav-mid { position: static; }
  .sig-btn { width: 52px; height: 52px; background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .sig-count { font-size: 1.3rem; min-width: 70px; }
}
/* desktop screens that are short (e.g. 1280×720 laptops): tighten the long copy so it still fits */
@media (min-width: 1024px) and (max-height: 760px) {
  .sig-facts li { font-size: .9rem; }
  .sig-note { font-size: .8rem; }
  .sig-desc { font-size: .98rem; }
}

/* idle float only where it can be seen: never on hidden slides, and paused while the slider is off-screen */
.js .sig-slide:not(.is-active):not(.is-moving) .sig-prod img { animation: none; }
.sig.is-paused .fl-in, .sig.is-paused .sig-prod img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .fl-in, .sig-prod img, .sig-hint-arrow { animation: none; }
  .sig-prod-wrap.is-peek { animation: none; }
  .sig-sheet-panel, .sig-sheet-backdrop { transition: none; }
}

/* Phones: skip style/layout for off-screen sections until they come near ("auto" remembers real heights).
   Not used on desktop, where smooth-scroll anchor jumps need exact section heights up front. */
@media (max-width: 1023px) {
  .section, .sig { content-visibility: auto; contain-intrinsic-size: auto 900px; } /* footer excluded: its dark background must stay measurable for contrast checks */
}

/* ==========================================================================
   Dental Trust preview — sections added for this homepage
   ========================================================================== */
.logo img { height: 44px; width: auto; }
@media (min-width: 768px) { .logo img { height: 52px; } }
.ph { display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px dashed rgba(184, 147, 90, .8); background: rgba(255, 248, 230, .7); color: #6A4E25; font-size: .85em; font-weight: 500; white-space: normal; }
.ph--dark { background: rgba(255, 255, 255, .08); color: #F3E6C8; border-color: rgba(230, 207, 158, .6); }

/* ---------- Hero: crystal molar video ---------- */
.hero { position: relative; display: grid; background: var(--bg); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: 8px var(--gutter) 56px; }
.hero h1 { margin: 0 0 24px; font-size: clamp(3.2rem, 14vw, 6rem); line-height: .95; font-weight: 300; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .12em .14em 0; margin-bottom: -.1em; }
.hero h1 .line > span { display: block; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 31em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .btn--ghost { gap: 8px; }
.hero-note { margin-top: 26px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero-note::before { content: ""; width: 28px; height: 1px; background: var(--gold-grad); flex: none; }
.scroll-cue { display: none; }
.hero-media { position: relative; height: 46vh; height: 46svh; min-height: 280px; max-height: 520px; overflow: hidden; background: #F4EEE4; }
.hero-media picture, .hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-video { object-fit: cover; object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.is-playing .hero-video { opacity: 1; }
.hero-media::after { /* soft fade from the video into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 32%; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(252, 250, 247, 0), var(--bg) 92%);
}
.hero-media picture, .hero-video { z-index: 0; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero h1 .line > span { animation: line-up 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
.hero .hero-sub, .hero .hero-actions, .hero .hero-note { animation: fade-up .9s var(--ease) both; } /* homepage only; the small label shows at once, so the first paint isn't held back */
.hero .hero-sub { animation-delay: .3s; } .hero .hero-actions { animation-delay: .42s; } .hero .hero-note { animation-delay: .52s; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero h1 { font-size: clamp(4.2rem, 6vw, 6.4rem); }
  .hero-copy { align-self: center; padding: 64px 40px 96px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .hero-media { height: auto; max-height: none; min-height: 100%; order: 2; }
  .hero-media::after { inset: 0 auto 0 0; width: 30%; height: auto; background: linear-gradient(90deg, var(--bg) 0%, rgba(252, 250, 247, .8) 35%, rgba(252, 250, 247, 0) 100%); }
  .hero-media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 2; pointer-events: none; background: linear-gradient(rgba(252, 250, 247, 0), var(--bg)); }
  .hero::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 7%; width: 1px; z-index: 5; pointer-events: none;
    background: linear-gradient(rgba(184, 147, 90, 0), rgba(184, 147, 90, .3) 18%, rgba(184, 147, 90, .3) 82%, rgba(184, 147, 90, 0)); }
  .scroll-cue { display: flex; align-items: center; position: absolute; z-index: 5; right: calc(50% + 18px); bottom: 7%; font-size: .64rem; letter-spacing: .35em; color: var(--champagne-text); font-weight: 600; }
  .scroll-cue::after { content: ""; position: absolute; right: -21px; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: #CDB27E; box-shadow: 0 0 10px rgba(230, 207, 158, .9); animation: cue 2.8s ease-in-out infinite; }
  @keyframes cue { 0% { transform: translateY(-70px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
}

/* ---------- Reputation wall ---------- */
.rep { position: relative; padding: clamp(72px, 11vw, 128px) 0; background: radial-gradient(ellipse 70% 60% at 50% 30%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, var(--bg), #F6F1F9 100%); }
.rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 900px) { .rep-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.rep-card { position: relative; text-align: center; padding: 28px 12px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .75); border: 1px solid rgba(184, 147, 90, .28); box-shadow: var(--shadow); }
.rep-stars { display: block; font-size: .9rem; letter-spacing: .2em; color: #B8935A; margin-bottom: 10px; transition: text-shadow 1s var(--ease), color 1s; }
.rep-card.is-counted .rep-stars { color: #C9A25A; text-shadow: 0 0 14px rgba(240, 210, 140, .95), 0 0 2px rgba(255, 240, 200, .9); }
.rep-label { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .35em; text-transform: uppercase; color: var(--champagne-text); margin-bottom: 8px; line-height: 1.6; }
.rep-num { font-family: var(--font-serif); font-weight: 300; font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; color: var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.rep-card p { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.rep-card--year .rep-num { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rep-foot { text-align: center; color: var(--muted); font-size: .88rem; margin: 26px 0 18px; }
.rep-cta { text-align: center; margin: 0; }

/* ---------- All treatments ---------- */
.tx-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tx-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tx-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tx { position: relative; padding: 22px 22px 20px 72px; background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(184, 147, 90, .2); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.tx:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(184, 147, 90, .5); }
.tx-num { position: absolute; left: 22px; top: 22px; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--champagne-text); font-variant-numeric: lining-nums; }
.tx h3 { font-size: 1.3rem; margin-bottom: 4px; color: var(--brand); }
.tx p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.55; }

/* ---------- Meet the doctor: dark band, featured solo layout (portrait card + profile copy) ---------- */
.team-band { background: radial-gradient(ellipse 60% 70% at 28% 45%, #3A2257 0%, rgba(58, 34, 87, 0) 70%), linear-gradient(180deg, #1E1230 0%, #2A1A3F 55%, #1E1230 100%); color: #EDE6F4; overflow: hidden; }
.team-band::before { display: none; }
.doc-solo { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .doc-solo { grid-template-columns: 2fr 3fr; gap: clamp(48px, 6vw, 88px); } }

/* LUMÉ-style portrait card: the whole card is one button */
.tc { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #170E24;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .2); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.tc--lead { width: 100%; max-width: 420px; justify-self: center; }
@media (max-width: 899px) { .tc--lead { width: min(64vw, 300px); } }
.tc-main { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tc .doc-photo { position: absolute; inset: 0; display: block; pointer-events: none; }
.tc .doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .9s var(--ease); }
.tc-main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(23, 14, 36, 0) 45%, rgba(23, 14, 36, .55) 66%, rgba(23, 14, 36, .95) 100%); }
.tc-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 50px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.tc-name { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.02; color: #fff; }
.tc-role { font-size: .6rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #E6CF9E; }
.tc-open { position: absolute; z-index: 1; left: 20px; bottom: 18px; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; pointer-events: none;
  text-decoration: underline; text-decoration-color: rgba(230, 207, 158, .8); text-underline-offset: .6em; }
.tc-open .arrow { display: inline-block; transition: transform .3s var(--ease); }
.doc-solo .tc--lead.is-in { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s, opacity .8s var(--ease), filter .8s var(--ease); }
.doc-solo .tc--lead:hover, .doc-solo .tc--lead:focus-within { transform: translateY(-6px); border-color: rgba(230, 207, 158, .7);
  box-shadow: 0 0 0 1px rgba(230, 207, 158, .5), 0 0 44px -8px rgba(201, 169, 124, .55), 0 0 90px -24px rgba(150, 100, 205, .6), 0 40px 70px -30px rgba(0, 0, 0, .8); }
.tc--lead:hover .doc-photo img { transform: scale(1.03); }
.tc--lead:hover .tc-open .arrow { transform: translateX(4px); }
.tc-main:focus-visible { outline: 2px solid #E6CF9E; outline-offset: -6px; border-radius: 12px; }

/* profile copy on the right (below on phones) */
.doc-solo-copy .eyebrow { margin-bottom: 14px; background: linear-gradient(120deg, #F0DDB0, #D2B47A); -webkit-background-clip: text; background-clip: text; }
.doc-solo-copy h2 { color: #fff; margin-bottom: 12px; }
.doc-solo-copy h2::before { background: radial-gradient(closest-side, rgba(150, 100, 205, .28), rgba(150, 100, 205, 0)); }
.doc-solo-copy h2 em { background: linear-gradient(120deg, #F3E1B6 0%, #C9A25A 100%); -webkit-background-clip: text; background-clip: text; }
.solo-role { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; font-weight: 600; color: #D9C8EE; }
.solo-since { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #E6CF9E; padding: 3px 11px; border: 1px solid rgba(230, 207, 158, .55); border-radius: 999px; }
.solo-quals { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(230, 207, 158, .22); font-size: .9rem; color: rgba(237, 230, 244, .7); }
.solo-intro { margin: 0 0 18px; max-width: 34em; color: rgba(237, 230, 244, .9); }
.solo-tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.solo-tags li { padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #F0E6FA; background: rgba(255, 255, 255, .07); border: 1px solid rgba(230, 207, 158, .35); }
.solo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.team-band .btn--primary { background: #fff; color: var(--brand-dark); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .6); }
.team-band .btn--primary:hover { background: #F3ECF9; color: var(--brand-dark); }
.team-band .btn--ghost { color: #fff; border-color: rgba(230, 207, 158, .7); }
.team-band .btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* phones: card on top, text below, compact enough to sit in about one screen */
@media (max-width: 899px) {
  .team-band.section { padding: 36px 0 40px; }
  .doc-solo { gap: 20px; }
  .tc--lead { width: min(52vw, 220px); }
  .tc-name { font-size: 1.3rem; } .tc-text { left: 14px; right: 14px; bottom: 42px; } .tc-open { left: 14px; bottom: 14px; }
  .doc-solo-copy .eyebrow { margin-bottom: 8px; }
  .solo-quals { display: none; } /* phones: the full qualifications are one tap away in the profile */
  .solo-role { margin-bottom: 12px; }
  .doc-solo-copy { text-align: center; }
  .doc-solo-copy .eyebrow { justify-content: center; }
  .doc-solo-copy .eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold-grad); flex: none; }
  .doc-solo-copy h2 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .solo-role, .solo-tags, .solo-actions { justify-content: center; }
  .solo-quals { font-size: .82rem; margin-bottom: 12px; padding-bottom: 12px; }
  .solo-intro { font-size: .95rem; margin: 0 auto 14px; }
  .solo-tags { margin-bottom: 16px; }
  .solo-actions { flex-wrap: nowrap; gap: 8px; }
  .solo-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: .86rem; white-space: nowrap; }
  .solo-actions .btn .arrow { display: none; }
  .solo-actions .solo-book { font-size: .64rem; letter-spacing: .1em; }
}
@media (max-width: 899px) { .tc-name { font-size: 1.12rem; } .tc-role { font-size: .52rem; letter-spacing: .18em; } }
/* shorter phones (e.g. 360×740): smaller card and a 3-line intro so the buttons stay above the bottom bar */
@media (max-width: 899px) and (max-height: 800px) {
  .team-band.section { padding-top: 24px; }
  .doc-solo { gap: 14px; }
  .tc--lead { width: min(44vw, 172px); }
  .tc-name { font-size: 1rem; } .tc-text { bottom: 38px; } .tc-open { font-size: .56rem; }
  .doc-solo-copy h2 { font-size: 2.1rem; margin-bottom: 8px; }
  .solo-role { margin-bottom: 8px; font-size: .92rem; }
  .solo-intro { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .solo-tags { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .doc-solo .tc--lead:hover, .doc-solo .tc--lead:focus-within { transform: none; }
}

/* doctor pop-up — phones: full-screen sheet from the bottom; desktop: centred 980px panel */
.drm { position: fixed; inset: 0; z-index: 160; }
.drm-backdrop { position: absolute; inset: 0; background: rgba(42, 26, 63, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); }
.drm.is-open .drm-backdrop { opacity: 1; }
.drm-panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: max(10px, env(safe-area-inset-top));
  display: flex; flex-direction: column; overflow: hidden; background: var(--bg);
  border-radius: 24px 24px 0 0; box-shadow: 0 -24px 60px -24px rgba(42, 26, 63, .45);
  transform: translateY(100%); transition: transform .55s var(--ease);
}
.drm.is-open .drm-panel { transform: none; }
.drm-panel.is-dragging { transition: none; }
.drm-grip { position: absolute; z-index: 4; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(184, 147, 90, .6); }
.drm-close { position: absolute; z-index: 4; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.drm-close:hover { transform: rotate(90deg); border-color: #B8935A; }

/* medallion: brand-coloured glow, deep plum disc, champagne ring that draws itself, cut-out rising in front */
.drm-media { position: relative; flex: 0 0 45%; min-height: 0; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 40%, #F3ECF9 0%, var(--bg) 72%); }
.drm-glow, .drm-disc, .drm-ring { position: absolute; left: 50%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none; }
.drm-glow { top: -6%; height: 104%; background: radial-gradient(circle, rgba(94, 47, 145, .26) 0%, rgba(94, 47, 145, .08) 45%, rgba(94, 47, 145, 0) 68%); opacity: 0; transition: opacity 1s var(--ease) .3s; }
.drm-disc { top: 7%; height: 80%; background: radial-gradient(circle at 50% 32%, #5A3784 0%, #3A2257 52%, #2A1A3F 100%); box-shadow: 0 30px 60px -30px rgba(42, 26, 63, .6); scale: .86; opacity: 0; transition: scale .8s var(--ease) .2s, opacity .5s var(--ease) .2s; }
.drm-ring { top: 3%; height: 88%; overflow: visible; }
.drm-ring circle:first-child { fill: none; stroke: #C8AA72; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.3s cubic-bezier(.6, .1, .2, 1) .45s; }
.drm-ring-dot { fill: #E6CF9E; opacity: 0; transition: opacity .4s 1.5s; filter: drop-shadow(0 0 4px rgba(255, 236, 190, .95)); }
.drm-cutout { position: absolute; left: 50%; bottom: 0; height: 86%; width: auto; max-width: none; translate: -50% 0; transform: translateY(36px); opacity: 0; transition: transform .9s var(--ease) .5s, opacity .6s var(--ease) .5s; filter: drop-shadow(0 18px 24px rgba(42, 26, 63, .25)); }
.drm-silhouette { position: absolute; left: 50%; bottom: 0; height: 80%; aspect-ratio: 4 / 5; translate: -50% 0; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .5) 0 17%, transparent 17.5%), radial-gradient(ellipse 48% 38% at 50% 100%, rgba(255, 255, 255, .45) 0 99%, transparent 100%); }
.drm.is-open .drm-glow { opacity: 1; }
.drm.is-open .drm-disc { scale: 1; opacity: 1; }
.drm.is-open .drm-ring circle:first-child { stroke-dashoffset: 0; }
.drm.is-open .drm-ring-dot { opacity: 1; }
.drm.is-open .drm-cutout { transform: none; opacity: 1; }
.drm-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hairline); }

/* text: staggers in after the medallion */
.drm-copy { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); }
.drm-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.55s + var(--i, 0) * .07s); }
.drm-copy > :nth-child(2) { --i: 1; } .drm-copy > :nth-child(3) { --i: 2; } .drm-copy > :nth-child(4) { --i: 3; }
.drm-copy > :nth-child(5) { --i: 4; } .drm-copy > :nth-child(6) { --i: 5; } .drm-copy > :nth-child(7) { --i: 6; } .drm-copy > :nth-child(8) { --i: 7; }
.drm.is-open .drm-copy > * { opacity: 1; transform: none; }
.drm:not(.is-open) .drm-copy > * { transition-duration: .2s; transition-delay: 0s; }
.drm:not(.is-open) .drm-cutout, .drm:not(.is-open) .drm-disc, .drm:not(.is-open) .drm-glow, .drm:not(.is-open) .drm-ring-dot { transition-duration: .3s; transition-delay: 0s; }
.drm:not(.is-open) .drm-ring circle:first-child { transition: stroke-dashoffset .35s ease; }

.drm-label { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: .64rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--champagne-text); }
.drm-label::before { content: ""; width: 32px; height: 1px; background: var(--gold-grad); }
.drm-name { font-size: clamp(1.9rem, 8vw, 2.4rem); font-weight: 300; line-height: 1; margin: 0 0 6px; }
.drm-quals { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; font-weight: 600; font-size: .92rem; color: var(--brand); }
.drm-since { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-text); padding: 3px 10px; border: 1px solid rgba(184, 147, 90, .55); border-radius: 999px; }
.drm-facts { list-style: none; padding: 0; margin: 0 0 8px; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.drm-facts li { position: relative; padding: 3px 0 3px 14px; }
.drm-facts li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: #CDB27E; }
.drm-bio { flex: 0 1 auto; min-height: 3.6em; overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px 10px; padding: 8px 4px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.55; }
.drm-bio p { margin: 0 0 .6em; }
.drm-quote { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.4; color: var(--ink); }
.drm-tags { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.drm-tags li { padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-tint); border: 1px solid rgba(94, 47, 145, .16); }
.drm-train { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.drm-train .icon { width: 20px; height: 20px; flex: none; color: var(--champagne-text); }
.drm-cta { width: 100%; flex: none; }
/* short phones: smaller medallion, the bio keeps the scroll */
@media (max-width: 1023px) and (max-height: 780px) { .drm-media { flex-basis: 37%; } .drm-facts { font-size: .74rem; } .drm-name { font-size: 1.85rem; } .drm-bio { min-height: 2.6em; } }
@media (max-width: 1023px) and (max-height: 680px) { .drm-media { flex-basis: 34%; } .drm-facts li { padding: 1px 0 1px 14px; } .drm-train { margin-bottom: 8px; } }

/* the card photo that flies into the medallion (created by main.js) */
.drm-ghost { position: fixed; z-index: 170; margin: 0; object-fit: cover; object-position: 50% 15%; pointer-events: none; background: #111; will-change: left, top, width, height, border-radius; }
.story-open body { overscroll-behavior: none; }

@media (min-width: 1024px) {
  .drm { display: grid; place-items: center; padding: 32px; }
  .drm-backdrop { -webkit-backdrop-filter: blur(8px) saturate(1.1); backdrop-filter: blur(8px) saturate(1.1); }
  .drm-panel { position: relative; inset: auto; width: min(980px, 100%); height: min(620px, calc(100vh - 64px)); flex-direction: row; border-radius: 28px;
    box-shadow: 0 50px 100px -40px rgba(42, 26, 63, .55), 0 0 0 1px rgba(184, 147, 90, .25); transform: translateY(18px) scale(.97); opacity: 0; transition: transform .6s var(--ease), opacity .45s var(--ease); }
  .drm.is-open .drm-panel { transform: none; opacity: 1; }
  .drm-grip { display: none; }
  .drm-media { flex: 0 0 44%; }
  .drm-media::after { left: auto; top: 8%; bottom: 8%; width: 1px; height: auto; background: linear-gradient(rgba(184, 147, 90, 0), rgba(184, 147, 90, .4), rgba(184, 147, 90, 0)); }
  .drm-disc { top: 9%; height: 70%; } .drm-ring { top: 5%; height: 78%; } .drm-glow { top: -2%; height: 92%; }
  .drm-cutout { height: 82%; }
  .drm-copy { justify-content: center; padding: 48px 52px 44px 48px; }
  .drm-label { font-size: .68rem; margin-bottom: 12px; }
  .drm-name { font-size: clamp(2.6rem, 4.2vw, 3.4rem); margin-bottom: 10px; }
  .drm-quals { font-size: 1rem; margin-bottom: 14px; }
  .drm-facts { font-size: .88rem; margin-bottom: 14px; }
  .drm-bio { font-size: .96rem; margin-bottom: 16px; padding-top: 14px; }
  .drm-quote { font-size: 1.25rem; }
  .drm-tags { margin-bottom: 14px; }
  .drm-train { font-size: .88rem; margin-bottom: 20px; }
  .drm-cta { width: auto; align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .drm-panel, .drm.is-open .drm-panel { transform: none !important; transition: opacity .25s ease !important; }
  .drm-panel { opacity: 0; } .drm.is-open .drm-panel { opacity: 1; }
  .drm-copy > *, .drm-cutout, .drm-disc, .drm-glow { transform: none !important; scale: 1 !important; transition: opacity .25s ease !important; transition-delay: 0s !important; }
  .drm-ring circle:first-child { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ---------- Before & after ---------- */
.ba-wrap { display: grid; gap: 8px; }
@media (min-width: 1024px) { .ba-wrap { grid-template-columns: 5fr 7fr; align-items: center; gap: 64px; } .ba-wrap .section-head { margin-bottom: 0; } }
.ba { margin: 0; }
.ba-stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--glow-img); aspect-ratio: 500 / 328; --pos: 50%; touch-action: pan-y; user-select: none; }
.ba-stage > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.ba-handle svg { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 11px; border-radius: 50%; background: #fff; color: var(--brand); box-shadow: 0 8px 22px -8px rgba(42, 26, 63, .5), 0 0 0 1px rgba(184, 147, 90, .5); }
.ba-tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(42, 26, 63, .72); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.ba-tag--l { left: 12px; } .ba-tag--r { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * , .ba-stage:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.ba figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* ---------- Implant training ---------- */
.train { display: grid; gap: 24px; align-items: center; padding: clamp(32px, 6vw, 64px); border-radius: var(--radius); background: #fff; border: 1px solid rgba(184, 147, 90, .35); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.train::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201, 169, 124, .55); pointer-events: none; }
.train h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.train p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .train { grid-template-columns: 1.6fr 1fr; } .train .btn { justify-self: end; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.g-item { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--mist); aspect-ratio: 3 / 2; }
.g-item--wide { grid-column: 1 / -1; aspect-ratio: 1200 / 429; }
@media (min-width: 900px) { .g-item--wide { grid-column: span 2; aspect-ratio: auto; } }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: .72rem; font-weight: 600; color: var(--ink); }
.g-ph { display: grid; place-items: center; border: 1px dashed rgba(184, 147, 90, .7); background: linear-gradient(160deg, #fff, var(--mist)); }
.g-ph > span { display: grid; justify-items: center; gap: 8px; color: var(--champagne-text); font-size: .85rem; font-weight: 600; text-align: center; padding: 12px 12px 40px; } /* room for the caption pill */
.gal-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Visit us ---------- */
.visit { display: grid; gap: 36px; }
@media (min-width: 1024px) { .visit { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.visit .section-head { margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--brand); flex: none; margin-top: 3px; }
.contact-list address { font-style: normal; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Booking extras ---------- */
.choice-grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 600px) { .choice-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Footer extras ---------- */
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer p { margin: 0; }
.preview-note { max-width: 46em; line-height: 1.7; }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
@media (max-width: 1023px) { .rep { content-visibility: auto; contain-intrinsic-size: auto 700px; } }

/* ==========================================================================
   Inner pages (treatment guides, services, doctor profile, gallery, contact)
   ========================================================================== */
.page-hero { position: relative; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); background: radial-gradient(ellipse 60% 70% at 85% 30%, #F1ECF6 0%, rgba(241, 236, 246, 0) 70%), linear-gradient(180deg, var(--bg) 0%, var(--mist) 100%); overflow: hidden; }
.page-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; } }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 300; margin-bottom: 18px; position: relative; isolation: isolate; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero-art { justify-self: center; width: min(78vw, 380px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, #F1ECF6 60%, rgba(241, 236, 246, 0) 72%); display: grid; place-items: center; }
.page-hero-art img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(42, 26, 63, .14)); }
@media (max-width: 899px) { .page-hero-art { width: min(56vw, 240px); order: -1; } }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: .84rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--champagne); }
.breadcrumb a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink); }
.section--article { padding-top: clamp(48px, 7vw, 88px); }
.article-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .article-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3.2fr); gap: 64px; align-items: start; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 400; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: #B8935A; }
.prose a { color: var(--brand); font-weight: 600; }
.prose .callout { background: var(--brand-tint); border-left: 3px solid var(--brand); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; color: var(--brand-dark); }
.small-note { font-size: .88rem; color: var(--muted); margin-top: 24px; }
.faq { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding: 14px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-serif); font-size: 1.7rem; color: var(--brand); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p { margin: 0; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 2px solid #CDB27E; display: grid; gap: 12px; }
.aside-card h2 { font-size: 1.6rem; margin: 0; }
.aside-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.aside-card ul { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; font-size: .92rem; }
.aside-card li { display: flex; gap: 10px; align-items: flex-start; }
.aside-card li .icon { width: 20px; height: 20px; flex: none; color: var(--champagne-text); margin-top: 2px; }
.aside-card .btn { width: 100%; }
@media (max-width: 1023px) { .aside-card { position: static; } }
.rel-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
.rel-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(184, 147, 90, .25); text-decoration: none; color: var(--ink); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.rel-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.rel-name { font-family: var(--font-serif); font-size: 1.45rem; color: var(--brand); }
.rel-more { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
/* treatment cards that link to their guide pages */
.tx-grid--links > li { list-style: none; }
.tx-grid--links .tx { height: 100%; }
a.tx--link, a.tx-link { display: block; text-decoration: none; color: inherit; }
a.tx--link:hover h3, a.tx-link:hover h3 { text-decoration: underline; text-decoration-color: rgba(184, 147, 90, .7); text-underline-offset: .2em; }
.tx:has(> a.tx-link) { padding: 0; }
a.tx-link { position: relative; padding: 22px 22px 20px 72px; height: 100%; }
/* doctor profile */
.doc-profile { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .doc-profile { grid-template-columns: 4fr 7fr; gap: 56px; } }
.doc-profile-photo { justify-self: center; width: min(70vw, 360px); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid rgba(184, 147, 90, .35); aspect-ratio: 3 / 4; background: #111; }
.doc-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.profile-facts { list-style: none; padding: 0; margin: 0 0 26px; }
.profile-facts li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.profile-facts li:last-child { border-bottom: 1px solid var(--line); }
.profile-facts span { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne-text); padding-top: 4px; }
.pull-quote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid #CDB27E; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.45; }
.pull-quote p { margin: 0 0 8px; }
.pull-quote footer { font-family: var(--font-sans); font-size: .85rem; color: var(--muted); }
.gallery--cases { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery--cases { grid-template-columns: repeat(3, 1fr); } }
.page-inner .booking-aside h2 { margin-bottom: 10px; }

/* ---------- Testimonials page ---------- */
.t-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .t-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (min-width: 1100px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
.t-card { position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 48px 26px 24px; background: #fff; border-radius: var(--radius); border: 1px solid rgba(184, 147, 90, .25); box-shadow: var(--shadow); }
.t-mark { position: absolute; top: 6px; right: 20px; font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: rgba(184, 147, 90, .35); }
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-family: var(--font-serif); font-size: 1.25rem; }
.t-name { font-weight: 700; color: var(--ink); }
.rep-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 404 page ---------- */
.page-404 { min-height: 56vh; display: flex; align-items: center; }
.links-404 { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links-404 a { color: var(--brand); font-weight: 600; }

/* ---------- Technology & sterilisation ---------- */
.tech-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .tech-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.tech-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--radius); border: 1px solid rgba(184, 147, 90, .25); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tech-card:has(.stretched):hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tech-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--mist) 78%); }
.tech-media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; border-radius: 10px; } /* pinned, so a portrait photo cannot stretch the 4:3 frame */
.tech-body { padding: 22px 24px 24px; }
.tech-body h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--brand); }
.tech-body p { margin: 0 0 6px; color: var(--muted); }
.tech-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Training & certifications (doctor page) ---------- */
.prose .cert-timeline { list-style: none; padding: 0; margin: 0 0 24px; }
.cert-timeline li { display: grid; grid-template-columns: 4.2em 1fr; gap: 14px; margin: 0; padding: 12px 0; }
.ct-year { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; color: var(--champagne-text); font-variant-numeric: lining-nums; }
.ct-body { position: relative; padding: 2px 0 4px 18px; border-left: 2px solid rgba(184, 147, 90, .35); }
.ct-body::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg); }
.ct-body strong { display: block; color: var(--ink); margin-bottom: 2px; }
.ct-body span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.prose .cert-thumbs { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .prose .cert-thumbs { grid-template-columns: repeat(4, 1fr); } }
.cert-thumbs li { margin: 0; }
.cert-thumb { position: relative; overflow: hidden; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: zoom-in; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cert-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cert-thumb img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; border-radius: 8px; }
.cert-thumb:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
/* simple lightbox (native <dialog>) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 12, 32, .86); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; background: #fff; }
.lightbox figcaption { margin-top: 10px; text-align: center; color: #fff; font-size: .9rem; }
.lightbox-close { position: fixed; top: 14px; right: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.lb-open, .lb-open body { overflow: hidden; }

/* ---------- Homepage doctor section: training & certificates under the doctor (dark band) ---------- */
.doc-certs { grid-column: 1 / -1; min-width: 0; padding-top: 28px; border-top: 1px solid rgba(230, 207, 158, .22); }
.doc-certs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 16px; }
.doc-certs-head > span:first-child { font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #E6CF9E; }
.doc-certs-hint { font-size: .78rem; color: rgba(237, 230, 244, .6); }
.doc-certs-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.doc-cert { margin: 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.doc-cert .doc-cert-img { margin-bottom: 10px; aspect-ratio: 3 / 2; border: 1px solid rgba(230, 207, 158, .35); background: #fff;
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .8); }
.doc-cert .doc-cert-img:hover { border-color: rgba(230, 207, 158, .8); box-shadow: 0 0 30px -8px rgba(201, 169, 124, .5), 0 22px 40px -20px rgba(0, 0, 0, .8); }
.doc-cert .doc-cert-img:focus-visible { outline-color: #E6CF9E; }
.doc-cert-year { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1; color: #E6CF9E; }
.doc-cert-title { font-size: .9rem; font-weight: 600; line-height: 1.35; color: #fff; }
.doc-cert-org { font-size: .8rem; line-height: 1.35; color: rgba(237, 230, 244, .65); }
.doc-certs-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; text-decoration: underline; text-decoration-color: rgba(230, 207, 158, .8); text-underline-offset: .6em; }
.doc-certs-all .arrow { transition: transform .3s var(--ease); }
.doc-certs-all:hover { color: #E6CF9E; } .doc-certs-all:hover .arrow { transform: translateX(4px); }
/* phones and tablets: a swipeable row, so the section stays compact */
@media (max-width: 899px) {
  .doc-certs { padding-top: 20px; margin-top: 4px; }
  .doc-certs-head { justify-content: center; text-align: center; margin-bottom: 12px; }
  .doc-certs-hint { flex-basis: 100%; }
  .doc-certs-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); }
  .doc-certs-list::-webkit-scrollbar { display: none; }
  .doc-cert { flex: 0 0 min(58vw, 240px); scroll-snap-align: start; }
  .doc-cert .doc-cert-img { margin-bottom: 8px; }
  .doc-cert-year { font-size: 1.1rem; }
  .doc-cert-title { font-size: .84rem; }
  .doc-cert-org { font-size: .74rem; }
  .doc-certs-all { display: flex; justify-content: center; margin-top: 14px; }
}

/* ---------- Certificates page: large certificate cards ---------- */
.cert-gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px 28px; }
@media (min-width: 700px) { .cert-gallery { grid-template-columns: repeat(2, 1fr); } }
.cert-card { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.cert-card .cert-card-img { aspect-ratio: 4 / 3; margin-bottom: 18px; border-radius: 16px; background: var(--mist); }
.cert-card .cert-card-img img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.cert-card .ct-year { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--champagne-text); margin-bottom: 6px; }
.cert-card h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0 0 6px; color: var(--brand); }
.cert-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.cert-gallery-note { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
