/* ============================================================
   GAIA ACUPUNCTUUR — STYLESHEET
   Design: Terracotta #BE7065
   ============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Terracotta palette built around #BE7065 */
  --tc-50:  #FAF3F2;
  --tc-100: #F2DDD9;
  --tc-200: #E4BCB7;
  --tc-300: #D49A93;
  --tc-400: #CA8278;
  --tc-500: #BE7065;   /* PRIMARY */
  --tc-600: #A05650;
  --tc-700: #7F3F3A;
  --tc-800: #5C2A25;
  --tc-900: #3A1612;

  /* Neutrals */
  --cream:        #FAF5EF;
  --warm-white:   #FFFBF7;
  --warm-100:     #F5EDE2;
  --warm-200:     #EDD9C5;

  /* Sage accent */
  --sage:         #8FAF8C;
  --sage-light:   #C5D9C3;

  /* Text */
  --text-primary:   #2C1810;
  --text-secondary: #6B4535;
  --text-muted:     #9A7B6E;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Sizing */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.07);
  --shadow-md: 0 8px 32px rgba(44, 24, 16, 0.10);
  --shadow-lg: 0 20px 60px rgba(44, 24, 16, 0.13);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 300ms var(--ease-out);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* scroll-behavior handled by JS for precise header offset */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

a {
  color: var(--tc-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--tc-800); }

ul, ol { list-style: none; }

address { font-style: normal; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { max-width: 65ch; }

em { font-style: italic; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── SECTION COMMON ─────────────────────────────────────────── */
section { padding-block: clamp(4rem, 8vw, 7rem); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tc-500);
  margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: var(--tc-200); }

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-inline: auto;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85em 2em;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--tc-500);
  color: #fff;
  border-color: var(--tc-500);
}
.btn--primary:hover {
  background: var(--tc-700);
  border-color: var(--tc-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(187, 128, 115, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--tc-600);
  border-color: var(--tc-400);
}
.btn--outline:hover {
  background: var(--tc-50);
  border-color: var(--tc-600);
  color: var(--tc-700);
}

.btn--sm { padding: 0.6em 1.4em; font-size: 0.875rem; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding-block: 1.25rem;
}

.site-header.scrolled {
  background: rgba(255, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.08);
  padding-block: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--warm-white);
  transition: color var(--transition);
}
.site-header.scrolled .nav-logo { color: var(--text-primary); }

.nav-logo-svg {
  height: clamp(40px, 4.5vw, 52px);
  width: auto;
  font-weight: 500;
  opacity: 0.75;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1.75rem);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--tc-300);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: #fff; }

.site-header.scrolled .nav-link { color: var(--text-secondary); }
.site-header.scrolled .nav-link:hover { color: var(--tc-600); }

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--tc-500);
  color: #fff !important;
  padding: 0.55em 1.4em;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--tc-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(190,112,101,0.3);
}

.nav-lang-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.2em 0.55em;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-lang-link:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.site-header.scrolled .nav-lang-link { color: var(--text-muted); border-color: var(--warm-200); }
.site-header.scrolled .nav-lang-link:hover { color: var(--tc-700); border-color: var(--tc-400); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--text-primary); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--tc-900) 0%,
    var(--tc-700) 35%,
    var(--tc-500) 75%,
    var(--tc-400) 100%
  );
  overflow: hidden;
  padding-block: 8rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: rgba(255,255,255,0.4);
  will-change: transform;
}
.hero-shape--1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  right: -15%;
  animation: float 8s ease-in-out infinite;
}
.hero-shape--2 {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  left: -10%;
  animation: float 11s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3%) rotate(5deg); }
}

.hero-botanical {
  position: absolute;
  right: 8%;
  bottom: 0;
  height: 80%;
  width: auto;
  color: rgba(255,255,255,0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tc-200);
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.hero-title em {
  font-weight: 400;
  color: var(--tc-100);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.9);
}
.trust-item strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.trust-item span {
  font-size: 0.78rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* The Google-reviews badge is a link to the Business Profile, so the rating is
   verifiable at source instead of only being asserted here. The rest of the
   trust row stays plain <div>s — only this one item is clickable. */
a.trust-item {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
a.trust-item span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
}
a.trust-item:hover span,
a.trust-item:focus-visible span {
  opacity: 1;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}
a.trust-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 5px;
  border-radius: 2px;
}

.trust-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2.5s ease-in-out infinite;
  transition: color var(--transition);
  will-change: transform;
}
.hero-scroll:hover { color: rgba(255,255,255,0.9); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  60% { transform: translateX(-50%) translateY(8px); }
}

/* ── HERO PHOTO ──────────────────────────────────────────────── */
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  /* Lock the panel's proportions to the reference crop (525x800). The panel
     is full-height, so a fixed % width would grow wider on large screens and
     — since object-fit: cover is width-driven here — crop the floor away.
     Deriving width from the height keeps the framing identical everywhere. */
  aspect-ratio: 21 / 32; /* 0.65625 */
  width: auto;
  /* Never wider than the original 41%, so the panel can't creep under the
     hero copy on tall/narrow windows. Clamping only ever makes the panel
     narrower, which shows more of the floor — a safe direction. */
  max-width: 41%;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Source is already framed on the arch; anchor to the top so the peak
     of the arch stays in frame and the floor crops away instead. */
  object-position: 50% 0%;
  display: block;
}
/* Left-edge gradient — baked clay fade into photo */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--tc-500) 0%,
    rgba(190, 112, 101, 0.5) 18%,
    transparent 48%
  );
  z-index: 1;
}
/* Bottom fade */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 60%,
    rgba(44, 24, 16, 0.45) 100%
  );
  z-index: 1;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about { background: var(--warm-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 0;
  overflow: hidden;
  background: var(--warm-100);
  aspect-ratio: 4/5;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.about-image-frame:hover .about-image { transform: scale(1.03); }

/* Placeholder when no image */
.about-image-frame:not(:has(img[src*=".jpg"])):not(:has(img[src*=".png"])) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tc-100), var(--warm-200));
  min-height: 480px;
}

.about-image-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--tc-500);
  color: #fff;
  border-radius: 100px;
  padding: 0.6em 1.2em;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
}

.about-content { max-width: 52ch; }

.about-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--tc-700);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-style: italic;
}

.about-content p:not(.about-lead) {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-creds {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.about-creds li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.about-creds li svg {
  flex-shrink: 0;
  color: var(--tc-500);
  margin-top: 2px;
}

/* ── TREATMENTS ──────────────────────────────────────────────── */
.treatments { background: var(--cream); }

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* There are 9 cards: a clean 3×3 on desktop and a single column on phones.
   In the in-between band the grid falls back to 2 columns, which would leave
   the last card orphaned — so let it span the full width there instead. */
@media (min-width: 645px) and (max-width: 975px) {
  .treatments-grid > .treatment-card:last-child { grid-column: 1 / -1; }
}

.treatment-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--warm-200);
  transition: all var(--transition);
  position: relative;
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tc-200);
}

.treatment-icon {
  width: 48px;
  height: 48px;
  color: var(--tc-500);
  margin-bottom: 1.25rem;
}
.treatment-icon svg { width: 100%; height: 100%; }

.treatment-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.treatment-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.treatment-tag {
  display: inline-block;
  margin-top: 1rem;
  background: var(--tc-50);
  color: var(--tc-700);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 100px;
  border: 1px solid var(--tc-200);
}

.treatments-cta {
  text-align: center;
  padding: 2rem;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--warm-200);
}
.treatments-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: none;
}

/* ── PROCESS ─────────────────────────────────────────────────── */
.process {
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tc-50) 0%, transparent 70%);
  pointer-events: none;
}

.process-steps {
  counter-reset: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--tc-200), transparent);
}

.process-step {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-number {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--tc-50);
  border: 2px solid var(--tc-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--tc-600);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .process-number {
  background: var(--tc-500);
  border-color: var(--tc-500);
  color: #fff;
}

.process-step-content {
  padding-top: 1rem;
}
.process-step-content h3 {
  margin-bottom: 0.5rem;
}
.process-step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.process-duration {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tc-500);
  background: var(--tc-50);
  padding: 0.3em 0.8em;
  border-radius: 100px;
}

.process-insurance {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 1.5rem 2rem;
  background: var(--tc-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--tc-400);
}
.process-insurance svg { flex-shrink: 0; color: var(--tc-500); margin-top: 3px; }
.process-insurance p { font-size: 0.9rem; color: var(--text-secondary); }
.process-insurance strong { color: var(--text-primary); }

/* ── RATES ───────────────────────────────────────────────────── */
.process-rates {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(190, 112, 101, 0.18);
  border-radius: var(--radius-md);
}
.process-rates h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.process-rates ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.process-rates li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.process-rates li:last-child { border-bottom: none; }
.process-rates .rate-price {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.process-rates .rates-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
/* The global reset zeroes paragraph margins, so consecutive notes rendered as
   one block — which made the cancellation terms read as if they applied only to
   home visits. */
.process-rates .rates-note + .rates-note {
  margin-top: 0.9rem;
}
/* Terms that apply to every appointment, not just the note above them. */
.process-rates .rates-note--policy {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--tc-200);
}

/* ── TESTIMONIAL CONTEXT LABEL ───────────────────────────────── */
.testimonial-context {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 0.85;
  margin-top: 0.15rem;
}

/* ── BOOKING ─────────────────────────────────────────────────── */
.booking {
  background: linear-gradient(
    135deg,
    var(--tc-900) 0%,
    var(--tc-700) 60%,
    var(--tc-600) 100%
  );
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.booking .container { position: relative; }

.booking .section-header { text-align: center; }
.booking .section-title { color: #fff; }
.booking .section-subtitle { color: rgba(255,255,255,0.75); }

.booking-contact-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.booking-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.booking-contact-link:hover { color: #fff; }

.booking-frame-wrap {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Let the mijnDiad widget determine its own height */
  min-height: 400px;
}

/* mijnDiad widget — match site font & brand colours */
.md-scheduler {
  --md-color-accent:       #BE7065 !important;
  --md-color-accent_text:  #ffffff !important;
  --md-color-primary:      #7F3F3A !important;
  --md-color-primary_text: #ffffff !important;
}
.md-scheduler,
.md-scheduler * {
  font-family: var(--font-body) !important;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--warm-200);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: var(--tc-400);
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tc-600);
}

/* ── SFEER (Atmosphere gallery) ──────────────────────────────── */
.sfeer {
  padding: 0;
  background: var(--tc-900);
  line-height: 0;
  overflow: hidden; /* clip images to section bounds */
}
.sfeer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  /* Rows must be explicit. With `auto` rows the images' height:100% has no
     definite parent height to resolve against, so they fall back to their
     intrinsic size, blow past the 560px section and get guillotined by
     .sfeer's overflow:hidden — object-fit never engages. */
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: clamp(360px, 44vw, 560px);
}
.sfeer-cell {
  overflow: hidden;
  background: var(--tc-800);
  min-height: 0; /* grid items floor at min-content without this */
  min-width: 0;
}
.sfeer-cell--main {
  grid-row: 1 / 3;
}
.sfeer-col {
  grid-row: 1 / 3; /* span both rows, alongside the main cell */
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  min-height: 0;
}
.sfeer-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.sfeer-cell:hover img {
  transform: scale(1.04);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
  padding-block: 5rem;
  background: var(--warm-white);
  isolation: isolate; /* keep sticky header stacking within this section */
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 100px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--warm-200);
}
.faq-item:first-child { border-top: 1px solid var(--warm-200); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tc-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover { color: var(--tc-600); }

.faq-answer {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer a { color: var(--tc-600); }
.faq-answer a:hover { color: var(--tc-800); }
/* Several answers run to two paragraphs. Without this they collapse into one
   block, because the global reset zeroes paragraph margins. */
.faq-answer p + p { margin-top: 0.9rem; }

@media (max-width: 860px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq-header { position: static; }
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact { background: var(--warm-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info .section-eyebrow { text-align: left; display: block; }
.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item svg {
  flex-shrink: 0;
  color: var(--tc-500);
  margin-top: 3px;
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-item a { color: var(--text-primary); }
.contact-item a:hover { color: var(--tc-600); }

.contact-map { height: 100%; min-height: 420px; }

.map-wrap {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  /* Warm brand tint: sepia pulls colour toward amber, hue-rotate nudges it toward rose-terracotta */
  filter: sepia(35%) hue-rotate(340deg) saturate(0.9) brightness(0.97);
  transition: filter 0.3s ease;
}
.map-wrap:hover .map-frame { filter: sepia(15%) hue-rotate(340deg) saturate(1) brightness(1); }

.map-directions {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--tc-500);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55em 1.1em;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(190,112,101,0.35);
  transition: background var(--transition), transform var(--transition);
}
.map-directions:hover { background: var(--tc-700); transform: translateY(-2px); }

/* Legacy placeholder — kept in case the iframe fails to load */
.map-placeholder {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--tc-50), var(--warm-100));
  border: 1.5px solid var(--warm-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.map-placeholder svg { color: var(--tc-400); }
.map-placeholder p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-secondary);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--tc-900);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo { color: rgba(255,255,255,0.9); }
.footer-brand .nav-logo-svg { height: 64px; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.footer-nav-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-contact a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--tc-200); }

.footer-contact p { margin-bottom: 0.4rem; }

/* Association logos */
.footer-associations {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-assoc-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-assoc-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.footer-assoc-logos img {
  height: 54px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0.9;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-assoc-logos img:hover { opacity: 1; transform: translateY(-2px); }

.footer-bottom {
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── FLOATING CTA ────────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 90;
  transition: transform 0.5s var(--ease-out);
  display: none;
}
.floating-cta.visible {
  transform: translateX(-50%) translateY(0);
}
.floating-cta .btn {
  box-shadow: 0 8px 30px rgba(190,112,101,0.4);
}

/* ── LANGUAGE SUGGESTION ─────────────────────────────────────── */
/* Bottom-left so it clears .floating-cta, which is bottom-centred. */
.lang-suggest {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 95;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: min(23rem, calc(100vw - 3rem));
  padding: 0.9rem 0.75rem 0.9rem 1.15rem;
  background: var(--warm-white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(150%);
  /* Only clickable once shown, so a banner mid-animation — or one left behind
     if removal ever fails — can never intercept clicks on the page. */
  pointer-events: none;
  transition: transform 0.5s var(--ease-out), opacity 0.3s var(--ease-out);
}
.lang-suggest.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-suggest__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.lang-suggest__text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.lang-suggest__go {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tc-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--tc-200);
  transition: color var(--transition), text-decoration-color var(--transition);
}
.lang-suggest__go:hover,
.lang-suggest__go:focus-visible {
  color: var(--tc-700);
  text-decoration-color: var(--tc-500);
}

.lang-suggest__close {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.lang-suggest__close:hover {
  color: var(--text-primary);
  background: var(--warm-100);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  /* Promote to compositor layer up front so transitions don't trigger layout */
  will-change: opacity, transform;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
  /* Release the layer hint once animation is done */
  will-change: auto;
}
[data-reveal-delay="50"]  { transition-delay: 50ms; }
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="150"] { transition-delay: 150ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap { max-width: 420px; margin-inline: auto; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }

  .process-steps::before { left: 36px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--tc-900);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-link { color: rgba(255,255,255,0.85); font-size: 1.2rem; }
  .nav-cta { font-size: 1rem; padding: 0.7em 2em; }

  .nav-toggle { display: flex; z-index: 100; position: relative; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

  .hero-botanical { opacity: 0.06; right: -5%; }
  .hero-photo { display: none; }

  .process-steps::before { display: none; }
  .process-step { flex-direction: column; gap: 1rem; }
  .process-number { width: 52px; height: 52px; font-size: 1.1rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .floating-cta { display: block; }

  /* Full width here, and lift the (now visible) floating CTA clear of it.
     --lang-suggest-h is the banner's measured height, set by main.js:
     1rem banner offset + its height + 1rem gap. */
  .lang-suggest { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }
  body.has-lang-suggest .floating-cta {
    bottom: calc(2rem + var(--lang-suggest-h, 5rem));
  }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .sfeer-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto; /* the two cells carry their own heights here */
    height: auto;
  }
  .sfeer-cell--main { grid-row: auto; height: 280px; }
  .sfeer-col {
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero-trust { gap: 1rem; }
  .trust-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .treatments-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PRINT ───────────────────────────────────────────────────── */
@media print {
  .site-header, .floating-cta, .hero-scroll, .lang-suggest { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── LEGAL / CONTENT SUB-PAGES ───────────────────────────────── */
/* Sub-pages have no hero, so the header needs its solid styling
   from the very top of the page, not only after scrolling. */
body.page-legal .site-header {
  background: rgba(255, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.08);
}
body.page-legal .site-header .nav-logo,
body.page-legal .site-header .nav-toggle span { color: var(--text-primary); }
body.page-legal .site-header .nav-toggle span { background: var(--text-primary); }
body.page-legal .site-header .nav-link { color: var(--text-secondary); }
body.page-legal .site-header .nav-link:hover { color: var(--tc-600); }
body.page-legal .site-header .nav-lang-link { color: var(--text-muted); border-color: var(--warm-200); }
body.page-legal .site-header .nav-lang-link:hover { color: var(--tc-700); border-color: var(--tc-400); }

.legal {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background: var(--warm-white);
}

.legal-inner { max-width: 760px; margin-inline: auto; }

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.6rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.75rem;
  margin-bottom: 0.9rem;
}

.legal h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal p { margin-bottom: 1rem; max-width: none; }

.legal ul,
.legal ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.5rem; padding-left: 0.2rem; }

.legal address { margin-bottom: 1rem; color: var(--text-secondary); }

.legal-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.legal-callout {
  background: var(--tc-50);
  border-left: 3px solid var(--tc-400);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  margin: 1.75rem 0;
}
.legal-callout p:last-child { margin-bottom: 0; }

.legal ol.legal-steps { counter-reset: legalstep; list-style: none; padding-left: 0; }
.legal ol.legal-steps > li {
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 2.25rem;
}
.legal ol.legal-steps > li::before {
  counter-increment: legalstep;
  content: counter(legalstep);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tc-500);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.legal ol.legal-steps h3 { margin-top: 0; margin-bottom: 0.65rem; }

.legal-back {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Download block (legal sub-pages) ── */
.legal-download { margin: 1.75rem 0 2.25rem; }

.legal-download-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.4rem;
  background: var(--warm-white);
  border: 1px solid var(--tc-200);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.legal-download-link:hover,
.legal-download-link:focus-visible {
  border-color: var(--tc-400);
  box-shadow: 0 6px 22px rgba(44, 24, 16, 0.09);
  transform: translateY(-2px);
}

.legal-download-icon {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--tc-500);
}
.legal-download-icon svg { width: 100%; height: 100%; display: block; }

.legal-download-text { display: flex; flex-direction: column; gap: 0.2rem; }
.legal-download-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}
.legal-download-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.legal-download-note {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (max-width: 480px) {
  .legal-download-link { align-items: flex-start; gap: 0.9rem; padding: 1rem 1.1rem; }
  .legal-download-icon { width: 2.1rem; height: 2.1rem; }
  .legal-download-text strong { font-size: 1.05rem; }
}
