/* ==========================================================================
   Dr. Hashim Iqbal Bawany — Design System
   Palette & type pulled from beverlyhills.clinic's production CSS:
     --background #f6ede7 · --foreground #2d2a26 · --brand-secondary #e8ceb1
     --brand-accent #3d2e2a · bronze #ab7f51 / #936b42 · gold #c39f75
     footer darks #2d221f / #3e322e · panels #faf6f3 / #e9ded5
     Fonts: Playfair Display (headings) + Plus Jakarta Sans (body)
   Here the site's dark espresso tones lead, for a dark luxury look.
   ========================================================================== */

/* ---------- Font metric fallbacks (prevent layout shift while fonts load) ---------- */
@font-face {
  font-family: "Playfair Fallback";
  src: local("Times New Roman"), local("Georgia");
  ascent-override: 97%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 111%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica Neue");
  ascent-override: 96%;
  descent-override: 21%;
  line-gap-override: 0%;
  size-adjust: 104%;
}

/* ---------- Tokens ---------- */
:root {
  /* Dark espresso scale */
  --bg: #1a1411;            /* page background (deepened from #2d221f) */
  --bg-raised: #211915;     /* alternate section */
  --surface: #2d221f;       /* cards / footer  — BH footer */
  --surface-2: #3d2e2a;     /* raised cards    — BH --brand-accent */
  --line: #3e322e;          /* hairlines       — BH footer border */
  --line-soft: rgba(232, 206, 177, 0.12);

  /* Metals */
  --champagne: #e8ceb1;     /* BH --brand-secondary */
  --gold: #c39f75;
  --bronze: #ab7f51;
  --bronze-deep: #936b42;
  --gold-gradient: linear-gradient(135deg, #f3e2cc 0%, #e8ceb1 35%, #c39f75 70%, #ab7f51 100%);

  /* Light surfaces */
  --cream: #f6ede7;         /* BH --background */
  --cream-2: #faf6f3;
  --cream-3: #fdfbf9;
  --sand: #e9ded5;
  --sand-2: #f0e6dd;
  --ink: #2d2a26;           /* BH --foreground */

  /* Text on dark */
  --text: #f6ede7;
  --text-muted: rgba(246, 237, 231, 0.72);
  --text-faint: rgba(246, 237, 231, 0.5);

  --whatsapp: #25d366;
  --whatsapp-deep: #20ba5a;
  --danger: #c0533a;

  /* Type */
  --font-heading: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Jakarta Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);

  /* Radius (BH: lg .5rem · xl .75rem · 2xl 1rem · 3xl 1.5rem · pill) */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-pill: 9999px;

  /* Spacing & layout */
  --gutter: 1rem;
  --container: 80rem;
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --header-h: 72px;

  /* Effects */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 20px rgba(171, 127, 81, 0.4);
}

@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; --header-h: 84px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--champagne); color: var(--ink); }
[hidden] { display: none !important; }

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

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon--lg { width: 1.5em; height: 1.5em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200;
  padding: 0.75rem 1.25rem; border-radius: var(--r-pill);
  background: var(--champagne); color: var(--ink); font-weight: 600;
  transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 52rem; }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--section-y); }
.section--panel { background: var(--bg-raised); border-block: 1px solid var(--line-soft); }

/* Light (cream) sections — the reference site's native palette */
.section--light { background: var(--cream); color: var(--ink); }
.section--light .lead, .section--light p { color: rgba(45, 42, 38, 0.78); }
.section--light .eyebrow { color: var(--bronze); }
.section--light .h2 em { color: var(--bronze); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.section-foot { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

.split-head {
  display: grid; gap: 1.25rem; align-items: end;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 900px) { .split-head { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow .dot { display: none; }

.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h2 em, .page-hero__title em {
  font-style: italic; font-weight: 400;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--light .h2 em { background: none; -webkit-text-fill-color: currentColor; }
.lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.175rem); color: var(--text-muted); line-height: 1.7; }
.prose > * + * { margin-top: 1.25rem; }
.prose p { color: var(--text-muted); }
.prose .lead { color: var(--text); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.02em; color: var(--champagne);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.7rem; color: #fff; }

/* ---------- Buttons (BH: pill, 500 weight, .75rem 1.5rem, scale 1.05 + glow on hover) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 1.6rem; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.02em;
  line-height: 1.2; white-space: nowrap; text-align: center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--gold-gradient); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--glow); }
.btn--ghost { border-color: rgba(232, 206, 177, 0.4); color: var(--champagne); background: rgba(232, 206, 177, 0.02); }
.btn--ghost:hover { background: rgba(171, 127, 81, 0.12); border-color: var(--champagne); box-shadow: 0 0 15px rgba(171, 127, 81, 0.2); }
.btn--dark { background: var(--surface-2); color: #fff; }
.btn--dark:hover { background: var(--bronze-deep); box-shadow: var(--glow); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.5); }
.btn--whatsapp:hover { background: var(--whatsapp-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }

.icon-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgba(171, 127, 81, 0.4); color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.icon-btn:hover { color: var(--champagne); border-color: var(--champagne); background: rgba(171, 127, 81, 0.1); transform: scale(1.05); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(26, 20, 17, 0.95), rgba(26, 20, 17, 0.6) 60%, transparent);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(26, 20, 17, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; position: relative; z-index: 2; }
.brand__mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(232, 206, 177, 0.55);
  font-family: var(--font-heading); font-size: 1rem; font-style: italic; letter-spacing: 0.04em; color: var(--champagne);
  background: radial-gradient(circle at 30% 25%, rgba(232, 206, 177, 0.18), transparent 70%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 500; white-space: nowrap; }
.brand__sub { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 380px) { .brand__name { font-size: 0.95rem; } .brand__mark { width: 2.4rem; height: 2.4rem; } }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; position: relative; z-index: 2; }
.header-call, .header-book { display: none; }
@media (min-width: 640px) { .header-book { display: inline-flex; } }
@media (min-width: 1180px) { .header-call { display: inline-flex; } }

.nav-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.25px; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }
.nav-open .nav-toggle__bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }

/* Mobile drawer */
.nav {
  position: fixed; inset: 0; z-index: 1;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: rgba(26, 20, 17, 0.98);
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* backdrop-filter would trap the fixed drawer inside the header box */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.nav-open { overflow: hidden; }
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-heading); font-size: 1.75rem; color: var(--text);
}
.nav__link[aria-current="page"] { color: var(--champagne); font-style: italic; }
.nav__mobile-extra { display: grid; gap: 0.75rem; margin-top: auto; }
.nav__mobile-hours { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-faint); font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .nav-toggle, .nav__mobile-extra { display: none; }
  .nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none; flex-direction: row; margin-left: auto;
  }
  .nav__list { flex-direction: row; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
  .nav__link {
    position: relative; padding: 0.5rem 0; border: 0;
    font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.04em; color: rgba(246, 237, 231, 0.8);
    transition: color 0.3s var(--ease);
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champagne);
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--champagne); font-style: normal; }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-header__actions { margin-left: clamp(1rem, 2vw, 2rem); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60rem 40rem at 85% 20%, rgba(195, 159, 117, 0.16), transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(171, 127, 81, 0.12), transparent 60%),
    radial-gradient(30rem 20rem at 45% 0%, rgba(232, 206, 177, 0.06), transparent 70%);
}
.hero__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(232, 206, 177, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 206, 177, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }

.hero__eyebrow { color: var(--champagne); }
.hero__title { display: flex; flex-direction: column; gap: 0.9rem; }
.hero__name { font-size: var(--fs-h1); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; }
.hero__name-accent { font-style: italic; font-weight: 400; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__kicker {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-faint);
}
.hero__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-heading); font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); color: var(--champagne);
}
.hero__lead { margin-top: 1rem; max-width: 34rem; color: var(--text-muted); font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); }
.hero .btn-row { margin-top: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.25rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: var(--r-pill);
  border: 1px solid rgba(232, 206, 177, 0.22);
  background: rgba(45, 34, 31, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.8125rem; font-weight: 500; color: var(--text);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip .icon { color: var(--gold); width: 1rem; height: 1rem; }
.chip:hover { border-color: var(--champagne); background: rgba(171, 127, 81, 0.18); color: #fff; transform: translateY(-2px); }
.hero .chip { animation: chip-float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.9s); }
.hero .chip:hover { animation-play-state: paused; }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.chips--static { margin-top: 2rem; }

.hero__visual { position: relative; }
.hero__portrait { position: relative; max-width: 30rem; margin-inline: auto; width: 100%; }
.hero__portrait::before {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--r-xl) + 1px);
  background: linear-gradient(160deg, rgba(232, 206, 177, 0.6), rgba(171, 127, 81, 0.05) 45%, rgba(232, 206, 177, 0.35));
  z-index: 0;
}
.hero__portrait .ph { position: relative; z-index: 1; border-radius: var(--r-xl); border: 0; }
.hero__badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem; border-radius: var(--r-lg);
  background: rgba(33, 25, 21, 0.85); border: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  font-size: 0.8125rem; color: var(--text-muted); line-height: 1.3;
}
.hero__badge strong { display: block; color: var(--text); font-weight: 600; }
.hero__badge-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: var(--r-md); background: var(--gold-gradient); color: var(--ink); }
.hero__badge--top { top: 8%; left: -0.75rem; }
.hero__badge--bottom { bottom: 8%; right: -0.75rem; }
@media (min-width: 1024px) { .hero__badge--top { left: -2.5rem; } .hero__badge--bottom { right: -2rem; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 1; translate: -50% 0;
  width: 1.5rem; height: 2.4rem; border-radius: var(--r-pill); border: 1px solid rgba(232, 206, 177, 0.4);
  display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 0.45rem; width: 3px; height: 0.5rem; margin-left: -1.5px; border-radius: 2px; background: var(--champagne); animation: scroll-dot 2s var(--ease) infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(0.8rem); } }
@media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: block; } }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; display: grid; place-items: center; width: 100%; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(232, 206, 177, 0.1), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(171, 127, 81, 0.1), transparent 60%),
    linear-gradient(155deg, #2d221f 0%, #201814 55%, #1a1411 100%);
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: linear-gradient(115deg, transparent 30%, rgba(232, 206, 177, 0.06) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: ph-sheen 6s linear infinite;
}
@keyframes ph-sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.ph__label {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1rem; text-align: center;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232, 206, 177, 0.55);
}
.ph__label .icon { width: 1.75rem; height: 1.75rem; opacity: 0.7; }
.ph--fill { position: absolute; inset: 0; height: 100%; border-radius: 0; border: 0; }
.ph--hero .ph__label { font-size: 0.75rem; }
.ph--before { filter: saturate(0.4) brightness(0.85); }
/* Keep each label on its own half so the divider never slices through it */
.ph--before .ph__label, .ph--after .ph__label { position: absolute; top: 50%; width: 45%; translate: -50% -50%; }
.ph--before .ph__label { left: 25%; }
.ph--after .ph__label { left: 75%; }
.ph--after { background: radial-gradient(100% 70% at 60% 20%, rgba(232, 206, 177, 0.22), transparent 60%), linear-gradient(155deg, #3d2e2a 0%, #2d221f 60%, #241b18 100%); }
.media { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(45, 34, 31, 0.6), rgba(33, 25, 21, 0.4));
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-color: var(--line); border-style: solid; border-width: 0; }
.stat:nth-child(odd) { border-right-width: 1px; }
.stat:nth-child(-n + 2) { border-bottom-width: 1px; }
@media (min-width: 900px) {
  .stat { border-width: 0 1px 0 0 !important; }
  .stat:last-child { border-right-width: 0 !important; }
}
.stat__value {
  font-family: var(--font-heading); font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1; font-weight: 500;
  font-variant-numeric: tabular-nums;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__suffix { margin-left: 0.1em; }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); }

.pillars { display: grid; gap: 1px; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { padding: 2rem; background: var(--bg); transition: background-color 0.4s var(--ease); }
.pillar:hover { background: #201814; }
.pillar__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: var(--r-md); border: 1px solid rgba(171, 127, 81, 0.4); color: var(--champagne); }
.pillar__title { font-size: 1.25rem; margin-bottom: 0.6rem; }
.pillar p { font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  border-radius: var(--r-md); background: var(--cream-2); border: 1px solid rgba(233, 222, 213, 0.9);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(171, 127, 81, 0.35); box-shadow: 0 24px 48px -24px rgba(61, 46, 42, 0.3); }
.service-card__icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.5rem;
  border-radius: var(--r-sm); background: var(--cream-3); border: 1px solid var(--sand-2); color: var(--bronze);
}
.service-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.service-card__title { font-size: 1.5rem; color: var(--ink); margin-bottom: 0.75rem; }
.service-card__text { font-size: 0.9375rem; flex: 1; }
.service-card__link { margin-top: 1.5rem; color: var(--bronze); }
.service-card__link:hover { color: var(--bronze-deep); }
.service-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Before / After slider ---------- */
.ba-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } .ba-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .ba-grid { grid-template-columns: 1.45fr 1fr; }
  .ba-card--feature { grid-column: 1; grid-row: span 2; }
  .ba-card--feature .ba { aspect-ratio: auto; flex: 1; min-height: 26rem; }
  .ba-card:not(.ba-card--feature) .ba { aspect-ratio: 16 / 10; }
}
.ba-card { display: flex; flex-direction: column; gap: 1rem; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-card--feature .ba { aspect-ratio: 16 / 10; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer > img { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: 1rem; z-index: 2; padding: 0.35rem 0.8rem; border-radius: var(--r-pill);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(26, 20, 17, 0.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.ba__tag--before { left: 1rem; color: var(--text-muted); }
.ba__tag--after { right: 1rem; color: var(--ink); background: var(--champagne); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--champagne); box-shadow: 0 0 18px rgba(232, 206, 177, 0.6); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gold-gradient); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}
.ba__knob .icon { width: 0.95rem; height: 0.95rem; stroke-width: 2.2; }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 3rem; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 3rem; height: 100vh; border: 0; cursor: ew-resize; }
.ba:hover .ba__knob, .ba.is-dragging .ba__knob { transform: scale(1.08); }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 2px solid #fff; outline-offset: 3px; }
.ba-card__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-inline: 0.25rem; }
.ba-card__caption strong { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; }
.ba-card__caption span { font-size: var(--fs-sm); color: var(--text-faint); }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; }
.carousel__viewport {
  --per: 1; --gap: 1.25rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 0.25rem;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: 6px; }
@media (min-width: 768px) { .carousel__viewport { --per: 2; --gap: 1.5rem; } }
@media (min-width: 1180px) { .carousel__viewport { --per: 3; } }
.testimonial {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(45, 34, 31, 0.5) 100%);
  border: 1px solid var(--line);
}
.testimonial__quote-icon { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(195, 159, 117, 0.25); }
.testimonial__quote-icon .icon { width: 3rem; height: 3rem; }
.testimonial__stars { display: flex; gap: 0.2rem; color: var(--gold); margin-bottom: 1.25rem; }
.testimonial__stars .icon { width: 1rem; height: 1rem; }
.testimonial__text { flex: 1; font-family: var(--font-heading); font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--text); }
.testimonial__author { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.testimonial__author strong { display: block; font-weight: 600; }
.testimonial__author small { display: block; font-size: 0.8125rem; color: var(--text-faint); }
.testimonial__avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold-gradient); color: var(--ink); font-family: var(--font-heading); font-size: 1.15rem; flex-shrink: 0; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.5rem; }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot { width: 0.5rem; height: 0.5rem; padding: 0; border-radius: var(--r-pill); background: rgba(232, 206, 177, 0.25); transition: width 0.35s var(--ease), background-color 0.35s var(--ease); }
.carousel__dot[aria-current="true"] { width: 1.75rem; background: var(--champagne); }

/* ---------- Locations ---------- */
.locations { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .locations { grid-template-columns: repeat(2, 1fr); } }
.location-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.4s var(--ease), transform 0.5s var(--ease-out); }
.location-card:hover { border-color: rgba(171, 127, 81, 0.5); transform: translateY(-4px); }
.location-card__map.ph { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.ph--map {
  background:
    linear-gradient(rgba(232, 206, 177, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(232, 206, 177, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(60% 80% at 50% 45%, rgba(195, 159, 117, 0.18), transparent 70%),
    #241b18;
}
.ph--map .ph__label { position: absolute; bottom: 0.75rem; right: 1rem; padding: 0; font-size: 0.625rem; }
.location-card__pin { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--gold-gradient); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(232, 206, 177, 0.08); }
.location-card__pin .icon { rotate: 45deg; }
.location-card__body { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); flex: 1; }
.location-card__title { font-size: 1.75rem; margin-bottom: 1rem; }
.location-card__address { display: flex; gap: 0.75rem; color: var(--text-muted); }
.location-card__address .icon, .location-card__meta .icon { color: var(--gold); margin-top: 0.2em; }
.location-card__meta { display: grid; gap: 0.6rem; margin: 1rem 0 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--text-muted); }
.location-card__meta li { display: flex; gap: 0.75rem; }
.location-card__meta a:hover { color: var(--champagne); }
.location-card .btn-row { margin-top: auto; }

/* ---------- CTA banner ---------- */
.cta-banner { padding-block: 0 var(--section-y); }
.cta-banner__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(50rem 22rem at 50% 0%, rgba(232, 206, 177, 0.18), transparent 70%),
    radial-gradient(30rem 20rem at 100% 100%, rgba(171, 127, 81, 0.18), transparent 70%),
    linear-gradient(160deg, #3d2e2a 0%, #2d221f 60%, #241b18 100%);
  border: 1px solid rgba(232, 206, 177, 0.18);
}
.cta-banner__title { font-size: var(--fs-h2); max-width: 40rem; margin-inline: auto; }
.cta-banner__text { max-width: 36rem; margin: 1.25rem auto 2.25rem; color: var(--text-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem)) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem); border-bottom: 1px solid var(--line-soft); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem); max-width: 56rem; }
.page-hero__lead { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.175rem); color: var(--text-muted); }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--compact { padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-hero--404 { min-height: 80vh; display: flex; align-items: center; }
.page-hero--404 .page-hero__title, .page-hero--404 .page-hero__lead { margin-inline: auto; }
.page-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.page-hero--split .hero__portrait { max-width: 26rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; font-size: 0.8125rem; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--champagne); }
.breadcrumb [aria-current] { color: var(--text-muted); }

/* ---------- Service detail (services page) ---------- */
.service-detail__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .service-detail__grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; }
  .service-detail--reverse .service-detail__media { order: 2; }
  .service-detail__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.service-detail__media { max-width: 32rem; width: 100%; }
.service-detail__body > .lead { margin-top: 1.25rem; color: var(--text); }
.service-detail__body > p:not(.eyebrow):not(.lead) { margin-top: 1rem; color: var(--text-muted); }

.checklist { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text-muted); font-size: 0.9375rem; }
.checklist .icon { width: 1.4rem; height: 1.4rem; padding: 0.25rem; border-radius: 50%; background: rgba(195, 159, 117, 0.15); color: var(--champagne); stroke-width: 2.4; margin-top: 0.05em; }

.compare { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .compare { grid-template-columns: repeat(2, 1fr); } }
.compare__item { padding: 1.5rem; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(45, 34, 31, 0.5); }
.compare__item h3 { font-size: 1.175rem; margin-bottom: 0.5rem; color: var(--champagne); }
.compare__item p { font-size: 0.9375rem; color: var(--text-muted); }

.price-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: 2rem; padding: 1.5rem 1.75rem; border-radius: var(--r-lg);
  border: 1px solid rgba(232, 206, 177, 0.25);
  background: linear-gradient(135deg, rgba(232, 206, 177, 0.08), rgba(171, 127, 81, 0.03));
}
.price-box > div { display: flex; flex-direction: column; gap: 0.15rem; }
.price-box__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.price-box__value { font-family: var(--font-heading); font-size: 1.6rem; color: var(--champagne); }
.price-box__note { font-size: 0.8125rem; color: var(--text-faint); max-width: 26rem; }
.price-box--center { flex-direction: column; text-align: center; max-width: 30rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; }
.section--light .price-box { background: var(--cream-2); border-color: var(--sand); }
.section--light .price-box__label { color: var(--bronze); }
.section--light .price-box__value { color: var(--ink); font-size: 2.25rem; }
[data-placeholder] { font-style: italic; opacity: 0.85; }

/* Pricing cards */
.pricing { display: grid; gap: 1.5rem; max-width: 62rem; }
@media (min-width: 820px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.price-card .checklist { margin-bottom: 2rem; flex: 1; }
.price-card--featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gold-gradient) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -40px rgba(195, 159, 117, 0.45); }
.price-card__badge { position: absolute; top: 1.5rem; right: 1.5rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: var(--gold-gradient); color: var(--ink); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.price-card__title { font-size: 1.75rem; }
.price-card__price { margin-top: 1.25rem; font-family: var(--font-heading); font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); line-height: 1.1; color: var(--champagne); }
.price-card__cur { font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold); vertical-align: 0.6em; margin-right: 0.25rem; font-style: normal; }
.price-card__sub { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--text-faint); }

.brands { margin-top: 3rem; padding: 2rem; border-radius: var(--r-lg); border: 1px dashed rgba(232, 206, 177, 0.22); }
.brands__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.brands__list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.brands__list li { display: flex; flex-direction: column; padding: 0.9rem 1.4rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.brands__list strong { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; }
.brands__list span { font-size: 0.75rem; color: var(--text-faint); }

.steps { display: grid; gap: 1.25rem; margin-top: 3rem; padding: 0; list-style: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(45, 34, 31, 0.45); }
.step__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1.25rem; border-radius: 50%; border: 1px solid rgba(232, 206, 177, 0.4); font-family: var(--font-heading); font-style: italic; color: var(--champagne); }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--text-muted); }
.steps--light .step { background: var(--cream-2); border-color: var(--sand); }
.steps--light .step h3 { color: var(--ink); }
.steps--light .step__n { border-color: rgba(171, 127, 81, 0.4); color: var(--bronze); }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s var(--ease); }
.faq__item[open] { border-color: rgba(171, 127, 81, 0.5); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.faq__item summary .icon { color: var(--gold); transition: transform 0.3s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }

/* ---------- About ---------- */
.story { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .story { grid-template-columns: 0.9fr 1.4fr; gap: 5rem; } .story__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.pull-quote { margin: 2.5rem 0 0; padding: 1.5rem 0 1.5rem 1.75rem; border-left: 2px solid var(--champagne); }
.pull-quote p { font-family: var(--font-heading); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; color: var(--text) !important; }
.pull-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: var(--fs-sm); color: var(--gold); }
.service-grid--3 { max-width: 72rem; margin-inline: auto; }

.timeline { position: relative; display: grid; gap: 1rem; max-width: 52rem; }
.timeline__item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start; padding: 1.5rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.timeline__year { display: grid; place-items: center; height: 2.25rem; border-radius: var(--r-pill); border: 1px dashed rgba(232, 206, 177, 0.4); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.timeline__item h3 { font-size: 1.2rem; }
.timeline__item p { margin-top: 0.25rem; font-size: var(--fs-sm); color: var(--text-faint); font-style: italic; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 10rem; gap: 0.75rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 15rem; gap: 1rem; } }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1.45fr 1fr; gap: 3rem; } .contact__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.form-card {
  border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--cream-2); color: var(--ink); border: 1px solid var(--sand);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.form__head { margin-bottom: 1.75rem; }
.form__head .h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.form__head p { margin-top: 0.4rem; font-size: var(--fs-sm); color: rgba(45, 42, 38, 0.65); }
.req { color: var(--bronze); }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, 1fr); } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 0.5rem; }
.field__opt { font-weight: 400; color: rgba(45, 42, 38, 0.55); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.85rem 1rem;
  border-radius: var(--r-md); border: 1px solid var(--sand); background: #fff; color: var(--ink);
  font-size: 1rem; /* ≥16px stops iOS zoom */
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(45, 42, 38, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(171, 127, 81, 0.15); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(192, 83, 58, 0.12) !important; }
.field__error { font-size: 0.8125rem; font-weight: 500; color: var(--danger); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select .icon { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--bronze); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; padding: 0.25rem; border-radius: var(--r-md); background: var(--sand-2); min-height: 3.25rem; }
.segmented__opt { position: relative; display: flex; }
.segmented__opt input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented__opt span { flex: 1; display: grid; place-items: center; padding: 0.55rem 0.5rem; border-radius: calc(var(--r-md) - 0.2rem); font-size: 0.8125rem; font-weight: 600; text-align: center; color: rgba(45, 42, 38, 0.7); cursor: pointer; transition: all 0.25s var(--ease); }
.segmented__opt input:checked + span { background: var(--surface-2); color: #fff; box-shadow: var(--shadow-sm); }
.segmented__opt input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; display: flex; }
.pill span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.6rem; min-height: 2.75rem; padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--sand); background: #fff; font-size: 0.875rem; font-weight: 600; color: rgba(45, 42, 38, 0.8); cursor: pointer; transition: all 0.25s var(--ease); }
.pill span:hover { border-color: var(--bronze); }
.pill input:checked + span { background: var(--surface-2); border-color: var(--surface-2); color: #fff; }
.pill-group--times { display: grid; grid-template-columns: 1fr; }
@media (min-width: 520px) { .pill-group--times { grid-template-columns: repeat(3, 1fr); } }
.pill--time span { width: 100%; border-radius: var(--r-md); padding: 0.75rem; line-height: 1.3; }
.pill--time small { font-size: 0.75rem; font-weight: 500; opacity: 0.7; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: rgba(192, 83, 58, 0.08); border: 1px solid rgba(192, 83, 58, 0.3); color: #8e3a27; font-size: var(--fs-sm); font-weight: 500; }
.form__submit { margin-top: 2rem; position: relative; background: var(--surface-2); color: #fff; }
.form__submit:hover { background: var(--bronze-deep); }
.form__submit .spinner { display: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.form__submit.is-loading { pointer-events: none; opacity: 0.85; }
.form__submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__privacy { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.8125rem; color: rgba(45, 42, 38, 0.6); text-align: center; }
.form__privacy .icon { color: var(--bronze); }

.form-card__success { text-align: center; padding: 2rem 0; outline: none; }
.form-card__success-icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.5rem; border-radius: 50%; background: var(--surface-2); color: var(--champagne); }
.form-card__success-icon .icon { width: 2rem; height: 2rem; stroke-width: 2; }
.form-card__success .h3 { font-size: 2rem; }
.form-card__success p { max-width: 28rem; margin: 0.75rem auto 2rem; color: rgba(45, 42, 38, 0.7); }
.form-card .btn--ghost { color: var(--surface-2); border-color: rgba(61, 46, 42, 0.4); }

.contact__aside { display: grid; gap: 1rem; }
.contact-quick { padding: 2rem; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.contact-quick .h3 { font-size: 1.6rem; }
.contact-quick > p { margin: 0.5rem 0 1.5rem; color: var(--text-muted); font-size: 0.9375rem; }
.contact-quick__list { display: grid; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-quick__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-quick__list .icon { color: var(--gold); margin-top: 0.3rem; }
.contact-quick__list small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); }
.contact-quick__list a { font-weight: 600; word-break: break-word; }
.contact-quick__list a:hover { color: var(--champagne); }
.mini-location { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.mini-location__icon { display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); background: rgba(195, 159, 117, 0.12); color: var(--champagne); }
.mini-location h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.mini-location address { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ---------- Footer (BH footer palette) ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem; color: rgba(246, 237, 231, 0.75); font-size: 0.9375rem; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 3rem; } }
.site-footer__about { margin-top: 1.25rem; max-width: 22rem; }
.site-footer__title { margin-bottom: 1.1rem; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.site-footer__col ul { display: grid; gap: 0.6rem; }
.site-footer__col a { transition: color 0.3s var(--ease); }
.site-footer__col a:hover { color: var(--champagne); }
.site-footer__col address { margin-bottom: 0.75rem; }
.site-footer__col p + p { margin-top: 0.4rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid rgba(171, 127, 81, 0.4); color: rgba(246, 237, 231, 0.75); transition: all 0.3s var(--ease); }
.social a:hover { color: var(--champagne); border-color: var(--champagne); background: rgba(171, 127, 81, 0.1); transform: scale(1.05); }
.social .icon { width: 1rem; height: 1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-faint); }
.site-footer__hours { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__note { flex-basis: 100%; font-size: 0.75rem; opacity: 0.8; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; z-index: 90;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 0.6rem;
  height: 3.5rem; min-width: 3.5rem; padding: 0 1rem; border-radius: var(--r-pill);
  background: var(--whatsapp); color: #fff; font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.wa-float .icon { width: 1.6rem; height: 1.6rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: wa-pulse 2.6s var(--ease) infinite; }
.wa-float:hover { background: var(--whatsapp-deep); transform: translateY(-3px) scale(1.03); }
.wa-float__label { display: none; }
@media (min-width: 768px) { .wa-float { padding: 0 1.4rem 0 1.1rem; right: 1.5rem; bottom: 1.5rem; } .wa-float__label { display: inline; } }
@media (max-width: 767px) { .wa-float { padding: 0; justify-content: center; width: 3.5rem; } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out) var(--d, 0ms), transform 0.9s var(--ease-out) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .carousel__viewport { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .cta-banner, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Beverly Hills Clinic additions
   ========================================================================== */

/* Monogram wordmark (personal site: no clinic logo) */
.brand__mark { font-size: 0.85rem; letter-spacing: 0.02em; }
.brand--footer .brand__mark { width: 3.25rem; height: 3.25rem; font-size: 1rem; }
.brand--footer .brand__name { font-size: 1.2rem; white-space: normal; }

.hero__fee { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; font-size: 0.875rem; color: var(--text-muted); }
.hero__fee .icon { color: var(--gold); width: 1rem; height: 1rem; stroke-width: 2.2; }

/* Top service highlight */
.service-card--top { background: linear-gradient(var(--cream-3), var(--cream-3)) padding-box, linear-gradient(135deg, #e8ceb1, #ab7f51) border-box; border: 1px solid transparent; }
.service-card__badge {
  position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--champagne);
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* "Also at Beverly Hills Clinic" list (mirrors the clinic's service list) */
.all-list { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); background: var(--cream-2); border: 1px solid var(--sand); }
.all-list__title { font-size: 1.35rem; color: var(--ink); margin-bottom: 1.25rem; }
.all-list__items { display: grid; gap: 0.15rem 2rem; }
@media (min-width: 560px) { .all-list__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .all-list__items { grid-template-columns: repeat(3, 1fr); } }
.all-list__items a { position: relative; display: block; padding: 0.55rem 0 0.55rem 1.25rem; font-size: 0.9375rem; color: rgba(45, 42, 38, 0.85); transition: color 0.25s var(--ease); }
.all-list__items a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--champagne); transition: background-color 0.25s var(--ease); }
.all-list__items a:hover { color: var(--bronze-deep); }
.all-list__items a:hover::before { background: var(--bronze); }

/* All treatments (services page) */
.treatment-groups { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .treatment-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .treatment-groups { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.treatment-group { padding: clamp(1.5rem, 1.25rem + 1vw, 2rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.treatment-group__head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.25rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.treatment-group__head h3 { font-size: 1.4rem; }
.treatment-group__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); background: rgba(195, 159, 117, 0.12); color: var(--champagne); flex-shrink: 0; }
.treatment-group__list li { padding: 1rem 0; border-bottom: 1px dashed var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.treatment-group__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.treatment-group__list h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); }
.treatment-group__list p { margin: 0.3rem 0 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.treatment-group__list li:target { background: rgba(232, 206, 177, 0.06); box-shadow: -1rem 0 0 rgba(232, 206, 177, 0.06), 1rem 0 0 rgba(232, 206, 177, 0.06); }

/* Consultation fee note in the form */
.fee-note { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--cream); border: 1px solid var(--sand); }
.fee-note__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--surface-2); color: var(--champagne); flex-shrink: 0; }
.fee-note__icon .icon { width: 1rem; height: 1rem; }
.fee-note p { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.875rem; color: rgba(45, 42, 38, 0.72); }
.fee-note strong { color: var(--ink); font-size: 0.9375rem; }

/* Phone input with dial code */
.phone-input { display: flex; align-items: stretch; border-radius: var(--r-md); border: 1px solid var(--sand); background: #fff; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.phone-input:focus-within { border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(171, 127, 81, 0.15); }
.phone-input:has([aria-invalid="true"]) { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192, 83, 58, 0.12); }
.phone-input__dial { display: grid; place-items: center; padding: 0 0.9rem; border-right: 1px solid var(--sand); font-weight: 600; font-size: 0.9375rem; color: var(--bronze-deep); background: var(--cream-2); border-radius: var(--r-md) 0 0 var(--r-md); font-variant-numeric: tabular-nums; }
.field .phone-input input[type="tel"] { border: 0; box-shadow: none !important; min-width: 0; flex: 1; border-radius: 0 var(--r-md) var(--r-md) 0; }
.field__hint { font-size: 0.75rem; color: rgba(45, 42, 38, 0.55); }

/* Footer: 5 columns on wide screens, icon links */
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 2.5rem; } }
.site-footer__col li a, .site-footer__hours { display: inline-flex; align-items: center; gap: 0.5rem; word-break: break-word; }
.site-footer__col li .icon { color: var(--bronze); width: 1rem; height: 1rem; }

/* Footer: clinic website link + single line email */
.nowrap { white-space: nowrap; }
.contact-quick__list a[href^="mailto:"] { white-space: nowrap; word-break: normal; }
.clinic-link {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding: 1.25rem 1.5rem; border-radius: var(--r-lg);
  border: 1px solid rgba(232, 206, 177, 0.22); background: rgba(232, 206, 177, 0.04);
}
.clinic-link p { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text); }
.clinic-link .btn { white-space: normal; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom a:hover { color: var(--champagne); }
.form__privacy a { color: var(--bronze-deep); text-decoration: underline; }
.stat__prefix { font-size: 0.55em; margin-right: 0.15em; vertical-align: 0.35em; }
.legal h2 { margin-top: 2.5rem; color: var(--champagne); }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile usability: comfortable tap targets and a minimum readable size */
.link-arrow { padding-block: 0.4rem; }
.brand__sub { font-size: 0.6875rem; letter-spacing: 0.18em; }
.ph__label, .ph--map .ph__label { font-size: 0.6875rem; }
.ba__tag { font-size: 0.75rem; }
@media (max-width: 380px) { .brand__sub { letter-spacing: 0.12em; } }

/* Layouts that close up neatly while photos are not uploaded yet */
.hero__grid--solo { grid-template-columns: 1fr !important; }
.hero__grid--solo .hero__content { max-width: 52rem; }
.service-detail__grid--solo { grid-template-columns: 1fr !important; max-width: 54rem; }
.page-hero__grid--solo { grid-template-columns: 1fr !important; }
.media--fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__portrait > .media { position: relative; z-index: 1; border-radius: var(--r-xl); }
.ph__label small { display: block; margin-top: 0.35rem; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: none; opacity: 0.8; }

/* Map panel is a link to Google Maps */
a.ph--map { text-decoration: none; transition: filter 0.3s var(--ease); }
a.ph--map:hover { filter: brightness(1.15); }
a.ph--map .ph__label { flex-direction: row; gap: 0.35rem; color: var(--champagne); }
a.ph--map .ph__label .icon { width: 0.9rem; height: 0.9rem; opacity: 1; }
.price-card__price--text { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem); }

/* Consistent photo shapes (simpler for the designer):
   before/after = 4:3 on every screen, clinic gallery = 4:3 tiles */
.ba, .ba-card--feature .ba, .ba-card:not(.ba-card--feature) .ba { aspect-ratio: 4 / 3 !important; min-height: 0 !important; flex: none !important; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } .ba-card--feature { grid-column: auto; grid-row: auto; } }
@media (min-width: 1100px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } .ba-card--feature { grid-column: auto; grid-row: auto; } }
.gallery { grid-auto-rows: auto !important; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { aspect-ratio: 4 / 3; }
.gallery__item--wide { grid-column: auto !important; }

/* Before/after photos are portrait (3:4), so the slider is too */
.ba, .ba-card--feature .ba, .ba-card:not(.ba-card--feature) .ba { aspect-ratio: 3 / 4 !important; }
.ba__layer > img, .ba .media--fill { object-position: center 35%; }
@media (min-width: 768px) and (max-width: 1099px) { .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
/* With fewer than 3 before/after cases, keep cards a sensible size */
@media (min-width: 768px) { .ba-grid:has(> .ba-card:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; } .ba-grid:has(> .ba-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } }

/* ---------- Dental Tourism page ---------- */
@media (min-width: 900px) { .pillars--3 { grid-template-columns: repeat(3, 1fr) !important; } }
@media (min-width: 1100px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } }
.service-card--dark { background: var(--surface); border-color: var(--line); }
.service-card--dark:hover { border-color: rgba(171, 127, 81, 0.5); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7); }
.service-card--dark .service-card__icon { background: rgba(195, 159, 117, 0.12); border-color: var(--line); color: var(--champagne); }
.service-card--dark .service-card__title { color: var(--text); }
.service-card--dark .service-card__text { color: var(--text-muted); }
.service-card--dark .service-card__link { color: var(--champagne); }
.pill-group--stay { display: grid; grid-template-columns: 1fr; }
@media (min-width: 520px) { .pill-group--stay { grid-template-columns: repeat(2, 1fr); } }
.field input[type="date"], .field input[type="time"] {
  width: 100%; min-height: 3.25rem; padding: 0.85rem 1rem; border-radius: var(--r-md); border: 1px solid var(--sand);
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input[type="date"]:focus, .field input[type="time"]:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(171, 127, 81, 0.15); }

/* Header with five menu items: tighten spacing on mid size laptops */
@media (min-width: 1024px) and (max-width: 1240px) { .nav__list { gap: 1.1rem; } .header-call { display: none !important; } .brand__sub { display: none; } }

/* Before/after reveal: glowing divider while the handle sweeps across */
.ba__handle { transition: box-shadow 0.4s var(--ease); }
.ba.is-revealing .ba__handle { box-shadow: 0 0 24px 4px rgba(232, 206, 177, 0.75), 0 0 60px 10px rgba(195, 159, 117, 0.35); }
.ba.is-revealing .ba__knob { transform: scale(1.12); }
.ba-card .ba { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.ba-card:hover .ba { border-color: rgba(232, 206, 177, 0.35); }

/* ---------- Price tables ---------- */
.price-table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.price-table__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.price-table__row:last-child { border-bottom: 0; }
.price-table__row:nth-child(even) { background: rgba(232, 206, 177, 0.03); }
.price-table__item { color: var(--text); font-weight: 500; }
.price-table__item a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(232, 206, 177, 0.3); text-underline-offset: 4px; }
.price-table__item a:hover { color: var(--champagne); }
.price-table__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: var(--font-heading); font-size: 1.2rem; color: var(--champagne); white-space: nowrap; }
.price-table__price small { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-faint); white-space: normal; }
.price-table__price--text { font-size: 1rem; font-style: italic; }
@media (max-width: 520px) { .price-table__row { flex-direction: column; align-items: flex-start; } .price-table__price { align-items: flex-start; text-align: left; } }
.price-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-muted); text-align: center; }
.price-note a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.price-group__title { margin: 2.5rem 0 1rem; color: var(--champagne); }
.fee-banner { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: var(--r-lg); border: 1px solid rgba(232, 206, 177, 0.25); background: rgba(232, 206, 177, 0.06); }
.fee-banner p { color: var(--text-muted); }
.fee-banner strong { color: var(--text); }
.fee-banner__icon { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--gold-gradient); color: var(--ink); }
.service-card__price { margin-top: 0.75rem; font-family: var(--font-heading); font-size: 1.05rem; color: var(--champagne); }
.service-card:not(.service-card--dark) .service-card__price { color: var(--bronze-deep); }
.checklist--center { max-width: 36rem; margin-inline: auto; }
.t-subhead { margin-top: 2rem; color: var(--champagne); }

/* ---------- Dr. HIB Virtual Assistant ---------- */
.assistant { position: fixed; z-index: 95; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
.assistant__toggle {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1.1rem 0.45rem 0.45rem; border-radius: var(--r-pill);
  background: var(--gold-gradient); color: var(--ink); font-weight: 700; font-size: 0.875rem;
  box-shadow: 0 12px 30px -8px rgba(195, 159, 117, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease);
}
.assistant__toggle:hover { transform: translateY(-2px); }
.assistant__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex-shrink: 0; border-radius: 50%; background: var(--surface); color: var(--champagne); font-family: var(--font-heading); font-style: italic; font-size: 0.85rem; border: 1px solid rgba(232, 206, 177, 0.5); }
@media (max-width: 600px) { .assistant__label { font-size: 0.8125rem; } }
.assistant__panel {
  position: absolute; right: 0; bottom: calc(100% + 0.75rem); width: min(23rem, calc(100vw - 2rem)); max-height: min(36rem, calc(100vh - 7rem));
  display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg-raised); border: 1px solid rgba(232, 206, 177, 0.25); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
}
.assistant__panel[hidden] { display: none; }
.assistant__head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.assistant__head strong { display: block; font-size: 0.9375rem; }
.assistant__head small { display: block; font-size: 0.75rem; color: var(--text-faint); }
.assistant__close { margin-left: auto; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--text-muted); }
.assistant__close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.assistant__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.bubble { max-width: 90%; padding: 0.75rem 0.9rem; border-radius: 1rem 1rem 1rem 0.3rem; background: var(--surface); border: 1px solid var(--line); font-size: 0.875rem; line-height: 1.55; color: var(--text); }
.bubble a:not(.btn) { color: var(--champagne); text-decoration: underline; }
.bubble .btn { margin-top: 0.6rem; }
.bubble--me { align-self: flex-end; border-radius: 1rem 1rem 0.3rem 1rem; background: var(--gold-gradient); color: var(--ink); border: 0; font-weight: 600; }
.assistant__options { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.75rem 1rem 1rem; border-top: 1px solid var(--line); }
.assistant__options button { padding: 0.5rem 0.8rem; border-radius: var(--r-pill); border: 1px solid rgba(232, 206, 177, 0.35); color: var(--champagne); font-size: 0.8125rem; transition: background-color 0.2s var(--ease); }
.assistant__options button:hover { background: rgba(232, 206, 177, 0.1); }

/* ---------- Cookie consent (shown to visitors in Europe only) ---------- */
.consent { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 5.5rem; max-width: 34rem; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  padding: 1rem 1.25rem; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid rgba(232, 206, 177, 0.3); box-shadow: var(--shadow-lg); font-size: 0.875rem; color: var(--text-muted); }
.consent p { flex: 1 1 16rem; }
.consent a { color: var(--champagne); text-decoration: underline; }
.consent__btns { display: flex; gap: 0.5rem; }
.ba-card__caption { flex-direction: column; align-items: flex-start; gap: 0.2rem; }

/* ---------- Landing pages (smile makeover + treatment pages) ---------- */
.lp-hero { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.lp-hero__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .lp-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.lp-hero__list { margin-top: 1.5rem; }
.lp-price {
  display: flex; flex-direction: column; gap: 0.2rem; margin-top: 1.75rem; padding: 1.1rem 1.35rem;
  border-radius: var(--r-lg); border: 1px solid rgba(232, 206, 177, 0.3); background: rgba(195, 159, 117, 0.08); max-width: 34rem;
}
.lp-price__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.lp-price__value { font-family: var(--font-heading); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--champagne); }
.lp-price__value small, .lp-pricecard__value small { font-family: var(--font-body); font-size: 0.875rem; color: var(--text-muted); }
.lp-price__note { font-size: 0.8125rem; color: var(--text-muted); }
.lp-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 1.5rem; font-size: 0.8125rem; color: var(--text-muted); }
.lp-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.lp-trust .icon { width: 1rem; height: 1rem; color: var(--gold); }
.form-card--quick { scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-card--quick .form__head { margin-bottom: 1.25rem; }
.form-card--quick .form__grid { gap: 1rem; }

.lp-changes { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .lp-changes { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.lp-change { padding: 1.4rem; border-radius: var(--r-lg); background: var(--cream-2); border: 1px solid var(--sand); }
.lp-change h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); margin-top: 0.75rem; }
.lp-change p { font-size: 0.875rem; margin-top: 0.3rem; }
.lp-change__icon { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(171, 127, 81, 0.12); color: var(--bronze); }
.lp-change__icon .icon { width: 1.25rem; height: 1.25rem; }

.lp-pricecard {
  text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid rgba(232, 206, 177, 0.25); box-shadow: var(--shadow-lg);
}
.lp-pricecard .h2 { margin-top: 0.5rem; }
.lp-pricecard__value { font-family: var(--font-heading); font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); margin: 1.25rem 0 0.75rem;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-pricecard__value small { -webkit-text-fill-color: var(--text-muted); }
.lp-pricecard .lead { max-width: 38rem; margin-inline: auto; }
.lp-pricecard__guide { display: flex; gap: 0.75rem; align-items: flex-start; text-align: left; max-width: 36rem; margin: 1.5rem auto 1.75rem;
  padding: 1rem 1.25rem; border-radius: var(--r-lg); background: rgba(195, 159, 117, 0.1); color: var(--champagne); font-size: 0.9375rem; }
.lp-pricecard__guide .icon { flex-shrink: 0; width: 1.4rem; height: 1.4rem; color: var(--gold); }
.lp-doctor__photo { max-width: 26rem; }
.lp-disclaimer { padding-bottom: 2rem; font-size: 0.8125rem; color: var(--text-faint); text-align: center; }

.book-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .book-split { grid-template-columns: 1fr 1fr; gap: 4rem; } .book-split__copy { position: sticky; top: calc(var(--header-h) + 2rem); } }
.book-split__call { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 1.75rem; font-size: 0.875rem; color: var(--text-muted); }
.book-split__call a { color: var(--champagne); font-weight: 600; }
.book-split__call .icon { width: 1rem; height: 1rem; color: var(--gold); }

/* Sticky "Call / Book" bar on phones (ad landing pages) */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 0.5rem;
    padding: 0.6rem max(1rem, env(safe-area-inset-left)) max(0.6rem, env(safe-area-inset-bottom));
    background: rgba(26, 20, 17, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { justify-content: center; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 5rem; }
  body:has(.sticky-cta) .assistant { bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  body:has(.sticky-cta) .assistant__label { display: none; }
}
@media print { .sticky-cta { display: none !important; } }

/* ---------- Action buttons: Book, WhatsApp, Call Now, Online consultation ---------- */
.actions { flex-wrap: wrap; }
.header-wa { display: none; padding-inline: 0.7rem; }
.header-wa .icon { width: 1.15rem; height: 1.15rem; }
@media (min-width: 420px) { .header-wa { display: inline-flex; } }
@media (max-width: 767px) { .sticky-cta { grid-template-columns: 1fr 1.2fr 1.2fr; } }
.segmented { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
@media (max-width: 479px) { .segmented { grid-auto-flow: row; } }
.lp-trust a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.lp-hero .actions { margin-top: 1.5rem; }
.book-split .actions { margin-top: 1.75rem; }
