/* ==========================================================================
   TATVARA Dermatology — stylesheet
   --------------------------------------------------------------------------
   Structure
     1.  Design tokens          7.  Sections — journey, results, why, reviews
     2.  Reset & base           8.  FAQ
     3.  Layout primitives      9.  Consultation form
     4.  Typography            10.  Visit & closing
     5.  Buttons & controls    11.  Footer
     6.  Header & hero         12.  Floating & sticky actions, motion

   Shape language is deliberately restrained: small corner radii, thin
   borders, minimal shadow — clinical rather than soft. Pills are reserved
   for tags/chips only; buttons stay rectangular.
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  color-scheme: light;

  /* Brand — clay / terracotta */
  --brand: #8c4a35;
  --brand-dark: #6e3a29;
  --brand-deep: #4a2519;
  --brand-deepest: #34190f;
  --brand-light: #b97a5c;
  --brand-pale: #ecdccf;
  --brand-wash: #f5ece3;

  /* Secondary — muted sage (botanical / skin-health accent, used sparingly) */
  --accent: #55704f;
  --accent-dark: #3f5439;
  --accent-soft: #e4e9df;

  /* Neutrals — warm clinical paper */
  --bg: #faf8f5;
  --bg-alt: #f2ece4;
  --surface: #ffffff;
  --surface-sunk: #f5f1ea;
  --ink: #241f1c;
  --ink-soft: #5c544c;
  --ink-mute: #857b70;
  --line: #e5ddd1;
  --line-soft: #eee8de;

  --on-dark: #f8f3ec;
  --on-dark-soft: #cdb9ac;
  --on-dark-line: rgb(255 255 255 / 0.14);

  --danger: #a3312a;

  --shadow-xs: 0 1px 2px rgb(36 31 28 / 0.05);
  --shadow-sm: 0 2px 5px rgb(36 31 28 / 0.05), 0 6px 16px rgb(36 31 28 / 0.05);
  --shadow-md: 0 4px 10px rgb(36 31 28 / 0.05), 0 16px 34px rgb(36 31 28 / 0.08);
  --shadow-lg: 0 8px 20px rgb(36 31 28 / 0.07), 0 30px 64px rgb(36 31 28 / 0.11);

  /* Restrained radii — this is the biggest shape difference from a "soft" template */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  --font-display: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step-h1: clamp(2.3rem, 1.5rem + 3.1vw, 3.75rem);
  --step-h2: clamp(1.85rem, 1.4rem + 1.9vw, 2.75rem);
  --step-h3: clamp(1.15rem, 1.05rem + 0.35vw, 1.32rem);
  --step-lead: clamp(1.03rem, 0.98rem + 0.28vw, 1.16rem);
  --step-body: 1.0125rem;
  --step-sm: 0.92rem;
  --step-xs: 0.815rem;

  --section-y: clamp(4.25rem, 3.1rem + 4.8vw, 7.25rem);
  --shell: 1180px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Fine grain texture for dark bands — a single low-opacity turbulence
     tile, reused rather than flat colour so those sections read as a
     material rather than a solid fill. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
dl, dd { margin: 0; }
:where(input, select, textarea) { font: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.anchor { display: block; height: 0; }

.skip-link {
  position: fixed;
  top: -120px; left: 16px;
  z-index: 300;
  background: var(--brand);
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.shell {
  width: min(var(--shell), 100% - 2.75rem);
  margin-inline: auto;
}
@media (max-width: 560px) {
  .shell { width: min(var(--shell), 100% - 2.25rem); }
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }

.section__head {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 1.8rem + 2.8vw, 3.75rem);
  text-align: center;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-size: 0.745rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.05rem;
}
.eyebrow__rule { width: 24px; height: 1.5px; background: currentColor; opacity: 0.55; flex-shrink: 0; }
.eyebrow--invert { color: var(--brand-light); }
.section__head .eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-h2);
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.section__sub {
  margin-top: 1.05rem;
  color: var(--ink-soft);
  font-size: var(--step-lead);
  line-height: 1.6;
  text-wrap: pretty;
}

.lead {
  margin-top: 1.4rem;
  font-size: var(--step-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36em;
  text-wrap: pretty;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--step-sm);
  color: var(--brand);
  margin-top: 1.3rem;
}
.link-arrow svg { transition: transform 0.28s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   5. Buttons & controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  padding: 0.82em 1.5em;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.28s var(--ease),
              background-color 0.22s var(--ease-soft), color 0.22s var(--ease-soft),
              border-color 0.22s var(--ease-soft);
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(0) scale(0.985); }
.btn--lg { padding: 0.95em 1.85em; font-size: 0.98rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 28%, transparent);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 34%, transparent);
}

.btn--outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--quiet { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn--quiet:hover { color: var(--brand); border-color: var(--brand); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface-sunk); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--white { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 18px rgb(0 0 0 / 0.16); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(0 0 0 / 0.22); }

.btn--ghost-light {
  border-color: rgb(255 255 255 / 0.36);
  color: var(--on-dark);
  background: rgb(255 255 255 / 0.06);
}
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.55); transform: translateY(-2px); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  transition: color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), transform 0.2s var(--ease);
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn:active { transform: scale(0.94); }

/* ==========================================================================
   6. Header & hero
   ========================================================================== */

/* ---------- Utility bar ---------- */
.utility {
  background: var(--brand-deepest);
  color: var(--on-dark-soft);
  font-size: var(--step-xs);
  font-weight: 500;
}
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; padding-block: 0.4rem; }
.utility__status { display: inline-flex; align-items: center; gap: 0.55em; }
.utility__links { display: flex; align-items: center; gap: 1.3rem; }
.utility__link { display: inline-flex; align-items: center; gap: 0.45em; transition: color 0.2s var(--ease-soft); }
.utility__link:hover { color: #fff; }
.utility__link--phone { color: #fff; font-weight: 600; }

.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7fae6f; box-shadow: 0 0 0 3px rgb(127 174 111 / 0.2); flex-shrink: 0; }
.status-dot--closed { background: #c98a4b; box-shadow: 0 0 0 3px rgb(201 138 75 / 0.2); }

@media (max-width: 760px) {
  .utility__inner { justify-content: center; min-height: 44px; }
  .utility__status { display: none; }
  .utility__link { padding-block: 0.45rem; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgb(36 31 28 / 0.05); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--brand);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.brand:hover .brand__mark { background: var(--brand); color: #fff; }

.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand__descriptor {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.nav__list { display: flex; align-items: center; gap: 0.1rem; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.55em 0.8em;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease-soft);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.8em; right: 0.8em;
  bottom: 0.32em;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.65rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 11px;
}
.hamburger span { height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease-soft); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Wider than the hero/doctor/etc content breakpoints below: this one has to
   fit six nav links plus a CTA button on one line, so it collapses to the
   hamburger menu earlier — otherwise ~1024px viewports (common laptop/
   tablet-landscape width) wrap the nav text messily instead of stacking. */
@media (max-width: 1140px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: calc(100vh - var(--nav-offset, 114px));
    max-height: calc(100dvh - var(--nav-offset, 114px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 1.4rem 1.6rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s var(--ease), opacity 0.24s var(--ease-soft), visibility 0.24s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { font-size: 1.02rem; padding: 0.85em 0.4em; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { display: grid; gap: 0.6rem; margin-top: 1.3rem; }
  .header__cta { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 4.2vw, 5.25rem) clamp(3.5rem, 2.5rem + 5vw, 6rem); overflow: clip; }

.hero__wash {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 125%;
  background:
    radial-gradient(55% 50% at 82% 6%, color-mix(in srgb, var(--brand-light) 20%, transparent), transparent 70%),
    radial-gradient(40% 38% at 4% 88%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-h1);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--brand); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.1rem; }

.hero__concerns {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__concerns-label { display: block; font-size: var(--step-xs); font-weight: 600; color: var(--ink-mute); margin-bottom: 0.7rem; }
.hero__concerns-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero__concerns-chips a {
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.42em 0.95em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.hero__concerns-chips a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }

.hero__media { position: relative; }
.hero__frame { overflow: hidden; background: var(--bg-alt); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
@media (hover: hover) {
  .hero__frame--main:hover img { transform: scale(1.035); }
}

.hero__frame--main {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 10 / 9;
}
.hero__frame--inset {
  position: absolute;
  right: -6%;
  bottom: -9%;
  width: min(12.5rem, 40%);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 5px solid var(--bg);
  box-shadow: var(--shadow-md);
}

.hero__credential-card {
  position: absolute;
  left: -6%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.1rem;
  max-width: 15.5rem;
}
.hero__credential-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--brand-wash); color: var(--brand); flex-shrink: 0; }
.hero__credential-card strong { display: block; font-size: 0.83rem; line-height: 1.3; }
.hero__credential-card p { font-size: 0.77rem; color: var(--ink-soft); line-height: 1.3; margin-top: 0.1rem; }

@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero__copy { max-width: 36rem; }
  .hero__media { max-width: 30rem; width: 100%; margin-inline: auto; }
  .hero__frame--main { aspect-ratio: 5 / 4; }
  .hero__frame--inset { right: 0; bottom: -1.5rem; }
  .hero__credential-card { left: 0; bottom: auto; top: 6%; }
}
@media (max-width: 620px) {
  .hero__frame--main { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); }
  .hero__frame--inset { display: none; }
  .hero__credential-card { position: static; margin-top: 1rem; max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Credibility strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface-sunk); padding-block: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 0.7rem + 1.8vw, 2.25rem); }
.strip__item { text-align: center; }
.strip__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  color: var(--brand);
  letter-spacing: -0.01em;
}
.strip__label { display: block; margin-top: 0.35rem; font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); line-height: 1.4; }

@media (max-width: 720px) { .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; } }

/* ==========================================================================
   7. Sections — doctor, treatments, featured, concerns, journey, results, why, reviews
   ========================================================================== */

/* ---------- Doctor ---------- */
.doctor {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}
@media (max-width: 940px) { .doctor { grid-template-columns: 1fr; } }

.doctor__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--bg-alt); }
.doctor__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
@media (hover: hover) { .doctor__media:hover img { transform: scale(1.035); } }
.doctor__media-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgb(36 31 28 / 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5em 0.9em;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
@media (max-width: 940px) { .doctor__media { aspect-ratio: 4 / 3.4; max-width: 26rem; margin-inline: auto; } }

.doctor__role { margin-top: 0.5rem; font-size: 0.92rem; font-weight: 600; color: var(--brand); }
.doctor__bio { margin-top: 1.3rem; color: var(--ink-soft); font-size: var(--step-sm); line-height: 1.68; max-width: 46em; }

.doctor__credentials { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.doctor__credentials li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.doctor__credentials svg { color: var(--brand); flex-shrink: 0; margin-top: 0.18em; }

.doctor__quote {
  margin-top: 1.6rem;
  padding: 1.1rem 1.3rem;
  border-left: 2.5px solid var(--brand);
  background: var(--brand-wash);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

.doctor__content .btn { margin-top: 1.7rem; }

/* ---------- Treatments filter + grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; }
.filter-pill {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  transition: border-color 0.22s var(--ease-soft), color 0.22s var(--ease-soft), background-color 0.22s var(--ease-soft);
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand); }
.filter-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.filter-count { text-align: center; margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: var(--step-xs); font-weight: 600; color: var(--ink-mute); letter-spacing: 0.02em; }

.treatments-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; transition: opacity 0.22s var(--ease-soft), transform 0.22s var(--ease-soft); }
.treatments-grid.is-switching { opacity: 0.4; transform: translateY(5px); }
@media (max-width: 900px) { .treatments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .treatments-grid { grid-template-columns: 1fr; } }

.treatment-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.45rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease-soft),
              opacity 0.25s var(--ease-soft);
}
.treatment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.treatment-card.is-hidden { display: none; }

.treatment-card h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -0.006em; margin-bottom: 0.55rem; }
.treatment-card p { font-size: 0.89rem; color: var(--ink-soft); line-height: 1.58; flex-grow: 1; }
.treatment-card__meta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.treatment-card__meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3em 0.7em;
  border-radius: var(--r-pill);
  background: var(--surface-sunk);
  color: var(--ink-mute);
}

.treatment-card--featured { border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); background: linear-gradient(170deg, var(--brand-wash), var(--surface) 65%); }
.treatment-card__link { margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; font-size: 0.85rem; color: var(--brand); width: fit-content; }
.treatment-card__link span { transition: transform 0.25s var(--ease); display: inline-block; }
.treatment-card__link:hover span { transform: translateX(3px); }

.filter-empty { text-align: center; margin-top: 2.5rem; color: var(--ink-mute); font-size: var(--step-sm); }

/* ---------- Featured treatment ---------- */
.featured {
  background-image: var(--grain), linear-gradient(160deg, var(--brand-deepest), var(--brand-deep) 65%, var(--brand-dark) 140%);
  background-size: 140px 140px, auto;
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.75rem);
}
.featured__inner { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(2.25rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .featured__inner { grid-template-columns: 1fr; } }

.featured__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); aspect-ratio: 4 / 5; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
@media (hover: hover) { .featured__media:hover img { transform: scale(1.035); } }
@media (max-width: 940px) { .featured__media { aspect-ratio: 16 / 10; max-width: 30rem; margin-inline: auto; } }

.featured__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.14; letter-spacing: -0.016em; color: #fff; text-wrap: balance; }
.featured__lead { margin-top: 1.05rem; color: var(--on-dark-soft); font-size: var(--step-sm); line-height: 1.65; max-width: 36em; }

.featured__benefits { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.featured__benefits strong { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-light); margin-bottom: 0.4rem; }
.featured__benefits p { font-size: 0.84rem; color: var(--on-dark-soft); line-height: 1.5; }
@media (max-width: 620px) { .featured__benefits { grid-template-columns: 1fr; } }

.featured__process { margin-top: 1.9rem; display: grid; gap: 0.8rem; }
.featured__process li { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.88rem; color: var(--on-dark-soft); line-height: 1.5; }
.featured__process span {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--on-dark-line);
  background: rgb(255 255 255 / 0.08);
  font-size: 0.75rem; font-weight: 600; color: var(--brand-light);
}
.featured__content .btn { margin-top: 1.9rem; }

/* ---------- Concern selector ---------- */
.concern-selector__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.concern-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.65em 1.15em;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.22s var(--ease-soft), color 0.22s var(--ease-soft), background-color 0.22s var(--ease-soft);
}
.concern-chip__icon { display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.concern-chip__icon svg { width: 17px; height: 17px; }
.concern-chip:hover { border-color: var(--brand); color: var(--brand); }
.concern-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.concern-chip.is-active .concern-chip__icon { color: #fff; }

.concern-detail { margin-top: 2rem; }
.concern-detail__panel {
  max-width: 44rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
  animation: panel-in 0.4s var(--ease);
}
.concern-detail__panel[hidden] { display: none; }
.concern-detail__panel h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.concern-detail__panel p { margin-top: 0.9rem; color: var(--ink-soft); font-size: var(--step-sm); line-height: 1.65; }
.concern-detail__tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.concern-detail__tags span { font-size: 0.78rem; font-weight: 600; padding: 0.4em 0.95em; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand); }

@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Journey ---------- */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.journey::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 10%; right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--line) 0%, var(--brand) 50%, var(--line) 100%);
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease) 0.2s;
}
.journey.is-visible::before { transform: scaleX(1); }
.journey__step { position: relative; text-align: left; }
.journey__num {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 1.9rem; height: 1.9rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
}
.journey__step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.journey__step p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.58; }

@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before {
    top: 0; bottom: 0; left: 0.95rem; right: auto; width: 1.5px; height: auto;
    background: linear-gradient(180deg, var(--line) 0%, var(--brand) 50%, var(--line) 100%);
    transform: scaleY(0); transform-origin: top center;
  }
  .journey.is-visible::before { transform: scaleY(1); }
  .journey__step { padding: 0 0 2rem 3.1rem; }
  .journey__step:last-child { padding-bottom: 0; }
  .journey__num { position: absolute; left: 0; top: 0; margin-bottom: 0; }
}

/* ---------- Results & expectations ---------- */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }

.outcome-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; }
.outcome-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 1rem; }
.outcome-card__icon svg { width: 21px; height: 21px; }
.outcome-card h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.45rem; letter-spacing: -0.005em; }
.outcome-card p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.58; }

.privacy-note {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 50rem;
  margin-inline: auto;
  padding: 1.4rem 1.6rem;
  background: var(--brand-wash);
  border: 1px solid var(--brand-pale);
  border-radius: var(--r-lg);
}
.privacy-note__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--brand); flex-shrink: 0; }
.privacy-note p { font-size: 0.89rem; color: var(--ink-soft); line-height: 1.62; }
.privacy-note strong { color: var(--ink); }

/* ---------- Why choose us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

.why__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.5rem; }
.why__item svg { width: 24px; height: 24px; color: var(--brand); margin-bottom: 1rem; }
.why__item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: -0.005em; }
.why__item p { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.58; }

/* ---------- Reviews ---------- */
.reviews { max-width: 48rem; margin-inline: auto; }
.reviews__viewport { overflow: hidden; }
.reviews__track { display: flex; transition: transform 0.55s var(--ease); }

.review { flex: 0 0 100%; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.8rem, 1.2rem + 2.2vw, 2.75rem); }
.review__quote { position: absolute; top: 0.5rem; right: 1.8rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--brand); opacity: 0.13; pointer-events: none; }
.review blockquote { font-family: var(--font-display); font-size: clamp(1.05rem, 0.98rem + 0.6vw, 1.32rem); font-weight: 400; font-style: italic; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.review figcaption { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 0.85rem; }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-wash); color: var(--brand); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; flex-shrink: 0; }
.review figcaption strong { display: block; font-size: 0.92rem; }
.review figcaption span { font-size: var(--step-xs); color: var(--ink-mute); font-weight: 500; }

.reviews__controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: 1.6rem; }
.reviews__dots { display: flex; gap: 0.1rem; }
.reviews__dot { position: relative; width: 24px; height: 44px; }
.reviews__dot::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 22%, transparent); transition: width 0.35s var(--ease), background-color 0.3s var(--ease-soft); }
.reviews__dot.is-active::before { width: 22px; background: var(--brand); }

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: start; }
@media (max-width: 940px) { .faq { grid-template-columns: 1fr; } }
@media (min-width: 941px) { .faq__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); } }

.faq__list { display: grid; gap: 0.65rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft); }
.faq-item:hover { border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 36%, var(--line)); box-shadow: var(--shadow-sm); }

.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 0.98rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item__chevron { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--brand-wash); color: var(--brand); transition: transform 0.35s var(--ease); }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__body { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); font-size: var(--step-sm); line-height: 1.66; }
.faq-item[open] .faq-item__body { animation: faq-open 0.35s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   9. Consultation form
   ========================================================================== */
.consult {
  background-image: var(--grain), linear-gradient(160deg, var(--brand-deepest), var(--brand-deep) 130%);
  background-size: 140px 140px, auto;
  color: var(--on-dark);
  padding-block: var(--section-y);
}
.consult__inner { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .consult__inner { grid-template-columns: 1fr; } }

.consult .section__title { color: #fff; }
.consult .section__title em { color: var(--brand-light); }
.consult .section__sub { color: var(--on-dark-soft); }

.consult__points { margin-top: 2rem; display: grid; gap: 0.95rem; }
.consult__points li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.88rem; color: var(--on-dark-soft); line-height: 1.55; }
.consult__points svg { color: var(--brand-light); flex-shrink: 0; margin-top: 0.15em; }

.consult__direct { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.consult__direct .btn--outline { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.28); color: #fff; }
.consult__direct .btn--outline:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.5); }

.consult__form-wrap { position: relative; }

.form {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 1rem + 2.2vw, 2.3rem);
  overflow: hidden;
}
.form__accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-light)); }
.form__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.form__intro { font-size: var(--step-xs); color: var(--ink-mute); margin-bottom: 1.4rem; margin-top: 0.35rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

.form__field { margin-bottom: 1rem; min-width: 0; }
.form__field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; }
.form__field label span { color: var(--danger); }

.form__field input, .form__field select, .form__field textarea {
  width: 100%; max-width: 100%;
  font-size: 0.94rem; color: var(--ink);
  background: var(--surface-sunk);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  padding: 0.7em 0.9em;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--ink-mute); opacity: 0.85; }
.form__field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857b70' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px;
  padding-right: 2.4rem;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none; background: var(--surface); border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}
.form__field textarea { resize: vertical; min-height: 80px; }
.form__field input[type="date"] { min-height: 2.85em; }

.form__error { display: none; color: var(--danger); font-size: 0.75rem; font-weight: 600; margin-top: 0.32rem; }
.form__field.has-error input, .form__field.has-error select { border-color: var(--danger); }
.form__field.has-error .form__error { display: block; }

.form__submit { width: 100%; margin-top: 0.5rem; }
.form__fineprint { margin-top: 0.9rem; font-size: var(--step-xs); color: var(--ink-mute); text-align: center; line-height: 1.55; }

.form.is-submitted > :not(.form__success):not(.form__accent) { display: none; }
.form__success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.6rem; padding: 1.3rem 0.5rem; animation: rise 0.45s var(--ease); }
.form__success[hidden] { display: none; }
.form__success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-wash); color: var(--brand); margin-bottom: 0.3rem; }
.form__success h4 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.form__success h4:focus { outline: none; }
.form__success p { color: var(--ink-soft); font-size: var(--step-sm); max-width: 34ch; line-height: 1.58; }
.form__success .btn { margin-top: 0.5rem; }
.form__success-fallback { font-size: var(--step-xs) !important; color: var(--ink-mute) !important; }
.form__success-fallback a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.form__success-fallback[hidden] { display: none; }

.form__demo-note { margin-top: 0.85rem; font-size: var(--step-xs); color: color-mix(in srgb, var(--on-dark-soft) 82%, transparent); text-align: center; line-height: 1.5; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   10. Visit & closing
   ========================================================================== */
.visit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.3rem; align-items: stretch; }
/* minmax(0, 1fr), not a bare 1fr — a bare track's implicit min-width is
   auto (min-content), so a long unbroken string like an email address can
   force the whole grid wider than the viewport instead of wrapping. */
@media (max-width: 940px) { .visit { grid-template-columns: minmax(0, 1fr); } }

.visit__map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); min-height: 25rem; background: var(--surface); }
.visit__map iframe { width: 100%; height: 100%; min-height: 25rem; border: 0; }

.visit__panels { display: grid; gap: 0.85rem; align-content: start; }
.info-card { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.info-card__icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--brand-wash); color: var(--brand); }
.info-card h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; }
.info-card p { font-size: var(--step-sm); color: var(--ink-soft); line-height: 1.58; overflow-wrap: anywhere; }
.info-card a { color: var(--brand); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }
.info-card__meta { margin-top: 0.6rem; font-size: var(--step-xs) !important; color: var(--ink-mute) !important; line-height: 1.5; }
.info-card .link-arrow { margin-top: 0.8rem; font-size: var(--step-xs); }
.info-card p a { display: inline-block; padding-block: 0.2rem; }

.hours { display: grid; gap: 0.3rem; font-size: var(--step-sm); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--ink-soft); }
.hours dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours > div.is-today dt, .hours > div.is-today dd { color: var(--brand); }
@media (max-width: 600px) { .hours { font-size: 0.85rem; } .hours > div { gap: 0.6rem; } }

/* ---------- Closing ---------- */
.closing { position: relative; isolation: isolate; padding-block: clamp(3.75rem, 2.8rem + 4.8vw, 6.5rem); overflow: hidden; color: var(--on-dark); background: var(--brand-deepest); }
.closing__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain), linear-gradient(115deg, color-mix(in srgb, var(--brand-deepest) 95%, transparent) 10%, color-mix(in srgb, var(--brand-deep) 85%, transparent) 55%, color-mix(in srgb, var(--brand-dark) 60%, transparent) 100%);
  background-size: 140px 140px, auto;
}
.closing__inner { max-width: 38rem; }
.closing h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.75rem); line-height: 1.14; letter-spacing: -0.018em; color: #fff; text-wrap: balance; }
.closing p { margin-top: 0.95rem; color: var(--on-dark-soft); font-size: var(--step-lead); line-height: 1.6; }
.closing__actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 520px) { .closing__actions .btn { flex: 1 1 100%; } }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.footer {
  background-color: var(--brand-deepest);
  background-image: var(--grain);
  background-size: 140px 140px;
  color: var(--on-dark-soft);
  padding-top: clamp(3rem, 2.4rem + 2.8vw, 4.25rem);
}
.footer__inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.25rem; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; gap: 2rem; } }

.brand--footer .brand__mark { border-color: var(--brand-light); color: var(--brand-light); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__descriptor { color: var(--on-dark-soft); opacity: 0.85; }

.footer__blurb { margin-top: 1.1rem; font-size: var(--step-sm); line-height: 1.58; max-width: 32ch; opacity: 0.9; }

.footer__social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--on-dark-line); color: var(--on-dark-soft); transition: background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft), transform 0.25s var(--ease); }
.footer__social a:hover { background: var(--brand-light); color: var(--brand-deepest); transform: translateY(-2px); }

.footer__col h3 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0.68; margin-bottom: 1rem; }
.footer__col a, .footer__col p { display: block; font-size: var(--step-sm); line-height: 1.55; padding-block: 0.32rem; transition: color 0.2s var(--ease-soft); }
.footer__col a:hover { color: var(--brand-light); }

.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-block: 1.4rem; border-top: 1px solid var(--on-dark-line); font-size: var(--step-xs); opacity: 0.75; }
.footer__credit-name { font-weight: 700; letter-spacing: 0.1em; color: var(--brand-light); }
a.footer__credit-name:hover { text-decoration: underline; }

/* ==========================================================================
   12. Floating & sticky actions, motion
   ========================================================================== */
.whatsapp-fab {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 110;
  display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 50%; background: #25d366; color: #06341c;
  box-shadow: 0 8px 24px rgb(37 211 102 / 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgb(37 211 102 / 0.42); }
.whatsapp-fab[hidden] { display: none; }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 115;
  display: none;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgb(36 31 28 / 0.07);
}
.action-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.5rem 0.3rem; border-radius: var(--r-sm); font-size: 0.72rem; font-weight: 600;
  color: var(--ink-soft); min-height: 48px; justify-content: center;
  transition: background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.action-bar__item:active { background: var(--brand-wash); }
.action-bar__item--primary { background: var(--brand); color: #fff; }
.action-bar__item[hidden] { display: none; }

@media (max-width: 760px) {
  .action-bar { display: flex; gap: 0.4rem; }
  .whatsapp-fab { display: none; }
  body { padding-bottom: 4.7rem; }
}

/* ---------- Small-screen refinements ---------- */
/* Wider than the layout breakpoints above (760/1020px) so touch-first
   tablets (iPad portrait is 768–834px) still get comfortable tap targets,
   not just phones. */
@media (max-width: 860px) {
  /* Comfortable touch targets for controls that are otherwise text-sized. */
  .utility__link { padding-block: 0.6rem; }
  .icon-btn, .hamburger { width: 44px; height: 44px; }
  .link-arrow { padding-block: 0.6rem; }
  .footer__col a { padding-block: 0.62rem; }
  .info-card p a { display: inline-block; padding-block: 0.5rem; }
  .hero__concerns-chips a { padding-block: 0.65em; }
  .treatment-card__link { padding-block: 0.6rem; margin-top: 0.3rem; }
  .brand { padding-block: 0.4rem; }
}

@media (max-width: 420px) {
  /* Keep the wordmark on one line beside the menu button. */
  .brand { gap: 0.55rem; }
  .brand__mark { width: 34px; height: 34px; font-size: 0.95rem; }
  .brand__name { font-size: 1.02rem; }
  .brand__descriptor { font-size: 0.52rem; letter-spacing: 0.07em; }
  .header__inner { gap: 0.6rem; }

  .eyebrow { font-size: 0.7rem; letter-spacing: 0.11em; gap: 0.55em; }
  .eyebrow__rule { width: 18px; }
}

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .utility, .action-bar, .whatsapp-fab, .reviews__controls, .skip-link { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
