@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   COSMETICA SKIN CLINIC — Design System
   ============================================================ */

:root {
  /* Colour: Cream ─────────────────────────────────────────── */
  --cream:        #FAF8F4;
  --cream-mid:    #F2EDE1;
  --cream-deep:   #E8DFD0;

  /* Colour: Gold (primary accent) ─────────────────────────── */
  --gold:         #C0965A;
  --gold-mid:     #A87D42;
  --gold-light:   #DEC898;
  --gold-pale:    #F7EFE0;

  /* Colour: Charcoal ──────────────────────────────────────── */
  --charcoal:       #1C1C1C;
  --charcoal-mid:   #3D3D3D;
  --charcoal-soft:  #6A6A6A;
  --charcoal-deep:  #111111;

  --white:        #FFFFFF;

  /* Semantic roles ─────────────────────────────────────────── */
  --bg:           var(--cream);
  --bg-alt:       var(--cream-mid);
  --surface:      var(--white);
  --surface-hover:var(--gold-pale);
  --border:       var(--cream-deep);
  --border-strong:var(--gold);
  --fg:           var(--charcoal);
  --fg-mid:       var(--charcoal-mid);
  --fg-soft:      var(--charcoal-soft);
  --fg-on-dark:   var(--white);
  --accent:       var(--gold);
  --accent-hover: var(--gold-mid);
  --accent-soft:  var(--gold-pale);
  --price:        var(--gold);

  /* Typography ─────────────────────────────────────────────── */
  --font-display: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --fs-h1:      clamp(3rem, 6vw + 0.5rem, 5.5rem);
  --fs-h2:      clamp(2.2rem, 4vw + 0.5rem, 4rem);
  --fs-h3:      clamp(1.6rem, 2vw + 0.8rem, 2.5rem);
  --fs-h4:      clamp(1.2rem, 1vw + 0.8rem, 1.6rem);
  --fs-h5:      1.125rem;
  --fs-body:    1rem;
  --fs-body-lg: 1.125rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.7rem;

  --lh-display: 1.1;
  --lh-heading: 1.2;
  --lh-body:    1.75;
  --lh-tight:   1.4;

  --tracking-eyebrow: 0.28em;
  --tracking-button:  0.18em;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semi:    600;

  /* Spacing ────────────────────────────────────────────────── */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;

  --section-y:        clamp(5rem, 9vw, 9rem);
  --container-max:    1300px;
  --container-gutter: clamp(1.5rem, 5vw, 4rem);

  /* Radii ──────────────────────────────────────────────────── */
  --radius-0:   0;
  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius-pill:999px;

  /* Shadows ────────────────────────────────────────────────── */
  --shadow-card:      0 1px 2px rgba(28,28,28,0.04), 0 8px 24px rgba(28,28,28,0.06);
  --shadow-card-hover:0 2px 4px rgba(28,28,28,0.06), 0 18px 40px rgba(28,28,28,0.10);
  --shadow-nav:       0 1px 0 rgba(28,28,28,0.04), 0 8px 24px rgba(28,28,28,0.04);

  /* Motion ─────────────────────────────────────────────────── */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-quick:  0.3s;
  --dur-base:   0.6s;
  --dur-reveal: 0.95s;

  /* Overlays ───────────────────────────────────────────────── */
  --overlay-hero: linear-gradient(180deg, rgba(28,28,28,0.0) 0%, rgba(28,28,28,0.55) 100%);
  --overlay-cta:  linear-gradient(180deg, rgba(28,28,28,0.45) 0%, rgba(28,28,28,0.65) 100%);
  --overlay-nav:  rgba(250,248,244,0.92);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--weight-light);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--dur-quick) var(--ease); }
a:hover { color: var(--gold-mid); }
::selection { background: var(--gold-pale); color: var(--charcoal); }

/* ── Headings ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-light);
  line-height: var(--lh-heading);
  margin: 0 0 0.5em;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: var(--weight-regular); }
h5 { font-size: var(--fs-h5); font-weight: var(--weight-medium); }

h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); font-weight: var(--weight-light); }

/* ── Body copy ───────────────────────────────────────────── */
p {
  margin: 0 0 1em;
  color: var(--fg-soft);
  font-weight: var(--weight-light);
  line-height: var(--lh-body);
  text-wrap: pretty;
}
p.lead { font-size: var(--fs-body-lg); color: var(--fg-mid); }
small, .small { font-size: var(--fs-small); }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: var(--space-4);
}

/* ── Gold rule ───────────────────────────────────────────── */
.gold-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: var(--space-4) 0 var(--space-6);
  transform-origin: left center;
}
.gold-rule.center { margin-left: auto; margin-right: auto; transform-origin: center; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
section.bg-alt { background: var(--cream-mid); }
section.bg-dark { background: var(--charcoal); color: var(--white); }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-quick) var(--ease),
    color var(--dur-quick) var(--ease),
    border-color var(--dur-quick) var(--ease),
    transform var(--dur-quick) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-mid); color: var(--white); border-color: var(--gold-mid); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--charcoal); }
.btn-white:hover { background: var(--cream); color: var(--charcoal); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--container-gutter);
  transition:
    background var(--dur-quick) var(--ease),
    backdrop-filter var(--dur-quick) var(--ease),
    box-shadow var(--dur-quick) var(--ease),
    padding var(--dur-quick) var(--ease);
  opacity: 0;
  transform: translateY(-10px);
}
.nav.scrolled {
  background: var(--overlay-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  padding: 14px var(--container-gutter);
}
.nav .logo { display: flex; align-items: center; }
.nav .logo img { height: 46px; width: auto; }

.nav-links {
  display: flex; gap: 38px; list-style: none;
}
.nav-links a {
  font-family: var(--font-body); font-weight: 400; font-size: 0.86rem;
  letter-spacing: 0.06em; color: var(--charcoal); text-decoration: none;
  position: relative; padding: 6px 0;
  transition: color var(--dur-quick) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-quick) var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }

/* Over hero — links turn white when transparent */
.nav.over-hero:not(.scrolled) .nav-links a { color: var(--white); }
.nav.over-hero:not(.scrolled) .nav-links a:hover { color: var(--gold-light); }
.nav.over-hero:not(.scrolled) .nav-links a::after { background: var(--gold-light); }
.nav.over-hero:not(.scrolled) .logo img { filter: brightness(0) invert(1); }

/* Hamburger */
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--charcoal);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.over-hero:not(.scrolled) .nav__hamburger span { background: var(--white); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Force X to charcoal regardless of hero/scroll state — (0,5,1) beats the white rule at (0,4,1) */
.nav.over-hero:not(.scrolled) .nav__hamburger.open span { background: var(--charcoal); }

/* Mobile nav */
.nav__mobile {
  position: fixed; inset: 0; background: var(--cream); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile a {
  font-family: var(--font-display); font-size: 2.5rem;
  color: var(--charcoal); letter-spacing: 0.02em;
  transition: color 0.3s;
}
.nav__mobile a:hover { color: var(--gold); }
.nav__mobile .btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-button);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--white);
}
.hero.inner { height: 52vh; min-height: 420px; align-items: flex-end; justify-content: flex-start; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,28,0.25) 0%, rgba(28,28,28,0.55) 60%, rgba(28,28,28,0.7) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 820px; padding: 0 var(--container-gutter);
}
.hero.inner .hero-inner {
  text-align: left; max-width: var(--container-max); width: 100%;
  padding: 4rem var(--container-gutter);
}
.hero-inner .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero.inner h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero h1 em { color: var(--gold-light); }
.hero p.lead {
  color: rgba(255,255,255,0.85); font-size: 1.125rem;
  max-width: 580px; margin: 0 auto 2rem;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7);
  font-family: var(--font-body); font-size: 0.65rem;
  letter-spacing: 0.32em; text-transform: uppercase;
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 38px;
  background: rgba(255,255,255,0.5); margin: 12px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 0.15; transform: scaleY(0.5); }
}

/* ── Pillars ─────────────────────────────────────────────── */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--cream-deep); border-bottom: 1px solid var(--cream-deep);
}
.pillar {
  padding: 60px 36px; text-align: center;
  border-right: 1px solid var(--cream-deep);
  transition: background var(--dur-quick) var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--gold-pale); }
.pillar img { width: 36px; height: 36px; margin: 0 auto 18px; display: block; }
.pillar h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 0 0 10px; color: var(--fg); }
.pillar p { font-size: 0.95rem; color: var(--fg-soft); margin: 0; }

/* ── Treatment grid + cards ──────────────────────────────── */
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; grid-auto-rows: 280px;
}
.t-card { position: relative; overflow: hidden; cursor: pointer; background: var(--cream-deep); }
.t-card.large { grid-row: span 2; }
.t-card .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease);
}
.t-card:hover .img { transform: scale(1.06); }
.t-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,28,0) 35%, rgba(28,28,28,0.75) 100%);
}
.t-card .body {
  position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--white);
}
.t-card .cat {
  font-family: var(--font-body); font-weight: 500; font-size: 0.65rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light);
  display: block; margin-bottom: 6px;
}
.t-card .ttl { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--white); }
.t-card .arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.t-card:hover .arrow { opacity: 1; transform: translateX(0); }
.t-card .arrow svg { width: 18px; height: 18px; }

/* ── Split ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split .img-frame {
  position: relative; aspect-ratio: 4/5;
  background: var(--cream-deep) center/cover no-repeat;
}
.split .img-frame::after {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(192,150,90,0.5); pointer-events: none;
}
.split .text h2 { margin-top: 0.4em; }
.split .text p { font-size: 1.05rem; }

/* ── Stats band ──────────────────────────────────────────── */
.stats-band {
  background: var(--charcoal); color: var(--white);
  padding: 80px var(--container-gutter);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: var(--container-max); margin: 0 auto; text-align: center;
}
.stat .num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--gold-light); line-height: 1;
}
.stat .num em { font-style: italic; }
.stat .lab {
  margin-top: 14px; font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.75;
}

/* ── Testimonials ────────────────────────────────────────── */
.t-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.t-quote {
  background: var(--white); border: 1px solid var(--cream-deep);
  padding: 40px 32px;
}
.t-quote .stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 18px; }
.t-quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.25rem; line-height: 1.5; color: var(--charcoal); margin: 0;
}
.t-quote .who {
  margin-top: 22px; font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--fg-soft);
}
.t-arrows { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }
.t-arrow {
  width: 48px; height: 48px; border: 1px solid var(--cream-deep);
  background: transparent; cursor: pointer;
  transition: all var(--dur-quick) var(--ease);
  display: flex; align-items: center; justify-content: center; color: var(--charcoal);
}
.t-arrow:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }
.t-arrow svg { width: 18px; height: 18px; }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  position: relative; padding: 120px var(--container-gutter);
  text-align: center; color: var(--white); overflow: hidden;
}
.cta-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-banner::after {
  content: ""; position: absolute; inset: 0; background: var(--overlay-cta);
}
.cta-banner-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); }
.cta-banner h2 em { color: var(--gold-light); }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 0; }
.cta-banner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-banner .eyebrow { color: var(--gold-light); }

/* ── Pricing cards ───────────────────────────────────────── */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm); padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: all var(--dur-base) var(--ease);
}
.p-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.p-card .lab {
  font-family: var(--font-body); font-weight: 500; font-size: 0.65rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.p-card .name { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 12px 0 6px; color: var(--fg); }
.p-card .desc { font-size: 0.95rem; color: var(--fg-soft); margin: 0 0 18px; min-height: 3em; }
.p-card .price { font-family: var(--font-display); font-style: italic; font-size: 1.8rem; color: var(--gold); }

/* ── Pricing table ───────────────────────────────────────── */
.p-table { width: 100%; border-collapse: collapse; }
.p-table thead th {
  background: var(--charcoal); color: var(--white);
  font-family: var(--font-body); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-align: left; padding: 16px 20px;
}
.p-table thead th + th { text-align: right; }
.p-table tbody td {
  padding: 16px 20px; border-top: 1px solid var(--cream-deep);
  font-weight: 300; color: var(--fg-mid); font-size: 0.98rem;
}
.p-table tbody td + td {
  text-align: right; font-family: var(--font-display);
  font-style: italic; font-size: 1.1rem; color: var(--gold-mid);
}
.p-table tbody tr:hover { background: var(--gold-pale); }
.p-table tfoot td { padding: 12px 20px; font-size: 0.8rem; color: var(--fg-soft); border-top: 1px solid var(--cream-deep); }

/* Anti-wrinkle table first column width constraint */
#anti-wrinkle .p-table tbody td:first-child {
  max-width: 280px;
  word-wrap: break-word;
  hyphens: auto;
}

/* ── Tab bar (treatments page) ───────────────────────────── */
.tab-bar {
  position: sticky; top: 74px; z-index: 50;
  background: var(--cream); border-bottom: 1px solid var(--cream-deep);
  padding: 14px var(--container-gutter);
}
.tab-scroller {
  position: relative; display: flex; align-items: center; gap: 6px;
  max-width: var(--container-max); margin: 0 auto;
}
.tab-scroller::before,
.tab-scroller::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 72px;
  z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
}
.tab-scroller::before { left: 40px; background: linear-gradient(to right, var(--cream), transparent); }
.tab-scroller::after  { right: 40px; background: linear-gradient(to left,  var(--cream), transparent); }
.tab-scroller.can-scroll-left::before  { opacity: 1; }
.tab-scroller.can-scroll-right::after  { opacity: 1; }
.tab-scroll-btn {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--cream); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease);
}
.tab-scroll-btn svg { width: 15px; height: 15px; }
.tab-scroll-btn:hover { background: var(--gold); color: var(--white); }
.tab-scroller.can-scroll-left  .tab-scroll-btn--prev,
.tab-scroller.can-scroll-right .tab-scroll-btn--next { opacity: 1; pointer-events: auto; }
.tab-list {
  display: flex; gap: 10px; flex-wrap: nowrap;
  flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-dropdown {
  display: none; position: relative;
  max-width: var(--container-max); margin: 0 auto;
}
.tab-dropdown__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; background: var(--white);
  border: 1px solid var(--cream-deep); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal);
  cursor: pointer; transition: border-color var(--dur-quick) var(--ease);
}
.tab-dropdown__trigger:hover,
.tab-dropdown.open .tab-dropdown__trigger { border-color: var(--gold); color: var(--gold); }
.tab-dropdown__trigger svg {
  width: 16px; height: 16px; color: var(--gold); flex-shrink: 0;
  transition: transform var(--dur-quick) var(--ease);
}
.tab-dropdown.open .tab-dropdown__trigger svg { transform: rotate(180deg); }
.tab-dropdown__menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card-hover);
  list-style: none; padding: 6px; z-index: 60; overflow: hidden;
}
.tab-dropdown.open .tab-dropdown__menu { display: block; }
.tab-dropdown__item {
  display: block; width: 100%; padding: 11px 16px; text-align: left;
  background: none; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-mid); cursor: pointer;
  transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease);
}
.tab-dropdown__item:hover { background: var(--gold-pale); color: var(--charcoal); }
.tab-dropdown__item.active { color: var(--gold); background: var(--gold-pale); }
.tab {
  flex-shrink: 0; padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--cream-deep); background: var(--white); color: var(--fg-mid);
  font-family: var(--font-body); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  transition: all var(--dur-quick) var(--ease); white-space: nowrap;
}
.tab:hover { color: var(--charcoal); border-color: var(--gold); }
.tab.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ── Treatment section header ────────────────────────────── */
.tx-section { padding-top: var(--section-y); padding-bottom: var(--section-y); border-bottom: 1px solid var(--cream-deep); }
.tx-section:last-of-type { border-bottom: none; }
.tx-header { max-width: 680px; margin-bottom: 48px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info .row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--cream-deep);
}
.contact-info .row:last-of-type { border-bottom: 0; }
.contact-info .row img { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.contact-info .row .k {
  font-family: var(--font-body); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 4px;
}
.contact-info .row .v { color: var(--charcoal); font-weight: 400; font-size: 0.95rem; line-height: 1.7; }
.contact-info .row a { color: var(--charcoal); }
.contact-info .row a:hover { color: var(--gold); }
.map-frame { margin-top: 28px; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--cream-deep); }
.map-frame iframe { width: 100%; height: 100%; border: none; }

/* ── Form ────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-body); font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-mid);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-weight: 300; font-size: 1rem;
  color: var(--charcoal); background: var(--white);
  border: 1px solid var(--cream-deep); border-radius: var(--radius-xs);
  padding: 14px 16px; outline: none;
  transition: border-color var(--dur-quick) var(--ease);
  -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.field select {
  appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23C0965A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
  cursor: pointer;
  color: var(--charcoal-soft);
}
.field select.has-value { color: var(--charcoal); }
.field select option { color: var(--charcoal); }
.privacy { font-size: 0.8rem; color: var(--fg-soft); margin: 0; }
.form-success {
  padding: 48px 36px; background: var(--gold-pale);
  border-radius: var(--radius-sm); text-align: center;
  display: none;
}
.form-success.visible { display: block; }

/* ── Credentials grid ────────────────────────────────────── */
.cred-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--cream-deep);
  border: 1px solid var(--cream-deep);
}
.cred {
  background: var(--cream); padding: 40px 28px; text-align: center;
  transition: background var(--dur-quick) var(--ease);
}
.cred:hover { background: var(--gold-pale); }
.cred img { width: 32px; height: 32px; margin: 0 auto 16px; }
.cred h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 0 0 8px; color: var(--fg); }
.cred p { font-size: 0.9rem; color: var(--fg-soft); margin: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--charcoal-deep); color: var(--white);
  padding: 80px var(--container-gutter) 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  max-width: var(--container-max); margin: 0 auto;
}
.footer h5 {
  font-family: var(--font-body); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light);
  margin: 0 0 22px;
}
.footer p, .footer li { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.85; }
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer .brand img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(0.85); }
.footer-bottom {
  max-width: var(--container-max); margin: 60px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
}

/* ── News listing grid ───────────────────────────────────── */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 60px;
}
.news-card {
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur-quick) var(--ease), transform var(--dur-quick) var(--ease);
  overflow: hidden;
}
.news-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.news-card .nc-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: var(--cream-deep);
}
.news-card .nc-body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .nc-meta {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.news-card .nc-cat {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.news-card .nc-date {
  font-family: var(--font-body); font-size: 0.78rem; color: var(--fg-soft);
}
.news-card .nc-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem;
  line-height: 1.25; color: var(--fg); margin: 0 0 12px;
  transition: color var(--dur-quick) var(--ease);
}
.news-card:hover .nc-title { color: var(--gold); }
.news-card .nc-excerpt { font-size: 0.9rem; color: var(--fg-soft); flex: 1; margin: 0 0 20px; }
.news-card .nc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  text-decoration: none; transition: gap var(--dur-quick) var(--ease);
}
.news-card .nc-link:hover { gap: 14px; }
.news-card .nc-link svg { width: 16px; height: 16px; }

/* ── Article page ────────────────────────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.article-meta .nc-cat { font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.article-meta .nc-date { font-family: var(--font-body); font-size: 0.85rem; color: var(--fg-soft); }
.article-body h3 { font-size: clamp(1.3rem, 1.5vw + 0.8rem, 1.9rem); margin: 2rem 0 0.75rem; }
.article-body p { font-size: 1rem; line-height: 1.85; color: var(--fg-mid); margin-bottom: 1.25em; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { font-weight: 500; color: var(--fg); }
.article-source {
  margin-top: 3rem; padding: 24px 28px;
  background: var(--gold-pale); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem; color: var(--fg-soft);
}
.article-source strong { color: var(--fg); }
.article-nav-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--cream-deep);
  flex-wrap: wrap; gap: 16px;
}

/* ── Clinic Locations ────────────────────────────────────── */
.locations-section { padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: 0; }
.locations-section .container { padding-bottom: 40px; }

.loc-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
  padding: 0 var(--container-gutter);
  background: var(--cream);
}
.loc-tabs::-webkit-scrollbar { display: none; }

.loc-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 20px 32px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-quick) var(--ease), border-color var(--dur-quick) var(--ease);
  white-space: nowrap;
}
.loc-tab:hover { background: var(--gold-pale); }
.loc-tab.active { border-bottom-color: var(--gold); background: var(--gold-pale); }

.loc-tab__region {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  display: block;
  transition: color var(--dur-quick) var(--ease);
}
.loc-tab__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--weight-regular);
  color: var(--charcoal-mid);
  display: block;
  transition: color var(--dur-quick) var(--ease);
}
.loc-tab:hover .loc-tab__name,
.loc-tab.active .loc-tab__name  { color: var(--charcoal); }
.loc-tab.active .loc-tab__region { color: var(--gold); }

.loc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: 560px;
}

.loc-map { overflow: hidden; }
.loc-map #locationMap { width: 100%; height: 100%; border: none; display: block; }
.loc-detail {
  background: var(--cream-mid);
  border-left: 1px solid var(--cream-deep);
  position: relative;
  overflow: hidden;
}

.loc-panel {
  position: absolute;
  inset: 0;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.loc-panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.loc-panel .eyebrow { color: var(--gold); }
.loc-panel h3 {
  font-size: clamp(1.4rem, 2vw + 0.4rem, 2rem);
  font-weight: var(--weight-light);
  margin: 8px 0 20px;
}
.loc-panel .gold-rule { margin-bottom: 4px; }

.loc-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-deep);
}
.loc-row img { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; opacity: 0.5; }
.loc-row .k {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.loc-row .v { color: var(--charcoal); font-size: 0.92rem; line-height: 1.7; display: block; font-weight: var(--weight-light); }
.loc-row a { color: var(--charcoal); text-decoration: none; }
.loc-row a:hover { color: var(--gold); }
.loc-tbc { color: var(--charcoal-soft) !important; font-style: italic; }

.loc-note { font-size: 0.85rem; color: var(--charcoal-soft); margin: 18px 0 auto; line-height: 1.65; }

.btn-sm { padding: 12px 22px; font-size: 0.72rem; }

/* ── Mobile clinic location dropdown ────────────────────── */
.loc-mob-dropdown {
  display: none; position: relative;
  padding: 12px var(--container-gutter);
  background: var(--cream);
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.loc-mob-dropdown__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; background: var(--white);
  border: 1px solid var(--cream-deep); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal);
  cursor: pointer; transition: border-color var(--dur-quick) var(--ease);
}
.loc-mob-dropdown__trigger:hover,
.loc-mob-dropdown.open .loc-mob-dropdown__trigger { border-color: var(--gold); color: var(--gold); }
.loc-mob-dropdown__trigger svg {
  width: 16px; height: 16px; color: var(--gold); flex-shrink: 0;
  transition: transform var(--dur-quick) var(--ease);
}
.loc-mob-dropdown.open .loc-mob-dropdown__trigger svg { transform: rotate(180deg); }
.loc-mob-dropdown__menu {
  display: none; position: absolute; top: calc(100% - 12px); left: var(--container-gutter); right: var(--container-gutter);
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card-hover);
  list-style: none; padding: 6px; z-index: 60;
}
.loc-mob-dropdown.open .loc-mob-dropdown__menu { display: block; }
.loc-mob-dropdown__item {
  display: block; width: 100%; padding: 11px 16px; text-align: left;
  background: none; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-mid); cursor: pointer;
  transition: background var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease);
}
.loc-mob-dropdown__item:hover { background: var(--gold-pale); color: var(--charcoal); }
.loc-mob-dropdown__item.active { color: var(--gold); background: var(--gold-pale); }

/* ── GSAP initial states ─────────────────────────────────── */
.reveal { opacity: 0; }
.stagger-parent .stagger-child { opacity: 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .t-card.large { grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .p-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav__hamburger { display: flex; }
  .nav .logo img { height: 36px; }
  .split { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .split--reverse { direction: ltr; }
  .t-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .loc-layout { grid-template-columns: 1fr; height: auto; }
  .loc-map { height: 320px; }
  .loc-detail { height: 380px; }
  .loc-tab { padding: 16px 22px; }
  .loc-mob-dropdown { display: block; }
  .loc-tabs { display: none; }
}
@media (max-width: 768px) {
  .tab-scroller { display: none; }
  .tab-dropdown { display: block; }
  .news-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--cream-deep); }
  .pillar:last-child { border-bottom: 0; }
  .p-grid, .p-grid.cols-2, .p-grid.cols-4 { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  #dermal-fillers .reveal { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-map { height: 260px; }
  .loc-detail { height: 360px; }
  .loc-panel { padding: 32px 28px; }
  .cred-grid { grid-template-columns: 1fr; }
}
