/* ---------------- Harmonia Health Hub — design system ---------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,500;1,9..144,600;1,9..144,700&family=Albert+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

@font-face {
  font-family: 'Fraunces Italic Local';
  src: url('../assets/Fraunces-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Albert Italic Local';
  src: url('../assets/AlbertSans-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette */
  --sage-dark: #6A7562;
  --sage: #8C9A7D;
  --sage-light: #AFB896;
  --sage-mist: #D6DCC9;
  --cream-yellow: #F2F2BE;
  --cream-beige: #F3E6D5;
  --peach: #DAB79F;
  --peach-light: #EBD5C2;

  --ink: #2A2E26;
  --ink-soft: #51564B;
  --paper: #FAF7F1;
  --paper-warm: #F5F0E6;
  --line: rgba(42, 46, 38, 0.12);

  /* Surfaces */
  --bg: var(--paper);
  --fg: var(--ink);

  /* Type */
  --serif: 'Fraunces', 'Fraunces Italic Local', Georgia, serif;
  --sans: 'Albert Sans', 'Albert Italic Local', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- Type ----- */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.italic { font-family: var(--serif); font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 84px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.5vw, 56px); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; max-width: 60ch; }

/* ----- Container ----- */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper), transparent 8%);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.6; }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--sage-dark);
}
.nav-cta {
  margin-left: 8px;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
}
.nav-menu-btn {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.nav-menu-btn span { width: 20px; height: 1.5px; background: var(--ink); position: relative; }
.nav-menu-btn span::before, .nav-menu-btn span::after {
  content:''; position: absolute; left:0; right:0; height: 1.5px; background: var(--ink);
}
.nav-menu-btn span::before { top: -6px; }
.nav-menu-btn span::after { top: 6px; }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  padding: 80px var(--pad-x) 40px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 32px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-close { position: absolute; top: 22px; right: var(--pad-x); width: 40px; height: 40px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--sage-dark); color: var(--paper); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-cream { background: var(--cream-beige); color: var(--ink); }
.btn-cream:hover { background: var(--peach); }
.btn-wa {
  background: var(--ink);
  color: var(--paper);
}
.btn-wa svg { width: 16px; height: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ----- Sections ----- */
section { padding: clamp(64px, 9vw, 140px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-eyebrow { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--ink-soft); }

/* ----- Cards ----- */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -30px rgba(42,46,38,0.18); }

/* ----- Image placeholders w/ Unsplash ----- */
.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sage-mist);
  border-radius: var(--r-lg);
}
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Footer ----- */
.foot {
  background: var(--sage-dark);
  color: var(--paper);
  padding: clamp(60px, 8vw, 100px) 0 40px;
  margin-top: clamp(60px, 8vw, 120px);
}
.foot a { color: var(--paper); opacity: 0.85; }
.foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
.foot-logo img { height: 36px; }
.foot h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; opacity: 0.7; margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: 0.7;
  flex-wrap: wrap; gap: 12px;
}

/* ----- Misc ----- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--cream-beige);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag.sage { background: var(--sage-mist); color: var(--sage-dark); }
.tag.yellow { background: var(--cream-yellow); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Floating WhatsApp */
.fab-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 70;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.fab-wa:hover { transform: scale(1.05); }
.fab-wa svg { width: 28px; height: 28px; }

/* Marquee */
.marquee {
  overflow: hidden;
  display: flex;
  gap: 60px;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
.marquee-item { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 56px); color: var(--sage-dark); display: inline-flex; align-items: center; gap: 60px; }
.marquee-item::after { content: '✦'; color: var(--peach); font-style: normal; font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Util */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.gap-sm { gap: 8px; } .gap { gap: 16px; } .gap-lg { gap: 24px; } .gap-xl { gap: 40px; }
.mt-sm{margin-top:8px}.mt{margin-top:16px}.mt-lg{margin-top:24px}.mt-xl{margin-top:40px}.mt-2xl{margin-top:64px}
.text-soft { color: var(--ink-soft); }
.text-sage { color: var(--sage-dark); }
.bg-cream-yellow { background: var(--cream-yellow); }
.bg-cream-beige { background: var(--cream-beige); }
.bg-sage-mist { background: var(--sage-mist); }
.bg-sage-dark { background: var(--sage-dark); color: var(--paper); }
.bg-peach { background: var(--peach); }

/* ============================================================
   HOME-PAGE COMPONENT STYLES (moved from inline <style>)
   ============================================================ */

/* Services grid */
.services { background: var(--paper-warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  min-height: 360px;
  position: relative;
}
.service-cell .service-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--sage-dark); opacity: 0.7; }
.service-cell h3 { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; font-weight: 400; }
.service-cell h3 em { color: var(--sage-dark); }
.service-cell p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.service-cell .service-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--sage-dark); transition: gap 0.2s ease; }
.service-cell:hover .service-arrow { gap: 14px; }
.service-cell .service-photo {
  aspect-ratio: 16/10;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sage-mist);
  margin-bottom: 8px;
  position: relative;
}
.service-cell .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* Philosophy split */
.philo { background: var(--paper); }
.philo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.philo-photo { aspect-ratio: 5/6; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-mist); }
.philo-photo img { width: 100%; height: 100%; object-fit: cover; }
.philo-points { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.philo-point { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.philo-point .num { font-family: var(--serif); font-style: italic; color: var(--sage-dark); font-size: 18px; }
.philo-point h4 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; font-weight: 500; }
.philo-point p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
@media (max-width: 880px) { .philo-grid { grid-template-columns: 1fr; } }

/* Tech strip */
.tech { background: var(--sage-dark); color: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.tech-wrap { padding: clamp(60px, 8vw, 120px) var(--pad-x); }
.tech .h2 { color: var(--paper); }
.tech .h2 em { color: var(--cream-yellow); }
.tech .lede { color: rgba(250, 247, 241, 0.78); }
.tech-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-card { padding: 24px; background: rgba(255,255,255,0.07); border-radius: var(--r); border: 1px solid rgba(255,255,255,0.08); }
.tech-card .tech-num { font-family: var(--serif); font-style: italic; font-size: 14px; opacity: 0.65; }
.tech-card h4 { font-family: var(--serif); margin: 8px 0 6px; font-size: 22px; font-weight: 500; }
.tech-card p { font-size: 13.5px; line-height: 1.55; opacity: 0.78; margin: 0; }
@media (max-width: 880px) { .tech-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tech-row { grid-template-columns: 1fr; } }

/* Testimonials base */
.test-card { padding: 36px 32px; background: var(--cream-beige); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 20px; }
.test-card.alt { background: var(--cream-yellow); }
.test-card.alt2 { background: var(--sage-mist); }
.test-card blockquote { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; margin: 0; font-weight: 400; }
.test-card blockquote::before { content: '"'; display: block; font-size: 64px; font-style: italic; color: var(--sage-dark); line-height: 0.6; height: 30px; }
.test-meta { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.test-meta .avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.test-meta .name { font-weight: 600; font-size: 14px; }
.test-meta .role { font-size: 12px; color: var(--ink-soft); }

/* CTA big */
.cta-big { background: var(--cream-yellow); border-radius: var(--r-lg); padding: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.cta-big .h1 { font-size: clamp(36px, 4.5vw, 72px); }
.cta-big .h1 em { color: var(--sage-dark); }
.cta-big-side { display: flex; flex-direction: column; gap: 20px; }
.cta-big-info { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.cta-big-info .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-dark); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
@media (max-width: 880px) { .cta-big { grid-template-columns: 1fr; padding: 40px; } }

/* Section header */
.section-header { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; margin-bottom: 56px; }
.section-header .h2 { margin: 0; }
.section-header .lede { margin: 0; }
.section-header .link { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--sage-dark); white-space: nowrap; }
@media (max-width: 880px) { .section-header { grid-template-columns: 1fr; gap: 12px; } .section-header .link { justify-self: start; } }

/* ============================================================
   UX / UI ENHANCEMENTS
   ============================================================ */

/* 1 · Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--sage-dark);
  z-index: 200;
  pointer-events: none;
  transition: width 0.06s linear;
  border-radius: 0 2px 2px 0;
}

/* 2 · Hero editorial (light, split text + portrait photo) */
.hero-editorial {
  background: var(--cream-beige);
  padding: clamp(48px, 6vw, 88px) 0 0;
}
.hero-ed-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
.hero-ed-text { padding-bottom: clamp(40px, 5vw, 72px); }
.hero-ed-photo {
  aspect-ratio: 3/4;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: var(--sage-mist);
  align-self: end;
}
.hero-ed-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Mini stats strip below hero text */
.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-mini-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  color: var(--sage-dark);
  margin-bottom: 4px;
}
.hero-mini-stats p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* Hero text entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-animate:nth-child(1) { animation-delay: 0.08s; }
.hero-animate:nth-child(2) { animation-delay: 0.22s; }
.hero-animate:nth-child(3) { animation-delay: 0.36s; }
.hero-animate:nth-child(4) { animation-delay: 0.5s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-animate { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 880px) {
  .hero-ed-grid { grid-template-columns: 1fr; }
  .hero-ed-photo { aspect-ratio: 4/3; border-radius: var(--r-lg); }
  .hero-mini-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* 3 · Stats band — dark block for visual rhythm */
.stats-band {
  background: var(--sage-dark);
  padding: clamp(56px, 7vw, 96px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: clamp(24px, 3vw, 40px) 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255, 255, 255, 0.06); }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 400;
  color: var(--cream-yellow);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(250, 247, 241, 0.6);
  margin-top: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* 4 · Service cards — gradient overlay + deeper hover */
.service-cell .service-photo { position: relative; overflow: hidden; }
.service-cell .service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(42, 46, 38, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-cell:hover .service-photo::after { opacity: 1; }
.service-cell:hover .service-photo img { transform: scale(1.07); }
.service-cell:hover {
  background: var(--cream-beige);
  box-shadow: 0 24px 60px -20px rgba(42, 46, 38, 0.18);
  z-index: 1;
}

/* 5 · Stagger reveal */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 180ms; }
.stagger > *:nth-child(4) { transition-delay: 270ms; }
.stagger > *:nth-child(5) { transition-delay: 360ms; }
.stagger > *:nth-child(6) { transition-delay: 450ms; }
.stagger.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* 6 · Testimonials carousel */
.testimonials { background: var(--paper-warm); }
.test-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
}
.test-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.test-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 2px 4px;
}
@media (max-width: 780px) {
  .test-slide { grid-template-columns: 1fr; }
}
.test-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.test-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.test-dot.active {
  background: var(--sage-dark);
  transform: scale(1.4);
}
.test-card {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -20px rgba(42, 46, 38, 0.14);
}

/* 7 · Enhanced card hover on tech cards */
.tech-card {
  transition: background 0.3s ease, transform 0.25s ease;
}
.tech-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}
