/* ==========================================================================
   EK Esthetic Center — Design System Stylesheet
   Palette: cream/white backgrounds · near-black charcoal text ·
            Gold (primary accent) · Copper (secondary accent, used sparingly)
   No gradients · no glassmorphism · no heavy shadows · no colors outside palette
   ========================================================================== */

:root {
  /* Palette — calm, premium, doctor-led clinic */
  --color-bg: #FAF8F5;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F1EEE8;
  --color-text: #1C1B1A;        /* near-black charcoal — never pure black */
  --color-muted: #6B6560;
  --color-border: #E4E0D8;

  --color-gold: #C6A15B;        /* PRIMARY accent — buttons, links, key highlights */
  --color-gold-dark: #AD8940;   /* deeper gold — active/pressed states */
  --color-gold-bright: #E3BC72; /* brighter gold — used for solid-fill elements (footer social buttons) needing extra contrast on dark backgrounds */
  --color-copper: #A15A31;      /* SECONDARY accent — hover states, small details only */
  --color-copper-dark: #8B4A26;

  --color-dark: #14140F;        /* charcoal-black — hero / footer / placeholders */
  --color-on-dark: #FAF8F5;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Unified card elevation — soft, warm-toned shadow (derived from --color-dark),
     used site-wide by every boxed/card component for gentle depth & rhythm. */
  --shadow-card: 0 10px 28px -6px rgba(20, 20, 15, 0.12), 0 2px 8px rgba(20, 20, 15, 0.05);

  --container-max: 1140px;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body), 'Kantumruy Pro', 'Noto Sans Khmer', sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
  overflow-x: hidden;
}
@media (max-width: 480px) {
  body { font-size: 17px; }
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.1rem, 7vw, 3rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--color-muted); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }

/* ---------- Section background rhythm (site-wide alternation) ----------
   Default section = base cream (--color-bg, inherited from body).
   .section-alt = a slightly deeper warm cream (--color-surface-alt) for
   gentle, subtle contrast between sections — never high-contrast.
   Cards/boxes are always pure white (--color-surface), so they read as
   clearly lighter than EITHER section tone. Apply .section-alt directly
   on <section> elements, alternating every other section per page. */
.section-alt {
  background: var(--color-surface-alt);
}

/* Optional faint warmth texture — very subtle, for 1–2 sections only.
   Uses the existing bg-texture-cream.jpg asset at low opacity via a
   pseudo-element so it never affects text contrast or introduces a new color. */
.section-texture {
  position: relative;
  isolation: isolate;
}
.section-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('../images/bg-texture-cream.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.left { margin: 0 0 36px; text-align: left; }

.copy-needed {
  display: inline-block;
  background: rgba(198, 161, 91, 0.14);
  border: 1px dashed var(--color-copper);
  color: var(--color-copper-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:active { opacity: 0.85; }

/* Primary CTA — "Book a free consultation" — solid gold, dark text, most prominent element */
.btn-primary {
  background: var(--color-gold);
  color: var(--color-text);
}
.btn-primary:hover { background: var(--color-copper); color: #fff; }

/* Secondary CTA — "Message us on Telegram" — outline / ghost */
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn-secondary:hover { background: var(--color-text); color: #fff; }

/* Primary CTA variant for dark sections (hero, footer, CTA banner) — same gold/dark-text treatment */
.btn-on-dark {
  background: var(--color-gold);
  color: var(--color-text);
}
.btn-on-dark:hover { background: var(--color-copper); color: #fff; }

.btn-outline-on-dark {
  background: transparent;
  color: var(--color-on-dark);
  border-color: var(--color-on-dark);
}
.btn-outline-on-dark:hover { background: var(--color-on-dark); color: var(--color-dark); }

.btn-block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-row.center { justify-content: center; }

/* Extra breathing room above the "Meet the Doctors" CTA on the homepage
   doctor-led explainer section, so the button isn't crowded by the copy above it. */
#doctor-led-explainer .cta-row { margin-top: 24px; }
#doctor-led-meaning .cta-row { margin-top: 24px; }

/* Founder pull-quote inside the doctor-led-explainer text column */
.founder-quote {
  margin: 22px 0;
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
}
.founder-quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #1E1B18;
  margin: 0;
}
.founder-quote__cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 8px;
}
.founder-quote__name {
  color: var(--color-gold);
  font-weight: 500;
}
.founder-quote__role {
  color: var(--color-muted);
}
@media (max-width: 640px) {
  .founder-quote p { font-size: 1.1rem; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
}
.site-header .container {
  max-width: 1320px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  max-width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text);
  flex-shrink: 1;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  color: #1E1B18;
}
.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B08D57;
  margin-top: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; min-height: 44px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--color-gold); color: var(--color-gold-dark); }

.nav-actions-desktop { display: none; align-items: center; gap: 10px; flex-shrink: 0; max-width: 100%; box-sizing: border-box; }
.nav-actions-desktop .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-actions-desktop .btn-secondary {
  background: transparent;
  border: 1px solid #1E1B18;
  color: #1E1B18;
}
.nav-actions-desktop .btn-primary {
  background: #B08D57;
  border: none;
  color: #FFFFFF;
}

.primary-nav {
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow: visible;
  z-index: 999;
  max-width: 100%;
  box-sizing: border-box;
}
.primary-nav.open { transform: translateX(0); }
.primary-nav > ul {
  list-style: none;
  margin: 0; padding: 18px 20px 30px;
}
.primary-nav > ul > li { border-bottom: 1px solid var(--color-border); }
.primary-nav a.nav-link {
  display: block;
  padding: 16px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1E1B18;
}
.primary-nav a.nav-link.active,
.primary-nav a.nav-link:hover { color: #B08D57; }
.nav-mobile-actions {
  padding: 20px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 1299px) {
  .site-header .container { padding: 0 16px; }
  .primary-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1E1B18;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }
}

@media (min-width: 1300px) {
  .nav-toggle { display: none; }
  .nav-actions-desktop { display: flex; gap: 8px; }
  .nav-actions-desktop .btn { padding: 0 16px; }
  .brand-logo { height: 56px; }
  .brand { flex-shrink: 0; }
  .site-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    white-space: nowrap;
  }
  .brand,
  .brand-name,
  .brand-tagline { white-space: nowrap; }
  .primary-nav {
    position: static;
    transform: none;
    background: transparent;
    height: auto;
    display: block;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
    overflow: visible;
  }
  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    overflow-x: visible;
  }
  .primary-nav > ul > li { border-bottom: none; position: relative; }
  .primary-nav a.nav-link {
    padding: 6px 0;
    font-size: 16px;
    font-weight: 500;
    color: #1E1B18;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }
  .nav-mobile-actions { display: none; }
}

.has-dropdown { position: relative; }
.dropdown-toggle { font-size: 16px; font-weight: 500; color: #1E1B18; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.has-dropdown .caret { color: #B08D57; font-weight: 700; font-size: 0.9em; margin-left: 6px; display: inline-block; transition: transform 0.2s ease; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; margin: 0; padding: 8px 0;
  min-width: 240px; list-style: none; background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1000;
}
.has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown-menu a { display: block; padding: 10px 20px; white-space: nowrap; text-decoration: none; color: #1E1B18; font-size: 15px; }
.dropdown-menu a:hover { color: #B08D57; background: #FBF9F6; }
.dropdown-menu a.active { color: #B08D57; font-weight: 600; }
.dropdown-menu .dropdown-divider {
  height: 1px;
  margin: 6px 16px;
  background: var(--color-border);
  list-style: none;
}
.site-footer a.active { color: #B08D57; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 64px 0 56px;
}
.hero .container { max-width: 760px; text-align: center; }
.hero .section-eyebrow { color: var(--color-gold); }
.hero h1 { color: var(--color-on-dark); }
.hero p.lead { color: #CFCBC2; font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
.hero-sub-page { padding: 44px 0 40px; }

/* ---------- Hero / CTA background photo support (Batch 2) ---------- */
.hero-photo,
.cta-banner.cta-banner-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero-photo::before,
.cta-banner.cta-banner-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(20,20,15,0.84), rgba(20,20,15,0.68));
}
.hero-photo .container {
  position: relative;
  z-index: 1;
}
.cta-banner.cta-banner-photo > * {
  position: relative;
  z-index: 1;
}

/* ---------- Image placeholders (Batch 1: solid black blocks) ---------- */
.img-placeholder {
  background: #0D0D0B;
  color: #E7E2D8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-md);
  min-height: 220px;
  padding: 24px;
}
.img-placeholder .ph-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 6px;
}
.img-placeholder .ph-note {
  font-size: 0.8rem;
  color: #9C978C;
}
.img-placeholder.tall { min-height: 320px; }
.img-placeholder.square { aspect-ratio: 1/1; min-height: 0; }
.img-placeholder.wide { aspect-ratio: 16/9; min-height: 0; }
.img-placeholder.round { border-radius: 50%; aspect-ratio: 1/1; min-height: 0; }

/* ---------- Filled image blocks (Batch 2: real photos in place of placeholders) ---------- */
.img-placeholder.img-fill {
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}
.img-placeholder.tall.img-fill { min-height: 320px; }
.img-placeholder.square.img-fill,
.img-placeholder.wide.img-fill,
.img-placeholder.round.img-fill { min-height: 0; }
.img-placeholder.img-fill img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.img-placeholder.tall.img-fill img { min-height: 320px; }
.img-placeholder.square.img-fill img,
.img-placeholder.wide.img-fill img,
.img-placeholder.round.img-fill img { min-height: 0; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Shared card foundation ----------
   ONE consistent elevated-card style used everywhere: clinic values, what-it-
   helps-with lists, who-it's-for, what-makes-us-different, why-choose-EK,
   services cards, technology & standards, skin-booster options, review /
   testimonial cards, how-it-works steps, and the FAQ accordion. Single shared
   ruleset controls background / border / radius / shadow so every boxed
   component stays visually identical — only padding & internal layout differ
   per component below. The existing gold icon-badge circles remain the one
   accent element (no additional top-accent line, to keep things understated). */
.card,
.review-card,
.faq-item,
.numbered-step,
.tech-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* ---------- Icon badge (Phosphor Light outline icons) ----------
   Thin-line outline icon · single gold color · transparent bg ·
   consistent size · generous padding · thin 1px circular gold outline ·
   subtle hover = color deepening only, no motion/scale. */
.card .icon-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.card .icon-badge i { display: block; }
.card:hover .icon-badge,
.icon-badge:hover {
  color: var(--color-copper-dark);
  border-color: var(--color-copper-dark);
}
.card h3 { margin-bottom: 8px; }
.card .card-link,
.card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.card .card-link:hover,
.card-link:hover {
  background: var(--color-copper);
  color: #fff;
  transform: translateY(-1px);
}

.service-card { position: relative; }

.numbered-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 20px;
  height: 100%;
}
.numbered-step .num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 700px) {
  .trust-strip ul { grid-template-columns: repeat(3, 1fr); }
}
.trust-strip li { font-weight: 600; font-size: 0.92rem; }
.trust-strip li span { display: block; color: var(--color-muted); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }

/* ---------- Review cards ---------- */
.review-card {
  padding: 24px;
}
.review-stars { color: var(--color-gold-dark); letter-spacing: 2px; margin-bottom: 10px; }
.review-name { font-weight: 700; margin-top: 12px; }
.review-source { font-size: 0.8rem; color: var(--color-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  text-align: center;
}
.cta-banner h2 { color: var(--color-on-dark); }
.cta-banner p { color: #CFCBC2; }

/* ---------- Contact / Map / Form ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.info-list .info-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.info-list li:hover .info-icon {
  color: var(--color-copper-dark);
  border-color: var(--color-copper-dark);
}
.map-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-embed-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* ---------- Form fields (member login, etc.) ----------
   Reuses existing palette/radius tokens only — no new colors. */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-field input[type="text"],
.form-field input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input[type="text"]:focus,
.form-field input[type="password"]:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}
.form-note { color: var(--color-muted); font-size: 0.85rem; margin-top: 14px; }

/* ---------- Floating message button ---------- */
.float-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(28,27,26,0.18);
}
.float-message svg { width: 18px; height: 18px; }
.float-message i { font-size: 1.05rem; line-height: 1; color: var(--color-gold); }
.float-message:hover { background: var(--color-dark); }
.float-message:hover i { color: var(--color-copper); }

/* ---------- Sticky mobile "Book" bar ---------- */
.sticky-book-bar {
  display: none;
}
@media (max-width: 899px) {
  body { padding-bottom: 78px; }
  .sticky-book-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1002;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 10px rgba(28,27,26,0.08);
  }
  .sticky-book-bar a.btn {
    width: 100%;
  }
  .float-message { bottom: 90px; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: 18px 20px;
  box-shadow: 0 -4px 16px rgba(28,27,26,0.16);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container-max);
}
.cookie-banner p {
  color: #CFCBC2;
  margin: 0;
  font-size: 0.88rem;
  flex: 1 1 320px;
}
.cookie-banner p a { color: var(--color-gold); text-decoration: underline; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .btn-cookie {
  padding: 9px 18px;
  font-size: 0.85rem;
}
@media (max-width: 899px) {
  .cookie-banner { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Cliniko booking embed ---------- */
.booking-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.booking-embed-wrap iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
}
.booking-fallback {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 12px;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: #C9C5BC;
  padding: 52px 0 26px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
}
/* Social icon row: full-width strip underneath the 3 footer columns,
   centered, with a subtle divider line above it. No "Follow Us" heading —
   the icons + platform labels are self-explanatory. */
.footer-social-row {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(250,248,245,0.12);
  display: flex;
  justify-content: center;
}
.footer-social-row .footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 22px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-on-dark);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.site-footer h4 { color: var(--color-on-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--color-copper); }
/* ---------- Footer social icon buttons (solid gold, centered row) ----------
   Solid gold/bronze circular buttons with a dark icon, so they clearly read
   as clickable buttons against the dark footer background. Each icon has a
   platform name label beneath it for clarity. Minimum 44x44px tap target.
   Base .footer-social is a grid so icons stay column-aligned; the
   .footer-social-row wrapper overrides it to a centered flex row (see
   above) for the site-wide single-row-under-all-columns layout. */
.footer-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, auto));
  justify-content: start;
  gap: 20px 22px;
  margin-top: 0;
}
.footer-social a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.footer-social .footer-social-icon {
  width: 48px; height: 48px;
  min-width: 44px; min-height: 44px;
  border-radius: 50%;
  background: var(--color-gold-bright);
  border: none;
  color: var(--color-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-social .footer-social-label {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: #C9C5BC;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.footer-social a:hover .footer-social-icon,
.footer-social a:focus-visible .footer-social-icon {
  background: #F0CE8F; /* brighter gold on hover/tap for clear feedback */
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0,0,0,0.34);
}
.footer-social a:hover .footer-social-label,
.footer-social a:focus-visible .footer-social-label {
  color: var(--color-gold-bright);
}
.footer-social a:focus-visible .footer-social-icon {
  outline: 2px solid var(--color-on-dark);
  outline-offset: 2px;
}
/* Light-background variant (e.g. contact page body content, not the dark
   footer) — keeps the same solid gold buttons but darkens the label text
   and focus outline so they stay readable on a light surface. */
.footer-social--on-light .footer-social-label { color: var(--color-muted); }
.footer-social--on-light a:hover .footer-social-label,
.footer-social--on-light a:focus-visible .footer-social-label { color: var(--color-copper-dark); }
.footer-social--on-light a:focus-visible .footer-social-icon {
  outline: 2px solid var(--color-copper-dark);
  outline-offset: 2px;
}
/* Single-row variant for the Contact page "Follow Us" section — same icons/
   labels as the footer social row, but laid out in one flex row that wraps
   only if the viewport is too narrow, instead of the default 2-column grid. */
.footer-social-row-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
}
.footer-bottom {
  border-top: 1px solid #2C2B24;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #8D897E;
}
.footer-disclaimer { margin-bottom: 10px; line-height: 1.6; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag-pill {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
}
.two-col {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.reverse .col-media { order: 2; }
}
.consult-note {
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-copper);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ---------- Hero carousel (text-only, Batch 1) ---------- */
.hero-carousel {
  margin-top: 36px;
  border-top: 1px solid #33322A;
  padding-top: 28px;
}
.hero-carousel-viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  flex: 1 1 auto;
  min-width: 0;
}
.hero-carousel-track::-webkit-scrollbar { height: 5px; }
.hero-carousel-track::-webkit-scrollbar-thumb { background: #3A3930; border-radius: 4px; }
.hero-slide {
  scroll-snap-align: start;
  flex: 0 0 240px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #33322A;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
}
.hero-slide .slide-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-slide p {
  color: #E4E0D8;
  font-size: 0.92rem;
  margin: 0;
}

/* Carousel arrow controls */
.hero-carousel-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #3A3930;
  background: rgba(255,255,255,0.05);
  color: var(--color-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero-carousel-arrow:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-gold);
}
.hero-carousel-arrow svg { width: 18px; height: 18px; }

/* Carousel dot indicators */
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #3A3930;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-carousel-dot:hover { background: #57553F; }
.hero-carousel-dot.active {
  background: var(--color-gold);
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .hero-carousel-arrow { width: 32px; height: 32px; }
  .hero-carousel-arrow svg { width: 15px; height: 15px; }
}

/* ---------- Doctor profile cards (photo, focus block, expandable bio) ---------- */
/* Prevent expanding one card's bio from stretching the other cards in the
   row: override grid's default align-items: stretch so each card sizes to
   its own content height at every breakpoint (1, 2, and 3 columns). */
#meet-our-doctors .grid-3 {
  align-items: start;
}
.doctor-card {
  display: flex;
  flex-direction: column;
  height: auto;
}
.doctor-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 18px;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-title {
  font-weight: 600;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
}
.doctor-languages {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}
.doctor-focus {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.doctor-focus-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.doctor-focus p {
  margin: 0;
  font-size: 0.92rem;
}

/* Expandable "Read full bio" — native <details>, no JS required.
   Author CSS overrides the UA default of hiding non-summary children when
   closed, so a CSS grid-template-rows transition can animate the reveal. */
.doctor-bio-details {
  margin-top: 14px;
}
.doctor-bio-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-gold-dark);
  padding: 4px 0;
}
.doctor-bio-details summary::-webkit-details-marker { display: none; }
.doctor-bio-caret {
  display: inline-block;
  font-size: 0.8em;
  transition: transform 0.3s ease-in-out;
}
.doctor-bio-details[open] .doctor-bio-caret { transform: rotate(180deg); }
.doctor-bio-details > .doctor-bio-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease-in-out, opacity 0.35s ease-in-out;
}
.doctor-bio-details[open] > .doctor-bio-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.doctor-bio-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.doctor-bio-panel-inner p {
  margin: 0 0 14px;
}
.doctor-bio-panel-inner p:last-child { margin-bottom: 0; }
.doctor-credentials { margin-top: 6px; }
.doctor-credentials h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 16px 0 6px;
  color: var(--color-text);
}
.doctor-credentials h4:first-child { margin-top: 0; }
.doctor-credentials ul {
  margin: 0;
  padding-left: 18px;
}
.doctor-credentials li {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq-item {
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-copper);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---------- Tech / standards list ----------
   Used for "what it helps with", "technology & standards", "what patients
   love most", skin-booster options, etc. Boxed as a card via the shared
   ruleset above so it visually matches every other card/box on the site. */
.tech-list {
  list-style: none;
  margin: 0;
  padding: 22px 26px;
}
.tech-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.tech-list li:first-child { padding-top: 0; }
.tech-list li:last-child { padding-bottom: 0; }
.tech-list li i {
  color: var(--color-gold-dark);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.tech-list li:hover i { color: var(--color-copper-dark); }

/* ---------- Pill list (additional treatments tags) ---------- */
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

/* ==========================================================================
   DESKTOP DEPTH & RHYTHM (≥1024px only)
   Styling-only additions: alternating white/cream section bands, a shared
   card lift (border + soft shadow + hover), sparing gold hairline dividers,
   near-invisible heading glows, two faded-image bands (hero + final CTA),
   and a slightly wider, composed content column. Tablet/mobile are
   untouched — everything in this block is gated behind the 1024px query.
   No copy, section order, images, or layout structure was changed.
   ========================================================================== */
@media (min-width: 1024px) {

  /* 1) Alternating section bands — every <section> alternates white/cream,
     overriding whichever background a section already had, so adjacent
     sections never match. Cards (already white) still read as lighter than
     either band. Hero and the two CTA/photo bands are excluded since they
     have their own dark/photo treatment. */
  main > section:nth-of-type(odd) {
    background: #FFFFFF;
  }
  main > section:nth-of-type(even) {
    background: #FBF9F6;
  }
  /* .hero itself carries the dark background directly (not a nested card),
     so it is excluded from the alternating band. The closing-CTA section's
     dark/photo treatment lives on the nested .cta-banner-photo card, so the
     wrapping <section> still takes the normal alternating band. */
  main > section.hero {
    background: var(--color-dark);
  }

  /* Constrain content width a touch more generously on very wide screens */
  .container {
    max-width: 1200px;
    padding: 0 32px;
  }

  /* Keep vertical rhythm consistent site-wide on desktop */
  section {
    padding: 72px 0;
  }
  .hero-sub-page {
    padding: 56px 0 52px;
  }

  /* 2) Card & element lift — one consistent style for every card-like
     component, with a gentle hover lift. Uses the existing shared selector
     list so service cards, review cards, FAQ items, numbered steps, and the
     tech-list all match. */
  .card,
  .review-card,
  .faq-item,
  .numbered-step,
  .tech-list {
    background: #FFFFFF;
    border: 1px solid #ECE7DF;
    box-shadow: 0 2px 8px rgba(30,27,24,0.06);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
  }
  .card:hover,
  .review-card:hover,
  .numbered-step:hover,
  .tech-list:hover {
    box-shadow: 0 10px 22px rgba(30,27,24,0.10);
    transform: translateY(-2px);
  }

  /* 3) Sparing gold hairline dividers between a few section boundaries —
     applied via ::before on the section that follows, so no HTML changes
     are needed. Used sparingly (not on every boundary). */
  #what-we-help-with::before,
  #our-services::before,
  #how-it-works::before,
  #what-patients-love-most::before,
  #reviews-snippet::before,
  #clinic-values::before {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    margin: 0 auto 48px;
    background: var(--color-gold);
    opacity: 0.6;
  }

  /* Barely-there radial warmth behind major section headings — kept at
     extremely low opacity so it stays almost invisible. */
  .section-head {
    position: relative;
  }
  .section-head::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    height: 260px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(176,141,87,0.05), transparent 70%);
    z-index: -1;
    pointer-events: none;
  }

  /* 4) Two targeted faded-image bands — hero + final CTA only.
     These two sections already show an existing clinic photo at low
     visibility behind a dark overlay (see .hero-photo::before /
     .cta-banner-photo::before, unchanged above) — on desktop we deepen
     that overlay's gradient very slightly toward the dark palette so the
     photo reads as a faint textured band rather than a flat color, while
     text/buttons (already colored for dark backgrounds) stay fully crisp.
     No other section gets a background image, per spec. */
  .hero-photo::before,
  .cta-banner.cta-banner-photo::before {
    background: linear-gradient(160deg, rgba(20,20,15,0.82), rgba(20,20,15,0.62));
  }
}
