/* ==========================================================================
   Karoline's Touch — 2026 Concept Design System
   Recovery · Beauty · Wellness · Performance
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  /* Color palette */
  --white: #ffffff;
  --cream: #FBFAF7;
  --warm-gray-50: #F6F4EF;
  --warm-gray-100: #EDE9E1;
  --warm-gray-200: #E0DACD;
  --warm-gray-300: #C9C1AF;
  --warm-gray-500: #9C9280;
  --warm-gray-700: #6B6355;

  --charcoal: #2A2A26;
  --charcoal-soft: #3D3B34;

  --sage-50: #EEF2E8;
  --sage-100: #DCE6D0;
  --sage-300: #AFC49A;
  --sage-500: #86A16C;
  --sage-600: #6C8956;
  --sage-700: #55704A;

  --green-deep: #445239;
  --olive: #6E6B47;

  /* Champagne — used sparingly as a subtle accent only (thin borders,
     small highlights). Not used for large filled buttons or blocks. */
  --champagne: #C9B48A;
  --champagne-light: #E8DFC9;
  --champagne-soft: #F5F1E6;
  --gold: var(--champagne);
  --gold-light: var(--champagne-light);
  --gold-soft: var(--champagne-soft);

  --ink: var(--charcoal);
  --ink-soft: var(--charcoal-soft);
  --muted: var(--warm-gray-700);

  /* Typography */
  --font-display: 'Newsreader', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(42, 42, 38, 0.06);
  --shadow-md: 0 12px 40px rgba(42, 42, 38, 0.10);
  --shadow-lg: 0 24px 70px rgba(42, 42, 38, 0.16);
  --shadow-gold: 0 6px 20px rgba(201, 180, 138, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  --nav-h: 84px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

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

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }
.section-alt { background: var(--warm-gray-50); }
.section-charcoal { background: var(--ink); color: var(--white); }
.section-charcoal h2, .section-charcoal h3, .section-charcoal h4, .section-charcoal p { color: var(--white); }
.section-charcoal .eyebrow { color: var(--sage-300); }
.section-charcoal .step .num { color: var(--sage-300); }
.section-charcoal .step { border-color: rgba(255,255,255,0.15); }
/* Softer alternative to a full charcoal band — use for most secondary
   CTA sections so charcoal is reserved for one strong moment per page. */
.section-sage { background: linear-gradient(135deg, var(--sage-700) 0%, var(--green-deep) 100%); color: var(--white); }
.section-sage h2, .section-sage h3, .section-sage h4, .section-sage p { color: var(--white); }
.section-sage .eyebrow { color: var(--champagne-light); }
.section-sage .eyebrow::before { background: var(--champagne-light); }
.section-sage .step .num { color: var(--champagne-light); }
.section-sage .step { border-color: rgba(255,255,255,0.2); }
.text-center { text-align: center; }
.section-head { max-width: 680px; margin-bottom: var(--space-xl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--sage-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Subtle champagne-outlined variant — used sparingly, never as the
   sole primary CTA on a page. Same footprint as .btn-outline. */
.btn-gold {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--champagne);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--champagne-soft); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--warm-gray-300);
}
.btn-outline:hover { border-color: var(--ink); background: var(--white); transform: translateY(-2px); }

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(42,42,38,0.06);
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}
.brand .brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-300), var(--sage-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.92rem;
  flex-shrink: 0;
}
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-name { display: block; }
.brand .brand-tag { display: block; font-family: var(--font-body); font-size: 0.56rem; letter-spacing: 0.14em; color: var(--warm-gray-700); text-transform: uppercase; font-weight: 600; white-space: nowrap; margin-top: 0.15rem; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: nowrap; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--sage-700); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; }

/* Drop the tagline first when space is tight, before collapsing to the
   hamburger menu — keeps the wordmark from crowding the nav links. */
@media (max-width: 1300px) {
  .brand .brand-tag { display: none; }
}
@media (max-width: 1080px) {
  .brand .brand-tag { display: none; }
}

/* ---------- Mobile nav panel (hidden by default at ALL widths; only
   revealed inside the mobile breakpoint below). Do not add positioning
   or visibility rules for .mobile-panel outside the media query — it
   will fall into normal document flow and render as a duplicate nav. */
.mobile-panel { display: none; }
.nav-toggle { display: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 11px; cursor: pointer; }
  .nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--dur-fast) var(--ease); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel {
    display: flex;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--cream);
    padding: var(--space-lg) var(--space-md);
    flex-direction: column; gap: 1.1rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
    z-index: 999;
    overflow-y: auto;
  }
  .mobile-panel.open { transform: translateX(0); visibility: visible; transition: transform var(--dur-med) var(--ease); }
  .mobile-panel a { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
  .mobile-panel .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,17,0.12) 0%, rgba(20,22,17,0.18) 45%, rgba(20,22,17,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%;
  padding: calc(var(--nav-h) + 2.5rem) var(--space-md) var(--space-2xl);
}
@media (max-width: 760px) {
  .hero { min-height: 78vh; }
  .hero-content { padding: calc(var(--nav-h) + 1.5rem) var(--space-md) var(--space-xl); }
}
.hero-content .inner { max-width: var(--container); margin: 0 auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  margin-bottom: var(--space-md);
}
.hero h1 { color: var(--white); max-width: 900px; }
.hero h1 em { font-style: italic; color: var(--sage-100); }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: var(--space-md) 0 var(--space-lg); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.75); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  animation: floatY 2.6s ease-in-out infinite;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); }
@keyframes floatY { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* Page (non-home) header banner */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 5rem) 0 var(--space-2xl);
  background: var(--warm-gray-50);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-100) 0%, transparent 70%);
}
.page-hero .inner { position: relative; max-width: 760px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card { display: flex; flex-direction: column; }
.service-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .thumb .tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-700);
}
.service-card .body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.service-card .link { margin-top: auto; font-weight: 600; font-size: 0.9rem; color: var(--sage-700); display: inline-flex; align-items: center; gap: 0.4rem; }
.service-card .link .arrow { transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .link .arrow { transform: translateX(5px); }

/* Icon / value cards */
.icon-card { padding: var(--space-lg) var(--space-md); text-align: left; }
.icon-card .icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--sage-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-700);
  margin-bottom: var(--space-md);
}
.icon-card h4 { margin-bottom: 0.5rem; }
.icon-card p { font-size: 0.92rem; }

/* Glass card */
.glass {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
}
.section-charcoal .glass, .on-dark .glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}

/* Stats / counters */
.stats-row { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.stat { min-width: 140px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink); display: block; }
.section-charcoal .stat .num { color: var(--white); }
.stat .label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-track { display: flex; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 85vw);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: var(--space-sm); font-size: 1rem; }
.testimonial-card p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: var(--space-md); }
.testimonial-person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testimonial-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-person .name { font-weight: 600; font-size: 0.92rem; }
.testimonial-person .meta { font-size: 0.8rem; color: var(--muted); }
.carousel-nav { display: flex; gap: 0.75rem; margin-top: var(--space-md); justify-content: center; }
.carousel-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--warm-gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.carousel-nav button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Before / After ---------- */
.ba-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .after-img { clip-path: inset(0 0 0 50%); }
.ba-slider .handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-slider .handle .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  color: var(--ink);
}
.ba-label { position: absolute; top: 1rem; padding: 0.3rem 0.8rem; border-radius: var(--radius-full); background: rgba(0,0,0,0.5); color: var(--white); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; }
.ba-label.before { left: 1rem; }
.ba-label.after { right: 1rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--warm-gray-200); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 0.25rem; text-align: left; width: 100%; gap: 1rem; }
.faq-q h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; }
.faq-q .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-50); color: var(--sage-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--sage-600); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease); }
.faq-a p { padding: 0 0.25rem 1.4rem; font-size: 0.96rem; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: var(--space-sm); }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--warm-gray-200); border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 4px rgba(134,161,108,0.14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: var(--space-2xl) 0 var(--space-md); }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: var(--space-sm); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.03em; }
.footer a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--dur-fast) var(--ease); }
.footer a:hover { color: var(--sage-300); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-lg); padding-bottom: var(--space-xl); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-links li { margin-bottom: 0.6rem; }
.footer-brand .brand { color: var(--white); font-size: 1.6rem; }
.footer-brand .brand .brand-mark { width: 44px; height: 44px; font-size: 1.15rem; }
.footer-brand .brand .brand-tag { color: rgba(255,255,255,0.55); }
.footer-brand p { margin-top: var(--space-md); font-size: 0.92rem; max-width: 320px; line-height: 1.7; }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: 0.7rem; margin-top: var(--space-md); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--sage-600); border-color: var(--sage-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-md); font-size: 0.8rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ---------- Sticky helpers ---------- */
.sticky-cta {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 900;
  display: flex; gap: 0.6rem;
  background: var(--white);
  padding: 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all var(--dur-med) var(--ease);
}
.sticky-cta.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
@media (min-width: 961px) { .sticky-cta { display: none; } }

/* ---------- Badges / pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border-radius: var(--radius-full); background: var(--sage-50); color: var(--sage-700); font-size: 0.8rem; font-weight: 600; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.22s; }
[data-reveal-delay="3"] { transition-delay: 0.34s; }
[data-reveal-delay="4"] { transition-delay: 0.46s; }

/* ---------- Misc components ---------- */
.divider-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--ink);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.avatar-stack { display: flex; }
.avatar-stack img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); object-fit: cover; margin-left: -12px; }
.avatar-stack img:first-child { margin-left: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 1rem 1.3rem; display: flex; align-items: center; gap: 0.8rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: var(--space-md); }
.breadcrumb a { color: var(--sage-700); }
.breadcrumb span { margin: 0 0.4rem; }

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.2rem; padding: var(--space-md) 0; border-top: 1px solid var(--warm-gray-200); }
.step:last-child { border-bottom: 1px solid var(--warm-gray-200); }
.step .num { counter-increment: step; font-family: var(--font-display); font-size: 1.6rem; color: var(--sage-500); flex-shrink: 0; width: 50px; }
.step .num::before { content: counter(step, decimal-leading-zero); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .split.reverse { direction: ltr; }
  .split .media-frame { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-md); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section { padding: var(--space-xl) 0; }
}

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