/* ==========================================================================
   Dermis Clinics — design system + styles
   ========================================================================== */
:root {
  /* Brand */
  --ink: #22301f;          /* deep navy: headings, dark sections */
  --ink-soft: #4d5646;     /* body text */
  --teal: #6b7050;         /* brand teal: accents, borders, icons */
  --teal-btn: #444732;     /* teal for filled buttons (white text passes AA) */
  --teal-deep: #343824;    /* links, hover */
  --mist: #f6f0e6;         /* light mint background */
  --paper: #ffffff;
  --line: #e4dac8;
  --coral: #946c3b;        /* restrained accent: focus ring, chip edge */
  --error: #b3261e;
  --ok: #343824;

  /* Type */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* Shape + layout */
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --shadow: 0 1px 2px rgba(34,48,31, .06), 0 8px 24px rgba(34,48,31, .06);
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink-soft); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe, picture { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
[hidden], .is-hidden { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.14; margin: 0 0 .6em; text-wrap: balance; }
h1, .slide-title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; max-width: 24ch; }
h2.slide-title { max-width: none; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--teal-btn); color: #fff; text-decoration: none; text-align: center;
  font: 600 1rem/1.2 var(--font-body); transition: background .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn:disabled { opacity: .65; cursor: not-allowed; }
.btn-small { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: #0f7a54; }
.btn-wa:hover { background: #0b5f42; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #f1ebdf; text-align: center; font-size: .85rem; padding: .45rem 1rem; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 50; background: #f6f0e6; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(34,48,31,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); padding-block: .4rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand-logo, .media.brand-logo { width: 200px; height: 65px; border-radius: 6px; background: none !important; }
.brand-logo img { object-fit: contain; width: 100%; height: 100%; }
@media (max-width: 980px) { .brand-logo, .media.brand-logo { width: 210px; height: 68px; } }
@media (max-width: 560px) { .brand-logo, .media.brand-logo { width: 168px; height: 55px; } }
.brand-logo + .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.brand-text small { display: block; font-size: .72rem; font-weight: 600; color: var(--teal-deep); margin-top: .2rem; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .3rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:not(.btn):hover, .site-nav a.is-active { border-bottom-color: var(--teal); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 12px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Media boxes (hidden automatically if a file is missing) ---------- */
.media { position: relative; overflow: hidden; background: var(--mist); border-radius: var(--radius); margin: 0; padding: 0; border: 0; display: block; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media picture { width: 100%; height: 100%; }
.media.is-missing { display: none; }
button.media { cursor: zoom-in; width: 100%; }
/* Results + clinic video slots stay visible; a tidy tile shows until the file is added */
.media.slot.is-missing img, .media.slot.is-missing video { display: none; }
.media.slot.is-missing { display: block; min-height: 160px; cursor: default; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, #f1ebdf 14px 28px); border: 1px dashed #bbbeab; }
.media.slot.is-missing::after { content: "Photo coming soon"; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem; font-size: .9rem; font-weight: 600; color: var(--teal-deep); }
.media.slot-video.is-missing::after { content: "Video coming soon"; }

/* ---------- Home banner slider ---------- */
.hero { padding: clamp(1.2rem, 3vw, 2rem) 0 1.5rem; }
.slider { position: relative; background: linear-gradient(135deg, var(--mist) 0%, #fcfbf9 75%); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.2rem, 3vw, 2.4rem); }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.slide-copy { min-width: 0; }
.slide-copy h1, .slide-copy .slide-title { max-width: 21ch; margin-top: 1rem; }
.hero-badge { display: inline-block; max-width: 100%; font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--teal-deep); background: #fff; border: 1px solid var(--line); padding: .4rem .9rem; border-radius: 999px; }
.hero-sub { font-size: 1.1rem; margin-top: 1rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.slide-figure { position: relative; margin: 0; min-width: 0; }
.slide-media { aspect-ratio: 4 / 4.4; max-height: 480px; width: 100%; border-radius: 999px 999px 24px 24px; }
.hero-chip { position: absolute; left: -.8rem; bottom: 1.6rem; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; padding: .6rem 1rem; border-radius: 12px; border-left: 6px solid var(--coral); font-size: .95rem; }

.slider-controls { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.slider-btn:hover { background: var(--ink); color: #fff; }
.slider-dots { display: flex; gap: .1rem; margin-inline: .3rem; }
.slider-dots button { width: 36px; height: 48px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.slider-dots button::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #cbcdbf; transition: background .2s; }
.slider-dots button[aria-current="true"]::after { background: var(--teal-btn); }
.slider-pause { margin-left: .4rem; }
.slider-pause .ico-play { display: none; }
.slider-pause[data-state="paused"] .ico-pause { display: none; }
.slider-pause[data-state="paused"] .ico-play { display: block; }

.trust-strip { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.trust-strip li { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; line-height: 1.45; font-weight: 500; color: var(--ink); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.8rem; }
.stats-grid > div { padding-left: 1rem; border-left: 3px solid var(--teal); }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; }
.stats-grid span { font-size: .92rem; color: #cccfc0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #e8deca; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #c5c7b7; }
.section-sub { font-size: 1.1rem; margin-bottom: 2rem; }
.lead { font-size: 1.15rem; }
.sub-heading { margin-top: 3rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.about-grid.no-media { grid-template-columns: 1fr; }
.about-grid.no-media > div { max-width: 820px; }
.about-grid.no-media h2 { max-width: 30ch; }
.about-media { aspect-ratio: 4 / 3; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.pillars article { background: var(--mist); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius-sm); padding: 1.2rem; }
.pillars h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.pillars p { font-size: .96rem; margin: 0; }

/* Vision */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.diff-list { list-style: none; margin: 0; padding: 0; }
.diff-list li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.diff-list li:first-child { padding-top: 0; }
.diff-list li:last-child { border-bottom: 0; }
.diff-list strong { color: #fff; }

/* Doctor */
.doctor-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.doctor-media { aspect-ratio: 4 / 5; }
.doctor-role { font-weight: 600; color: var(--teal-deep); margin-bottom: 1rem; }
.creds { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .5rem; }
.creds li { padding: .6rem .9rem; background: var(--mist); border-left: 3px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-weight: 500; }
.video-media { aspect-ratio: 16 / 9; background: #151e13; margin-top: 1.5rem; }

/* Services — refined clinic treatment explorer */
#services { scroll-margin-top: calc(var(--header-h) + 18px); }
.services-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; }
.services-heading-copy { min-width: 0; }
.section-eyebrow { margin: 0 0 .55rem; color: var(--teal-deep); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.services-heading h2 { margin-bottom: .45rem; max-width: none; }
.services-heading .section-sub { margin: 0; max-width: 70ch; font-size: 1.08rem; }
.services-help { display: flex; flex: 0 0 auto; align-items: center; gap: .85rem; margin-bottom: .2rem; padding: .7rem 0 .7rem 1.2rem; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.services-help:hover { color: var(--teal-deep); }
.services-help-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--teal); border-radius: 50%; color: var(--teal-deep); font-size: 1.5rem; line-height: 1; }
.services-help strong, .services-help small { display: block; }
.services-help strong { font-size: .9rem; }
.services-help small { margin-top: .15rem; color: var(--teal-deep); font-size: .86rem; }
.service-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.6rem; }
.service-card { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--mist); box-shadow: 0 5px 20px rgba(34,48,31,.08); isolation: isolate; }
.service-card::after { content: ""; position: absolute; inset: 30% 0 0; z-index: 0; background: linear-gradient(180deg, transparent 0%, rgba(21,30,19,.78) 100%); transition: opacity .25s ease; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.service-card:hover img, .service-card:focus-visible img { transform: scale(1.055); filter: saturate(1.06); }
.service-card span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 2.8rem 1.15rem 1rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.service-card span small { display: block; font: 500 .88rem/1.4 var(--font-body); opacity: .94; margin-top: .45rem; }
#service-tabs { scroll-margin-top: calc(var(--header-h) + 18px); }
.tabs { display: flex; gap: .8rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bfc2af transparent; }
.tabs button { position: relative; background: none; border: 0; padding: .85rem 1.25rem .95rem; min-height: 52px; font: 650 1rem var(--font-body); color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, background .2s; }
.tabs button:hover { color: var(--teal-deep); background: rgba(107,112,80,.045); }
.tabs button[aria-selected="true"] { color: var(--teal-deep); border-bottom-color: var(--teal); }
.tab-intro { font-size: 1.05rem; margin: 0 0 1.2rem; }
.svc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.1rem; align-items: start; }
.svc-group { background: #fff; border: 1px solid rgba(214,205,184,.65); border-radius: 18px; padding: 1.35rem 1.45rem; box-shadow: 0 5px 22px rgba(34,48,31,.035); transition: border-color .2s, box-shadow .2s; }
.svc-group:hover { border-color: #cccec0; box-shadow: 0 9px 28px rgba(34,48,31,.065); }
.svc-group h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.12rem; margin: 0 0 .65rem; padding-bottom: .85rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.svc-group h3::before { content: "✓"; display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #c5c8b7; border-radius: 50%; color: var(--teal-deep); background: #f9f7f2; font: 700 .95rem var(--font-body); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .62rem 1.1rem .62rem 0; border-bottom: 1px solid #f2ede2; color: var(--ink); font-size: .98rem; font-weight: 500; line-height: 1.45; transition: color .18s, padding .18s; }
.service-list li::after { content: "›"; position: absolute; right: .1rem; top: .53rem; color: #8f9474; font-size: 1.25rem; line-height: 1.2; }
.service-list li:hover { color: var(--teal-deep); padding-left: .25rem; }
.service-list li:last-child { border-bottom: 0; }
.tab-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.65); }
.tab-cta p { margin: 0; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .service-card img, .service-card::after, .service-list li { transition: none; } }

.brochure { margin-top: 3.5rem; }
.brochure-media { max-width: 1100px; }
.brochure-media img, .promo-media img { height: auto; object-fit: contain; }
.promo { padding-block: clamp(2rem, 5vw, 3.5rem); background: var(--paper); }
.promo-cta { margin-top: 1rem; justify-content: center; }

/* Technology */
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.tech-card { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 1.8rem; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: #fff; box-shadow: var(--shadow); }
.tech-card .tech-media { min-height: 300px; height: 100%; }
.tech-body { display: flex; flex-direction: column; justify-content: center; }
.tech-card h3 { margin-bottom: .8rem; font-size: 1.35rem; }
.tech-facts { margin: 0 0 .4rem; }
.tech-facts dt { font-weight: 700; color: var(--teal-deep); font-size: .88rem; margin-top: .8rem; }
.tech-facts dd { margin: .1rem 0 0; font-size: .98rem; }

/* Results */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery .media { aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: .9rem; margin-top: .5rem; color: var(--ink); font-weight: 500; }
.results-empty { background: #fff; border: 1px dashed #bbbeab; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 760px; }
.results-empty h3 { margin-bottom: .5rem; }
.results-empty p { margin-bottom: .8rem; }
.results-note { font-size: .9rem; margin-top: 1.2rem; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.video-grid .video-media { margin-top: 0; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.quote-grid blockquote { margin: 0; padding: 1.4rem; background: var(--mist); border-radius: var(--radius); border-left: 5px solid var(--teal); }
.quote-grid blockquote p { color: var(--ink); margin-bottom: .8rem; }
.quote-grid cite { font-style: normal; font-weight: 600; font-size: .95rem; }
.quote-grid .q-stars { color: #f5a623; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: .4rem; }
.quote-grid .q-title { font-size: 1.05rem; margin: 0 0 .5rem; }

/* Appointment */
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.video-consult { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.appt-form { background: #fff; color: var(--ink-soft); padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .35rem; }
.field > label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.appt-form input, .appt-form select, .appt-form textarea {
  font: 400 1rem var(--font-body); min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #cacdbd; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.appt-form textarea { min-height: 96px; resize: vertical; }
.appt-form input:focus, .appt-form select:focus, .appt-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(107,112,80,.22); }
.appt-form [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; color: var(--error); font-weight: 600; font-size: .9rem; }
.field-error::before { content: "⚠ "; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; max-width: none; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdecea; color: var(--error); }
.form-status.is-ok { background: #f4efe4; color: var(--ok); }
.form-status a { color: inherit; }
.form-note { font-size: .85rem; margin: 0; }

/* Skin Health Hub */
.hub { max-width: 860px; }
.hub-search { display: block; position: relative; margin-bottom: .6rem; }
.hub-search input { width: 100%; min-height: 52px; font: 400 1rem var(--font-body); padding: .9rem 3rem .9rem 1.2rem; border: 1.5px solid #cacdbd; border-radius: 999px; background: #fff; color: var(--ink); }
.hub-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(107,112,80,.22); }
.hub-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.hub-count { font-size: .9rem; margin-bottom: 1rem; min-height: 1.4em; }
.hub-item { border-bottom: 1px solid var(--line); }
.hub-item summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem .2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); position: relative; border-radius: 6px; }
.hub-item summary::-webkit-details-marker { display: none; }
.hub-item summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); font-size: 1.4rem; line-height: 1; color: var(--teal-deep); }
.hub-item[open] summary::after { content: "\2212"; background: var(--teal-btn); color: #fff; }
.hub-item summary:hover { color: var(--teal-deep); }
.hub-item p { margin-bottom: .8rem; }
.hub-item p:last-child { margin-bottom: 1.3rem; }
.hub-item img { max-width: 420px; width: 100%; border-radius: 12px; margin: .5rem 0 1rem; }
.hub-empty { font-weight: 600; color: var(--ink); }
.hub-disclaimer { margin-top: 1.8rem; padding: 1rem 1.2rem; background: var(--mist); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; max-width: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.contact-list { margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.contact-list > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.contact-list dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.contact-list dd { margin: .1rem 0 0; overflow-wrap: anywhere; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 0 0 1rem; }
.map-col { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.map-wrap { position: relative; flex: 1; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: #eee7d9; border: 1px solid var(--line); }
.map-wrap iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 1.5rem; gap: .6rem; }
.map-fallback p { margin: 0 auto; }

/* Footer */
.site-footer { background: var(--ink); color: #cccfc0; padding-top: 3rem; font-size: .95rem; }
.site-footer a { color: #f1ebdf; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: flex; align-items: center; gap: 1.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-logo { flex: none; display: grid; place-items: center; width: 100px; height: 124px; padding: 7px; background: #f6f0e6; border-radius: 14px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-tagline { max-width: 52ch; margin: 0; font-size: 1.02rem; }
.footer-cols { display: grid; grid-template-columns: .8fr 1fr 1.3fr 1.2fr; gap: 2rem; padding-top: 2rem; align-items: start; }
.footer-cols > * { min-width: 0; }
.footer-cols h3 { font-family: var(--font-display); font-size: 1rem; color: #fff; margin: 0 0 .8rem; }
.footer-cols h3.mt { margin-top: 1.4rem; }
.footer-cols nav { display: flex; flex-direction: column; gap: .2rem; }
.footer-cols nav a { padding-block: .3rem; }
.footer-cols p, .footer-cols address { margin: 0 0 .5rem; font-style: normal; overflow-wrap: anywhere; }
.footer-cols .timings { line-height: 1.7; }
.footer-social { list-style: none; display: flex; gap: .7rem; padding: 0; margin: .9rem 0 0; flex-wrap: wrap; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); color: #f1ebdf; transition: background .2s, color .2s; }
.footer-social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-block: 1.2rem 6rem; font-size: .85rem; }
.footer-legal p { max-width: none; margin-bottom: .4rem; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #0f7a54; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: opacity .2s, transform .2s, background .2s; }
.wa-float:hover { background: #0b5f42; color: #fff; }
.wa-float.is-tucked { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18,24,16,.92); display: grid; place-items: center; padding: 4rem 1rem 1rem; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { color: #f1ebdf; margin-top: .8rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; min-height: 44px; background: #fff; border: 0; padding: .6rem 1.2rem; border-radius: 999px; font: 600 1rem var(--font-body); cursor: pointer; }

/* Privacy and Terms pages */
.doc-page { max-width: 760px; padding-block: 3rem 4rem; }
.doc-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .4rem; max-width: none; }
.doc-page h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.doc-page p, .doc-page li { max-width: none; }
.doc-page ul { padding-left: 1.2rem; }
.doc-meta { color: var(--teal-deep); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: .95rem; }
  .site-nav a:not(.btn) { font-size: .92rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(34,48,31,.1); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin-top: .9rem; }
  .slide, .about-grid, .vision-grid, .doctor-grid, .appt-grid, .contact-grid { grid-template-columns: 1fr; }
  .slide-media { aspect-ratio: 4 / 3.2; max-width: 460px; margin-inline: auto; border-radius: 999px 999px 20px 20px; }
  .hero-chip { left: .5rem; }
  .doctor-media { max-width: 380px; }
  .pillars, .stats-grid, .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .tech-card { grid-template-columns: 1fr; }
  .tech-card .tech-media { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .service-photos, .gallery { grid-template-columns: repeat(2, 1fr); }
  .services-heading { align-items: flex-start; }
  .services-help { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  h1, .slide-title { font-size: 1.6rem; }
  .slide-copy h1, .slide-copy .slide-title { max-width: none; margin-top: .8rem; }
  .hero-sub { font-size: 1.02rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .topbar { font-size: .8rem; }
  .video-grid, .svc-groups, .pillars, .trust-strip, .footer-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .stats-grid strong { font-size: 1.45rem; }
  .gallery { grid-template-columns: 1fr; }
  .service-photos { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .service-card { aspect-ratio: 4 / 5; border-radius: 14px; }
  .service-card span { font-size: .98rem; padding: 2.1rem .8rem .8rem; }
  .service-card span small { display: block; font-size: .78rem; margin-top: .3rem; }
  .services-heading { margin-bottom: 1.35rem; }
  .services-heading .section-sub { font-size: 1rem; }
  .section-eyebrow { font-size: .68rem; }
  .svc-group { padding: 1rem; }
  .svc-group h3 { font-size: 1.05rem; }
  .service-list li { font-size: .94rem; }
  .service-card span { font-size: .95rem; padding: 1.6rem .7rem .7rem; }
  .service-card span small { display: none; }
  .tabs button { padding: .8rem 1rem; }
  .slider { border-radius: 20px; }
  .slide-media { aspect-ratio: 16 / 11; }
  .hero-actions .btn, .btn-row .btn { flex: 1 1 100%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; right: .9rem; bottom: .9rem; }
}
@media (max-width: 360px) {
  .brand-text { font-size: 1.15rem; }
  .slider-dots button { width: 30px; }
}

.tech-card .tech-media { background: linear-gradient(#faf8f3, #f3eee4); }
.tech-card .tech-media img { object-position: 50% 70%; }

/* Video slider */
.video-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.video-grid::-webkit-scrollbar { display: none; }
.video-grid .video-media { flex: 0 0 min(100%, 300px); scroll-snap-align: start; aspect-ratio: 9 / 16; margin-top: 0; }
.video-grid .video-media.is-missing { display: none; }
.video-grid .video-media video { object-fit: contain; background: #151e13; }
.vs-controls { display: flex; gap: .6rem; margin-top: 1rem; }
.slider-btn:disabled { opacity: .4; cursor: default; }
.slider-btn:disabled:hover { background: #fff; color: var(--ink); }

.promo-media { border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(34,48,31, .08); }



/* ---------- Promotion banner slider ---------- */
.pslider { max-width: 1100px; margin-inline: auto; }
.pviewport { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(34,48,31, .08); touch-action: pan-y; }
.ptrack { display: flex; transition: transform .5s ease; }
.pslide { flex: 0 0 100%; min-width: 0; }
.pslide-btn { border-radius: 0; background: none; }
.pslide-btn img { height: auto; object-fit: contain; }
.pslider .slider-controls { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .ptrack { transition: none; } }
/* =====================================================================
   Inner pages (about, doctor, services, technology, results, hub, contact)
   ===================================================================== */
.page-hero { background: linear-gradient(135deg, var(--mist) 0%, #fcfbf9 75%); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.6rem); }
.page-hero h1 { max-width: 24ch; margin-bottom: .5rem; }
.page-hero .lead { max-width: 62ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; margin-bottom: 1rem; color: var(--ink-soft); }
.crumbs a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.btn-row.center { justify-content: center; }

/* Image placeholders: a labelled striped box until the real photo is added */
.media.slot[data-label].is-missing::after { content: attr(data-label); }
.ar-43 { aspect-ratio: 4 / 3; }
.ar-45 { aspect-ratio: 4 / 5; }
.ar-169 { aspect-ratio: 16 / 9; }
.media.slot.is-missing { min-height: 0; }

/* "To be added" chip, for details the client still has to send */
.tba { display: inline-block; padding: .1rem .6rem; border-radius: 999px; background: #fff4e5; border: 1px dashed #e0a458; color: #8a5a12; font-size: .85rem; font-weight: 600; }

.cards-3, .cards-4 { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius-sm); padding: 1.3rem; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.info-card p { margin: 0 0 .6rem; font-size: .98rem; }
.info-card p:last-child { margin-bottom: 0; }
.section-mist .info-card { background: #fff; }
.tech-mini { display: flex; flex-direction: column; border-top: 0; padding: 0 0 1.2rem; overflow: hidden; }
.tech-mini .media { border-radius: 0; margin-bottom: 1.1rem; }
.tech-mini h3, .tech-mini p { padding-inline: 1.2rem; }
.tech-model { font-size: .9rem !important; color: var(--ink-soft); }
.pillars-flat { margin-top: 1.2rem; }
.pillars-flat article { background: #fff; }

.timeline { list-style: none; margin: 1.6rem 0 0; padding: 0 0 0 1.6rem; border-left: 2px solid #c5c8b7; display: grid; gap: 1.6rem; max-width: 760px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--mist); }
.timeline li.is-next::before { background: var(--coral); }
.tl-when { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .2rem; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.timeline p { margin: 0; }

.steps { list-style: none; counter-reset: st; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.steps li { counter-increment: st; position: relative; padding: 3.4rem 1.2rem 1.2rem; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm); }
.steps li::before { content: counter(st); position: absolute; top: 1rem; left: 1.2rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1rem var(--font-display); }
.steps strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .3rem; }
.steps span { color: #e8deca; font-size: .96rem; }
.steps-light li { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.steps-light strong { color: var(--ink); }
.steps-light span { color: var(--ink-soft); }

.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1.2rem 0 0; max-width: 860px; }
.facts-list > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.facts-list dd { margin: .2rem 0 0; color: var(--ink); font-weight: 500; }

.cta-band { background: var(--ink); color: #e8deca; padding-block: clamp(2rem, 5vw, 3.2rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; }
.cta-band .btn-row { margin-top: 0; }

.video-media.is-missing { display: none; }

@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cards-3, .cards-4, .facts-list { grid-template-columns: 1fr; }
  .cta-inner .btn-row { width: 100%; }
}

/* Home: "Explore Dermis" link cards */
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.explore-grid a { display: block; padding: 1.3rem 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.explore-grid a:hover { transform: translateY(-3px); border-color: var(--teal); }
.explore-grid strong { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); margin-bottom: .35rem; }
.explore-grid strong::after { content: "→"; color: var(--teal); }
.explore-grid span { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 980px) { .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---------- Contact page: hero + form card + location ---------- */
.contact-hero { position: relative; overflow: hidden; text-align: center; color: #f1ebdf; background: linear-gradient(135deg, #22301f 0%, #343824 100%); padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(8rem, 14vw, 10rem); }
.contact-hero .contact-bg { position: absolute; inset: 0; border-radius: 0; background: none; }
.contact-hero .contact-bg::after { content: ""; position: absolute; inset: 0; background: rgba(34,48,31, .72); }
.contact-hero .wrap { position: relative; z-index: 1; }
.contact-hero h1 { color: #fff; max-width: none; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .5rem; }
.contact-hero .lead { margin: 0 auto; color: #f1ebdf; }
.crumbs-light { justify-content: center; color: #cccfc0; }
.crumbs-light a, .crumbs-light [aria-current] { color: #fff; }
.contact-card-wrap { position: relative; z-index: 2; margin-top: clamp(-7rem, -10vw, -5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.contact-card { max-width: 620px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 3.5vw, 2.2rem); box-shadow: 0 18px 50px rgba(34,48,31, .16); }
.contact-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.contact-card > p { margin: 0 0 1.2rem; }
.contact-card .appt-form { padding: 0; box-shadow: none; background: transparent; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.location-info h2 { margin-bottom: .5rem; }
.loc-list { margin: 1.2rem 0 1.4rem; display: grid; gap: 1.1rem; }
.loc-list dt { font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.loc-list dd { margin: 0; }
.location-info .video-consult { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.2rem; }
.location-info .video-consult h3 { font-size: 1.1rem; }
@media (max-width: 980px) { .location-grid { grid-template-columns: 1fr; } }

/* Contact hero: decorative banner (works without a photo) */
.contact-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(107,112,80,.55) 0, rgba(107,112,80,0) 38%),
    radial-gradient(circle at 88% 80%, rgba(148,108,59,.22) 0, rgba(148,108,59,0) 34%),
    linear-gradient(135deg, #22301f 0%, #343824 100%);
}
.contact-hero::before { content: ""; position: absolute; z-index: 0; right: 5%; top: 44%; width: min(30vw, 340px); aspect-ratio: 1; transform: translateY(-50%); background: url("../assets/images/logo.png") center / contain no-repeat; opacity: .06; filter: brightness(0) invert(1); pointer-events: none; }
.contact-hero::after { content: ""; position: absolute; z-index: 0; left: -90px; bottom: -90px; width: 260px; height: 260px; border: 38px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.hero-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.8rem; }
.hero-quick a { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.2rem .7rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; text-align: left; backdrop-filter: blur(4px); transition: background .2s; }
.hero-quick a:hover { background: rgba(255,255,255,.2); }
.hq-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); font-size: 1.1rem; }
.hero-quick small { display: block; font-size: .78rem; color: #cccfc0; line-height: 1.2; }
.hero-quick strong { display: block; font-size: .98rem; line-height: 1.25; }
@media (max-width: 640px) { .hero-quick a { width: 100%; } .contact-hero::before { opacity: .06; } }

/* =====================================================================
   Image slots (.ip): mint placeholder with dashed border until the real file loads
   ===================================================================== */
.ip { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: var(--ar, 4 / 3); border-radius: 18px; background: #f6f2ea; border: 2px dashed #b3b7a1; }
.ip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.ip-label { display: grid; justify-items: center; gap: .35rem; padding: 1rem; text-align: center; color: var(--teal-deep); font-size: .85rem; font-weight: 600; }
.ip-label svg { opacity: .8; }
.ip-label code { font: 600 .78rem/1.3 ui-monospace, Consolas, monospace; background: #fff; color: var(--ink); padding: .15rem .55rem; border-radius: 6px; border: 1px solid #e9dfcb; word-break: break-all; }
.ip.is-loaded { border-color: transparent; background: #f0eadd; }
.ip.is-loaded img { opacity: 1; }
.ip.is-loaded .ip-label { display: none; }
.ip.is-failed img { display: none; }

/* About page */
.about-hero { background: linear-gradient(135deg, var(--mist) 0%, #fcfbf9 75%); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.6rem); }
.about-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.about-hero h1 { max-width: 20ch; }
.about-hero .lead { max-width: 52ch; }
.about-hero-photo { max-width: 460px; margin-left: auto; width: 100%; }
.about-hero-photo .ip { border-radius: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.trust-row { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; }
.trust-grid div { padding-left: 1rem; border-left: 3px solid var(--teal); }
.trust-grid strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.trust-grid span { font-size: .9rem; }
.doc-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.2rem, 3vw, 2rem); }
.doc-card-photo { max-width: 380px; width: 100%; }
.doc-card h2 { margin-bottom: .3rem; }
.doc-card h3 { font-size: 1.05rem; margin: 1.1rem 0 .5rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.steps-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 980px) {
  .about-hero-grid, .split, .doc-card { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .about-hero-photo { margin-inline: auto; max-width: 380px; }
  .doc-card-photo { margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .checks, .steps-2 { grid-template-columns: 1fr; } .trust-grid { grid-template-columns: 1fr; } }

/* ---------- About v3 (matches the reference layout) ---------- */
.about-hero-photo { position: relative; max-width: 470px; }
.about-hero-photo::before { content: ""; position: absolute; z-index: 0; left: -22px; top: 18px; right: 22px; bottom: -18px; background: #eae1ce; border-radius: 28px; }
.about-hero-photo .ip { position: relative; z-index: 1; }
.about-hero .btn svg { vertical-align: -3px; margin-right: .2rem; }
.trust-card { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--mist); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 0; }
.tr-item { display: grid; justify-items: center; gap: .15rem; text-align: center; padding: .3rem 1.2rem; border-left: 1px solid var(--line); }
.tr-item:first-child { border-left: 0; }
.tr-ico { color: var(--teal); margin-bottom: .2rem; }
.tr-item strong { color: var(--ink); font-family: var(--font-display); }
.tr-item span:last-child { font-size: .88rem; }
.doc-card-photo .ip { border-radius: 18px; }
.doc-card .btn { gap: .3rem; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.4rem; }
.area-card { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; }
.area-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eae1ce; color: var(--teal-deep); margin-bottom: .8rem; }
.area-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.area-card p { margin: 0; font-size: .95rem; }
.eyebrow-light { color: #b2b5a0; }
.values { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.values li { display: flex; gap: .9rem; align-items: flex-start; }
.val-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #c5c7b7; }
.values strong { display: block; color: #fff; }
.values li span:last-child { color: #e8deca; font-size: .95rem; }
.flow { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; }
.flow-step { position: relative; display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem; box-shadow: var(--shadow); }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -1.7rem; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.3rem; }
.flow-num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 .95rem var(--font-display); }
.flow-step strong { display: block; color: var(--ink); font-family: var(--font-display); }
.flow-step span:last-child { font-size: .92rem; }
.gallery-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.2rem; }
.gallery-4 .ip { border-radius: 14px; }
.cta-soft { background: var(--mist); border-top: 1px solid var(--line); padding-block: 1.6rem; }
.cta-soft-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.cta-soft-inner > div:nth-child(2) { flex: 1 1 260px; }
.cta-soft h2 { font-size: 1.3rem; margin: 0 0 .2rem; }
.cta-soft p { margin: 0; }
.cta-soft .btn-row { margin-top: 0; }
.cta-soft .btn { gap: .3rem; }
@media (max-width: 980px) {
  .trust-card, .area-grid, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .tr-item:nth-child(3) { border-left: 0; }
  .tr-item:nth-child(n+3) { margin-top: 1rem; }
  .flow { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .flow-step::after { display: none; }
}
@media (max-width: 640px) {
  .trust-card, .area-grid, .gallery-4, .flow { grid-template-columns: 1fr; }
  .tr-item { border-left: 0; border-top: 1px solid var(--line); padding-block: .8rem; }
  .tr-item:first-child { border-top: 0; }
  .tr-item:nth-child(n+3) { margin-top: 0; }
}

/* About icons: closer to the reference */
.tr-ico svg { width: 42px; height: 42px; stroke-width: 1.5; }
.area-ico { width: 58px; height: 58px; background: #ede5d5; }
.area-ico svg { width: 34px; height: 34px; color: var(--teal); }
.flow-step { display: block; }
.flow-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.flow-ico { color: var(--teal); }
.flow-ico svg { width: 26px; height: 26px; }
.flow-step strong { margin-bottom: .2rem; }
.flow-step > span:last-child { display: block; }

/* About icons: the supplied SVG pack, shown in pale mint circles (also on the dark values section) */
.tr-ico, .area-ico, .val-ico, .flow-ico { display: grid; place-items: center; border-radius: 50%; background: #ede5d5; flex: none; }
.tr-ico { width: 56px; height: 56px; margin-bottom: .45rem; }
.area-ico { width: 56px; height: 56px; }
.val-ico { width: 46px; height: 46px; }
.flow-ico { width: 40px; height: 40px; }
.tr-ico img, .area-ico img { width: 28px; height: 28px; }
.val-ico img { width: 24px; height: 24px; }
.flow-ico img { width: 22px; height: 22px; }

/* About page: tighter vertical spacing */
.about-hero { padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.about-hero ~ .section { padding-block: clamp(1.6rem, 3.2vw, 2.6rem); }
.about-hero ~ .section .section-sub { margin-bottom: 1rem; }
.about-hero ~ .wrap { margin-top: .4rem; }
.about-hero ~ .section h2 { margin-bottom: .5rem; }
.about-hero ~ .section .area-grid, .about-hero ~ .section .flow, .about-hero ~ .section .gallery-4 { margin-top: 1rem; }
.cta-soft { padding-block: 1.2rem; }
/* =====================================================================
   Skin Health Hub (inner page redesign)
   ===================================================================== */
.hub-hero { background: linear-gradient(135deg, var(--mist) 0%, #fbfaf7 80%); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hub-hero h1 { max-width: 16ch; }
.hub-hero .lead { margin-bottom: 1.6rem; }
.hub-hero-photo { aspect-ratio: 3 / 2; border-radius: 22px; box-shadow: var(--shadow); }
.hub-hero-photo img { object-position: 50% 18%; }
.hub-hero .hub-search { margin: 0; max-width: 520px; }
.hub-search input { padding-left: 3rem; }
.hub-search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--ink); pointer-events: none; }

.hub-topics { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.hub-topics h2, .hub-popular h2, .hub-articles h2 { margin-bottom: .25rem; }
.hub-topics .section-sub, .hub-popular .section-sub, .hub-articles .section-sub { margin-bottom: 1.4rem; font-size: 1rem; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.topic-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .15rem; padding: 1.2rem 1.2rem 1.3rem; background: #fdfdfc; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink-soft); transition: transform .2s, border-color .2s, box-shadow .2s; }
.topic-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow); }
.topic-card[aria-pressed="true"] { border-color: var(--teal-btn); background: var(--mist); box-shadow: inset 0 0 0 1px var(--teal-btn); }
.topic-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #ede5d5; color: var(--teal-deep); margin-bottom: .8rem; }
.topic-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.topic-desc { font-size: .92rem; line-height: 1.45; padding-right: 1.6rem; }
.topic-arrow { position: absolute; right: 1.1rem; bottom: 1.1rem; color: var(--teal); font-size: 1.1rem; }

.hub-popular { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.hub-popular-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.hub { max-width: none; }
.hub-side { position: sticky; top: calc(var(--header-h) + 20px); aspect-ratio: 4 / 4.2; border-radius: 22px; box-shadow: var(--shadow); }
.hub-side img { object-position: 50% 78%; }
.hub-count { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hub-count:empty { display: none; }
.hub-count button { border: 0; background: var(--mist); color: var(--teal-deep); font: 600 .85rem var(--font-body); padding: .3rem .8rem; border-radius: 999px; cursor: pointer; }
.hub-list { border-top: 1px solid var(--line); }
.hub-item summary { font-size: 1.02rem; padding-block: .95rem; }
.hub-item summary::after { width: 28px; height: 28px; font-size: 1.2rem; background: #f3ede2; }
.hub-item[open] summary { color: var(--teal-deep); }

.hub-articles { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.article-grid { margin-top: 0; }
.article-card { display: flex; flex-direction: column; background: #fdfdfc; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.article-img { height: 150px; border-radius: 0; }
.article-img img { object-position: 50% 40%; }
.article-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.2rem; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); flex: 1; }
.article-tag { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--teal-deep); }
.article-body strong { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.article-more { margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .9rem; color: var(--teal-deep); }

.hub-disclaimer { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; padding: .9rem 1.2rem; background: var(--mist); border: 0; border-radius: var(--radius-sm); font-size: .92rem; }
.hub-disclaimer svg { flex: none; }
.cta-eyebrow { color: #c5c7b7; margin-bottom: .2rem; }

@media (max-width: 980px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-popular-grid { grid-template-columns: 1fr; }
  .hub-side { display: none; }
}
@media (max-width: 760px) {
  .hub-hero-grid { grid-template-columns: 1fr; }
  .hub-hero-photo { order: -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .topic-grid { grid-template-columns: 1fr; }
  .hub-disclaimer { align-items: flex-start; }
}

/* =====================================================================
   Doctor page (inner page redesign)
   ===================================================================== */
.dr-hero { background: #f7f3ec; border-bottom: 1px solid var(--line); overflow: hidden; }
.dr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: end; }
.dr-hero-text { align-self: center; padding-block: clamp(2rem, 5vw, 3.6rem); }
.dr-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .6rem; }
.dr-role { font-size: 1.15rem; color: var(--ink); max-width: 34ch; margin-bottom: 1.1rem; }
.dr-intro { max-width: 52ch; }
.dr-hero .btn svg, .dr-cta .btn svg { flex: none; }
.dr-hero-photo { position: relative; align-self: end; line-height: 0; margin-right: calc((100vw - min(100vw - 2.5rem, var(--wrap))) / -2); }
.dr-hero-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }

.dr-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.dr-about-photo { aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: var(--shadow); }
.dr-about-photo img { object-position: 50% 22%; }
.dr-about h2 { max-width: 14ch; }
.dr-cred-box { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dr-cred-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--teal-deep); box-shadow: 0 1px 3px rgba(34,48,31,.1); }
.dr-cred-box strong { display: block; color: var(--ink); font-family: var(--font-display); }
.dr-cred-box span:not(.dr-cred-ico) { font-size: .9rem; line-height: 1.45; display: block; }

.dr-cred-grid .info-card { border-top: 0; border-radius: var(--radius); }
.dr-ico { display: block; width: 28px; height: 28px; color: var(--teal-deep); margin-bottom: .7rem; }
.dr-ico svg { width: 28px; height: 28px; }
.dr-cred-grid h3 { color: var(--ink); }

.dr-journey-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.dr-tagline { margin: 0; justify-self: center; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.25; color: var(--teal-deep); transform: rotate(-4deg); text-align: left; }
.dr-tagline span { display: block; padding-left: 1.6rem; }
.dr-tagline::after { content: ""; display: block; width: 70px; height: 2px; background: var(--teal); margin: .7rem 0 0 4rem; }

.dr-cta-wrap { padding-block: clamp(2rem, 5vw, 3.5rem); }
.dr-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 4vw, 3rem); background: linear-gradient(135deg, var(--mist), #f2ebe0); border: 1px solid var(--line); border-radius: 22px; }
.dr-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: none; margin-bottom: .3rem; }
.dr-cta p:last-child { margin: 0; max-width: 52ch; font-size: .98rem; }
.dr-cta-actions { display: grid; justify-items: center; gap: .7rem; }
.dr-wa { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--teal-deep); text-decoration: none; }
.dr-wa:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .dr-hero-grid, .dr-about-grid, .dr-journey-grid { grid-template-columns: 1fr; }
  .dr-hero-photo { margin-right: 0; order: -1; margin-inline: -1.25rem; }
  .dr-hero-photo img { max-height: 380px; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 0); mask-image: none; }
  .dr-hero-text { padding-top: 1.4rem; }
  .dr-tagline { justify-self: start; transform: none; }
}

/* =====================================================================
   Technology page (inner page redesign)
   ===================================================================== */
.tc-hero { background: linear-gradient(135deg, #f6f2ea 0%, #fbf9f6 85%); border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 4vw, 3rem); }
.tc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tc-eyebrow { letter-spacing: .16em; }
.tc-hero h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 15ch; }
.tc-hero .lead { max-width: 46ch; font-size: 1.02rem; }
.tc-hero .btn svg, .tc-featured .btn svg, .cta-band .btn svg { flex: none; }
.tc-hero-photo { aspect-ratio: 3 / 2; border-radius: 14px; box-shadow: var(--shadow); }

.tc-featured-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.tc-featured-photo { aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: var(--shadow); }
.tc-featured h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); max-width: 30ch; margin-bottom: 1.2rem; }
.tc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.tc-facts > div { position: relative; padding: .2rem 1.1rem .2rem 3.3rem; border-left: 1px solid var(--line); }
.tc-facts > div:first-child { border-left: 0; padding-left: 3.3rem; }
.tc-fico { position: absolute; left: .4rem; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f2ece1; color: var(--teal-deep); }
.tc-facts > div:not(:first-child) .tc-fico { left: 1.1rem; }
.tc-facts > div:not(:first-child) { padding-left: 4.1rem; }
.tc-facts dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.tc-facts dd { margin: 0; font-size: .9rem; line-height: 1.55; }
.tc-featured .btn-row { margin-top: 1.6rem; }

.tc-list { padding-top: clamp(2rem, 5vw, 3.2rem); }
.tc-list h2 { margin-bottom: .25rem; }
.tc-list .section-sub { font-size: 1rem; margin-bottom: 1.4rem; }
.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.tc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .6rem 1rem; box-shadow: var(--shadow); }
.tc-img { aspect-ratio: 813 / 219; border-radius: 8px; margin-bottom: 1rem; }
.tc-card h3, .tc-card p, .tc-foot { padding-inline: .7rem; }
.tc-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.tc-card p { font-size: .94rem; line-height: 1.55; margin-bottom: .9rem; }
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; }
.tc-foot .tech-model { font-size: .82rem !important; padding: 0; }
.tc-go { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal-deep); background: #fff; transition: background .2s, color .2s; }
.tc-go:hover { background: var(--teal-btn); color: #fff; }

.tc-process-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.tc-process h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-steps li { position: relative; display: grid; align-content: start; gap: .3rem; padding: 0 1.4rem; border-left: 1px solid var(--line); }
.tc-steps li:not(:last-child)::after { content: "\203A"; position: absolute; right: -.45rem; top: 1rem; width: 1rem; text-align: center; background: #fff; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.tc-steps strong { font-family: var(--font-display); color: var(--ink); margin-top: .5rem; }
.tc-steps li > span:last-child { font-size: .92rem; line-height: 1.55; }
.tc-sico { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-btn); color: #fff; }
.tc-sico b { position: absolute; left: -10px; top: 14px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #ede5d5; color: var(--teal-deep); font: 700 .78rem var(--font-display); }

@media (max-width: 980px) {
  .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-process-grid { grid-template-columns: 1fr; }
  .tc-facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .tc-facts > div, .tc-facts > div:first-child, .tc-facts > div:not(:first-child) { border-left: 0; padding: .1rem 0 .1rem 3.4rem; }
  .tc-facts > div:not(:first-child) .tc-fico { left: .4rem; }
}
@media (max-width: 760px) {
  .tc-hero-grid, .tc-featured-grid { grid-template-columns: 1fr; }
  .tc-featured-photo { max-width: 340px; }
}
@media (max-width: 640px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .tc-steps li { border-left: 0; padding: 0; }
  .tc-steps li:not(:last-child)::after { display: none; }
}

/* ---- Technology page: spacing fixes ---- */
.tc-hero { padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.tc-hero h1 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); max-width: 20ch; margin-bottom: .8rem; }
.tc-hero .lead { margin-bottom: 0; }
.tc-hero .btn-row { margin-top: 1.4rem; }
.tc-featured { padding-block: clamp(2rem, 4vw, 3rem); }
.tc-featured h2 { margin-bottom: 1rem; max-width: 34ch; }
.tc-featured .btn-row { margin-top: 1.2rem; }
.tc-list { padding-block: clamp(2rem, 4vw, 3rem); }
.tc-list h2 { max-width: none; margin-bottom: .2rem; }
.tc-list .section-sub { max-width: none; margin-bottom: 1.2rem; }
.tc-process { padding-block: clamp(2rem, 4vw, 3rem); }
.tc-process h2 { max-width: 24ch; margin-bottom: .6rem; }
.tc-process p { margin-bottom: 0; }
.tc-process .section-eyebrow, .tc-list .section-eyebrow, .tc-featured .section-eyebrow { margin-bottom: .4rem; }
.tc-card p { margin-bottom: .8rem; }
.tc-steps li { padding-block: .2rem; }
.cta-band { padding-block: clamp(1.6rem, 3.5vw, 2.4rem); }
@media (max-width: 760px) {
  .tc-featured-photo { max-width: 100%; aspect-ratio: 4 / 3; }
}


/* =====================================================================
   Results page (inner page redesign)
   ===================================================================== */
.rs-hero { background: linear-gradient(135deg, #f6f2ea 0%, #fbf9f6 85%); border-bottom: 1px solid var(--line); padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.rs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rs-eyebrow { display: flex; align-items: center; gap: .8rem; letter-spacing: .16em; }
.rs-eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--teal); }
.rs-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 14ch; margin-bottom: .8rem; }
.rs-hero .lead { max-width: 44ch; font-size: 1.02rem; }
.rs-chip { display: inline-flex; align-items: center; gap: .5rem; margin: .4rem 0 0; padding: .55rem 1.1rem; border: 1.5px solid var(--teal); border-radius: 999px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; }
.rs-chip svg { color: var(--teal-deep); }
.rs-hero-photo { aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: var(--shadow); }

.rs-journeys { padding-block: clamp(2rem, 4vw, 3rem); }
.rs-journeys h2 { max-width: none; margin-bottom: .2rem; }
.rs-journeys .section-sub { max-width: none; font-size: 1rem; margin-bottom: 1.3rem; }
.rs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.rs-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .6rem 1.1rem; box-shadow: var(--shadow); }
.rs-img { aspect-ratio: 789 / 351; border-radius: 8px; }
.rs-img img { object-position: 50% 50%; }
.rs-imgwrap { position: relative; margin-bottom: .9rem; }
.rs-illus { position: absolute; right: .5rem; bottom: .5rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .03em; box-shadow: 0 1px 3px rgba(34,48,31,.2); pointer-events: none; }
.rs-card h3, .rs-card .rs-sub, .rs-rows { padding-inline: .7rem; }
.rs-card h3 { font-size: 1.12rem; margin-bottom: .1rem; }
.rs-sub { font-size: .9rem; margin-bottom: .8rem; }
.rs-rows { list-style: none; margin: 0; display: grid; gap: .7rem; }
.rs-rows li { display: flex; gap: .8rem; align-items: center; }
.rs-rico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #f2ece1; color: var(--teal-deep); }
.rs-rows strong { display: block; font-size: .85rem; color: var(--ink); line-height: 1.3; }
.rs-rows .tba { font-size: .78rem; }
.results-note { max-width: none; margin-top: 1.2rem; }
.rs-journeys .sub-heading { margin-top: 2.2rem; }

.rs-reading { padding-block: clamp(2rem, 4vw, 3rem); }
.rs-reading-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rs-reading h2 { margin-bottom: .6rem; }
.rs-reading p { font-size: .95rem; }
.rs-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rs-notes article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; box-shadow: var(--shadow); }
.rs-nico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #f2ece1; color: var(--teal-deep); margin-bottom: .8rem; }
.rs-notes h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.rs-notes p { margin: 0; font-size: .9rem; line-height: 1.55; }

@media (max-width: 980px) {
  .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-reading-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .rs-hero-grid { grid-template-columns: 1fr; } .rs-notes { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } }
/* =====================================================================
   Services page redesign (sv-*)
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hero */
.sv-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f6f2ea 0%, #fbfaf7 70%); border-bottom: 1px solid var(--line); }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 5vw, 3.6rem); }
.sv-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 16ch; margin-bottom: .7rem; }
.sv-hero .lead { max-width: 40ch; margin: 0 0 1.5rem; }
.sv-hero .btn-row { margin-top: 0; }
.sv-hero-photo { aspect-ratio: 4 / 3.3; border-radius: 28px 28px 28px 120px; box-shadow: var(--shadow); }
.sv-hero-photo img { object-position: 50% 25%; }
.sv-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.6rem 0 0; padding: 0; }
.sv-trust li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 500; color: var(--ink); }
.sv-trust svg { color: var(--teal-deep); flex: none; width: 20px; height: 20px; }

/* Categories */
.sv-cats h2, .sv-process h2 { margin-bottom: .3rem; }
.sv-cats .section-sub { margin-bottom: 1.6rem; }
.sv-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.sv-cat { position: relative; aspect-ratio: 4 / 3.3; border-radius: 18px; overflow: hidden; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.sv-cat::after { content: ""; position: absolute; inset: 25% 0 0; z-index: 0; background: linear-gradient(180deg, transparent, rgba(21,30,19,.88)); }
.sv-cat img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.sv-cat:hover img, .sv-cat:focus-visible img { transform: scale(1.05); }
.sv-cat-body { position: absolute; z-index: 1; left: 0; right: 3.6rem; bottom: 0; padding: 1.1rem 0 1.1rem 1.2rem; color: #fff; }
.sv-cat-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .55rem; border-radius: 50%; background: #fff; color: var(--teal-deep); }
.sv-cat-body b { display: block; font: 700 1.3rem/1.2 var(--font-display); margin-bottom: .25rem; }
.sv-cat-body small { display: block; font-size: .86rem; line-height: 1.4; opacity: .95; }
.sv-go { position: absolute; z-index: 1; right: 1rem; bottom: 1.1rem; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 50%; color: #fff; transition: background .2s, color .2s; }
.sv-cat:hover .sv-go { background: #fff; color: var(--teal-deep); }
.sv-sub-label { margin: 2.2rem 0 .9rem; font: 700 1.05rem var(--font-display); color: var(--ink); }
.sv-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.sv-mini { position: relative; display: flex; align-items: center; gap: .9rem; padding: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.sv-mini:hover { border-color: #c5c8b7; box-shadow: var(--shadow); }
.sv-mini img { flex: none; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.sv-mini span { color: var(--ink); font: 700 1rem/1.25 var(--font-display); }
.sv-mini small { display: block; margin-top: .2rem; font: 500 .84rem var(--font-body); color: var(--teal-deep); }

/* Explore (search + tabs + lists) */
.sv-explore-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.sv-explore-head h2 { margin-bottom: .3rem; }
.sv-explore-head .section-sub { margin: 0; }
.sv-search { position: relative; flex: 0 1 340px; width: 100%; }
.sv-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8f9474; pointer-events: none; }
.sv-search input { width: 100%; min-height: 50px; padding: .8rem 1rem .8rem 2.8rem; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid #cacdbd; border-radius: 999px; }
.sv-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(107,112,80,.22); }
.sv-explore .tabs { gap: .6rem; border-bottom: 0; margin-bottom: 1.1rem; }
.sv-explore .tabs button { min-height: 42px; padding: .5rem 1.4rem; border: 0; border-radius: 999px; background: #f2ede2; color: var(--ink); font-size: .95rem; margin: 0; }
.sv-explore .tabs button:hover { background: #ebe2d1; color: var(--ink); }
.sv-explore .tabs button[aria-selected="true"] { background: var(--teal-btn); color: #fff; }
.sv-explore .tab-intro { margin: 0 0 .2rem; color: var(--ink-soft); }
.sv-explore .svc-group { border-radius: 16px; }
.sv-explore .tab-cta { background: #fff; }
.sv-explore.is-searching .tabs, .sv-explore.is-searching .tab-intro, .sv-explore.is-searching .tab-cta { display: none; }
.sv-explore.is-searching .svc-groups { margin-top: 0; margin-bottom: 1.15rem; }
.sv-explore .svc-group[hidden], .sv-explore .tab-panel.sv-empty { display: none !important; }
.sv-noresult { margin: 1rem 0 0; padding: 1rem 1.2rem; background: #fff; border: 1px dashed #bbbeab; border-radius: 14px; }

/* Doctor */
.sv-doctor-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.sv-doctor-photo { aspect-ratio: 4 / 3.4; border-radius: 22px; box-shadow: var(--shadow); }
.sv-doctor h2 { margin-bottom: .2rem; }
.sv-role { margin: 0 0 .5rem; color: var(--teal-deep); font-weight: 600; }
.sv-cred { margin: 0 0 .8rem; font-size: .95rem; }
.sv-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin: 1.2rem 0 1.4rem; padding: 0; }
.sv-badges li { display: flex; align-items: center; gap: .65rem; }
.sv-badges svg { flex: none; width: 36px; height: 36px; padding: 7px; border: 1px solid #c5c8b7; border-radius: 50%; color: var(--teal-deep); background: #f9f7f2; }
.sv-badges span { font-size: .84rem; line-height: 1.3; }
.sv-badges b { display: block; color: var(--ink); font-size: .95rem; }

/* Process */
.sv-process { padding-top: 0; }
.sv-process .steps { margin-top: 1.2rem; }

/* Have questions */
.sv-help { padding-bottom: var(--section-y); }
.sv-help-box { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.4rem, 3.5vw, 2.4rem); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, #f6f2ea, #fbfaf7); }
.sv-help h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .4rem; }
.sv-help p { margin: 0 0 1.1rem; max-width: 52ch; }
.sv-help .btn-row { margin-top: 0; }
.sv-help-links { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--line); }
.sv-help-links li { border-bottom: 1px solid #eee7d9; }
.sv-help-links li:last-child { border-bottom: 0; }
.sv-help-links a { display: block; padding: .6rem 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.sv-help-links a:hover { color: var(--teal-deep); }

@media (max-width: 980px) {
  .sv-hero-grid, .sv-doctor-grid, .sv-help-box { grid-template-columns: 1fr; }
  .sv-hero-photo { order: 2; max-width: 520px; border-radius: 24px; }
  .sv-doctor-photo { max-width: 460px; }
  .sv-cat-grid { grid-template-columns: 1fr; }
  .sv-cat { aspect-ratio: 16 / 9; }
  .sv-mini-grid { grid-template-columns: 1fr; gap: .8rem; }
  .sv-explore-head { flex-direction: column; align-items: stretch; }
  .sv-search { flex-basis: auto; }
  .sv-help-links { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .sv-hero h1 { font-size: 1.7rem; }
  .sv-hero .btn-row .btn { flex: 1 1 100%; }
  .sv-cat { aspect-ratio: 16 / 10; }
  .sv-badges { gap: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .sv-cat img { transition: none; } }

/* ---- Services: banner photo + help-section photo ---- */
.sv-hero-grid { position: relative; z-index: 1; }
.sv-hero-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 58%; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.sv-hero-photo img { object-position: 78% 35%; }
.sv-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: clamp(380px, 38vw, 520px); }
.sv-hero-copy { position: relative; z-index: 2; }

.sv-help-box { position: relative; overflow: hidden; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .9fr); }
.sv-help-copy, .sv-help-links { position: relative; z-index: 1; }
.sv-help-photo { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 46%; border-radius: 0; background: transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
.sv-help-photo img { object-position: 60% 40%; }

@media (max-width: 980px) {
  .sv-hero-grid { min-height: 0; }
  .sv-hero-photo { position: relative; order: 2; width: 100%; max-width: none; height: 260px; margin-inline: 0; border-radius: 20px; -webkit-mask-image: none; mask-image: none; }
  .sv-hero-grid { padding-bottom: 0; }
  .sv-help-box { grid-template-columns: 1fr; padding-bottom: 0; }
  .sv-help-photo { position: relative; order: 3; width: auto; height: 200px; margin: .5rem calc(-1 * clamp(1.4rem, 3.5vw, 2.4rem)) 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }
}
.sv-hero-grid { position: static; }
.sv-hero h1 { max-width: 18ch; }
@media (max-width: 980px) { .sv-hero-grid { position: relative; } }
@media (max-width: 980px) { .sv-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sv-hero-photo { height: 230px; } }

/* ---- Services: full banner image on desktop ---- */
.sv-banner { display: none; }
.sv-help-links a { display: flex; align-items: center; gap: .7rem; }
.sv-help-links a svg { flex: none; color: var(--teal-deep); }
@media (min-width: 981px) {
  .sv-hero { background: #f6f0e6; }
  .sv-banner { position: relative; display: block; line-height: 0; }
  .sv-banner img { display: block; width: 100%; height: auto; }
  /* live heading, text and buttons sit over the empty left side of the photo banner */
  .sv-hero-grid { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); align-items: center; min-height: 0; padding-block: 0; margin-inline: auto; }
  .sv-hero-grid .sv-hero-copy { max-width: 36rem; }
  .sv-hero-photo { display: none; }
  .sv-hero h1 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); max-width: 14ch; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .sv-hero-grid .sv-trust { display: none; }
}

/* ---- Services: tighter, even vertical spacing ---- */
.sv-cats, .sv-explore, .sv-doctor { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.sv-process { padding-top: 0; padding-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sv-help { padding-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sv-cats .section-sub, .sv-explore-head .section-sub { margin-bottom: 0; }
.sv-cats h2 + .section-sub { margin-bottom: 1.4rem; }
.sv-sub-label { margin: 1.8rem 0 .9rem; }
.sv-process .section-sub { margin-bottom: .4rem; }
.sv-explore .tab-cta { margin-top: 1.2rem; }
@media (max-width: 980px) {
  .sv-hero-grid { padding-bottom: 1.6rem; padding-top: 1.4rem; }
  .sv-cat-grid { gap: 1rem; }
}
@media (max-width: 640px) {
  .sv-cats, .sv-explore, .sv-doctor { padding-block: 2.2rem; }
  .sv-process { padding-bottom: 2.2rem; }
  .sv-help { padding-bottom: 2.2rem; }
  .sv-doctor-grid { gap: 1.2rem; }
}

/* ---------- Home: top bar link, call button, doctor card, rating badge, FAQ ---------- */
.topbar a { white-space: nowrap; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.btn-call { display: inline-flex; align-items: center; gap: .5rem; }
.btn-call svg { flex: none; }

.call-float { position: fixed; right: 1.2rem; bottom: calc(1.2rem + 58px + .7rem); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: opacity .2s, transform .2s, background .2s; }
.call-float:hover { background: #1b2619; color: #fff; }
.call-float.is-tucked { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 820px) {
  .call-float { display: grid; width: 54px; height: 54px; right: .9rem; bottom: calc(.9rem + 54px + .6rem); }
}

.hd-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hd-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hd-photo img { object-position: 50% 22%; }
.hd h2 { margin-bottom: .3rem; }
.hd-role { color: var(--teal-deep); font-weight: 600; margin: 0 0 1rem; }
.hd p { max-width: 62ch; }
.hd-creds { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.hd-creds li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: .98rem; }
.hd-creds li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #efe8d9; }
@media (max-width: 760px) {
  .hd-grid { grid-template-columns: 1fr; }
  .hd-photo { max-width: 320px; aspect-ratio: 1 / 1; }
}

.g-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; margin: 0 0 1.4rem; font-size: .98rem; color: var(--ink); }
.g-rating[hidden] { display: none; }
.g-rating .g-stars { color: #f5a623; letter-spacing: 2px; }
.g-rating strong { font-size: 1.1rem; }
.g-rating a { font-weight: 600; }

.faq-list { max-width: 820px; margin-top: 1.6rem; display: grid; gap: .8rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; color: var(--ink); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-deep); line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-list .faq-a { padding: 0 1.2rem 1.1rem; }
.faq-list .faq-a p { margin: 0 0 .6rem; }
.faq-list .faq-a p:last-child { margin-bottom: 0; }


/* ---------- Reviews slider (compact cards) ---------- */
.quote-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: .2rem .1rem .6rem; margin-top: 1rem; }
.quote-grid::-webkit-scrollbar { display: none; }
.quote-grid blockquote { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; padding: 1rem 1.1rem; border-left-width: 4px; display: flex; flex-direction: column; }
.quote-grid .q-stars { font-size: 1rem; margin-bottom: .25rem; }
.quote-grid .q-title { font-size: .98rem; margin: 0 0 .35rem; line-height: 1.3; }
.quote-grid .q-text { font-size: .92rem; line-height: 1.5; margin: 0 0 .6rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.quote-grid blockquote.is-open .q-text { -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
.quote-grid .q-more { align-self: flex-start; background: none; border: 0; padding: 0; margin: 0 0 .6rem; color: var(--teal-deep); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.quote-grid cite { margin-top: auto; font-size: .88rem; }
.q-controls { justify-content: center; margin-top: .6rem; }
.q-controls[hidden] { display: none; }
@media (max-width: 960px) { .quote-grid blockquote { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 600px) { .quote-grid blockquote { flex-basis: 88%; } }

/* ---------- FAQ centred ---------- */
#faq .section-eyebrow, #faq h2 { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
#faq .faq-list { margin-inline: auto; }
#faq .btn-row { justify-content: center; }

/* ---------- Home slide 1: banner with photo ---------- */
.slide-banner .banner-eyebrow { margin: 0; color: var(--teal-deep); font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
.slide-banner h1 { max-width: 18ch; margin-top: .6rem; }
.slide-banner h1 span { color: var(--teal); }
.banner-feats { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: .6rem 1.2rem; }
.banner-feats li { display: grid; justify-items: start; gap: .45rem; padding-right: 1.2rem; border-right: 1px solid var(--line); font-size: .88rem; line-height: 1.3; color: var(--ink); }
.banner-feats li:last-child { border-right: 0; padding-right: 0; }
.bf-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ede5d5; }
.bf-ico img { width: 24px; height: 24px; }
.banner-photo { align-self: stretch; display: flex; }
.banner-photo picture { display: block; width: 100%; }
.banner-photo img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; object-position: 55% 40%; border-radius: 0 20px 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
@media (max-width: 980px) {
  .banner-photo img { max-height: 340px; border-radius: 0 0 20px 20px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
  .banner-feats { grid-template-columns: repeat(2, auto); }
  .banner-feats li:nth-child(2) { border-right: 0; }
}

/* ===== DPIIT recognition strip (under hero banner) ===== */
.dpiit-strip { margin: 1.6rem 0 0; display: grid; grid-template-columns: 150px 1.5fr 1fr; align-items: center; gap: 0; background: linear-gradient(135deg, #faf8f3 0%, #f3eee4 100%); border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem 1.6rem; box-shadow: 0 8px 24px rgba(107,112,80,.08); }
.dpiit-logo { padding-right: 1.4rem; }
.dpiit-logo .ip { max-width: 120px; margin-inline: auto; border-radius: 14px; background: transparent; }
.dpiit-logo .ip.is-loaded { background: transparent; }
.dpiit-main { padding: 0 1.6rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.dpiit-eyebrow { margin: 0 0 .25rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.dpiit-title { margin: 0 0 .4rem; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; color: var(--teal-deep); }
.dpiit-text { margin: 0; font-size: .95rem; line-height: 1.5; color: #566049; }
.dpiit-points { list-style: none; margin: 0; padding: 0 0 0 1.6rem; display: grid; gap: .7rem; }
.dpiit-points li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; color: var(--ink); }
.dp-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #eee6d6; display: grid; place-items: center; }
@media (max-width: 980px) {
  .dpiit-strip { grid-template-columns: 1fr; gap: 1rem; padding: 1.2rem; }
  .dpiit-logo { padding: 0; }
  .dpiit-main { padding: 1rem 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
  .dpiit-points { padding: 0; justify-items: start; width: max-content; max-width: 100%; margin-inline: auto; }
}

/* ===== Why patients choose / Explore Dermis (card rows) ===== */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr); gap: 2.2rem; align-items: center; }
.why-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; margin: .3rem 0 1rem; }
.why-intro .section-sub { margin: 0; font-size: 1rem; line-height: 1.7; }
.why-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.why-card, .topic-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.1rem 1.1rem; box-shadow: 0 8px 22px rgba(107,112,80,.07); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.why-card:hover, .topic-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(107,112,80,.13); }
.why-ico { width: 64px; height: 64px; border-radius: 50%; background: #f1ebdf; display: grid; place-items: center; margin-bottom: .9rem; }
.why-ico img, .why-ico svg { width: 34px; height: 34px; }
.why-num { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--teal); margin-bottom: .3rem; }
.why-card h3 { font-size: 1.1rem; line-height: 1.25; margin: 0 0 .45rem; color: var(--ink); }
.why-card p { font-size: .88rem; line-height: 1.5; margin: 0 0 .9rem; color: var(--ink-soft); }
.why-more { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.why-more:hover { text-decoration: underline; }
.topic-card { border-bottom: 4px solid var(--teal); padding-bottom: 1rem; }
.topic-card strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: .45rem; }
.topic-row { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; }
.topic-desc { font-size: .84rem; line-height: 1.45; color: var(--ink-soft); }
.topic-go { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #f1ebdf; color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; }
.why-all { grid-column: 1 / -1; margin-top: .4rem; }
@media (max-width: 1100px) { .why-grid { grid-template-columns: 1fr; gap: 1.4rem; } .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-cards { grid-template-columns: 1fr; } }


/* ---- Results: real before / after photos ---- */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem; box-shadow: var(--shadow); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ba-fig { position: relative; margin: 0; }
.ba-img { width: 100%; aspect-ratio: 4 / 5; border-radius: 8px; cursor: zoom-in; }
.ba-tag { position: absolute; left: .55rem; top: .55rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-fig:last-child .ba-tag { background: var(--teal-btn); color: #fff; }
.ba-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .6rem); justify-self: center; }
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } .ba-card:last-child:nth-child(odd) { width: auto; } }

/* doctor hero: show the full portrait (face to hands), no cropping */
.dr-hero-photo { margin-right: 0; display: flex; justify-content: flex-end; padding-right: clamp(0rem, 4vw, 4rem); padding-top: 2rem; }
.dr-hero-photo img { width: auto; height: clamp(380px, 35vw, 500px); max-height: none; max-width: 100%; object-fit: cover; object-position: 50% 0; -webkit-mask-image: none; mask-image: none; border-radius: 18px 18px 0 0; }
@media (max-width: 980px) { .dr-hero-photo { margin-inline: 0; justify-content: center; padding-right: 0; padding-top: 1rem; } .dr-hero-photo img { height: 380px; width: auto; max-width: 92%; } }
/* Centre doctor photos on tablet / mobile (single-column layouts) */
@media (max-width: 960px) {
  .dr-about-photo, .sv-doctor-photo { width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .hd-photo { width: 100%; margin-inline: auto; }
}

/* Team section (doctor page) */
.team-lead { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: baseline; margin: .6rem 0 0; }
.team-lead strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.team-lead span { color: var(--ink-soft); }
.team-sub { margin: 2rem 0 0; font-size: 1.1rem; letter-spacing: .02em; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.1rem; }
.team-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; display: block; }
.team-body { padding: 1.1rem 1.25rem 1.3rem; }
.team-body h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.team-role { margin: 0 0 .5rem; font-weight: 600; color: var(--teal-deep); }
.team-meta { margin: .15rem 0; font-size: .92rem; color: var(--ink-soft); }
.team-reg { margin: .55rem 0 0; font-size: .82rem; letter-spacing: .02em; color: var(--ink-soft); }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } .team-card { max-width: 380px; width: 100%; margin-inline: auto; } }

/* Video consultation hidden until a booking link is set in config.js */
.video-consult[hidden], details[data-video-only][hidden] { display: none !important; }

/* ---------- Review fixes (Oct 2026) ---------- */
.site-nav .btn, .site-nav .btn:hover { color: #fff; }
.dpiit-sub { margin: -.15rem 0 .5rem; font-weight: 600; color: var(--teal-deep); }
.reg-no { margin: -.5rem 0 1rem; font-size: .98rem; font-weight: 600; color: var(--teal-deep); }
.dr-cred-box span + span { display: block; margin-top: .2rem; }
.dr-room { max-width: 640px; margin-inline: auto; }
.service-card::after { inset: 15% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(21,30,19,.9) 100%); }
.service-card span, .sv-cat-body { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.sv-cat::after { inset: 15% 0 0; background: linear-gradient(180deg, transparent, rgba(21,30,19,.94)); }
.directors-msg { max-width: 760px; margin-top: 1.4rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.directors-msg h3 { margin-bottom: .8rem; }
.directors-msg ol { margin: 0 0 1rem 1.2rem; padding: 0; }
.directors-msg li { margin-bottom: .4rem; }
.directors-sign { margin-top: 1.2rem; }

.directors-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; margin-top: 1.4rem; }
.directors-grid .directors-msg { max-width: none; margin-top: 0; }
.directors-photo { margin: 0; }
.directors-photo img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.directors-photo figcaption { margin-top: .8rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.directors-photo figcaption span { display: block; font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 820px) { .directors-grid { grid-template-columns: 1fr; } }

.about-ba .ba-img { aspect-ratio: 1 / 1; cursor: default; }
.about-ba .ba-img img { width: 100%; height: 100%; object-fit: cover; }
.about-ba .ba-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
.about-ba .btn-row { margin-top: 1.6rem; }

.hub-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: .5rem; aspect-ratio: 3 / 2; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.hc-cell { position: relative; overflow: hidden; border-radius: 12px; background: var(--mist); }
.hc-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hc-tag { position: absolute; left: .45rem; top: .45rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hc-after .hc-tag { background: var(--teal-btn); color: #fff; }
@media (max-width: 980px) { .hub-collage { order: -1; aspect-ratio: 3 / 2; max-width: 560px; } }