/* ============================================================
   LuuX Theorie — site styles
   Mirrors the dark navy + cream + amber gradient app aesthetic
   ============================================================ */

:root {
  /* Brand */
  --ink: #0e1c33;
  --ink-2: #142647;
  --ink-soft: #1c3055;
  --cream: #f5ecd6;
  --cream-2: #efe2c0;
  --amber-1: #b97216;
  --amber-2: #e3a44a;
  --accent-blue: #6b9dc8;
  --paper: #f3f3f6;
  --paper-2: #ffffff;
  --line: rgba(14, 28, 51, 0.08);

  /* Semantic — light theme by default */
  --bg: var(--paper);
  --surface: var(--paper-2);
  --surface-2: #faf8f4;
  --fg: var(--ink);
  --fg-muted: #5a6a85;
  --fg-dim: #8895ab;
  --border: var(--line);
  --hero-grad: linear-gradient(135deg, #0e1c33 0%, #1a3157 55%, #2a4577 100%);
  --amber-grad: linear-gradient(135deg, var(--amber-1) 0%, var(--amber-2) 100%);

  /* Type */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(14, 28, 51, 0.06);
  --shadow-md: 0 8px 28px rgba(14, 28, 51, 0.08);
  --shadow-lg: 0 24px 64px rgba(14, 28, 51, 0.12);
}

[data-theme="dark"] {
  --bg: #0a1426;
  --surface: #0f1d35;
  --surface-2: #142647;
  --fg: #f3f1ea;
  --fg-muted: #9aa8c2;
  --fg-dim: #6c7c98;
  --border: rgba(255, 255, 255, 0.08);
  --hero-grad: linear-gradient(135deg, #0a1426 0%, #142647 60%, #1c3055 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--fg);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--fg-muted); }
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-2);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }

/* ---------- Top nav (desktop) ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topnav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 68px;
}
@media (min-width: 720px) {
  .topnav__inner { gap: 20px; height: 72px; }
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.brand__mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
[data-theme="dark"] .brand__mark { background: var(--amber-grad); color: var(--ink); }

.brand__mark svg { width: 18px; height: 18px; }
.brand__name { letter-spacing: -.01em; font-size: 1.05rem; }
@media (min-width: 480px) {
  .brand__name { font-size: 1.25rem; }
}
.brand__name .x { background: var(--amber-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topnav__links {
  display: none;
  align-items: center; gap: 4px;
}
.topnav__links a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color .2s, background-color .2s;
}
.topnav__links a:hover { color: var(--fg); background: var(--surface-2); }
.topnav__links a.is-active { color: var(--fg); background: var(--surface-2); }

.topnav__cta { display: flex; align-items: center; gap: 8px; }
.topnav__cta .btn--primary { display: none; }
@media (min-width: 720px) {
  .topnav__cta .btn--primary { display: inline-flex; }
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.icon-btn:hover { transform: translateY(-1px); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; color: var(--fg); }

.menu-btn { display: grid; }

@media (min-width: 860px) {
  .topnav__links { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  padding: 80px 28px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.drawer.is-open { transform: translateX(0); }
.drawer__close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); display: grid; place-items: center;
  border: 1px solid var(--border);
}
.drawer a {
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer a .num {
  font-family: var(--font-body); font-size: .75rem;
  font-weight: 500; color: var(--fg-dim);
}
.drawer .btn { margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.005em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber-grad);
  color: #1a1208;
  box-shadow: 0 8px 20px -8px rgba(185, 114, 22, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(185, 114, 22, .75); }
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
[data-theme="dark"] .btn--dark { background: var(--surface-2); color: var(--fg); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--ghost {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--surface-2); }
.btn--whatsapp {
  background: #25d366; color: #fff;
}
.btn--whatsapp:hover { background: #1fb957; transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 96px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 500px at 85% 10%, color-mix(in srgb, var(--amber-2) 14%, transparent), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--accent-blue) 12%, transparent), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 72px; }
}
.hero__copy h1 {
  margin-bottom: .35em;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -.02em;
}
.hero__copy h1 .accent {
  background: var(--amber-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.hero__chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 4px color-mix(in srgb, #25d366 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, #25d366 25%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, #25d366 8%, transparent); }
}
.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--fg-muted);
  margin: 0 0 32px;
  max-width: 52ch;
  line-height: 1.55;
}
.hero__checks {
  list-style: none;
  padding: 0;
  margin: 4px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}
.hero__checks svg {
  width: 18px; height: 18px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}
[data-theme="dark"] .hero__checks svg { background: rgba(227,164,74,.18); color: var(--amber-2); }
.hero__micro {
  font-size: .9rem;
  color: var(--fg-muted);
  margin: -18px 0 28px;
  max-width: 44ch;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.hero__trust {
  display: flex; align-items: center; gap: 16px;
  color: var(--fg-muted); font-size: .9rem;
}
.hero__avatars {
  display: flex;
}
.hero__avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600;
  color: #fff; font-size: .9rem;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero__trust-text .stars { color: var(--amber-2); letter-spacing: 2px; font-size: .85rem; }
.hero__trust-text small { color: var(--fg-muted); font-size: .82rem; }

/* Hero visual card */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.hero-card {
  position: relative;
  background: var(--hero-grad);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 28px);
  color: var(--cream);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(14, 28, 51, 0.45),
    0 18px 36px -18px rgba(14, 28, 51, 0.35);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 110% -10%, rgba(227,164,74,.4), transparent 55%),
    radial-gradient(400px 250px at -10% 110%, rgba(107,157,200,.18), transparent 60%);
  pointer-events: none;
}
.hero-card > * { position: relative; }
.hero-card__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.hero-card__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(245,236,214,.12);
  color: var(--cream);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero-card__time {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(245,236,214,.7);
  font-size: .8rem; font-weight: 500;
}
.hero-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 8px;
}
.hero-card__sub {
  color: rgba(245,236,214,.7);
  font-size: .92rem;
  margin: 0 0 22px;
  max-width: 36ch;
}
.hero-card__lessons {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 18px;
}
.hero-card__lesson {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: .88rem;
  color: rgba(245,236,214,.6);
  transition: background .2s;
}
.hero-card__lesson.is-done { color: rgba(245,236,214,.5); }
.hero-card__lesson.is-done span:nth-child(2) { text-decoration: line-through; }
.hero-card__lesson.is-active {
  background: rgba(245,236,214,.08);
  color: var(--cream);
  font-weight: 500;
}
.hero-card__lesson small { color: inherit; opacity: .7; font-size: .78rem; font-variant-numeric: tabular-nums; }
.hero-card__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(245,236,214,.12);
  border: 1px solid rgba(245,236,214,.18);
  display: grid; place-items: center;
}
.hero-card__lesson.is-done .hero-card__dot {
  background: var(--amber-grad);
  border-color: transparent;
  color: var(--ink);
}
.hero-card__dot svg { width: 11px; height: 11px; }
.hero-card__dot.is-active-dot {
  background: var(--amber-2);
  border-color: rgba(227,164,74,.5);
  box-shadow: 0 0 0 4px rgba(227,164,74,.18);
  animation: pulse-amber 2s ease-in-out infinite;
}
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 4px rgba(227,164,74,.18); }
  50%      { box-shadow: 0 0 0 7px rgba(227,164,74,.05); }
}
.hero-card__progress {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 14px 16px;
}
.hero-card__progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .82rem;
  color: rgba(245,236,214,.7);
  margin-bottom: 10px;
}
.hero-card__progress-meta strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.hero-card__bar {
  height: 6px;
  background: rgba(245,236,214,.1);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.hero-card__bar i {
  display: block;
  height: 100%;
  background: var(--amber-grad);
  border-radius: var(--r-pill);
  animation: barIn 1.4s cubic-bezier(.2,.8,.2,1) .3s both;
  transform-origin: left;
}
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- USP / feature cards ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .usp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.usp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.usp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.usp-card__icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--amber-1);
  display: grid; place-items: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
[data-theme="dark"] .usp-card__icon { background: rgba(227,164,74,.12); color: var(--amber-2); }
.usp-card__icon svg { width: 22px; height: 22px; }
.usp-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.usp-card p { margin: 0; font-size: .95rem; }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--amber-2) 40%, var(--border));
}
.step-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--amber-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step-card::after {
  content: "";
  position: absolute;
  top: 26px; right: 24px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  opacity: .5;
  z-index: 0;
}
[data-theme="dark"] .step-card::after { background: rgba(227,164,74,.1); }
.step-card__body { position: relative; z-index: 1; }
.step-card__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card__body p { margin: 0; font-size: .95rem; color: var(--fg-muted); }

/* ---------- About / two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .two-col--reverse > *:first-child { order: 2; }
}
.placeholder-art {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  background:
    repeating-linear-gradient(135deg, rgba(14,28,51,.03) 0 14px, rgba(14,28,51,.06) 14px 28px),
    var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--fg-dim);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem;
  text-align: center;
  padding: 24px;
}
[data-theme="dark"] .placeholder-art {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 14px, rgba(255,255,255,.04) 14px 28px),
    var(--surface);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: var(--hero-grad);
  color: var(--cream);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card--featured h3, .price-card--featured .price-amt { color: #fff; }
.price-card--featured .price-card__sub,
.price-card--featured .price-feat li { color: rgba(245, 236, 214, .8); }
.price-card__badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--amber-grad);
  color: var(--ink);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price-card__sub { color: var(--fg-muted); font-size: .9rem; margin-bottom: 24px; }
.price-amt {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 4px;
}
.price-amt .cur { font-size: .7em; }
.price-amt .unit {
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 500;
  color: var(--fg-muted);
}
.price-card--featured .price-amt .unit { color: rgba(245, 236, 214, .7); }
.price-feat {
  list-style: none; padding: 0; margin: 24px 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-feat li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--fg-muted); font-size: .95rem;
}
.price-feat li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--amber-2); }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Price note (surcharge / sub-detail under amount) ---------- */
.price-note {
  display: block;
  font-size: .82rem;
  color: var(--fg-muted);
  margin-top: 2px;
}
.price-card--featured .price-note { color: rgba(245, 236, 214, .75); }
.price-amt .dec { font-size: .55em; align-self: flex-start; margin-top: .35em; }

/* ---------- Rate list (CBR exams / extra costs) ---------- */
.rate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}
.rate-row:first-child { border-top: 0; }
.rate-row__label { font-weight: 500; color: var(--fg); }
.rate-row__label small { display: block; font-weight: 400; font-size: .82rem; color: var(--fg-muted); margin-top: 2px; }
.rate-row__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--fg);
  white-space: nowrap;
}
.fineprint {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  background: var(--surface-2);
}
.fineprint ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.fineprint li { font-size: .9rem; color: var(--fg-muted); line-height: 1.5; }

/* ---------- Lessen-op-maat belofte ---------- */
.promise {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 32px auto 0;
  padding: 24px 28px;
  border-radius: var(--r-xl);
  background: var(--hero-grad);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 100% 0%, rgba(227,164,74,.3), transparent 55%);
  pointer-events: none;
}
.promise__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.promise__icon svg { width: 26px; height: 26px; color: var(--amber-2); }
.promise__text { position: relative; z-index: 1; }
.promise__text strong {
  font-family: var(--font-display);
  color: #fff;
}
.promise__text span { color: rgba(245, 236, 214, .9); font-size: 1rem; line-height: 1.6; }
@media (max-width: 560px) {
  .promise { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 22px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem; font-weight: 300; color: var(--amber-2);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 4px 24px;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label {
  font-size: .82rem; font-weight: 600;
  color: var(--fg);
  letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber-2);
  box-shadow: 0 0 0 3px rgba(227,164,74,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  min-width: 0;
}
@media (min-width: 640px) {
  .field--row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.field--row .field { margin: 0; min-width: 0; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-on { display: block; }
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--amber-grad); color: var(--ink);
  display: grid; place-items: center; margin: 0 auto 16px;
}

/* Form error state */
.form-error {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-error.is-on { display: block; }
.form-error .check--error {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(224, 92, 92, .15); color: #e05c5c;
  display: grid; place-items: center; margin: 0 auto 16px;
}
.form-error h3 { color: #e05c5c; }
.form-error p  { color: var(--fg-muted); font-size: .95rem; }

/* ---------- Page header ---------- */
.page-head {
  padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px);
  text-align: center;
}
.page-head h1 { margin-bottom: .25em; }
.page-head p { font-size: 1.1rem; max-width: 56ch; margin: 0 auto; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--hero-grad);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 100% 0%, rgba(227,164,74,.35), transparent 55%);
  pointer-events: none;
}
@media (min-width: 740px) {
  .cta-strip { grid-template-columns: 1fr auto; }
}
.cta-strip h2 { color: #fff; margin: 0 0 8px; max-width: 18ch; }
.cta-strip p { color: rgba(245,236,214,.8); margin: 0; max-width: 48ch; }
.cta-strip__buttons { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 32px;
  margin-top: clamp(64px, 10vw, 120px);
}
[data-theme="dark"] .footer { background: #050c1a; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 740px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245,236,214,.5);
  margin: 0 0 18px;
}
.footer__col p { color: rgba(245,236,214,.7); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(245,236,214,.85); font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--amber-2); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--font-display); font-size: 1.2rem; color: var(--cream); }
.footer__brand .brand__mark { background: var(--amber-grad); color: var(--ink); }
.footer__socials {
  display: flex; gap: 10px; margin-top: 18px;
}
.footer__socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.08);
}
.footer__socials a:hover { background: rgba(227,164,74,.18); border-color: var(--amber-2); }
.footer__socials svg { width: 16px; height: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  color: rgba(245,236,214,.5); font-size: .85rem;
}
.footer__bottom a { color: rgba(245,236,214,.7); }
.footer__bottom a:hover { color: var(--amber-2); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px 14px 14px;
  background: #25d366;
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(37,211,102,.6); }
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab__label { display: none; }
@media (min-width: 640px) { .wa-fab__label { display: inline; } }

/* ---------- Misc ---------- */
.muted { color: var(--fg-muted); }
.center { text-align: center; }
.mt-4 { margin-top: 32px; } .mt-2 { margin-top: 16px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 48px 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Selection */
::selection { background: var(--amber-2); color: var(--ink); }




/* ============================================================
   Contact Form 7 integration
   ============================================================ */

/* Remove default CF7 paragraph spacing (autop disabled via PHP filter) */
.wpcf7-form br { display: none; }

/* Every label acts as a field row */
.wpcf7-form .cf7-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: .01em;
  min-width: 0;
}

/* Two-column row for Naam + E-mail */
.wpcf7-form .cf7-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .wpcf7-form .cf7-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
.wpcf7-form .cf7-row .cf7-label { margin-bottom: 0; }

/* Inputs, select, textarea */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-date {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-select:focus,
.wpcf7-form .wpcf7-textarea:focus,
.wpcf7-form .wpcf7-date:focus {
  border-color: var(--amber-2);
  box-shadow: 0 0 0 3px rgba(227, 164, 74, .18);
}
.wpcf7-form .wpcf7-textarea { resize: vertical; min-height: 120px; }

/* Submit button */
.wpcf7-form .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--amber-1) 0%, var(--amber-2) 100%);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(185, 114, 22, .75);
}
.wpcf7-form .wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Validation */
.wpcf7-form .wpcf7-not-valid {
  border-color: #e05c5c !important;
  box-shadow: 0 0 0 3px rgba(224, 92, 92, .15) !important;
}
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 500;
  color: #e05c5c;
}

/* Hide the CF7 wrap once sent or errored — driven by JS */
[id$="-card"].is-sent [id$="-wrap"],
[id$="-card"].is-error [id$="-wrap"] { display: none; }

/* Suppress CF7's own response output — we use .form-success instead */
.wpcf7-form .wpcf7-response-output { display: none !important; }

/* Error / spam / failed — suppressed, we show our own .form-error block */
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { display: none !important; }


.wpcf7-form.submitting .wpcf7-submit { opacity: .7; }