/* ==========================================================================
   Melton Dermatology & Aesthetics Clinic — site stylesheet
   Layout follows the original UI/UX design file; colours and type are
   Melton's live brand (espresso, gold, sand, cream · Botique Display + Poppins).
   ========================================================================== */

@font-face {
  font-family: "Botique Display";
  src: url("../fonts/BeautiqueDisplay-Light.otf") format("opentype");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --espresso: #2F2528;      /* replaces the design file's dark green */
  --espresso-2: #3C3033;
  --espresso-3: #4A3C3F;
  --gold: #A68A64;          /* buttons, accents */
  --gold-deep: #8E7352;
  --gold-light: #CBB89C;
  --gold-text: #735C40;     /* gold on light backgrounds, AA contrast */
  --sand: #ECE6DD;          /* page background */
  --sand-2: #E2DACE;        /* raised panels */
  --sand-3: #D3C8B8;
  --cream: #F8F5F0;
  --butter: #F2EBE1;        /* light cards */
  --nav: #FBF9F5;
  --ink: #2F2528;
  --muted: #6A5F57;
  --line: rgba(47, 37, 40, .14);
  --display: "Botique Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-xl: 120px;
  --r-lg: 64px;
  --r-md: 32px;
  --shadow: 0 18px 40px -24px rgba(47, 37, 40, .45);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  /* ---- Type scale: one size per role, used across every page ---- */
  --fs-xs: 12px;                                 /* labels, chips, meta, eyebrows */
  --fs-sm: 14px;                                 /* UI text, captions, card copy */
  --fs-base: clamp(15px, .25vw + 14.2px, 16px);  /* body copy */
  --fs-input: 16px;                              /* form fields (no zoom on iPhone) */
  --fs-lead: clamp(16px, .5vw + 14.4px, 18px);   /* intro paragraphs */
  --fs-btn: 16px;
  --fs-h7: 17px;                                 /* small display labels */
  --fs-h6: 20px;                                 /* card titles */
  --fs-h5: clamp(20px, 1.2vw + 15px, 24px);      /* sub-headings */
  --fs-h4: clamp(23px, 1.6vw + 16px, 29px);      /* section sub-titles */
  --fs-h3: clamp(27px, 2.4vw + 17px, 38px);      /* medium titles */
  --fs-h2: clamp(32px, 3.6vw + 18px, 52px);      /* section titles */
  --fs-h1: clamp(38px, 4.8vw + 20px, 70px);      /* page titles */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h5); line-height: 1.2; }
h4 { font-size: var(--fs-h6); line-height: 1.25; }
p, li { text-wrap: pretty; }
small { font-size: var(--fs-xs); }
strong, b { font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--cream); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-sm { max-width: 900px; }
.wrap-xs { max-width: 720px; }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.bg-dark { background: var(--espresso); color: var(--cream); }
.bg-panel { background: var(--sand-2); }
.bg-cream { background: var(--cream); }
.center { text-align: center; }

/* ---- Type ---- */
.h-xl { font-size: var(--fs-h1); }
.h-lg { font-size: var(--fs-h2); }
.h-md { font-size: var(--fs-h3); }
.h-sm { font-size: var(--fs-h4); }
.gold { color: var(--gold-light); }
.bg-dark .h-lg, .bg-dark .h-md { color: var(--gold-light); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 640px; }
.bg-dark .lead { color: #E4DACD; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.bg-dark .eyebrow { color: var(--gold-light); }
.prose { font-size: var(--fs-base); color: #3E3437; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: var(--fs-h4); margin-top: 38px; }
.prose h3 { font-size: var(--fs-h5); margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 22px 0; padding: 18px 24px; background: var(--butter); border-radius: 0 var(--r-md) 0 0; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--sand-2); }

/* ---- Buttons (single rounded top-right corner, as in the design) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; min-height: 46px;
  font-family: var(--display); font-size: var(--fs-btn); letter-spacing: .02em;
  background: var(--gold); color: var(--espresso);
  border-radius: 0 22px 0 0;
  transition: background .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-dark { background: var(--espresso); color: var(--gold-light); }
.btn-dark:hover { background: var(--espresso-2); }
.btn-light { background: var(--sand); color: var(--espresso); }
.btn-light:hover { background: var(--butter); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 8px 18px; min-height: 38px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 4px; color: var(--gold-text); }
.bg-dark .link-arrow { color: var(--gold-light); }

/* ---- Header (floating pill) ---- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px var(--gutter) 0; }
.nav-pill {
  max-width: 1320px; margin: 0 auto; background: var(--nav);
  border-radius: 999px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 8px 22px; box-shadow: 0 10px 30px -22px rgba(47, 37, 40, .6);
}
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); list-style: none; }
.nav-links a { font-size: var(--fs-sm); padding: 6px 2px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right .25s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); padding: 8px 14px; border-radius: 999px; }
.nav-phone svg { width: 17px; height: 17px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: 0; background: rgba(47, 37, 40, .5);
    opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70;
  }
  .mobile-nav .panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
    background: var(--nav); padding: 22px 24px 32px; transform: translateX(100%);
    transition: transform .3s; overflow-y: auto; border-radius: var(--r-md) 0 0 var(--r-md);
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav.open .panel { transform: none; }
  .mobile-nav ul { list-style: none; margin-top: 18px; }
  .mobile-nav li a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: var(--fs-h5); }
  .mobile-nav .close { width: 44px; height: 44px; margin-left: auto; display: flex; align-items: center; justify-content: center; }
  .mobile-nav .actions { margin-top: 24px; display: grid; gap: 10px; }
}

/* ---- Decorative line art ---- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-drop { width: 82px; height: 56px; }
.deco-lines { opacity: .35; }
.rel { position: relative; z-index: 1; }

/* ---- Home hero ---- */
.hero { position: relative; margin-top: -78px; padding-top: 78px; background: var(--sand-2); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 64%); min-height: clamp(460px, 62vw, 720px); }
.hero-copy { position: relative; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 80px) max(var(--gutter), calc((100vw - 1320px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; gap: 18px; z-index: 2; }
.hero-copy h1 { font-size: var(--fs-h1); }
.hero-copy p { color: #4A3F3A; max-width: 440px; font-size: var(--fs-base); }
.hero-media { position: relative; border-bottom-left-radius: 46% 34%; overflow: hidden; background: var(--sand-3); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero .deco-drop { top: 110px; left: 22px; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; height: 62vw; min-height: 300px; border-bottom-left-radius: 0; border-radius: 0 0 0 var(--r-xl); }
  .hero-copy { padding: 34px var(--gutter) 48px; }
  .hero .deco-drop { display: none; }
}

/* ---- Pillars (arch cards) ---- */
.intro-icon { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--espresso); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 640px; margin: 54px auto 0; }
.pillar {
  border-radius: 999px; padding: 70px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 300px;
}
.pillar h3 { font-size: var(--fs-h6); }
.pillar p { font-size: var(--fs-sm); line-height: 1.55; }
.pillar svg { width: 34px; height: 34px; }
.pillar.p1 { background: var(--butter); }
.pillar.p2 { background: var(--gold); }
.pillar.p3 { background: var(--sand-2); }
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; max-width: 340px; }
  .pillar { min-height: 0; padding: 48px 32px; border-radius: 160px; }
}

/* ---- Section headers ---- */
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-bottom: 44px; }
.sec-head h2 { max-width: 260px; }
.sec-head .lead { font-size: var(--fs-base); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } .sec-head h2 { max-width: none; } }

/* ---- Carousel (scroll-snap) ---- */
.carousel { position: relative; }
.track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--espresso); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.car-btn:hover { background: var(--gold-deep); }
.car-btn svg { width: 18px; height: 18px; }
.car-side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.car-side.prev { left: -22px; } .car-side.next { right: -22px; }
@media (max-width: 760px) { .car-side { display: none; } }

/* ---- Service cards (dark section slider) ---- */
.svc-card { width: clamp(250px, 26vw, 300px); position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--butter); color: var(--ink); }
.svc-card .img { aspect-ratio: 4 / 4.2; overflow: hidden; }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover img { transform: scale(1.04); }
.svc-card .cap { position: relative; margin-top: -54px; background: var(--butter); border-radius: 0 var(--r-lg) 0 0; padding: 22px 22px 24px; min-height: 120px; }
.svc-card:nth-child(3n+2) .cap { background: var(--sand-2); }
.svc-card:nth-child(3n) .cap { background: var(--gold); }
.svc-card .tag { position: absolute; top: 16px; left: 16px; font-size: var(--fs-xs); background: rgba(47, 37, 40, .72); color: var(--cream); padding: 4px 10px; border-radius: 99px; z-index: 2; }
.svc-card h3 { font-size: var(--fs-h6); }
.svc-card p { font-size: var(--fs-sm); margin-top: 6px; }

/* ---- Before / after ---- */
.ba-pair { display: flex; gap: 8px; flex: none; width: clamp(250px, 30vw, 330px); }
.ba-pair figure { margin: 0; flex: 1; text-align: center; }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 0 0; }
.ba-pair figcaption { font-family: var(--display); font-size: var(--fs-h7); margin-top: 10px; }
.ba-label { display: inline-flex; gap: 6px; font-family: var(--display); font-size: var(--fs-sm); background: var(--gold); padding: 4px 14px; border-radius: 99px; margin-bottom: 10px; }

/* ---- CTA capsule ---- */
.capsule {
  background: var(--gold); border-radius: 999px; padding: clamp(28px, 4vw, 44px) clamp(28px, 6vw, 70px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 900px; margin: 0 auto;
}
.capsule h2 { font-size: var(--fs-h3); }
.capsule p { font-size: var(--fs-base); margin-top: 6px; max-width: 420px; }
.capsule .btn { background: var(--espresso); color: var(--gold-light); }
.capsule.dark { background: var(--espresso); color: var(--cream); }
.capsule.dark h2 { color: var(--cream); }
.capsule.dark .btn { background: var(--gold); color: var(--espresso); }
@media (max-width: 720px) { .capsule { flex-direction: column; text-align: center; border-radius: var(--r-lg); } }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 720px; margin: 0 auto; text-align: center; }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--fs-h2); }
.stats span { font-size: var(--fs-sm); color: var(--muted); display: block; max-width: 180px; margin: 4px auto 0; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Reviews ---- */
.reviews-box { background: var(--sand-2); padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 0 var(--r-xl) 0 0; }
.rating-line { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-deep); }
.stars svg { width: 16px; height: 16px; }
.review { width: clamp(270px, 32vw, 360px); background: var(--cream); padding: 26px 26px 22px; border-radius: 0 var(--r-lg) 0 0; display: flex; flex-direction: column; gap: 12px; }
.review:nth-child(2n) { background: var(--gold-light); }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review .who strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h6); display: block; }
.review .who small { font-size: var(--fs-xs); color: var(--muted); }
.review p { font-size: var(--fs-base); }
.review .more { font-size: var(--fs-xs); color: var(--gold-text); font-weight: 600; align-self: flex-start; }
.review.clamped p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---- Promise + booking form ---- */
.promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.promise h2 { text-transform: lowercase; }
.promise .media { margin-top: 22px; border-radius: 0 var(--r-xl) 0 0; overflow: hidden; }
.promise .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.promise ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; font-size: var(--fs-base); }
.promise li { display: flex; gap: 10px; }
.promise li svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); margin-top: 3px; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

.form-card { background: var(--gold); padding: clamp(26px, 4vw, 42px); border-radius: 0 0 var(--r-xl) 0; }
.form-card h3 { font-size: var(--fs-h4); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field svg { position: absolute; left: 12px; top: 14px; width: 16px; height: 16px; color: var(--espresso); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-input); color: var(--ink);
  background: var(--sand); border: 1px solid transparent; border-radius: 0;
  padding: 12px 12px 12px 38px; min-height: 44px; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F2528' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--espresso); background: var(--cream); }
.form-card .btn { background: var(--sand); color: var(--espresso); margin-top: 16px; }
.form-card .btn:hover { background: var(--cream); }
.form-note { font-size: var(--fs-sm); margin-top: 12px; min-height: 18px; }
.form-note.ok { color: #1F5135; } .form-note.err { color: #7A1F1F; }
.form-card.alt { background: transparent; padding: 0; border-radius: 0; }
.form-card.alt .field input, .form-card.alt .field textarea { background: var(--gold); border-radius: 99px; }
.form-card.alt .field textarea { border-radius: 0 var(--r-md) var(--r-md) 0; }
.form-card.alt .btn { background: var(--gold); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Blog cards ---- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-card .img { overflow: hidden; aspect-ratio: 4 / 4.6; }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .img img { transform: scale(1.04); }
.post-card h3 { font-size: var(--fs-h6); }
.post-meta { display: flex; gap: 14px; font-size: var(--fs-xs); color: var(--muted); align-items: center; flex-wrap: wrap; }
.post-meta svg { width: 15px; height: 15px; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.chip { display: inline-block; font-size: var(--fs-xs); letter-spacing: .04em; padding: 4px 12px; background: var(--butter); border-radius: 99px; color: var(--espresso); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* ---- Gallery strip ---- */
.strip { display: flex; gap: 6px; overflow: hidden; }
.strip-track { display: flex; gap: 6px; animation: marquee 50s linear infinite; }
.strip img { width: clamp(150px, 16vw, 210px); height: clamp(170px, 19vw, 240px); object-fit: cover; flex: none; }
.strip img:nth-child(4n+2) { border-radius: var(--r-xl) 0 0 0; }
.strip img:nth-child(4n) { border-radius: 0 var(--r-xl) 0 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---- Footer ---- */
.site-footer { background: var(--espresso); color: #E8E0D5; padding: clamp(48px, 6vw, 80px) 0 28px; }
.ft-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft-top img { height: 70px; width: auto; }
.ft-top p { font-size: var(--fs-base); max-width: 460px; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 40px 0; }
.ft-cols h3 { font-size: var(--fs-h6); color: var(--gold-light); margin-bottom: 14px; }
.ft-cols ul { list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); }
.ft-cols a { color: #E8E0D5; transition: color .2s; display: inline-flex; gap: 8px; align-items: center; }
.ft-cols a:hover { color: var(--gold-light); }
.ft-cols svg { width: 16px; height: 16px; flex: none; }
.ft-cols li { display: flex; gap: 8px; align-items: flex-start; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-xs); flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-bottom nav { display: flex; gap: 22px; }
@media (max-width: 860px) {
  .ft-top { grid-template-columns: 1fr; text-align: left; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .ft-cols { grid-template-columns: 1fr; } }

/* ---- WhatsApp float ---- */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; z-index: 55; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Page header (inner pages) ---- */
.page-head { padding: clamp(36px, 6vw, 70px) 0 clamp(26px, 4vw, 40px); }
.page-head .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head p { margin-top: 10px; font-size: var(--fs-base); }

/* ---- Catalogue cards (treatments) ---- */
.cat-title { font-size: var(--fs-h4); margin: 44px 0 20px; scroll-margin-top: 110px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.t-card { position: relative; display: block; background: var(--butter); overflow: hidden; }
.t-card .img { aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--sand-3); }
.t-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.t-card:hover .img img { transform: scale(1.05); }
.t-card .body { position: relative; margin-top: -40px; background: var(--butter); border-radius: 0 56px 0 0; padding: 14px 14px 14px; min-height: 104px; display: flex; flex-direction: column; }
.t-card h3 { font-size: var(--fs-h7); line-height: 1.2; }
.t-card .price { font-size: var(--fs-sm); margin-top: 4px; }
.t-card .more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); padding-top: 8px; }
.t-card .more i { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.t-card .more svg { width: 12px; height: 12px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .t-card h3 { font-size: var(--fs-base); } }

/* ---- Treatment detail ---- */
.tr-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.tr-head .actions { display: grid; gap: 10px; min-width: 210px; }
.price-pill { background: var(--gold); text-align: center; padding: 10px 20px; font-family: var(--display); font-size: var(--fs-h6); border-radius: 0 22px 0 0; }
.tr-hero { margin-top: 34px; border-radius: 0 var(--r-xl) 0 0; overflow: hidden; }
.tr-hero img { width: 100%; max-height: 520px; object-fit: cover; }
@media (max-width: 720px) { .tr-head { grid-template-columns: 1fr; } }
.why { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 44px; }
.why .col { display: grid; gap: 46px; }
.why .item { display: flex; gap: 10px; }
.why .item svg { width: 20px; height: 20px; flex: none; color: var(--gold-deep); margin-top: 2px; }
.why .item h3 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.why .item p { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.why .center-img { width: clamp(150px, 18vw, 210px); aspect-ratio: 1 / 1.6; border-radius: 999px; overflow: hidden; background: var(--cream); }
.why .center-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .why { grid-template-columns: 1fr; justify-items: center; } .why .col { gap: 20px; width: 100%; } }
.prep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.prep .img { border-radius: 0 0 var(--r-xl) 0; overflow: hidden; }
.prep .img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prep h3 { font-family: var(--display); font-size: var(--fs-h6); margin: 18px 0 6px; }
.prep ul { list-style: none; display: grid; gap: 4px; font-size: var(--fs-base); }
.prep li::before { content: "•"; color: var(--gold-deep); margin-right: 8px; }
@media (max-width: 720px) { .prep { grid-template-columns: 1fr; } }
.ba-quote { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; align-items: center; }
.ba-quote img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-quote figure { margin: 0; position: relative; }
.ba-quote figure:first-child img { border-radius: var(--r-lg) 0 0 0; }
.ba-quote figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(47, 37, 40, .78); color: var(--cream); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.ba-quote blockquote { margin: 0; font-size: var(--fs-base); }
.ba-quote blockquote svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 10px; }
.ba-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--display); }
@media (max-width: 720px) { .ba-quote { grid-template-columns: 1fr 1fr; } .ba-quote blockquote { grid-column: 1 / -1; } }

/* ---- Accordion (FAQ) ---- */
.acc { display: grid; gap: 14px; }
.acc details { background: var(--gold); border-radius: 0 var(--r-lg) 0 0; overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 26px; display: flex; gap: 14px; align-items: center; font-family: var(--display); font-size: var(--fs-h6); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .sign { width: 14px; height: 14px; position: relative; flex: none; }
.acc summary .sign::before, .acc summary .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--espresso); transform: translateY(-50%); }
.acc summary .sign::after { transform: translateY(-50%) rotate(90deg); transition: transform .25s; }
.acc details[open] summary .sign::after { transform: translateY(-50%) rotate(0deg); }
.acc .ans { padding: 0 26px 20px 54px; font-size: var(--fs-base); }

/* ---- You might also like ---- */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { background: var(--cream); border-radius: var(--r-md) 0 0 0; overflow: hidden; display: flex; flex-direction: column; }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini .b { padding: 14px 16px 18px; display: grid; gap: 4px; }
.mini h3 { font-size: var(--fs-h6); }
.mini p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 640px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---- Feature (image + text) rows ---- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 7vw, 90px); }
.feature .img img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.feature .img.r-tr { border-radius: 0 var(--r-xl) 0 0; overflow: hidden; }
.feature .img.r-br { border-radius: 0 0 var(--r-xl) 0; overflow: hidden; }
.feature .img.r-tl { border-radius: var(--r-xl) 0 0 0; overflow: hidden; }
.feature h2 { margin-bottom: 14px; }
.feature ul.dots { list-style: none; display: grid; gap: 10px; margin-top: 18px; font-size: var(--fs-base); }
.feature ul.dots li { display: flex; gap: 10px; }
.feature ul.dots svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); margin-top: 3px; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .img { order: -1; } }

/* ---- About hero ---- */
.wide-hero { border-radius: 0 0 var(--r-xl) 0; overflow: hidden; }
.wide-hero img { width: 100%; height: clamp(260px, 36vw, 470px); object-fit: cover; }
.about-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; margin-top: 30px; align-items: start; }
.about-intro .big { font-family: var(--display); font-size: var(--fs-h2); line-height: 1; }
@media (max-width: 720px) { .about-intro { grid-template-columns: 1fr; } }

/* ---- Experts ---- */
.experts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.experts img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--sand-2); }
.experts figure { margin: 0; }
.experts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.experts.two figure:nth-child(2) img { border-radius: 0 var(--r-xl) 0 var(--r-xl); }
.experts figure:nth-child(1) img { border-radius: var(--r-xl) 0 var(--r-xl) 0; }
.experts figure:nth-child(2) img { border-radius: 999px 999px 0 0; }
.experts figure:nth-child(3) img { border-radius: 0 var(--r-xl) 0 0; }

/* ---- Journey CTA band ---- */
.journey { position: relative; display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 66%); background: var(--sand-2); overflow: hidden; min-height: 330px; }
.journey .media { background: #CFC2B4; }
.journey .media img { width: 100%; height: 100%; object-fit: cover; }
.journey .copy { position: relative; background: var(--sand); border-radius: var(--r-xl) 0 0 0; margin-left: -60px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.journey h2 { color: var(--gold-deep); max-width: 420px; }
.journey p { font-size: var(--fs-base); color: var(--gold-text); max-width: 420px; }
.journey .face { position: absolute; right: 0; top: 0; height: 100%; width: auto; color: var(--gold-deep); opacity: .9; pointer-events: none; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; }
  .journey .media { height: 200px; }
  .journey .copy { margin-left: 0; margin-top: -50px; }
  .journey .face { opacity: .25; }
}

/* ---- Contact ---- */
.contact-head { background: var(--sand-2); padding: clamp(42px, 6vw, 72px) 0; text-align: center; }
.contact-head p { font-size: var(--fs-base); margin-top: 8px; }
.contact-head a { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.socials svg { width: 16px; height: 16px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 40px); align-items: stretch; }
.contact-grid .img { border-radius: 0 0 var(--r-lg) 0; overflow: hidden; }
.contact-grid .img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .img img { min-height: 240px; max-height: 320px; } }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: 0 var(--r-xl) 0 0; filter: grayscale(.2) sepia(.15); }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 26px 0 34px; }
.tab { padding: 10px 22px; border-radius: 99px; background: var(--cream); font-size: var(--fs-sm); transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--espresso); color: var(--gold-light); }
.tab-panel[hidden] { display: none; }
.tab-panel .intro { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.tab-panel .intro h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.tab-panel .intro p { font-size: var(--fs-base); color: var(--muted); }

/* ---- Arch cards (signature treatments / conditions) ---- */
.arch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.arch-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.arch-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; }
.arch { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.arch .img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--sand-3); }
.arch:nth-child(3n+2) .img { border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 0; }
.arch:nth-child(3n) .img { border-radius: 999px; }
.arch .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.arch:hover .img img { transform: scale(1.04); }
.arch h3, .arch h4 { font-size: var(--fs-h6); }
.arch p { font-size: var(--fs-sm); color: var(--muted); }
.bg-dark .arch p { color: #D8CEC1; }
.bg-dark .arch h3, .bg-dark .arch h4 { color: var(--cream); }
.arch .price { font-family: var(--display); font-size: var(--fs-h7); color: var(--gold-text); }
.bg-dark .arch .price { color: var(--gold-light); }
@media (max-width: 900px) { .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .arch-grid, .arch-grid.three, .arch-grid.two { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }

/* ---- Benefit cards ---- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit { background: var(--cream); padding: 30px 26px; border-radius: 0 var(--r-lg) 0 0; }
.benefit:nth-child(2) { background: var(--gold); }
.benefit:nth-child(3) { background: var(--butter); }
.benefit .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--espresso); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { font-size: var(--fs-h5); margin-bottom: 8px; }
.benefit p { font-size: var(--fs-base); }
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; } }

/* ---- Package cards (anti-aging featured) ---- */
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.package { background: var(--cream); border-radius: 0 var(--r-xl) 0 0; overflow: hidden; display: flex; flex-direction: column; }
.package img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.package .b { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.package h3 { font-size: var(--fs-h4); }
.package h4 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; margin-top: 6px; }
.package ul { list-style: none; display: grid; gap: 6px; font-size: var(--fs-sm); }
.package li { display: flex; gap: 8px; }
.package li svg { width: 16px; height: 16px; flex: none; color: var(--gold-deep); margin-top: 3px; }
.package .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
.package .foot strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h5); }
@media (max-width: 760px) { .packages { grid-template-columns: 1fr; } }

/* ---- Results (before/after with captions) ---- */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.result .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.result figure { margin: 0; position: relative; }
.result img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.result figure:first-child img { border-radius: var(--r-lg) 0 0 0; }
.result figure:last-child img { border-radius: 0 var(--r-lg) 0 0; }
.result figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(166, 138, 100, .92); text-align: center; font-size: var(--fs-xs); letter-spacing: .14em; padding: 6px; }
.result .cap { font-size: var(--fs-sm); margin-top: 10px; }
.result .cap strong { font-weight: 600; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---- Overlay hero (anti-aging / dermatology) ---- */
.o-hero { position: relative; margin-top: -78px; padding-top: 78px; min-height: clamp(440px, 52vw, 620px); display: flex; align-items: center; color: var(--cream); overflow: hidden; border-radius: 0 0 var(--r-xl) 0; }
.o-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47, 37, 40, .82), rgba(47, 37, 40, .35)); }
.o-hero .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 60px; }
.o-hero h1 { font-size: var(--fs-h1); max-width: 720px; }
.o-hero p { max-width: 560px; margin: 16px 0 26px; color: #EEE7DE; font-size: var(--fs-lead); }

/* ---- Conditions list ---- */
.cond-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cond-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--cream); padding: 16px 20px; border-radius: 0 var(--r-md) 0 0; transition: background .2s; }
.cond-list a:hover { background: var(--butter); }
.cond-list h4 { font-size: var(--fs-h7); }
.cond-list span { font-size: var(--fs-xs); color: var(--gold-text); white-space: nowrap; }
@media (max-width: 900px) { .cond-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cond-list { grid-template-columns: 1fr; } }

/* ---- Condition detail ---- */
.cond-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.cond-hero .img { border-radius: 0 var(--r-xl) 0 0; overflow: hidden; }
.cond-hero .img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); margin-bottom: 18px; color: var(--gold-text); }
.back svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .cond-hero { grid-template-columns: 1fr; } }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card { background: var(--cream); padding: 28px; border-radius: 0 var(--r-lg) 0 0; }
.info-card.wide { grid-column: 1 / -1; background: var(--butter); }
.info-card h2 { font-size: var(--fs-h4); display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.info-card h2 i { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.info-card h2 svg { width: 18px; height: 18px; }
.info-card ul { list-style: none; display: grid; gap: 10px; font-size: var(--fs-base); }
.info-card li { display: flex; gap: 10px; }
.info-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); flex: none; margin-top: 8px; }
.info-card.wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .info-cards { grid-template-columns: 1fr; } .info-card.wide ul { grid-template-columns: 1fr; } }

/* ---- Blog ---- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.filter { padding: 8px 18px; border-radius: 99px; background: var(--cream); font-size: var(--fs-sm); }
.filter[aria-pressed="true"] { background: var(--espresso); color: var(--gold-light); }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--cream); border-radius: 0 var(--r-xl) 0 0; overflow: hidden; margin-bottom: 30px; }
.featured-post .img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.featured-post .b { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-post h2 { font-size: var(--fs-h3); }
.featured-post p { font-size: var(--fs-base); color: var(--muted); }
@media (max-width: 760px) { .featured-post { grid-template-columns: 1fr; } .featured-post .img img { min-height: 220px; } }
.blog-grid .post-card { background: var(--cream); border-radius: 0 var(--r-lg) 0 0; overflow: hidden; }
.blog-grid .post-card .img { aspect-ratio: 16 / 11; }
.blog-grid .post-card .b { padding: 6px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-grid .post-card p { font-size: var(--fs-sm); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-grid .post-card .read { margin-top: auto; font-size: var(--fs-sm); color: var(--gold-text); font-weight: 600; }
.article-hero { border-radius: 0 var(--r-xl) 0 0; overflow: hidden; margin: 26px 0 30px; }
.article-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside-card { background: var(--gold); padding: 26px; border-radius: 0 var(--r-lg) 0 0; position: sticky; top: 110px; display: grid; gap: 12px; }
.aside-card h3 { font-size: var(--fs-h5); }
.aside-card p { font-size: var(--fs-sm); }
.aside-card .btn { background: var(--espresso); color: var(--gold-light); }
.related { display: grid; gap: 14px; margin-top: 18px; }
.related a { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.related img { width: 84px; height: 70px; object-fit: cover; border-radius: 0 18px 0 0; }
.related h4 { font-size: var(--fs-h7); }
.related p { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 900px) { .article-wrap { grid-template-columns: 1fr; } .aside-card { position: static; } }
.share-btn { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-sm); padding: 6px 14px; border-radius: 99px; background: var(--cream); }
.share-btn svg { width: 14px; height: 14px; }

/* ---- Gallery ---- */
.masonry { column-count: 4; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: 0 var(--r-md) 0 0; }
.masonry img { width: 100%; transition: transform .5s; }
.masonry button:hover img { transform: scale(1.03); }
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 720px) { .masonry { column-count: 2; column-gap: 10px; } .masonry button { margin-bottom: 10px; } }
.lightbox { position: fixed; inset: 0; background: rgba(20, 15, 16, .92); display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; }
.lightbox button { position: absolute; color: var(--cream); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 10px; top: 50%; }
.lightbox .lb-next { right: 10px; top: 50%; }
.lightbox svg { width: 28px; height: 28px; }

/* ---- Legal ---- */
.legal { background: var(--cream); padding: clamp(28px, 5vw, 56px); border-radius: 0 var(--r-xl) 0 0; }

/* ---- Booking modal ---- */
.modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(47, 37, 40, .72); }
.modal.open { display: flex; }
.modal-box { width: min(100%, 860px); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); background: var(--gold); border-radius: 0 0 var(--r-xl) 0; position: relative; }
.modal-box .side { background: var(--sand-3); }
.modal-box .side img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 var(--r-lg) 0; }
.modal-box .main { padding: clamp(22px, 4vw, 38px); }
.modal-box h2 { font-size: var(--fs-h4); }
.modal-box .sub { font-size: var(--fs-sm); margin: 4px 0 18px; }
.modal-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal-close svg { width: 18px; height: 18px; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; }
.steps span { height: 4px; flex: 1; background: rgba(47, 37, 40, .2); border-radius: 4px; }
.steps span.on { background: var(--espresso); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; background: var(--sand); font-size: var(--fs-sm); text-align: center; }
.slot[aria-pressed="true"] { background: var(--espresso); color: var(--gold-light); }
.m-label { font-size: var(--fs-sm); font-weight: 600; margin: 14px 0 8px; display: block; }
.summary-box { background: var(--sand); padding: 14px 16px; font-size: var(--fs-sm); display: grid; gap: 4px; margin-bottom: 14px; }
.summary-box strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h7); }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.modal-actions .btn { background: var(--espresso); color: var(--gold-light); }
.modal-actions .btn.back-btn { background: var(--sand); color: var(--espresso); }
@media (max-width: 720px) { .modal-box { grid-template-columns: 1fr; } .modal-box .side { display: none; } .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* utilities */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.flex-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.flex-row.center { justify-content: center; }

/* ---- fixes after first render ---- */
.ba-label svg, .link-arrow svg, .back svg { width: 15px; height: 15px; flex: none; }
.ba-wrap { flex: none; display: flex; flex-direction: column; align-items: flex-start; }
.hero .deco-drop { top: 96px; left: max(16px, calc((100vw - 1320px) / 2)); }
.hero-copy h1 { margin-top: 40px; }
.pillars { max-width: 720px; }
.pillar { padding: 64px 26px; }
.carousel { padding: 0 30px; }
.car-side.prev { left: -4px; } .car-side.next { right: -4px; }
@media (max-width: 760px) { .carousel { padding: 0; } }

/* ---- Live-site style home banner: full-width photo, text over it ---- */
.home-banner { position: relative; margin-top: -78px; min-height: clamp(560px, 72vh, 720px); display: flex; align-items: center; overflow: hidden; background: var(--espresso); }
.home-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 15, .74) 0%, rgba(20, 14, 15, .42) 45%, rgba(20, 14, 15, 0) 75%); }
.home-banner .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 70px; max-width: 1320px; }
.home-banner h1 { color: #fff; font-size: var(--fs-h1); max-width: 620px; }
.home-banner p { color: rgba(255, 255, 255, .9); max-width: 470px; margin: 18px 0 28px; font-size: var(--fs-lead); }
@media (max-width: 820px) {
  .home-banner::after { background: linear-gradient(0deg, rgba(20, 14, 15, .82), rgba(20, 14, 15, .5) 55%, rgba(20, 14, 15, .3)); }
  .home-banner .wrap { text-align: center; }
  .home-banner h1, .home-banner p { margin-left: auto; margin-right: auto; }
}
.btn { box-shadow: 0 8px 20px -14px rgba(47, 37, 40, .6); }


/* ---- Results block on treatment pages ---- */
.res-block { display: grid; grid-template-columns: minmax(0, 1fr) repeat(auto-fit, minmax(220px, 300px)); gap: 20px; align-items: center; background: var(--cream); padding: clamp(20px, 3vw, 32px); border-radius: 0 var(--r-lg) 0 0; }
.res-media { margin: 0; overflow: hidden; border-radius: var(--r-md) 0 var(--r-md) 0; background: var(--sand-2); }
.res-media img, .res-media video { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.res-block p { color: var(--muted); }
@media (max-width: 720px) { .res-block { grid-template-columns: 1fr; } }

/* ==========================================================================
   Learn More (dermatology & aesthetics guide)
   ========================================================================== */
.lm-em { color: var(--gold-text); }
.bg-dark .lm-em, .o-hero .lm-em { color: var(--gold-light); }
.lm-hero h1 { max-width: 760px; }
.lm-hero .eyebrow { color: var(--gold-light); }
.lm-crumbs { display: flex; gap: 8px; font-size: var(--fs-xs); letter-spacing: .06em; color: #E4DACD; margin-bottom: 22px; }
.lm-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.o-hero .lm-byline { font-size: var(--fs-xs); color: #D9CEC0; margin: 22px 0 0; max-width: none; }
.o-hero .lm-byline b { font-weight: 600; color: var(--cream); }
.lm-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 56px); align-items: end; }
.lm-head .lead { max-width: 520px; }
.bg-dark .lm-head .h-lg { color: var(--cream); }
.lm-topics { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.lm-topics a { display: flex; align-items: center; gap: 14px; background: var(--cream); padding: 16px 18px; border-radius: 0 var(--r-md) 0 0; transition: background .2s, transform .2s; height: 100%; }
.lm-topics a:hover { background: var(--butter); transform: translateY(-2px); }
.lm-topics .n { font-family: var(--display); font-size: var(--fs-h5); color: var(--gold-text); line-height: 1; min-width: 30px; }
.lm-topics .t { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; flex: 1; }
.lm-topics svg { width: 16px; height: 16px; color: var(--gold-deep); transform: rotate(90deg); flex: none; }
.lm-concern, .benefits .lm-concern:nth-child(n) { display: flex; flex-direction: column; background: var(--cream); }
.lm-concern p { color: var(--muted); }
.lm-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; font-size: var(--fs-sm); }
.lm-quiet { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; font-size: var(--fs-sm); }
/* chapters */
.lm-ch { scroll-margin-top: 90px; }
.lm-ch-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lm-sticky { display: grid; gap: 18px; }
.lm-num { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 4px; }
.lm-num span { font-family: var(--display); font-size: var(--fs-h4); letter-spacing: 0; color: var(--gold); font-weight: 400; }
.lm-intro { color: #3E3437; }
.lm-intro p + p { margin-top: 10px; }
.lm-label { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); margin-bottom: 10px; }
.lm-facts { background: var(--cream); padding: 18px 20px; border-radius: 0 var(--r-md) 0 0; }
.bg-panel .lm-facts { background: var(--sand); }
.lm-facts dl { margin: 0; display: grid; gap: 10px; }
.lm-facts dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.lm-facts dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.lm-facts dt { font-size: var(--fs-sm); color: var(--muted); }
.lm-facts dd { margin: 0; font-size: var(--fs-sm); font-weight: 500; text-align: right; }
.lm-note-sm { font-size: var(--fs-xs); color: var(--muted); margin-top: 10px; }
.lm-fig { margin: 0; overflow: hidden; border-radius: 0 var(--r-lg) 0 0; }
.lm-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-chips a { font-size: var(--fs-sm); padding: 7px 14px; border-radius: 99px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.lm-chips a:hover { background: var(--espresso); color: var(--gold-light); }
.bg-panel .lm-chips a { background: var(--sand); }
.center-chips { justify-content: center; }
.lm-conds { margin-bottom: 22px; }
.lm-main .acc details { background: var(--cream); }
.bg-panel .lm-main .acc details { background: var(--sand); }
.lm-main .acc details[open] { background: var(--gold); }
.lm-main .acc details[open] .ans { background: var(--cream); padding-top: 18px; }
.bg-panel .lm-main .acc details[open] .ans { background: var(--sand); }
.lm-main .acc summary { font-size: var(--fs-h7); line-height: 1.3; }
.lm-main .acc .ans { padding: 18px 26px 22px; }
.lm-main .acc .ans.prose > * + * { margin-top: 10px; }
.lm-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: var(--fs-sm); color: var(--gold-text); }
.lm-back svg { width: 15px; height: 15px; transform: rotate(-45deg); }
/* when to see a dermatologist */
.lm-signs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lm-signs li { background: var(--espresso-2); padding: 24px 24px 26px; border-radius: 0 var(--r-lg) 0 0; }
.lm-signs .n { font-family: var(--display); font-size: var(--fs-h4); color: var(--gold); display: block; margin-bottom: 8px; }
.lm-signs h3 { font-size: var(--fs-h6); color: var(--cream); margin-bottom: 6px; }
.lm-signs p { font-size: var(--fs-sm); color: #D9CEC0; }
.lm-cta-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.lm-cta-row small { color: #D9CEC0; max-width: 460px; }
/* treatments */
.lm-treats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lm-treat { display: flex; flex-direction: column; gap: 8px; background: var(--cream); padding: 22px 20px; border-radius: 0 var(--r-md) 0 0; transition: transform .25s, box-shadow .25s; }
.lm-treat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lm-treat h3 { font-size: var(--fs-h6); }
.lm-treat p { font-size: var(--fs-sm); color: var(--muted); }
.lm-treat .meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.lm-treat .price { font-family: var(--display); font-size: var(--fs-h7); color: var(--gold-text); }
.lm-treat i { width: 30px; height: 30px; border-radius: 50%; background: var(--espresso); color: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.lm-treat i svg { width: 14px; height: 14px; }
/* why melton */
.lm-why .img img { aspect-ratio: 4 / 5; }
.lm-why-list { list-style: none; padding: 0; margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.lm-why-list li { display: flex; gap: 12px; }
.lm-why-list .n { font-family: var(--display); font-size: var(--fs-h5); color: var(--gold); line-height: 1.1; min-width: 28px; }
.lm-why-list h3 { font-family: var(--sans); font-size: var(--fs-base); font-weight: 600; margin-bottom: 2px; }
.lm-why-list p { font-size: var(--fs-sm); color: var(--muted); }
.lm-more { margin-top: 22px; font-size: var(--fs-sm); }
.lm-more a, .lm-intro a, .lm-concern p a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
/* location */
.lm-card { background: var(--cream); padding: 22px 24px; border-radius: 0 var(--r-md) 0 0; }
.lm-card address { font-style: normal; font-family: var(--display); font-size: var(--fs-h6); line-height: 1.35; }
.lm-card dl { margin: 14px 0 0; display: grid; gap: 6px; }
.lm-card dl div { display: flex; gap: 12px; font-size: var(--fs-sm); }
.lm-card dt { min-width: 52px; color: var(--muted); }
.lm-card dd { margin: 0; }
.lm-card dd a { text-decoration: underline; text-underline-offset: 3px; }
.lm-loc .img img { min-height: 420px; }
.lm-final { gap: 24px; }
.lm-final h2 { color: var(--cream); }
.capsule.dark.lm-final .btn-light { background: var(--sand); color: var(--espresso); }
.capsule.dark.lm-final .btn-light:hover { background: var(--butter); }
.lm-notes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; padding: 26px 28px; background: var(--sand-2); border-radius: 0 var(--r-md) 0 0; font-size: var(--fs-sm); color: var(--muted); }
.lm-notes h2 { color: var(--ink); margin-bottom: 10px; }
.lm-notes dl { margin: 0; display: grid; gap: 6px; }
.lm-notes dl div { display: flex; gap: 10px; } .lm-notes dt { font-weight: 600; color: var(--ink); } .lm-notes dd { margin: 0; }
@media (max-width: 1000px) { .lm-treats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lm-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .lm-head, .lm-ch-grid, .lm-notes { grid-template-columns: 1fr; }
  .lm-sticky { position: static; }
  .lm-fig { display: none; }
}
@media (max-width: 600px) {
  .lm-signs, .lm-treats, .lm-why-list { grid-template-columns: 1fr; }
  .lm-topics { grid-template-columns: 1fr 1fr; }
  .lm-topics a { padding: 14px; gap: 10px; } .lm-topics svg { display: none; }
  .lm-main .acc summary { padding: 16px 18px; } .lm-main .acc .ans { padding: 16px 18px 20px; }
}

/* long treatment names (e.g. "Cheeks/Jaw/Lips") never push the page wider */
h1, h2, h3 { overflow-wrap: break-word; }
.tr-head > div { min-width: 0; }
@media (max-width: 600px) { .btn { white-space: normal; text-align: center; } .tr-head h1 { overflow-wrap: anywhere; } }

/* ==========================================================================
   Videos (Watch & Learn)
   ========================================================================== */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 16px; }
.vid-grid.row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vid-grid.row5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vid-card { display: flex; flex-direction: column; gap: 10px; }
.vid-card[hidden] { display: none; }
.vid-thumb { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--espresso); border-radius: 0 var(--r-md) 0 0; isolation: isolate; }
.vid-thumb.wide { aspect-ratio: 16 / 9; border-radius: 0 var(--r-lg) 0 0; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vid-thumb.wide img { transform: scale(1.34); }   /* hide the 4:3 letterbox bars */
.vid-thumb:hover img { transform: scale(1.05); }
.vid-thumb.wide:hover img { transform: scale(1.38); }
.vid-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47, 37, 40, 0) 55%, rgba(47, 37, 40, .6)); z-index: 0; }
.vid-thumb .play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(248, 245, 240, .9); color: var(--espresso); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .25s, background .25s; }
.vid-thumb .play svg { width: 24px; height: 24px; margin-left: 3px; }
.vid-thumb:hover .play { transform: scale(1.08); background: var(--gold); }
.vid-thumb .dur { position: absolute; right: 10px; bottom: 10px; z-index: 1; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 99px; }
.vid-card .cat, .vfeat-cap .cat, .vrel .cat { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.vid-card h3 { font-size: var(--fs-h7); line-height: 1.25; margin-top: 2px; }
.vid-card h3 a:hover { color: var(--gold-text); }
.vs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.vs-head p { color: var(--muted); }
.vs-inner { padding: 0; }
.vhero { background: var(--espresso); color: var(--cream); margin-top: -78px; padding: calc(78px + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 84px); border-radius: 0 0 var(--r-xl) 0; }
.vhero h1 { color: var(--cream); }
.vhero .eyebrow, .vhero .vfeat-cap .cat { color: var(--gold-light); }
.vhero .lead { color: #E4DACD; }
.vhero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.vcount { margin-top: 18px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #CFC3B4; }
.vfeat-cap { margin-top: 14px; display: grid; gap: 4px; }
.vfeat-cap a { font-family: var(--display); font-size: var(--fs-h5); color: var(--cream); }
.watch { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.watch.is-h { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.player { position: relative; overflow: hidden; background: var(--espresso); border-radius: 0 var(--r-lg) 0 0; box-shadow: var(--shadow); }
.player.v { aspect-ratio: 9 / 16; max-height: 82vh; }
.player.h { aspect-ratio: 16 / 9; }
.player iframe, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmeta { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.vmeta svg { width: 15px; height: 15px; }
.vnote { margin-top: 14px; font-size: var(--fs-sm); color: var(--muted); border-left: 2px solid var(--gold); padding-left: 12px; }
.vrel { margin-top: 24px; background: var(--cream); padding: 20px 22px; border-radius: 0 var(--r-md) 0 0; }
.vrel h2 { margin-top: 4px; }
.vrel .price { font-family: var(--display); font-size: var(--fs-h7); color: var(--gold-text); margin-top: 2px; }
.vmodal { position: fixed; inset: 0; z-index: 120; background: rgba(28, 22, 24, .86); display: flex; align-items: center; justify-content: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vbox { position: relative; display: flex; gap: 22px; align-items: flex-end; max-height: 100%; }
.vframe { position: relative; background: #000; overflow: hidden; border-radius: 0 var(--r-md) 0 0; }
.vframe.v { height: min(86vh, 760px); aspect-ratio: 9 / 16; }
.vframe.h { width: min(88vw, 1000px); aspect-ratio: 16 / 9; }
.vinfo { width: 260px; color: var(--cream); display: grid; gap: 14px; }
.vinfo h2 { color: var(--cream); }
.vinfo .btn-light { background: var(--sand); }
.vclose { position: absolute; top: -6px; right: -6px; transform: translate(50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--cream); color: var(--espresso); display: flex; align-items: center; justify-content: center; z-index: 2; }
.vclose svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .vid-grid.row5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vid-grid.row5 > :nth-child(n+4) { display: none; } }
@media (max-width: 860px) {
  .vhero-grid, .watch, .watch.is-h { grid-template-columns: 1fr; }
  .player.v { max-width: 380px; width: 100%; margin: 0 auto; }
  .vbox { flex-direction: column; align-items: center; }
  .vinfo { width: auto; max-width: 92vw; text-align: center; justify-items: center; }
  .vframe.v { height: min(72vh, 640px); }
  .vclose { right: 6px; top: 6px; transform: none; }
}
@media (max-width: 680px) {
  .vid-grid, .vid-grid.row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .vid-grid.row5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vid-grid.row5 > :nth-child(n+5) { display: none; }
  .vid-thumb .play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
/* the menu gained a "Videos" link: switch to the mobile menu a little earlier */
@media (max-width: 1200px) and (min-width: 1081px) { .nav-phone { display: none; } }

/* ==========================================================================
   Treatment page infographics
   ========================================================================== */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.glance .g { background: var(--cream); padding: 18px 18px 20px; border-radius: 0 var(--r-md) 0 0; display: grid; gap: 4px; align-content: start; position: relative; }
.glance .gi { width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.glance .gi svg { width: 19px; height: 19px; }
.glance .k { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.glance strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h6); line-height: 1.25; }
.meter { display: flex; gap: 5px; margin-top: 6px; }
.meter i { width: 22px; height: 6px; border-radius: 99px; background: var(--sand-3); }
.meter i.on { background: var(--gold); }
.helps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.helps .lbl { font-size: var(--fs-sm); font-weight: 600; margin-right: 4px; }
.chip-o { font-size: var(--fs-sm); padding: 6px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--gold); color: var(--espresso); background: transparent; }
.g-note { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }
.how { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.how-img { border-radius: 0 var(--r-xl) 0 var(--r-xl); overflow: hidden; }
.how-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--gold) 0 6px, transparent 6px 12px); }
.steps .n { width: 52px; height: 52px; border-radius: 50%; background: var(--espresso); color: var(--gold-light); font-family: var(--display); font-size: var(--fs-h5); display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: var(--fs-h6); margin: 4px 0 4px; }
.steps p { color: #4A3F3A; }
.tline { list-style: none; padding: 0; margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; text-align: center; }
.tline::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 47px; height: 2px; background: linear-gradient(90deg, var(--gold-light), var(--gold-deep)); }
.tline li { display: grid; justify-items: center; gap: 10px; padding: 0 10px; position: relative; }
.tline .when { font-family: var(--display); font-size: var(--fs-h6); color: var(--gold-text); min-height: 28px; }
.tline .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px var(--gold); z-index: 1; }
.tline li:last-child .dot { background: var(--gold); }
.tline .what { font-size: var(--fs-sm); color: #4A3F3A; max-width: 190px; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card { background: var(--cream); padding: 24px 24px 26px; border-radius: 0 var(--r-lg) 0 0; }
.fit-card h3 { display: flex; gap: 10px; align-items: center; font-size: var(--fs-h5); margin-bottom: 12px; }
.fit-card h3 svg { width: 24px; height: 24px; flex: none; }
.fit-card.yes h3 svg { color: var(--gold-deep); }
.fit-card.ask { background: var(--espresso); color: var(--cream); }
.fit-card.ask h3 { color: var(--gold-light); }
.fit-card ul { list-style: none; display: grid; gap: 8px; }
.fit-card li { padding-left: 18px; position: relative; }
.fit-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .how-img { max-width: 420px; } .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fit { grid-template-columns: 1fr; }
  .tline { grid-template-columns: 1fr; text-align: left; gap: 18px; }
  .tline::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); }
  .tline li { grid-template-columns: 18px 1fr; justify-items: start; column-gap: 16px; row-gap: 2px; padding: 0; }
  .tline .dot { grid-row: 1 / 3; grid-column: 1; margin-top: 4px; }
  .tline .when { grid-column: 2; min-height: 0; } .tline .what { grid-column: 2; max-width: none; }
  .glance .g { padding: 14px; } .glance strong { font-size: var(--fs-h7); }
}

/* ---- Videos in horizontal rows (compact) ---- */
.hrow { position: relative; }
.hs-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: var(--gold-light) transparent; overscroll-behavior-x: contain; }
.hs-track::-webkit-scrollbar { height: 6px; } .hs-track::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 99px; }
.hs-track .vid-card { flex: 0 0 clamp(128px, 14vw, 156px); scroll-snap-align: start; gap: 8px; }
.hs-track .vid-card h3 { font-size: var(--fs-sm); font-family: var(--sans); font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-track .vid-card .cat { display: none; }
.hs-track .vid-thumb { border-radius: 0 var(--r-md) 0 0; }
.hs-track .vid-thumb .play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.hs-track .vid-thumb .play svg { width: 17px; height: 17px; }
.hs-track .vid-thumb .dur { right: 7px; bottom: 7px; padding: 1px 7px; }
.hs-btn { position: absolute; top: calc(50% - 30px); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--espresso); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; transition: opacity .2s, background .2s; }
.hs-btn:hover { background: var(--gold); }
.hs-btn svg { width: 18px; height: 18px; }
.hs-btn.prev { left: -14px; } .hs-btn.next { right: -14px; }
.hs-btn:disabled { opacity: 0; pointer-events: none; }
.hrow.no-scroll .hs-btn { display: none; }
.vtopics { display: grid; gap: clamp(24px, 3vw, 36px); }
.vtopic { scroll-margin-top: 100px; }
.vtopic-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.vtopic-h h3 { font-size: var(--fs-h5); }
.vtopic-h span { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.vhero { padding-bottom: clamp(36px, 4vw, 56px); }
@media (min-width: 861px) { .vhero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.vfeat { max-width: 560px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .hs-btn { display: none; } .vfeat { justify-self: stretch; } }
@media (max-width: 600px) { .hs-track .vid-card { flex-basis: 132px; } .hs-track { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); } }
.vtopics { grid-template-columns: minmax(0, 1fr); }
.hrow, .vtopic { min-width: 0; max-width: 100%; }

/* ---- Topic highlights (story-style bubbles) ---- */
.hl-row { display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; justify-content: safe center; padding: 22px 4px 10px; scrollbar-width: none; }
.hl-row::-webkit-scrollbar { display: none; }
.hl { flex: 0 0 auto; width: 84px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.hl .ring { width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--gold-light), var(--gold-deep), var(--gold), var(--gold-light)); display: block; transition: transform .25s; }
.hl .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--sand); background: var(--espresso); }
.hl:hover .ring { transform: scale(1.06); }
.hl .lbl { font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; }
.vfeat-cap .t { font-family: var(--display); font-size: var(--fs-h5); color: var(--cream); }
.vid-card h3 { cursor: default; }
@media (max-width: 600px) { .hl { width: 76px; } .hl .ring { width: 68px; height: 68px; } .hl-row { justify-content: flex-start; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); } }

/* ---- Safety, pairs, trust strip ---- */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.sf { background: var(--cream); padding: 22px 22px 24px; border-radius: 0 var(--r-md) 0 0; }
.sf .tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 99px; margin-bottom: 14px; }
.sf .tag svg { width: 16px; height: 16px; }
.sf.common .tag { background: #E7EFE3; color: #3F5A36; }
.sf.rare .tag { background: #F6E3D8; color: #8A3F1E; }
.sf ul { list-style: none; display: grid; gap: 8px; }
.sf li { padding-left: 18px; position: relative; }
.sf li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; }
.sf.common li::before { background: #7A9A6C; } .sf.rare li::before { background: #C0714A; }
.pairs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.pair-list { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 14px; align-items: center; background: var(--cream); padding: 10px 14px 10px 10px; border-radius: 0 var(--r-md) 0 0; transition: background .2s, transform .2s; }
.pair:hover { background: var(--butter); transform: translateX(3px); }
.pair img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.pair strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--fs-h7); line-height: 1.2; }
.pair small { font-size: var(--fs-sm); color: var(--gold-text); }
.pair svg { width: 18px; height: 18px; color: var(--gold-deep); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; background: var(--espresso); color: var(--cream); padding: 20px; border-radius: 0 var(--r-lg) 0 0; }
.trust div { display: grid; gap: 2px; justify-items: start; }
.trust span { width: 36px; height: 36px; border-radius: 50%; background: var(--espresso-3); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.trust span svg { width: 18px; height: 18px; }
.trust strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h7); color: var(--gold-light); }
.trust small { font-size: var(--fs-xs); color: #D9CEC0; }
@media (max-width: 760px) { .safety-grid, .pairs { grid-template-columns: 1fr; } .trust { grid-template-columns: 1fr 1fr; } }
a.pillar { display: block; color: inherit; transition: transform .25s; } a.pillar:hover { transform: translateY(-4px); }
a.ba-label:hover { background: var(--gold-deep); color: var(--cream); }
.package h3 a:hover { color: var(--gold-text); }
a.chip-o { transition: background .2s, color .2s; } a.chip-o:hover { background: var(--espresso); color: var(--gold-light); box-shadow: none; }

/* ---- Care model, investment guide, condition program card ---- */
.model { list-style: none; padding: 0; margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: m; position: relative; }
.model li { background: var(--espresso-2); padding: 24px 22px; border-radius: 0 var(--r-lg) 0 0; position: relative; }
.model li > span { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--espresso); font-family: var(--display); font-size: var(--fs-h5); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.model h3 { font-size: var(--fs-h6); color: var(--cream); margin-bottom: 6px; }
.model p { font-size: var(--fs-sm); color: #D9CEC0; }
.model-note { color: #E4DACD; font-size: var(--fs-sm); }
.model.mini { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.model.mini li { background: var(--sand); padding: 10px 12px; border-radius: 0 var(--r-md) 0 0; display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); font-weight: 500; }
.model.mini li > span { width: 28px; height: 28px; margin: 0; font-size: var(--fs-sm); flex: none; }
.inv-groups { display: grid; gap: 26px; }
.inv-group h3 { font-size: var(--fs-h5); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.inv-list { display: grid; gap: 8px; }
.inv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--cream); padding: 14px 18px; border-radius: 0 var(--r-md) 0 0; }
.inv strong { display: block; font-weight: 600; font-size: var(--fs-base); }
.inv small { font-size: var(--fs-sm); color: var(--muted); }
.inv > span { font-family: var(--display); font-size: var(--fs-h7); color: var(--gold-text); white-space: nowrap; }
.prog-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; background: var(--cream); padding: clamp(20px, 3vw, 32px); border-radius: 0 var(--r-lg) 0 0; align-items: center; }
.prog-price { background: var(--espresso); color: var(--cream); padding: 22px; border-radius: 0 var(--r-md) 0 0; display: grid; gap: 6px; justify-items: start; }
.prog-price strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-h4); color: var(--gold-light); line-height: 1.1; }
.prog-price small { font-size: var(--fs-xs); color: #D9CEC0; }
.prog-price .btn { margin-top: 8px; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr 1fr; } .prog-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .model, .model.mini { grid-template-columns: 1fr; } .inv { grid-template-columns: 1fr; gap: 4px; } }
