/* Ain Aesthetics & Medical Center
   Palette taken from the clinic's posters: deep navy, copper-rose, warm cream, soft gold. */
:root {
  --navy: #1d2b45;
  --navy-deep: #141f33;
  --rose: #c07a5f;
  --rose-dark: #a5604a;
  --rose-light: #e7b9a4;
  --rose-text: #965540; /* rose for small text: 4.5:1 on cream */
  --gold: #b8955a;
  --cream: #f8f3ec;
  --cream-2: #f1e8dd;
  --ink: #26303f;
  --muted: #5b6270;
  --line: #e6dccf;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Great Vibes', cursive;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -20px rgba(29, 43, 69, .35);
  --shadow-lg: 0 30px 60px -25px rgba(29, 43, 69, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 78px;
  --gutter: 16px;
  --section-y: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, .25vw + 15px, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 {
  font-family: var(--serif); color: var(--navy); line-height: 1.15;
  margin: 0 0 .5em; font-weight: 600; text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--muted); font-weight: 400; }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rose-text); font-weight: 500; margin-bottom: .8rem;
}
.script { font-family: var(--script); color: var(--rose); font-size: clamp(2.1rem, 4vw, 2.6rem); line-height: 1; margin: 0 0 .1em; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.15rem); color: #4b5563; max-width: 40rem; }
.accent { color: var(--rose); font-style: italic; }

/* Smooth cross-page transitions in supporting browsers */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.8rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: .65rem 1.3rem; font-size: .88rem; }
.btn-primary { background: var(--rose-dark); color: #fff; box-shadow: 0 10px 24px -12px var(--rose); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; margin-top: 1rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-arrow { color: var(--rose-text); font-weight: 500; text-decoration: none; letter-spacing: .03em; }
.link-arrow::after { content: ' →'; display: inline-block; transition: transform .25s var(--ease); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { background: #8f4f3b; box-shadow: 0 14px 28px -12px var(--rose); }
  .btn-ghost:hover { background: var(--navy); color: #fff; }
  .btn-outline-light:hover { background: rgba(255,255,255,.12); }
  .link-arrow:hover::after { transform: translateX(4px); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 243, 236, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 59px; height: auto; }
/* Mirrors the logo lockup: rose "Aesthetics &" over a navy "Medical Center" badge */
.brand-text { display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; color: var(--rose-text); font-weight: 700; letter-spacing: .01em; }
.brand-sub {
  font-family: var(--serif); font-size: .74rem; font-weight: 600; color: #fff;
  background: var(--navy); border-radius: 4px; padding: 2px 7px;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-size: .95rem; color: var(--navy); position: relative; padding: .3rem 0; }
.site-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
/* Copy at left; clinic photo in an arched frame with an offset gold outline. */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 70% at 85% 45%, var(--cream-2) 0%, transparent 70%),
    radial-gradient(ellipse at 15% 20%, #fff 0%, var(--cream) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 3.5vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: .45em; }
.hero .lead { max-width: 33rem; }
.hero-eyebrow { display: flex; align-items: center; gap: .9rem; }
.hero-eyebrow::before { content: ''; width: 2.4rem; height: 1px; background: var(--rose); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.4rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  list-style: none; padding: 0; margin: 0;
}
.hero-stats li { padding: 0 2rem; border-left: 1px solid var(--line); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; color: var(--navy); line-height: 1.3; }
.hero-stats span { display: block; font-size: .8rem; line-height: 1.4; color: var(--muted); max-width: 11rem; }

.hero-media {
  position: relative; isolation: isolate; justify-self: end;
  width: min(420px, 100%, calc((100vh - var(--header-h) - 8rem) * .8));
}
.hero-media::before {
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translate(18px, 18px);
  border: 1px solid var(--gold); border-radius: 999px 999px var(--radius) var(--radius); opacity: .7;
}
.hero-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,31,51,.55));
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 1; margin: 0; text-align: center;
  color: #fff; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
}
.hero-seal {
  position: absolute; top: 12%; right: -2.4rem; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); box-shadow: var(--shadow);
}
.hero-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.hero-seal text { fill: var(--rose-light); font-family: var(--sans); font-size: 8.6px; letter-spacing: .14em; }
.hero-seal img { width: 40px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-team {
  position: absolute; left: -3rem; bottom: 3.2rem; z-index: 1;
  display: flex; align-items: center; gap: .8rem; padding: .5rem 1.3rem .5rem .5rem;
  background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); animation: float 6s ease-in-out infinite;
}
.hero-team strong { display: block; font-family: var(--serif); font-weight: 500; color: var(--navy); font-size: 1rem; line-height: 1.2; }
.hero-team span span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-team-faces { display: flex; flex: none; }
.hero-team-faces img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top;
  border: 2px solid #fff; background: var(--cream-2);
}
.hero-team-faces img + img { margin-left: -12px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Hero entrance */
.hero-copy > *, .hero-media { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-media { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.icon-ring { color: var(--rose-light); border-color: rgba(231,185,164,.6); }

.icon-ring {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--rose); color: var(--rose);
  transition: background .3s, color .3s;
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--cream-2); }
.section-navy { background: var(--navy); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: var(--rose-light); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column; gap: .4rem; text-decoration: none;
  background: #fff; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service-card h3 { margin-top: 1rem; }
.service-card p { color: var(--muted); flex: 1; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
  .service-card:hover .icon-ring { background: var(--rose); color: #fff; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2; object-fit: cover;
}
.pill {
  display: inline-block; background: var(--rose); color: #fff; border-radius: var(--radius-sm);
  padding: .5rem 1.1rem; font-weight: 500; font-size: .95rem;
}
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.checklist .icon { color: var(--rose); margin-top: .3rem; flex: none; }

/* ---------- Before / after slider ---------- */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.compare-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare { --pos: 50%; position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; user-select: none; -webkit-user-select: none; }
.compare > img, .compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff;
  transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.25);
}
.compare-handle::after {
  content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.compare.is-hinting .compare-before, .compare.is-hinting .compare-handle { transition: clip-path .6s var(--ease), left .6s var(--ease); }
.compare input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.compare input:focus-visible ~ .compare-handle::after { outline: 3px solid var(--rose); }
.compare-label {
  position: absolute; top: 1rem; padding: .3rem .9rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(29,43,69,.85); color: #fff; pointer-events: none;
}
.compare-label-before { left: 1rem; }
.compare-label-after { right: 1rem; background: rgba(192,122,95,.92); }
.compare-card figcaption { padding: 1.1rem 1.4rem; display: flex; flex-direction: column; }
.compare-card figcaption strong { font-family: var(--serif); color: var(--navy); font-size: 1.15rem; }
.compare-card figcaption span { color: var(--muted); font-size: .92rem; }
.disclaimer { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-grid video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: #0d1524; box-shadow: var(--shadow-lg);
}

/* ---------- Posters ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.poster {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream); cursor: zoom-in;
}
.poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
@media (hover: hover) { .poster:hover img { transform: scale(1.04); } }
/* Full posters: masonry columns so every poster shows uncropped with no gaps */
/* Equal-size poster cards: every poster shown whole on a soft blurred backdrop */
.poster-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.poster-card {
  display: flex; flex-direction: column; text-decoration: none; cursor: zoom-in;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.poster-card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.poster-card-bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.1); opacity: .55; transform: scale(1.05); }
.poster-card-img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14px; filter: drop-shadow(0 10px 18px rgba(29,43,69,.18)); transition: transform .6s var(--ease); }
.poster-card-zoom {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0;
  padding: .45rem 1rem; border-radius: 999px; background: rgba(29,43,69,.88); color: #fff;
  font-size: .78rem; letter-spacing: .06em; white-space: nowrap; transition: opacity .3s, transform .3s var(--ease);
}
.poster-card-title {
  display: flex; align-items: center; min-height: 4.2em; padding: .9rem 1.2rem;
  font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: var(--navy); border-top: 1px solid var(--line);
}
@media (hover: hover) {
  .poster-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
  .poster-card:hover .poster-card-img { transform: scale(1.03); }
  .poster-card:hover .poster-card-zoom { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(14, 21, 35, .94); color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox img {
  max-width: min(92vw, 900px); max-height: 86dvh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  touch-action: pan-y; user-select: none; transition: opacity .25s;
}
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s;
}
.lightbox-btn:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: .85rem; letter-spacing: .15em; opacity: .8; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Training academy ---------- */
.level-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.level-pills li {
  padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--rose-light);
  color: var(--rose-dark); font-size: .85rem; letter-spacing: .06em;
}
.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
.level-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.level-card h3 {
  margin: 0; padding: .9rem 1.2rem; background: var(--rose); color: #fff;
  font-size: 1.5rem; text-align: center;
}
.level-card h3 span { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; vertical-align: middle; }
.level-card ul { margin: 0; padding: 1.2rem 1.2rem 1rem 2.2rem; flex: 1; }
.level-card li { margin-bottom: .45rem; color: #4b5563; font-size: .95rem; }
.level-card li::marker { color: var(--rose); }
.level-for {
  margin: 0 1.2rem 1.2rem; padding: .8rem 1rem; border: 1px solid var(--rose-light);
  border-radius: var(--radius-sm); font-size: .88rem; color: var(--navy);
}
.level-for strong { display: block; color: var(--rose-dark); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.direct-entry { padding: 1.2rem 1.4rem; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--rose); }
.direct-entry p { margin: 0 0 .8rem; }
.direct-entry .tag-list { margin: 0; }
.academy-actions { justify-content: center; margin-bottom: 0; }
.hero-actions .btn-whatsapp { margin-top: 0; }
.split-media .poster img { aspect-ratio: auto; box-shadow: none; border-radius: 0; }
@media (max-width: 980px) { .level-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .level-grid { grid-template-columns: 1fr; } }

/* ---------- Price list ---------- */
.price-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.price-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem .8rem; }
.price-group-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.price-group-head h2 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-name { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; color: var(--ink); }
.price-name a:not(.badge) { color: var(--navy); text-decoration-color: var(--rose-light); text-underline-offset: 3px; }
.price-dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted #cdbfae; transform: translateY(-.25rem); }
.price-amount { font-family: var(--serif); font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-amount small { font-family: var(--sans); font-weight: 400; font-size: .75rem; color: var(--muted); }
.price-wa {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  color: #128c4b; background: #e9f9ef; transition: background .2s, color .2s;
}
.price-wa:hover { background: #25d366; color: #fff; }
.price-note { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--muted); }
.t-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .7rem; margin: 0 0 .4rem; }
.t-price span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.t-price strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.t-price a { font-size: .9rem; color: var(--rose-text); }
.t-card-price { font-family: var(--serif); font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
@media (max-width: 860px) { .price-groups { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .price-group { padding: 1.1rem 1rem .5rem; } .price-wa { width: 44px; height: 44px; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center;
  background: linear-gradient(180deg, #fff, var(--cream)); border-bottom: 1px solid var(--line);
}
.page-hero > .container > * { animation: rise .8s var(--ease) both; }
.page-hero > .container > :nth-child(2) { animation-delay: .08s; }
.page-hero > .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .lead { margin-inline: auto; }
.page-hero-tall { padding: clamp(5rem, 12vw, 8rem) 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.wa-panel {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.5rem); border-top: 4px solid #25d366;
}
.wa-panel-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.wa-panel-head h2 { margin: 0 0 .25rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.wa-panel-head p { margin: 0; color: var(--muted); }
.wa-panel-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: #e9f9ef; color: #128c4b; }
.contact-numbers { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .9rem; }
.contact-number {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1rem;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
}
.contact-number-label { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-number .big-phone { min-height: 0; }
.contact-number-actions { display: flex; gap: .5rem; }
.contact-number-actions .btn { margin-top: 0; display: inline-flex; align-items: center; gap: .4rem; }
.btn-block { display: flex; justify-content: center; align-items: center; gap: .6rem; width: 100%; margin-top: 0; }
.wa-panel-note { margin: .9rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.location-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.2rem); }
.location-card h2 { font-size: 1.4rem; }
.location-card address { font-style: normal; line-height: 1.7; margin-bottom: 1.2rem; }
.location-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.location-card .map { box-shadow: none; }
.info-block { margin-bottom: 2rem; }
.info-block h2 { font-size: 1.4rem; }
.big-phone { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); color: var(--navy); text-decoration: none; line-height: 1.35; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- CTA + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--rose), #b0664c); color: #fff; padding: clamp(2.5rem, 6vw, 3.5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .script { color: #fde7dc; font-size: clamp(1.7rem, 3vw, 2rem); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.site-footer { background: var(--navy-deep); color: #c9d1de; padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 170px; height: auto; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--rose-light); }
.footer-tag { color: var(--rose-light); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; margin: 1rem 0 .5rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Mobile action bar: one-tap Call / WhatsApp / Book */
.action-bar { display: none; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.badge-offer { background: var(--rose); color: #fff; }
.badge-sm { padding: .2rem .5rem; font-size: .62rem; vertical-align: middle; }
.nav-dot {
  display: inline-block; width: 7px; height: 7px; margin-left: 5px; vertical-align: super;
  border-radius: 50%; background: var(--rose); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192,122,95,.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(192,122,95,0); } }

.chip-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(248, 243, 236, .96); border-bottom: 1px solid var(--line);
  transition: top .35s var(--ease);
}
html.header-hidden .chip-nav { top: 0; }
.chip-nav-inner { display: flex; gap: .6rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; justify-content: center; }
.chip-nav-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font: 500 .9rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--rose); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-accent { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }

/* ---------- Offer strip (home) ---------- */
.offer-strip { background: var(--navy); color: #fff; }
.offer-strip-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.offer-strip-label { flex: none; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-light); }
.offer-chips { display: flex; gap: .7rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.offer-chips::-webkit-scrollbar { display: none; }
.offer-chip {
  flex: none; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  text-decoration: none; font-size: .9rem; transition: background .2s, border-color .2s;
}
.offer-chip strong { color: var(--rose-light); }
.offer-chip:hover { background: rgba(255,255,255,.08); border-color: var(--rose-light); }
.offer-strip .link-arrow { color: var(--rose-light); flex: none; }

/* ---------- Category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); transition: box-shadow .4s var(--ease), border-color .3s;
}
.cat-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.cat-card-head { display: flex; gap: 1rem; align-items: flex-start; text-decoration: none; margin-bottom: 1rem; }
.cat-card-head h3 { margin: .2rem 0 .3rem; }
.cat-blurb { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cat-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cat-links li { border-bottom: 1px solid var(--line); }
.cat-links li:last-child { border-bottom: 0; }
.cat-links a {
  display: flex; align-items: center; gap: .5rem; padding: .75rem .2rem; text-decoration: none;
  color: var(--navy); font-weight: 500; transition: color .2s, padding .25s var(--ease);
}
.cat-links a::after { content: "\2192"; margin-left: auto; color: var(--rose); transition: transform .25s var(--ease); }
@media (hover: hover) {
  .cat-links a:hover { color: var(--rose); padding-left: .5rem; }
  .cat-links a:hover::after { transform: translateX(3px); }
}

/* ---------- Treatment cards ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.t-card {
  display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.t-card-media { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--cream-2); }
.t-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease); }
.t-card-media .badge { position: absolute; top: 1rem; left: 1rem; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.t-card-body { display: flex; flex-direction: column; flex: 1; gap: .3rem; padding: 1.3rem 1.4rem 1.5rem; }
.t-card-cat { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-text); }
.t-card h3 { margin: 0; }
.t-card-text { color: var(--muted); font-size: .95rem; line-height: 1.55; flex: 1; margin-bottom: .6rem; }
@media (hover: hover) {
  .t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
  .t-card:hover .t-card-media img { transform: scale(1.05); }
}

.cat-section { scroll-margin-top: calc(var(--header-h) + 60px); }
.cat-section-head { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 2rem; }
.cat-section-head h2 { margin: 0 0 .2rem; }
.cat-section-head p { margin: 0; color: var(--muted); }

.help-box {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow);
}
.help-box > div:first-child { max-width: 38rem; }
.help-box p:last-child { margin: 0; color: var(--muted); }
.help-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Treatment detail ---------- */
.crumbs { padding-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose); }
.crumbs span { margin: 0 .3rem; }
.crumbs [aria-current] { color: var(--navy); margin: 0; }
.t-hero { padding: clamp(1.5rem, 4vw, 2.5rem) 0 var(--section-y); }
.t-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.t-hero-copy > * { animation: rise .8s var(--ease) both; }
.t-hero-copy > :nth-child(2) { animation-delay: .06s; }
.t-hero-copy > :nth-child(3) { animation-delay: .12s; }
.t-hero-copy > :nth-child(4) { animation-delay: .18s; }
.t-hero-media { position: sticky; top: calc(var(--header-h) + 1.5rem); animation: rise .9s .1s var(--ease) both; }
.t-hero-media .poster img { aspect-ratio: auto; }
.offer-banner {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; margin-bottom: 1.2rem;
  background: #fbeee8; border: 1px solid #f1d3c6; border-radius: var(--radius-sm);
  color: var(--rose-dark); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.offer-banner .badge { flex: none; }
.t-hero .hero-actions { margin: 1.6rem 0 2.2rem; }
.t-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.t-facts h2 { font-size: 1.25rem; }
.t-facts .checklist { margin: 0; }

.compare-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center;
}
.compare-box h2 span { display: block; font-size: .55em; color: var(--rose); font-style: italic; margin-top: .3rem; }
.compare-box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0 1.2rem; text-align: left; }
.compare-box-grid > div { border: 1.5px solid #f1d3c6; border-radius: var(--radius); padding: 1.4rem; }
.compare-box-grid h3 { color: var(--rose); }
.compare-box-grid p { color: var(--muted); }

/* ---------- Doctors ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.doc-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.doc-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--cream-2); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.doc-body { padding: 1.2rem 1.4rem 1.4rem; }
.doc-body h3 { margin: 0 0 .1rem; }
.doc-role { margin: 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-text); }
.doc-initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); color: var(--rose); letter-spacing: .04em;
}
@media (hover: hover) { .doc-card:hover .doc-photo img { transform: scale(1.04); } }


/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card {
  margin: 0; display: flex; flex-direction: column; gap: 1rem; position: relative;
  background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line);
}
.review-card::before {
  content: "\201C"; position: absolute; top: .4rem; right: 1.2rem; font-family: var(--serif);
  font-size: 5rem; line-height: 1; color: var(--cream-2);
}
.stars { color: var(--rose); letter-spacing: .15em; }
.review-card blockquote { margin: 0; flex: 1; color: var(--ink); font-size: 1rem; line-height: 1.65; position: relative; }
.review-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-initial {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream-2); color: var(--rose); font-family: var(--serif); font-size: 1.3rem;
}
.review-card figcaption > span { display: flex; flex-direction: column; line-height: 1.3; }
.review-card figcaption strong { color: var(--navy); }
.review-card figcaption span span { font-size: .8rem; color: var(--muted); }

/* ---------- Offers page ---------- */
.offer-list { display: grid; gap: 1.5rem; }
.offer-card {
  display: grid; grid-template-columns: minmax(200px, 340px) 1fr; align-items: stretch;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.offer-media { display: block; cursor: zoom-in; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.offer-body { padding: clamp(1.4rem, 4vw, 2.6rem); align-self: center; }
.offer-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .8rem 0 .4rem; }
.offer-note { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-text); }
.offer-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Tag pills ---------- */
.tag-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .95rem; font-size: .88rem; color: var(--navy); }

/* ---------- Results filter ---------- */
.filter-item { display: flex; flex-direction: column; gap: .8rem; }
.filter-item.is-hidden { display: none; }
.result-link { font-size: .9rem; padding-left: .3rem; }

/* ---------- Contact steps ---------- */
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.8rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.steps li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--navy); }
.steps span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--rose); color: #fff; font-size: .8rem; font-weight: 600;
}

/* ---------- Scroll reveal (only hides content once JS has loaded) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .stagger > .reveal:nth-child(3n+3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* =================== Responsive =================== */

/* Tablet */
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  /* Photo stacks above the copy */
  .hero-media { order: -1; justify-self: center; width: min(340px, 74vw); margin-bottom: 2.5rem; }
  .hero-eyebrow { justify-content: center; }
  .hero-stats li:first-child { padding-left: 2rem; }
  .hero-seal { right: -1.6rem; width: 92px; height: 92px; }
  .hero-caption { display: none; }
  .hero-team { left: 50%; bottom: -1.6rem; transform: translateX(-50%); animation: none; white-space: nowrap; width: max-content; }
  .split-reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16 / 11; }
  .service-grid, .compare-grid, .video-grid, .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Full-screen mobile menu */
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(248, 243, 236, .97); }
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle span:not(.sr-only) {
    display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--navy);
    transition: transform .35s var(--ease), opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--cream); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .site-nav ul a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0; font-family: var(--serif); font-size: 1.5rem;
  }
  .site-nav ul a::after { display: none; }
  .site-nav ul a::before { content: '→'; order: 2; color: var(--rose); font-family: var(--sans); font-size: 1.1rem; }
  .site-nav ul a[aria-current] { color: var(--rose-text); }
  .site-nav .btn { width: 100%; min-height: 54px; font-size: 1rem; }
  .site-nav li, .site-nav > .btn, .nav-extra { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .site-nav.is-open li, .site-nav.is-open > .btn, .site-nav.is-open .nav-extra { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(2) { transition-delay: .04s; }
  .site-nav.is-open li:nth-child(3) { transition-delay: .08s; }
  .site-nav.is-open li:nth-child(4) { transition-delay: .12s; }
  .site-nav.is-open li:nth-child(5) { transition-delay: .16s; }
  .site-nav.is-open > .btn { transition-delay: .2s; }
  .site-nav.is-open .nav-extra { transition-delay: .24s; }
  .nav-extra { display: block; text-align: center; color: var(--muted); font-size: .92rem; }
  .nav-extra a { color: var(--navy); font-weight: 500; text-decoration: none; }
  html.nav-open { overflow: hidden; }
  html.nav-open .site-header { transform: none; background: var(--cream); }
}

/* Phones */
@media (max-width: 760px) {
  .section-head { text-align: left; }
  .section-head.center-sm, .page-hero { text-align: center; }

  /* Horizontal swipe rows instead of tall stacks */
  .snap-row {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: .5rem var(--gutter) 1.5rem;
    scroll-padding-inline: var(--gutter);
  }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { flex: 0 0 84%; scroll-snap-align: start; }
  .video-grid.snap-row > * { flex-basis: 68%; }
  .snap-dots { display: flex; justify-content: center; gap: 8px; margin-top: -.5rem; }
  .snap-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .3s var(--ease), background .3s; }
  .snap-dots span.is-active { width: 22px; border-radius: 4px; background: var(--rose); }
  .section-navy .snap-dots span { background: rgba(255,255,255,.25); }
  .section-navy .snap-dots span.is-active { background: var(--rose-light); }

  /* Action bar replaces the floating WhatsApp button */
  .wa-float { display: none; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.3);
    transition: transform .35s var(--ease);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px;
    border-radius: 999px; font-size: .9rem; font-weight: 500; text-decoration: none;
    border: 1.5px solid var(--line); color: var(--navy); background: #fff; white-space: nowrap;
  }
  .action-bar a:active { transform: scale(.97); }
  .action-bar a:first-child { border-color: var(--navy); }
  .action-bar .ab-wa { background: #25d366; border-color: #25d366; color: #fff; }
  html.nav-open .action-bar, html.lightbox-open .action-bar { transform: translateY(110%); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .service-grid, .compare-grid, .video-grid, .poster-grid, .footer-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .poster-cards { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .poster-card-img { padding: 8px; }
  .poster-card-title { font-size: .88rem; padding: .7rem .8rem; min-height: 4.6em; }
  .poster { border-radius: var(--radius-sm); }

  .hero-actions { flex-direction: column; margin: 1.6rem 0 2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: .8rem; text-align: center; }
  .hero-stats span { font-size: .75rem; display: block; line-height: 1.3; }
  .hero-media { width: min(280px, 72vw); }
  .hero-media::before { transform: translate(12px, 12px); }
  .hero-seal { right: -1.2rem; width: 80px; height: 80px; }
  .hero-seal img { width: 32px; }
  .hero-stats li, .hero-stats li:first-child { padding: 0 .4rem; }
  .hero-stats span { margin-inline: auto; }


  .service-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; }
  .service-card h3 { margin: 0; flex: 1; }
  .service-card p, .service-card .link-arrow { flex-basis: 100%; }
  .service-card p { margin: .5rem 0; }
  .icon-ring { width: 48px; height: 48px; }

  .cta-inner { text-align: center; justify-content: center; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .contact-number-actions { width: 100%; }
  .contact-number-actions .btn { flex: 1 1 0; justify-content: center; }
  .map iframe { height: 240px; }
  .footer-grid { gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .brand { gap: .5rem; }
  .brand img { width: 46px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: .64rem; padding: 1px 6px; }

  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- New components: responsive ---------- */
@media (max-width: 980px) {
  .t-grid, .doc-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .t-hero-grid { grid-template-columns: 1fr; }
  .t-hero-media { position: static; max-width: 460px; }
  .offer-strip-inner { flex-wrap: wrap; gap: .6rem 1rem; }
  .offer-chips { order: 3; flex-basis: 100%; }
  .offer-strip .link-arrow { margin-left: auto; }
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; }
  .doc-grid.snap-row > *, .review-grid.snap-row > * { flex-basis: 82%; }
  .chip-nav-inner { justify-content: flex-start; }
  .offer-media img { aspect-ratio: 4 / 3.6; }
  .compare-box-grid, .t-facts { grid-template-columns: 1fr; }
  .help-actions, .offer-actions { width: 100%; flex-direction: column; }
  .help-actions .btn, .offer-actions .btn { width: 100%; }
  .cat-section-head { align-items: flex-start; }
  .steps { flex-direction: column; align-items: flex-start; width: max-content; margin-inline: auto; }
}
@media (max-width: 620px) {
  .t-grid { grid-template-columns: 1fr; gap: 1rem; }
  .t-card { flex-direction: row; }
  .t-card-media { flex: 0 0 36%; aspect-ratio: auto; }
  .t-card-body { padding: 1rem 1.1rem; }
  .t-card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; }
  .t-card-media .badge { top: .5rem; left: .5rem; font-size: .58rem; padding: .25rem .45rem; }
  .t-card h3 { font-size: 1.1rem; }
  .t-card-cat { display: none; }
}

/* ---------- Accessibility & touch sizing (from responsive audit) ---------- */
/* Minimum readable size for small labels */
.badge { font-size: .75rem; }
.badge-sm { font-size: .72rem; padding: .22rem .55rem; }
.compare-label { font-size: .75rem; }

/* Standalone text links get a comfortable tap area without changing their look */
.result-link, .offer-strip-all, .info-block .link-arrow, .compare-box .link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
}
.chip { min-height: 44px; display: inline-flex; align-items: center; }
.big-phone { min-height: 44px; display: flex; align-items: center; }
.brand { min-height: 44px; }

/* Single-column result cards: don't upscale small source photos */
@media (max-width: 620px) {
  .compare-grid:not(.snap-row) > * { width: 100%; max-width: 440px; margin-inline: auto; }
  .brand-sub { font-size: .72rem; }
  .t-card-media .badge { font-size: .72rem; padding: .28rem .5rem; }
}

/* ---------- Tablet layout refinements (761px–980px) ---------- */
@media (min-width: 761px) and (max-width: 980px) {
  /* Groups of three stay in one row instead of leaving an orphan card */
  .doc-grid, .video-grid, .compare-grid.snap-row { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .doc-body { padding: 1rem; }
  .doc-body h3 { font-size: 1.1rem; }
  .doc-role { font-size: .7rem; letter-spacing: .06em; }
  .compare-card figcaption { padding: .9rem 1rem; }
  .review-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Treatment page: keep the poster beside the copy */
  .t-hero-grid { grid-template-columns: 1fr minmax(240px, 300px); }
  .t-hero-media { position: sticky; max-width: none; }
  .t-facts { grid-template-columns: 1fr; gap: 1.5rem; }

  .split-media img { max-height: 440px; }
}
/* Treatment hero is left-aligned at every size */
.t-hero .hero-actions { justify-content: flex-start; }

/* Smallest phones: keep the bottom action bar readable */
@media (max-width: 360px) {
  .action-bar { gap: 6px; padding-inline: 10px; }
  .action-bar a { font-size: .82rem; gap: 4px; }
  .action-bar svg { width: 15px; height: 15px; }
}

@media (min-width: 621px) and (max-width: 980px) { .poster-cards { grid-template-columns: repeat(2, 1fr); } }
