/* ═══════════════════════════════════════════════════════════════
   CLARO CLINIC — Design System Tokens + Homepage Styles
   Built from scratch using Figma MCP extraction (nodes 6:9–6:283)
   All values from DESIGN-SYSTEM.md — zero hardcoded colors/sizes
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --color-cream-50:  #FFF6F1;
  --color-cream-100: #F9F6F0;
  --color-peach-200: #F3DFD1;
  --color-white:     #FFFFFF;
  --color-sage-500:  #4B6E5B;
  --color-sage-600:  #385545;
  --color-ink-900:   #2C302E;
  --color-ink-700:   #4A4D4A;
  --color-brown-700: #5D4F45;
  --color-brown-600: #6A5C51;
  --color-muted:     #82807B;
  --overlay-header:  rgba(249,246,240,0.9);
  --overlay-modal:   rgba(0,0,0,0.5);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body:    "Public Sans", sans-serif;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-card: 32px; --radius-pill: 48px;
  --radius-full: 9999px;
  --shadow-button: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card:   0 2px 8px rgba(106,92,81,0.04);
  --shadow-lg:     0 8px 24px rgba(106,92,81,0.06);
  --shadow-modal:  0 24px 48px rgba(57,56,52,0.12), 0 4px 16px rgba(57,56,52,0.06);
  --border-warm: rgba(188,185,179,0.15);
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-bounce:   cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 24px;
  color: var(--color-ink-700);
  background: var(--color-cream-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink-900); }

/* ── LAYOUT ────────────────────────────────────────────────── */
.section-container { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

/* ── SECTION HEADERS ───────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  line-height: 19.5px; letter-spacing: 0.96px; text-transform: uppercase;
  color: var(--color-brown-700); margin-bottom: 12px;
}
.section-title { font-size: 38px; font-weight: 700; line-height: 40px; letter-spacing: -0.76px; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; line-height: 28px; color: var(--color-ink-700); max-width: 500px; margin: 0 auto; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 24px;
  border-radius: var(--radius-full);
  transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-out-soft), background 0.3s;
  cursor: pointer; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.97); transition-duration: 0.18s; }
.btn--primary {
  background: var(--color-sage-500); color: var(--color-cream-50);
  padding: 16px 32px; box-shadow: var(--shadow-button);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--ghost {
  background: transparent; color: var(--color-ink-900);
  border: 1.5px solid var(--border-warm);
  padding: 12px 24px; font-weight: 500; font-size: 15px; line-height: 22.5px;
}
.btn--ghost:hover { background: var(--color-cream-100); }
.btn--white {
  background: var(--color-white); color: var(--color-sage-500);
  padding: 16px 32px; font-weight: 600; box-shadow: var(--shadow-button);
}
.btn--white:hover { box-shadow: var(--shadow-lg); }
.btn--back {
  color: var(--color-brown-600); font-weight: 600; font-size: 15px; line-height: 22.5px;
  padding: 12px 0; gap: 8px;
}
.btn--back:hover { color: var(--color-ink-900); }

/* ═══ NAV — Figma 6:9 ════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--overlay-header);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.nav--scrolled { padding: 0; box-shadow: var(--shadow-card); }
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  transition: padding 0.3s ease;
}
.nav--scrolled .nav-inner { padding: 12px 48px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--color-sage-500); color: var(--color-white);
  border-radius: var(--radius-full);
}
.nav-logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  line-height: 30px; color: var(--color-ink-900);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  line-height: 22.5px; color: var(--color-ink-900);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--color-sage-500); }
.nav-link--active { color: var(--color-sage-500); }
/* Werkwijze hover tooltip */
.nav-link--werkwijze { position: relative; }
.nav-link--werkwijze::after {
  content: "& Team"; position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  font-size: 12px; font-weight: 500; color: var(--color-ink-700);
  background: var(--color-cream-100); padding: 4px 12px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap; pointer-events: none;
}
.nav-link--werkwijze:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-sage-500); color: var(--color-white);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  line-height: 22.5px; padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: transform 0.18s, box-shadow 0.3s, background 0.3s;
}
.nav-cta:hover { box-shadow: 0 4px 16px rgba(75,110,91,0.25); }
.nav-cta:active { transform: scale(0.97); }

/* ═══ HERO — Figma 6:37 ══════════════════════════════════════ */
.hero { padding: 56px 0 96px; }
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-white); padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500; line-height: 19.5px;
  color: var(--color-ink-900); box-shadow: var(--shadow-card);
  /* scroll reveal prep */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.trust-badge.animate-in { opacity: 1; transform: translateY(0); }
.hero-title {
  font-family: var(--font-display); font-weight: 800; font-size: 64px;
  line-height: 67px; letter-spacing: -1.28px; color: var(--color-ink-900);
}
.hero-title--accent { color: var(--color-sage-500); }
.hero-subtitle { font-size: 21px; line-height: 28px; color: var(--color-ink-700); max-width: 460px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Hero Service Cards — Figma: 236×355, r=32, pad 32, gap 24 */
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.service-card {
  background: var(--color-white); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-warm);
  transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-out-soft);
  /* scroll reveal */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-soft);
}
.service-card.animate-in { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.animate-in:hover { transform: translateY(-4px); }
.service-card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--color-cream-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-900);
}
.service-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card-tag {
  font-size: 12px; font-weight: 600; line-height: 18px;
  letter-spacing: 0.96px; text-transform: uppercase;
  color: var(--color-brown-700);
}
.service-card-title { font-size: 24px; font-weight: 700; line-height: 28px; }
.service-card-desc { font-size: 15px; line-height: 24px; color: var(--color-ink-700); }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; line-height: 21px;
  color: var(--color-sage-500);
  transition: gap 0.2s;
}
.service-card-link:hover { gap: 10px; }

/* Hero Image — Figma: 496×620, r=48 */
.hero-image { position: relative; }
.hero-image-placeholder {
  width: 100%; aspect-ratio: 496/620;
  background: var(--color-peach-200);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 14px; color: var(--color-brown-600);
}
.hero-location-card {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--color-white); border-radius: var(--radius-xl);
  padding: 24px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.hero-location-icon {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--color-peach-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-900);
}
.hero-location-name {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 21px; color: var(--color-ink-900); display: block;
}
.hero-location-hours { font-size: 13px; line-height: 19.5px; color: var(--color-ink-700); }

/* ═══ WERKWIJZE — Figma 6:125 ════════════════════════════════ */
.werkwijze { padding: 96px 0; background: var(--color-peach-200); }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 32px;
}
.step {
  text-align: center; max-width: 260px;
  /* scroll reveal */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.step.animate-in { opacity: 1; transform: translateY(0); }
.step:nth-child(1) { transition-delay: 0.05s; }
.step:nth-child(3) { transition-delay: 0.1s; }
.step:nth-child(5) { transition-delay: 0.15s; }
.step-number {
  width: 72px; height: 72px; border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-number span {
  font-family: var(--font-display); font-weight: 800; font-size: 38px;
  line-height: 38px; color: var(--color-ink-900);
}
.step-title {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  line-height: 28px; color: var(--color-ink-900); margin-bottom: 8px;
}
.step-desc { font-size: 15px; line-height: 24px; color: var(--color-ink-700); }
.step-connector {
  display: flex; align-items: center; padding-top: 24px;
  color: var(--color-brown-600); opacity: 0.4;
}

/* ═══ REVIEWS — Figma 6:159 ══════════════════════════════════ */
.reviews { padding: 96px 0; background: var(--color-cream-100); }
.reviews-grid {
  display: flex; gap: 24px;
  align-items: flex-start; justify-content: center;
}
.review-card {
  flex: 1; max-width: 313px;
  background: var(--color-white); border-radius: var(--radius-card);
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow-card); border: 1px solid var(--border-warm);
  transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-out-soft);
  /* scroll reveal */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-soft);
}
.review-card.animate-in { opacity: 1; transform: translateY(0); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card.animate-in:hover { transform: translateY(-4px); }
/* Asymmetry: middle card 32px lower */
.review-card:nth-child(2) { margin-top: 32px; }
.review-card:nth-child(1) { transition-delay: 0s; }
.review-card:nth-child(2) { transition-delay: 0.12s; }
.review-card:nth-child(3) { transition-delay: 0.24s; }
.review-stars { display: flex; gap: 4px; color: var(--color-sage-500); }
.review-text {
  font-family: var(--font-body); font-size: 16px; line-height: 28px;
  color: var(--color-ink-700); font-style: italic; flex: 1;
}
.review-author { display: flex; flex-direction: column; gap: 4px; }
.review-name {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  line-height: 24px; color: var(--color-ink-900); font-style: normal;
}
.review-location { font-size: 13px; line-height: 19.5px; color: var(--color-ink-700); }

/* ═══ FAQ — Figma 6:226 ══════════════════════════════════════ */
.faq { padding: 96px 0; background: var(--color-cream-100); }
.faq-container { max-width: 768px; margin: 0 auto; padding: 0 48px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--color-white); border-radius: var(--radius-card);
  overflow: hidden; border: 1px solid var(--border-warm);
  /* scroll reveal */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.faq-item.animate-in { opacity: 1; transform: translateY(0); }
.faq-summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  line-height: 24px; color: var(--color-ink-900);
  list-style: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--color-cream-100);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 32px 24px; }
.faq-answer p { font-size: 15px; line-height: 24px; color: var(--color-ink-700); }

/* ═══ CTA BANNER — Figma 6:270 ═══════════════════════════════ */
.cta-banner { padding: 96px 0; }
.cta-banner-inner {
  background: var(--color-sage-500); border-radius: var(--radius-pill);
  padding: 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  /* scroll reveal */
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.cta-banner-inner.animate-in { opacity: 1; transform: translateY(0); }
.cta-title {
  font-family: var(--font-display); font-weight: 700; font-size: 38px;
  line-height: 40px; letter-spacing: -0.76px; color: var(--color-white);
  margin-bottom: 16px;
}
.cta-desc { font-size: 18px; line-height: 28px; color: var(--color-white); max-width: 520px; }

/* ═══ FOOTER — Figma 6:283 ═══════════════════════════════════ */
.footer { padding: 64px 0 32px; background: var(--color-cream-100); }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  line-height: 30px; color: var(--color-ink-900);
}
.footer-desc { font-size: 15px; line-height: 24px; color: var(--color-ink-700); }
.footer-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 21px; color: var(--color-ink-700);
  transition: color 0.2s;
}
.footer-phone:hover { color: var(--color-sage-500); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 21px; letter-spacing: 1.12px; text-transform: uppercase;
  color: var(--color-ink-900); margin-bottom: 4px;
}
.footer-link {
  font-size: 14px; line-height: 21px; color: var(--color-ink-700);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--color-sage-500); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border-warm);
}
.footer-copyright { font-size: 13px; line-height: 19.5px; color: var(--color-ink-700); }
.footer-badges { font-size: 13px; line-height: 19.5px; color: var(--color-ink-700); }

/* ── MICRO-INTERACTION: Error Shake ────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.shake { animation: shake 0.4s ease; }
