/* ==========================================================
   Refined Medical Aesthetics — shared theme & chrome CSS
   Palette: Cream (prototype default) · Fraunces + DM Sans
   Safe to include on any page after its own page-specific styles
   ========================================================== */

:root {
  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Palette — Cream */
  --paper:       #F7F2EA;
  --tone:        #EFE6D6;
  --tone-2:      #E6DAC4;
  --ink:         #1F1812;
  --ink-soft:    #6B5E51;
  --accent-ink:  #8F6A3C;
  --accent-soft: #E5CFA8;
  --rule:        rgba(31, 24, 18, 0.18);

  /* Legacy button tokens kept for existing pill buttons */
  --color-charcoal: var(--ink);
  --color-white:    var(--paper);
  --color-gold:     var(--accent-ink);
  --color-gold-dark:#7a5a32;
  --color-text:     var(--ink-soft);
  --color-text-light: var(--ink-soft);
  --color-text-muted: var(--ink-soft);
  --color-bg:       var(--paper);
  --color-bg-alt:   var(--tone);
  --color-cream:    var(--paper);
  --color-surface:  var(--paper);
  --color-surface-strong: var(--tone);
  --color-card:     #fff;
  --color-border:   var(--rule);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper) !important;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(36px, 6vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 26px); }

h1 span, h2 span, h3 span,
h1 em, h2 em, h3 em,
.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}

p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-ink); }

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

hr { border: none; border-top: 0.5px solid var(--rule); margin: 40px 0; }

.eyebrow, .section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- Pill buttons (preserved from live site) ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 999px;
  text-decoration: none;
}
.btn-dark     { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent-ink); color: var(--paper); }
.btn-gold     { background: var(--accent-ink); color: var(--paper); }
.btn-gold:hover { background: var(--color-gold-dark); color: var(--paper); }
.btn-outline  { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light    { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

/* ---------- Section shell ---------- */
section.section,
section.block {
  padding: clamp(56px, 8vw, 96px) 24px;
}
.section-inner,
.block-inner,
.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  max-width: 780px;
  margin-bottom: 38px;
}
.section-header .section-label,
.section-header .eyebrow { margin-bottom: 12px; display: inline-block; }
.section-header h1,
.section-header h2,
.section-header h3 {
  margin: 0 0 14px;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 14px 0 0;
  max-width: 52ch;
}

.tone-bg { background: var(--tone); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.tone-2-bg { background: var(--tone-2); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.ink-bg { background: var(--ink); color: var(--paper); }
.ink-bg h1, .ink-bg h2, .ink-bg h3, .ink-bg p { color: var(--paper); }
.ink-bg .eyebrow, .ink-bg .section-label { color: var(--accent-soft); }
.ink-bg em { color: var(--accent-soft); }

/* ---------- Klarna banner (kept for backwards compat — hidden) ---------- */
.klarna-banner { display: none !important; }

/* ---------- Promo strip ---------- */
.promo-strip {
  background: var(--ink);
  color: var(--paper);
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.promo-strip__track {
  display: inline-flex;
  white-space: nowrap;
  animation: promo 42s linear infinite;
}
.promo-strip__item {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0 36px;
  opacity: 0.85;
}
.promo-strip__item::before {
  content: "✦";
  margin-right: 14px;
  color: var(--accent-soft);
  opacity: 0.6;
}
@keyframes promo {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Header — 5-slot grid (icons | logo | icons) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
}
.header__left,
.header__right {
  display: flex; align-items: center;
  gap: 14px;
}
.header__right { justify-content: flex-end; }

.header-icon {
  background: transparent; border: none;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.header-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.header-icon:hover { color: var(--accent-ink); }

.header .logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  justify-self: center;
}
.header .logo img {
  width: 46px; height: 46px; border-radius: 999px; object-fit: cover;
  background: var(--tone);
  border: 0.5px solid var(--rule);
}
.header .logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.header .logo-text .refined {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-weight: 400;
  text-transform: uppercase;
}
.header .logo-text .medical {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.nav-desktop { display: none; }

/* Pill "Book" button: lighter — cream paper with ink outline */
.book-now-btn,
.header-book-pill {
  display: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.book-now-btn:hover,
.header-book-pill:hover { background: var(--ink); color: var(--paper); }

.menu-btn {
  background: transparent;
  border: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }

.theme-toggle { display: none !important; }

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    gap: 22px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    padding: 10px 0 14px;
  }
  .nav-desktop a {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .header-book-pill { display: inline-flex; }
}

/* ---------- Mobile menu drawer ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(31,24,18,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 60;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--paper);
  z-index: 70;
  padding: 72px 32px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  border-left: 0.5px solid var(--rule);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--rule);
  color: var(--ink);
}
.mobile-menu a.book-now-btn {
  display: inline-flex;
  margin-top: 20px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  padding: 14px 22px;
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
}
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: none;
  font-size: 28px; color: var(--ink); cursor: pointer;
  font-family: var(--font-display);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 24px 36px;
  margin-top: 0;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img {
  width: 64px; height: 64px; border-radius: 999px; object-fit: cover;
  background: var(--tone-2);
}
.footer-brand .refined,
.footer-brand-text .refined {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: -0.01em;
  color: var(--paper);
}
.footer-brand .medical,
.footer-brand-text .medical {
  font-family: var(--font-body);
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6; margin-top: 5px;
  display: block;
  color: var(--paper);
}
.footer-about {
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.65;
  opacity: 0.72;
  max-width: 420px;
  margin: 0 0 36px;
  color: var(--paper);
}
.footer-cols,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 720px) {
  .footer-cols, .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-col h4,
.footer-column h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 16px;
  font-weight: 500;
  color: var(--paper);
}
.footer-col a,
.footer-col li,
.footer-column a,
.footer-column li,
.footer-links a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: var(--paper);
  opacity: 0.88;
  text-decoration: none;
}
.footer-col ul,
.footer-column ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-col a:hover,
.footer-column a:hover,
.footer-links a:hover { opacity: 1; color: var(--accent-soft); }
.footer-contact strong {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.55;
  font-weight: 500;
  margin-top: 10px;
  color: var(--paper);
}
.footer-contact a,
.footer-contact span {
  line-height: 1.5;
  font-size: 13px;
  display: inline;
  color: var(--paper);
  opacity: 0.88;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.15);
  font-family: var(--font-body);
  font-size: 10.5px;
  opacity: 0.55;
  letter-spacing: 0.08em;
  line-height: 1.75;
  color: var(--paper);
}
.footer-bottom p { color: var(--paper); opacity: 1; margin: 4px 0; font-size: 10.5px; }

/* ---------- VIP popup (preserved) ---------- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(31,24,18,0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: opacity .3s;
}
.popup-overlay.hidden { opacity: 0; pointer-events: none; }
.popup {
  background: var(--paper);
  max-width: 420px; width: 100%;
  padding: 40px 32px 32px;
  position: relative;
  border: 0.5px solid var(--rule);
  text-align: center;
}
.popup-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent; border: none;
  font-size: 28px; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
  font-family: var(--font-display);
}
.popup-badge {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.popup h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}
.popup h2 span { font-style: italic; color: var(--accent-ink); }
.popup-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
.popup-text {
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.popup-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  margin-bottom: 14px;
  text-align: center;
}
.popup-input:focus { border-bottom-color: var(--accent-ink); }
.instagram-required,
.popup-consent {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 6px 0;
  letter-spacing: 0.04em;
}
.popup-btn {
  display: inline-flex; justify-content: center; align-items: center;
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
  margin: 16px 0 18px;
}
.popup-btn:hover { background: var(--accent-ink); }
.popup-rating {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.popup-rating span {
  color: var(--ink-soft);
  margin-left: 8px;
}

/* ---------- WhatsApp float (preserved) ---------- */
/* Aligned bottom-left at same level as Chatbase chatbot bottom-right */
/* !important + safe-area-inset so no third-party widget or page-specific style can displace it */
.whatsapp-float {
  position: fixed !important;
  bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
  left: 20px !important;
  right: auto !important;
  top: auto !important;
  width: 56px !important;
  height: 56px !important;
  background: #25D366 !important;
  color: #fff !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  z-index: 9999 !important;
  transition: transform .2s;
  text-decoration: none;
  margin: 0 !important;
  transform: none;
}
@media (max-width: 520px) {
  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    left: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---------- Existing legacy styles overridden to match theme ---------- */

/* Legacy hero */
.hero, section.hero {
  background: var(--tone);
  color: var(--ink);
  padding: clamp(40px, 6vw, 72px) 24px clamp(48px, 8vw, 80px);
}
.hero h1, section.hero h1 {
  font-family: var(--font-display);
  color: var(--ink);
}
.hero p, section.hero p { color: var(--ink-soft); }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
}

/* Legacy card/tile styles */
.treatment-card,
.testimonial-chip,
.gallery-item,
.wbco-feature,
.about-text,
.about-image {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
}
.treatment-card h3,
.testimonial-chip p,
.wbco-feature h3 { color: var(--ink); }
.treatment-card .price { color: var(--accent-ink); font-family: var(--font-display); font-size: 18px; }
.treatment-card .treatment-summary,
.testimonial-chip p { color: var(--ink-soft); }
.treatment-tags span {
  background: var(--tone);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Legacy sections */
.section, section.section {
  background: var(--paper);
  color: var(--ink);
}
.section + .section {
  border-top: 0.5px solid var(--rule);
}

/* Card grid utility */
.treatment-cards, .gallery-grid, .testimonial-track, .wbco-layout {
  gap: 16px;
}

/* Ink section (CTA) */
.cta-section {
  background: var(--ink);
  color: var(--paper);
}
.cta-section h2, .cta-section p { color: var(--paper); }
.cta-section h2 span { color: var(--accent-soft); }
.cta-section .section-label { color: var(--accent-soft); }

/* WBco pill */
.wbco-collab-pill {
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

/* =================================================================
   EDITORIAL PAGE SYSTEM
   Mirrors pages.jsx exactly — used on about / treatments / gallery /
   testimonials / faq / contact / wbco / treatment-landing pages.
   Every inner page should use these, not legacy .page-header/.intro-card.
   ================================================================= */
.page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  max-width: 620px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .page { max-width: 920px; }
}
@media (min-width: 1100px) {
  .page { max-width: 1080px; }
}
.page .eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
}
.page .display {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.98;
  margin: 12px 0 0;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
@media (min-width: 720px) { .page .display { font-size: 62px; } }
@media (min-width: 1100px) { .page .display { font-size: 76px; } }
.page .display em { font-style: italic; color: var(--accent-ink); }
.page .lede {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 56ch;
}
@media (min-width: 720px) { .page .lede { font-size: 15.5px; line-height: 1.7; } }
.page-intro { padding: 36px 20px 20px; }
@media (min-width: 720px) { .page-intro { padding: 64px 40px 28px; } }
@media (min-width: 1100px) { .page-intro { padding: 80px 60px 40px; } }

/* Full-bleed portrait hero with scrim + bottom caption */
.page-portrait {
  aspect-ratio: 3 / 4;
  background: var(--tone);
  overflow: hidden;
  position: relative;
  max-height: 80vh;
}
@media (min-width: 720px) {
  .page-portrait {
    aspect-ratio: 4 / 3;
    max-height: 82vh;
  }
}
@media (min-width: 1100px) {
  .page-portrait {
    aspect-ratio: 16 / 11;
    max-height: 82vh;
  }
}
.page-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center center; background: var(--tone); }
.page-portrait .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30,22,16,0.7) 100%);
}
.page-portrait .caption {
  position: absolute; left: 20px; right: 20px; bottom: 24px; color: #fff;
}
.page-portrait .caption .eyebrow { color: rgba(255,255,255,0.85); }
.page-portrait .caption .display { color: #fff; margin-top: 10px; font-size: 48px; }
.page-portrait .caption .display em { color: #fff; }

/* 2-col stats grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}
.stat-grid .stat { background: var(--tone); padding: 20px 14px; }
.stat-grid .stat .n { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.stat-grid .stat .l {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* "Principles" style section (tone-2 background, numbered list) */
.panel {
  padding: 40px 20px;
  background: var(--tone-2);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.panel .section-head .eyebrow { display: block; }
.panel .section-head .display { font-size: 36px; margin-top: 10px; }
.principle-list { margin-top: 26px; display: flex; flex-direction: column; }
.principle {
  padding: 18px 0;
  border-top: 0.5px solid var(--rule);
  display: flex;
  gap: 14px;
}
.principle:last-child { border-bottom: 0.5px solid var(--rule); }
.principle .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--accent-ink);
}
.principle .body { flex: 1; }
.principle .body .t { font-family: var(--font-display); font-size: 17px; }
.principle .body .d {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Editorial rule-list (used for treatments, testimonials, faq, clinic hours) */
.rule-list { padding: 12px 20px 32px; }
.rule-item {
  padding: 28px 0;
  border-top: 0.5px solid var(--rule);
}
.rule-list .rule-item:last-child { border-bottom: 0.5px solid var(--rule); }
.rule-item .eyebrow { margin-bottom: 12px; display: block; }
.rule-item .quote {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  font-style: italic;
  text-wrap: pretty;
  color: var(--ink);
}
.rule-item .attribution {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* Treatment card for treatments page */
.treatment-item {
  padding: 30px 0;
  border-top: 0.5px solid var(--rule);
}
.rule-list .treatment-item:last-child,
.treatment-list .treatment-item:last-child { border-bottom: 0.5px solid var(--rule); }
.treatment-item .eyebrow { display: block; margin-bottom: 10px; }
.treatment-item .name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.treatment-item .desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 12px;
}
.treatment-item .media {
  aspect-ratio: 4/3;
  background: var(--tone);
  margin-top: 18px;
  overflow: hidden;
}
.treatment-item .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.treatment-item .meta-row { display: flex; margin-top: 14px; }
.treatment-item .meta {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
}
.treatment-item .meta:last-child { border-right: 0.5px solid var(--rule); }
.treatment-item .meta .l {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.treatment-item .meta .v { font-family: var(--font-display); font-size: 14px; margin-top: 4px; }
.treatment-item .actions { margin-top: 16px; }

/* Filter chip row (gallery, testimonials) */
.chip-row {
  display: flex;
  gap: 6px;
  padding: 0 20px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--rule);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Editorial gallery grid (2 col on mobile, 3 on wider) */
.ed-gallery {
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ed-gallery .g {
  cursor: zoom-in;
}
.ed-gallery .g .frame {
  aspect-ratio: 3/4;
  background: var(--tone);
  overflow: hidden;
}
.ed-gallery .g .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-gallery .g .g-cat {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}
.ed-gallery .g .g-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  margin-top: 3px;
}
@media (min-width: 720px) { .ed-gallery { grid-template-columns: repeat(3, 1fr); } }

/* Zoom overlay (used by gallery.html) */
.zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(10,8,6,0.95);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  flex-direction: column; gap: 16px; padding: 20px;
}
.zoom-overlay.open { display: flex; animation: fadeIn .25s; }
.zoom-overlay img { max-width: 100%; max-height: 80%; object-fit: contain; }
.zoom-overlay .cap { text-align: center; color: #fff; }
.zoom-overlay .cap .g-cat { color: rgba(255,255,255,0.7); }
.zoom-overlay .cap .g-label { color: #fff; font-size: 16px; margin-top: 6px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* FAQ accordion */
.faq-list { padding: 12px 20px 32px; }
.faq-item { border-top: 0.5px solid var(--rule); }
.faq-list .faq-item:last-child { border-bottom: 0.5px solid var(--rule); }
.faq-item summary {
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  margin-top: 4px;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq-item .a {
  padding-bottom: 22px;
  padding-right: 30px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* FAQ "still wondering" Rachel card */
.still-card {
  margin: 0 20px 40px;
  padding: 22px;
  background: var(--tone);
  display: flex;
  gap: 14px;
  align-items: center;
}
.still-card .avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--tone-2);
  flex-shrink: 0;
}
.still-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.still-card .t { font-family: var(--font-display); font-size: 15px; font-style: italic; }
.still-card .s {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}
.still-card .wa-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.still-card .wa-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* Contact cards (Visit, Call, Email) */
.contact-cards {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 0.5px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s;
}
.contact-card:hover { background: var(--tone); }
.contact-card .icon {
  width: 40px; height: 40px;
  background: var(--tone);
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--accent-ink);
}
.contact-card .l {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-card .v { font-family: var(--font-display); font-size: 14px; margin-top: 3px; }
.contact-card .arrow { margin-left: auto; color: var(--ink-soft); }

/* Hours list */
.hours-list { padding: 32px 20px 0; }
.hours-list .h-head {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.hours-list .row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-top: 0.5px solid var(--rule);
  font-family: var(--font-body);
  font-size: 13px;
}
.hours-list .row:last-of-type { border-bottom: 0.5px solid var(--rule); }
.hours-list .row .d { color: var(--ink-soft); }
.hours-list .note {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 14px;
  font-style: italic;
}

/* Contact form */
.ed-form { padding: 36px 20px; }
.ed-form .field { margin-top: 18px; }
.ed-form .field .lbl {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.ed-form input,
.ed-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--ink);
  resize: none;
}
.ed-form input:focus,
.ed-form textarea:focus { border-bottom-color: var(--ink); }

/* Post-submit confirmation card */
.sent-card {
  margin-top: 22px;
  padding: 22px;
  background: var(--tone);
  text-align: center;
}
.sent-card .lbl {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.sent-card .msg {
  font-family: var(--font-display);
  font-size: 20px;
  margin-top: 8px;
  font-style: italic;
}

/* Primary CTA used inside editorial blocks */
.ed-cta-wrap {
  padding: 40px 20px;
  background: var(--tone);
  border-top: 0.5px solid var(--rule);
}
.ed-cta-wrap .section-head {
  text-align: center;
}
.ed-cta-wrap .ed-cta-row {
  display: flex; gap: 10px;
  margin-top: 22px;
}
.ed-cta-wrap .ed-cta-row .btn-dark { flex: 1; }

/* Shared "Book your consultation" centered CTA */
.ed-center-cta { padding: 40px 20px; text-align: center; }

/* Legacy page overrides — force cream + hide obsolete hero banners the
   port leaves behind so the editorial layout above is what shows. */
.page-header,
body > .page-header,
main > .page-header { display: none !important; }
.intro-card,
.about-section,
.intro-section,
.whatsapp-cta,
.service-hero { background: var(--paper) !important; }
main.page { max-width: 620px; margin: 0 auto; }
@media (min-width: 720px) { main.page { max-width: 920px; } }
@media (min-width: 1100px) { main.page { max-width: 1080px; } }
