/* =========================================================
   FRESH BARBER ACADEMY — site stylesheet (v2)
   Base: the v1 design (cream / sand / espresso). The "2.0 layer"
   at the bottom adds motion, richer components and polish.
   ========================================================= */

/* ---------- Self-hosted fonts (no Google Fonts requests) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/cormorant-garamond-latin-700-italic.woff2") format("woff2"); }


:root {
  --cream:        #F4ECDE;      /* page background  */
  --cream-soft:   #FAF5EC;      /* lighter cream    */
  --sand:         #E2D2B4;      /* mid sand band    */
  --sand-deep:    #C9A876;      /* gold-ish accent  */
  --espresso:     #1B1612;      /* near-black brown */
  --coffee:       #2B2520;      /* body dark        */
  --mocha:        #5A4D3D;      /* muted brown      */
  --muted:        #6F6457;
  --line:         rgba(27,22,18,0.12);
  --line-soft:    rgba(27,22,18,0.06);
  --white:        #FFFFFF;
  --whatsapp:     #25D366;

  --radius-sm:    6px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow:       0 22px 48px -28px rgba(27,22,18,0.35);
  --shadow-lg:    0 40px 80px -40px rgba(27,22,18,0.55);

  --max:          1240px;
  --gutter:       clamp(20px, 4vw, 56px);

  --serif:        "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:         "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--coffee);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--coffee);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
a:hover { color: var(--sand-deep); }

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--espresso);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

p { margin: 0 0 1em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--mocha);
  max-width: 60ch;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sand-deep);
}

.italic-script {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mocha);
}

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section--tight   { padding: clamp(56px, 7vw, 96px) 0; }
.section--cream   { background: var(--cream); }
.section--soft    { background: var(--cream-soft); }
.section--sand    { background: var(--sand); }
.section--dark    { background: var(--espresso); color: #EFE3CB; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #FAF5EC; }
.section--dark .lead { color: rgba(250,245,236,0.78); }
.section--dark .eyebrow { color: var(--sand-deep); }
.section--dark .eyebrow::before { background: var(--sand-deep); }

.grid       { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid--2    { grid-template-columns: repeat(2, 1fr); }
.grid--3    { grid-template-columns: repeat(3, 1fr); }
.grid--4    { grid-template-columns: repeat(4, 1fr); }
.grid--split{ grid-template-columns: 1.05fr .95fr; align-items: center; }

@media (max-width: 980px) {
  .grid--2, .grid--3, .grid--4, .grid--split { grid-template-columns: 1fr; }
}

.center      { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead    { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  background: var(--sand-deep);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--espresso);
  color: var(--cream-soft);
  border-color: var(--sand-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--espresso);
}
.btn--ghost:hover {
  background: var(--espresso);
  color: var(--cream-soft);
}

.btn--ghost2 {
  background: transparent;
  color: white;
  border-color: white;
}
.btn--ghost2:hover {
  background: var(--espresso);
  color: var(--cream-soft);
}

.btn--light {
  background: var(--cream-soft);
  color: var(--espresso);
  border-color: var(--cream-soft);
}
.btn--light:hover {
  background: var(--sand-deep);
  border-color: var(--sand-deep);
  color: var(--espresso);
}

.btn--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #073A1F;
}
.btn--whatsapp:hover {
  background: #1FBC5A;
  border-color: #1FBC5A;
  color: #073A1F;
}

.btn--lg { padding: 20px 38px; font-size: .98rem; }

.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header / Nav ---------- */

.topbar {
  background: var(--espresso);
  color: rgba(250,245,236,0.78);
  font-size: .82rem;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(250,245,236,0.78); }
.topbar a:hover { color: var(--sand-deep); }
.topbar__meta { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244,236,222,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .18em;
  color: var(--espresso);
  text-transform: uppercase;
  line-height: 1;
}
.brand__mark {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100px;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__text strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .22em;
  color: var(--espresso);
}
.brand__text small {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--mocha);
  text-transform: uppercase;
}
/* dark headers / footer use light brand */
.site-footer .brand__text strong,
.section--dark .brand__text strong { color: var(--cream-soft); }
.site-footer .brand__text small,
.section--dark .brand__text small { color: rgba(250,245,236,0.6); }
.site-footer .brand__mark img,
.section--dark .brand__mark img { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }

.nav {
  display: flex;
  gap: clamp(14px, 2.2vw, 32px);
  align-items: center;
}
.nav a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--coffee);
  position: relative;
  padding: 8px 0;
}
.nav a.is-active,
.nav a:hover { color: var(--espresso); }
.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--sand-deep);
}
.nav__dropdown {
  position: relative;
}
.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  box-shadow: var(--shadow);
}
.nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
  letter-spacing: 0;
}
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--sand); }
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-cta {
  margin-left: 14px;
  padding: 18px 42px;
  font-size: .95rem;
  letter-spacing: .08em;
}


.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--espresso);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--espresso);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

@media (max-width: 980px) {
  /* Prevent any accidental horizontal scroll on mobile/tablet */
  html, body { overflow-x: clip; max-width: 100%; }

  /* Hide topbar at the same breakpoint the mobile nav kicks in,
     so the fixed nav has a predictable top offset (header = 84px). */
  .topbar { display: none; }

  /* The .site-header uses backdrop-filter which would create a
     containing block for fixed-positioned descendants — disable it
     on mobile so the nav is positioned against the viewport. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 110;
  }

  /* Animate hamburger -> X when nav is open */
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    transition: transform .25s ease, top .25s ease, background .15s ease;
  }

  /* Mobile nav — hidden completely when closed (no overflow possible),
     full-screen overlay when open. */
  .nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 24px var(--gutter) 80px;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    -webkit-overflow-scrolling: touch;
    animation: navFadeIn .2s ease both;
  }
  .nav.is-open { display: flex; }

  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav a {
    padding: 16px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a.is-active::after,
  .nav a:hover::after { display: none; }

  /* Dropdown becomes an inline expandable section on mobile */
  .nav__dropdown {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__dropdown > a {
    border-bottom: 0;
  }
  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 8px 16px;
    min-width: 0;
  }
  .nav__menu a {
    padding: 10px 4px;
    font-size: 1rem;
    border-bottom: 0;
    color: var(--mocha);
  }

  .nav-cta {
    margin: 18px 0 0;
    align-self: stretch;
    text-align: center;
    justify-content: center;
    width: auto !important;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--cream);
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero__band {
  position: absolute;
  inset: auto 0 -40px;
  height: 220px;
  background: var(--sand);
  z-index: 0;
  transform: skewY(-2deg);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}
.hero h1 .accent {
  display: inline;
  font-style: italic;
  color: var(--sand-deep);
  font-weight: 400;
}
.hero__meta {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__meta div { min-width: 120px; }
.hero__meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--espresso);
  line-height: 1;
}
.hero__meta span {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha);
}

/* ---- Hero affirmations strip (icon + label trust signals) ---- */
.hero__meta--affirm {
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.hero__affirm {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.hero__affirm i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 118, 0.16);
  color: var(--sand-deep);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero__affirm:hover i {
  background: rgba(201, 168, 118, 0.28);
  transform: translateY(-1px);
}
.hero__affirm span {
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--espresso);
  line-height: 1.25;
}
/* Dark hero variant — invert label colour for legibility on the photo */
.hero--bg .hero__affirm span { color: var(--cream-soft); }
.hero--bg .hero__affirm i {
  background: rgba(250, 245, 236, 0.12);
  color: var(--sand-deep);
}

@media (max-width: 720px) {
  .hero__meta--affirm {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .hero__affirm span { font-size: .95rem; }
  .hero__affirm i { width: 40px; height: 40px; font-size: 1rem; }
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--espresso);
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: var(--cream-soft);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--espresso);
  box-shadow: var(--shadow);
}
@media (max-width: 600px) { .hero__badge { left: 0; } }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--espresso);
  color: var(--cream-soft);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: .04em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track span::after {
  content: "✦";
  color: var(--sand-deep);
  margin-left: 60px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- USP / feature cards ---------- */

.usp {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.usp:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sand-deep);
}
.usp__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sand-deep);
  margin-bottom: 16px;
  letter-spacing: .08em;
}
.usp h3 { margin-bottom: 12px; }
.usp p  { color: var(--mocha); margin: 0; }

/* ---------- Program cards ---------- */

.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.program:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.program--featured {
  background: var(--espresso);
  color: #EFE3CB;
  border-color: var(--espresso);
}
.program--featured h3,
.program--featured .program__price { color: var(--cream-soft); }
.program--featured .program__meta li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); }
.program--featured .btn { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--espresso); }
.program--featured .btn:hover { background: var(--cream-soft); border-color: var(--cream-soft); }

.program__flag {
  position: absolute;
  top: 22px;
  right: -36px;
  background: var(--sand-deep);
  color: var(--espresso);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 44px;
  transform: rotate(35deg);
}

.program__price {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--espresso);
  line-height: 1;
  margin-top: 4px;
}
.program__price small {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha);
  display: block;
  margin-top: 6px;
}
.program__meta {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
}
.program__meta li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem;
  color: var(--mocha);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.program__meta li:last-child { border-bottom: 1px solid var(--line-soft); }
.program__meta li strong { color: var(--coffee); font-weight: 600; }
.program .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Section labels ---------- */

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; }
.section-head h2 { max-width: 22ch; }
.section-head.center h2 { margin-left: auto; margin-right: auto; }

/* ---------- About / split layouts ---------- */

.split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--espresso);
  box-shadow: var(--shadow);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img--wide { aspect-ratio: 4 / 3; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  padding: 14px 0 14px 38px;
  position: relative;
  border-top: 1px solid var(--line-soft);
  color: var(--coffee);
}
.checklist li:last-child { border-bottom: 1px solid var(--line-soft); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand-deep);
  color: var(--espresso);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
}
.section--dark .checklist li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.86); }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.stats div {
  text-align: center;
  padding: 24px 8px;
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--sand-deep);
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.quote {
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--sand-deep);
  line-height: .7;
  position: absolute;
  top: 24px;
  right: 28px;
  opacity: .6;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--espresso);
  margin: 0 0 20px;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--mocha);
}
.quote footer strong {
  color: var(--coffee);
  display: block;
  font-family: var(--sans);
  font-weight: 600;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--espresso);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--espresso);
  color: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: var(--cream-soft); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.78); margin: 0; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--espresso);
  color: rgba(250,245,236,0.78);
  padding: 80px 0 30px;
}
.site-footer h4 {
  color: var(--cream-soft);
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(250,245,236,0.78); }
.site-footer a:hover { color: var(--sand-deep); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand .brand { color: var(--cream-soft); }
.footer__brand p { margin: 18px 0 0; max-width: 38ch; color: rgba(250,245,236,0.7); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .82rem;
  color: rgba(250,245,236,0.55);
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.socials a:hover { background: var(--sand-deep); color: var(--espresso); border-color: var(--sand-deep); }

/* ---------- Page hero (sub pages) ---------- */

.page-hero {
  background: var(--espresso);
  color: var(--cream-soft);
  padding: clamp(110px, 14vw, 200px) 0 clamp(70px, 9vw, 130px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32px;
  background: var(--sand);
}
.page-hero h1 { color: var(--cream-soft); }
.page-hero .eyebrow { color: var(--sand-deep); }
.page-hero .eyebrow::before { background: var(--sand-deep); }
.page-hero p { color: rgba(250,245,236,0.78); max-width: 60ch; margin: 0; }

.breadcrumb {
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(250,245,236,0.55);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(250,245,236,0.7); }
.breadcrumb a:hover { color: var(--sand-deep); }
.breadcrumb span { margin: 0 10px; opacity: .6; }

/* ---------- Forms ---------- */

.form {
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-soft);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--coffee);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--sand-deep);
  box-shadow: 0 0 0 4px rgba(201,168,118,0.18);
}
.field textarea { resize: vertical; min-height: 140px; }

.form__note {
  font-size: .82rem;
  color: var(--mocha);
  margin: 0 0 16px;
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--mocha);
}
.checkbox input { margin-top: 3px; }

/* ---------- FAQ ---------- */

.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 14px;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--sand-deep); }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--espresso);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.5rem;
  color: var(--sand-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin: 14px 0 0;
  color: var(--mocha);
  line-height: 1.7;
}

/* ---------- Contact info cards ---------- */

.info-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-card h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 12px;
}
.info-card p, .info-card a {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--espresso);
  line-height: 1.35;
}
.info-card small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--mocha);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 9;
  background: var(--sand);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- WhatsApp floating button ---------- */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -10px rgba(37,211,102,0.6);
  transition: transform .25s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Misc helpers ---------- */

.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0 !important; }
.tag {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--sand);
  color: var(--espresso);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* small reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* preserve template-style images full-bleed */
.bleed-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bleed-img img { width: 100%; height: auto; display: block; }

/* selection */
::selection { background: var(--sand-deep); color: var(--espresso); }

/* ========================================================
   v2.0 — Photo-backed sections, full-bleed hero, parallax,
   decorative watermarks, richer page heroes.
   ======================================================== */

/* ---------- Full-bleed photo hero (home) ---------- */
.hero--bg {
  position: relative;
  min-height: clamp(640px, 92vh, 880px);
  padding: 0;
  background: var(--espresso);
  color: var(--cream-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero--bg .hero__band { display: none; }
.hero--bg .hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}
.hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,11,8,0.55) 0%, rgba(15,11,8,0.55) 40%, rgba(15,11,8,0.85) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,168,118,0.18) 0%, transparent 55%);
  z-index: 1;
}
.hero--bg .wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.hero--bg .eyebrow { color: var(--sand-deep); }
.hero--bg .eyebrow::before { background: var(--sand-deep); }
.hero--bg h1 { color: var(--cream-soft); max-width: 18ch; }
.hero--bg h1 .accent { color: var(--sand-deep); }
.hero--bg .lead { color: rgba(250,245,236,0.85); max-width: 56ch; }
.hero--bg .hero__meta { border-top-color: rgba(255,255,255,0.18); }
.hero--bg .hero__meta strong { color: var(--cream-soft); }
.hero--bg .hero__meta span { color: rgba(250,245,236,0.6); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(250,245,236,0.7);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--sand-deep), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* ---------- Page hero with photo background (sub pages) ---------- */
.page-hero--bg {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 230px) 0 clamp(90px, 12vw, 150px);
}
.page-hero--bg .page-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) contrast(1.05);
}
.page-hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,11,8,0.65), rgba(15,11,8,0.85)),
    radial-gradient(circle at 85% 30%, rgba(201,168,118,0.15) 0%, transparent 55%);
  z-index: 1;
}
.page-hero--bg .wrap { position: relative; z-index: 2; }
.page-hero--bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: 2;
}

/* ---------- Page hero with photo background (sub pages) ---------- */
.page-hero--bg2 {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 230px) 0 clamp(90px, 12vw, 150px);
}
.page-hero--bg2 .page-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) contrast(1.05);
}
.page-hero--bg2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,11,8,0.65), rgba(15,11,8,0.85)),
    radial-gradient(circle at 85% 30%, rgba(201,168,118,0.15) 0%, transparent 55%);
  z-index: 1;
}
.page-hero--bg2 .wrap { position: relative; z-index: 2; }
.page-hero--bg2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: 2;
}

/* ---------- Photo-backed section (parallax) ---------- */
.section--photo {
  position: relative;
  background-color: var(--espresso);
  color: var(--cream-soft);
  overflow: hidden;
}
.section--photo .section__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,11,8,0.78), rgba(15,11,8,0.92));
  z-index: 1;
}
.section--photo .wrap { position: relative; z-index: 2; }
.section--photo h2,
.section--photo h3 { color: var(--cream-soft); }
.section--photo .lead { color: rgba(250,245,236,0.82); }
.section--photo .eyebrow { color: var(--sand-deep); }
.section--photo .eyebrow::before { background: var(--sand-deep); }
.section--photo .stats strong { color: var(--sand-deep); }
.section--photo .checklist li { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); }

/* Disable fixed attachment on mobile for performance */
@media (max-width: 900px) {
  .section--photo .section__photo { background-attachment: scroll; }
}

/* ---------- Decorative brand watermark ---------- */
.brand-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 1;
  filter: brightness(2);
}
.brand-watermark--right { right: -60px; top: 50%; transform: translateY(-50%); width: 460px; }
.brand-watermark--left  { left: -80px; bottom: -40px; width: 380px; }

/* ---------- v2 USP — number-led cards with hover lift ---------- */
.usp--v2 {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 44px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.usp--v2::before {
  content: attr(data-num);
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--sand);
  opacity: .45;
  pointer-events: none;
  transition: color .3s ease, opacity .3s ease;
}
.usp--v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand-deep);
}
.usp--v2:hover::before { color: var(--sand-deep); opacity: .55; }
.usp--v2 h3 { position: relative; z-index: 2; }
.usp--v2 p  { position: relative; z-index: 2; color: var(--mocha); margin: 0; }
.usp--v2__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--espresso);
  color: var(--sand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

/* ---------- v2 Program card with photo ---------- */
.program--photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--espresso);
  color: var(--cream-soft);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 0;
}
.program--photo .program__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
  z-index: 0;
}
.program--photo:hover .program__bg { transform: scale(1.06); }
.program--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,11,8,0.15) 0%, rgba(15,11,8,0.7) 55%, rgba(15,11,8,0.95) 100%);
  z-index: 1;
}
.program--photo > * { position: relative; z-index: 2; }
.program--photo h3 { color: var(--cream-soft); font-size: 1.8rem; padding: 0 32px; }
.program--photo .program__price {
  color: var(--cream-soft);
  font-size: 2rem;
  padding: 0 32px;
}
.program--photo .program__price small { color: rgba(250,245,236,0.65); }
.program--photo .program__meta { padding: 0 32px; }
.program--photo .program__meta li {
  border-color: rgba(255,255,255,0.12);
  color: rgba(250,245,236,0.78);
}
.program--photo .program__meta li strong { color: var(--cream-soft); }
.program--photo .program__bottom {
  padding: 0 32px 32px;
}
.program--photo .btn {
  background: var(--sand-deep);
  border-color: var(--sand-deep);
  color: var(--espresso);
}
.program--photo .btn:hover {
  background: var(--cream-soft);
  border-color: var(--cream-soft);
  color: var(--espresso);
}

/* ---------- v2 CTA band with photo ---------- */
.cta-band--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--espresso);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: grid;
  align-items: center;
}
.cta-band--photo .cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: grayscale(0.4);
}
.cta-band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,11,8,0.85) 0%, rgba(15,11,8,0.55) 100%);
}
.cta-band--photo .cta__inner {
  position: relative;
  z-index: 2;
  align-items: center;
  padding: clamp(48px, 6vw, 80px);
}
.cta-band--photo h2 { color: var(--cream-soft); }
.cta-band--photo p  { color: rgba(255,255,255,0.82); margin: 0; }
@media (max-width: 900px) { .cta-band--photo .cta__inner { grid-template-columns: 1fr; text-align: left; } }

/* ---------- Hero badge restyled ---------- */
.hero__badge {
  background: rgba(244,236,222,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Big italic section numbers ---------- */
.section-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: .9;
  color: var(--sand-deep);
  opacity: .9;
  margin-bottom: 18px;
  display: block;
}

/* ---------- Split-img with corner badge ---------- */
.split-img__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--cream-soft);
  color: var(--espresso);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  z-index: 2;
  box-shadow: var(--shadow);
}

/* ---------- Gallery upgrade ---------- */
.gallery--v2 a { position: relative; }
.gallery--v2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,11,8,0.7));
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.gallery--v2 a:hover::after { opacity: 1; }
.gallery--v2 a span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: var(--cream-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2;
}
.gallery--v2 a:hover span { opacity: 1; transform: translateY(0); }

/* ---------- Section divider rule ---------- */
.divider-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}
.divider-rule::before,
.divider-rule::after {
  content: "";
  height: 1px;
  background: var(--sand-deep);
  flex: 1;
  opacity: .5;
}
.divider-rule span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sand-deep);
  font-size: 1.1rem;
}

/* ---------- Featured price box ---------- */
.price-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--sand-deep), transparent 60%);
  opacity: 0;
  z-index: -1;
  transition: opacity .3s ease;
}

/* ---------- Subtle frame for split images ---------- */
.split-img--framed {
  position: relative;
  padding: 14px;
  background: var(--cream-soft);
  border-radius: calc(var(--radius-lg) + 14px);
  box-shadow: var(--shadow);
}
.split-img--framed img { border-radius: var(--radius-lg); }
.split-img--framed::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--sand-deep);
  border-radius: calc(var(--radius-lg) + 14px);
  top: 18px;
  left: 18px;
  z-index: -1;
  opacity: .8;
}

/* ---------- Stats with vertical dividers ---------- */
.stats--v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stats--v2 div {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.stats--v2 div:first-child { border-left: 0; }
@media (max-width: 720px) {
  .stats--v2 div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .stats--v2 div:first-child { border-top: 0; }
}

/* ---------- Site header tweak: bigger shadow on scroll could go here, base now ---------- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled {
  background: rgba(244,236,222,0.98);
  box-shadow: 0 12px 28px -22px rgba(0,0,0,0.25);
}

/* ---------- Reveal animation variants ---------- */
.reveal-up   { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right{ transform: translateX(32px); }
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible { transform: none; }

/* ---------- Hero on smaller viewport ---------- */
@media (max-width: 820px) {
  .hero--bg { min-height: 100vh; }
  .hero--bg .wrap { padding-top: 100px; padding-bottom: 100px; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 80px; }
  .brand__text strong { font-size: 1rem; letter-spacing: .18em; }
}

/* =========================================================
   FULL-WIDTH / FULL-BLEED LAYOUTS
   ========================================================= */

/* Flush helpers — remove section padding to let bands butt together */
.section--flush         { padding-top: 0; padding-bottom: 0; }
.section--flush-top     { padding-top: 0; }
.section--flush-bottom  { padding-bottom: 0; }

/* Full-bleed: breaks out of any centered container to span 100vw */
.fullbleed {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- USP band: 3 cards spanning the full viewport ---------- */
.usp-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}
.usp-cell {
  position: relative;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 64px);
  background: var(--cream-soft);
  border-right: 1px solid var(--line-soft);
  overflow: hidden;
  transition: background .35s ease, transform .35s ease;
}
.usp-cell:last-child { border-right: 0; }
.usp-band .usp-cell:nth-child(even) { background: var(--cream); }
.usp-cell:hover { background: var(--sand); }
.usp-cell::before {
  content: attr(data-num);
  position: absolute;
  top: 18px;
  right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4.5rem, 7vw, 7rem);
  line-height: 1;
  color: var(--sand-deep);
  opacity: .35;
  pointer-events: none;
  transition: opacity .3s ease, color .3s ease;
}
.usp-cell:hover::before { opacity: .55; }
.usp-cell .usp--v2__icon { margin-bottom: 22px; position: relative; z-index: 2; }
.usp-cell h3 { position: relative; z-index: 2; margin-bottom: .6em; }
.usp-cell p  { position: relative; z-index: 2; color: var(--mocha); margin: 0; max-width: 42ch; }

@media (max-width: 980px) {
  .usp-band { grid-template-columns: 1fr; }
  .usp-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .usp-cell:last-child { border-bottom: 0; }
}

/* ---------- Full-bleed 50/50 split (image one side, text other) ---------- */
.split-fullbleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.split-fullbleed__media {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  min-height: clamp(420px, 60vw, 720px);
}
.split-fullbleed__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-fullbleed__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 120px) clamp(28px, 6vw, 110px);
  background: var(--cream);
}
.split-fullbleed--reverse .split-fullbleed__media   { order: 2; }
.split-fullbleed--reverse .split-fullbleed__content { order: 1; background: var(--cream-soft); }

/* Dark variant — high contrast panel beside the photo */
.split-fullbleed--dark .split-fullbleed__content {
  background: var(--espresso);
  color: rgba(250,245,236,0.86);
}
.split-fullbleed--dark .split-fullbleed__content h1,
.split-fullbleed--dark .split-fullbleed__content h2,
.split-fullbleed--dark .split-fullbleed__content h3 { color: var(--cream-soft); }
.split-fullbleed--dark .split-fullbleed__content .lead    { color: rgba(250,245,236,0.82); }
.split-fullbleed--dark .split-fullbleed__content .eyebrow { color: var(--sand-deep); }
.split-fullbleed--dark .split-fullbleed__content .eyebrow::before { background: var(--sand-deep); }
.split-fullbleed--dark .split-fullbleed__content .checklist li {
  border-color: rgba(255,255,255,0.10);
  color: rgba(250,245,236,0.88);
}
.split-fullbleed--dark .split-fullbleed__content .checklist li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.split-fullbleed--dark .split-fullbleed__content .checklist li strong { color: var(--cream-soft); }
.split-fullbleed--dark .split-fullbleed__content .btn {
  background: var(--sand-deep);
  border-color: var(--sand-deep);
  color: var(--espresso);
}
.split-fullbleed--dark .split-fullbleed__content .btn:hover {
  background: var(--cream-soft);
  border-color: var(--cream-soft);
  color: var(--espresso);
}

@media (max-width: 980px) {
  .split-fullbleed { grid-template-columns: 1fr; }
  .split-fullbleed__media { min-height: 320px; order: 0 !important; }
  .split-fullbleed__content { order: 0 !important; }
}

/* ---------- Full-width programs grid ---------- */
.programs--full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
}
.programs--full .program {
  border-radius: 0;
  border: 0;
  min-height: 520px;
}
.programs--full .program--photo { border-right: 1px solid rgba(255,255,255,0.06); }
.programs--full .program--photo:last-child { border-right: 0; }
.programs--full .program:hover { transform: none; }
.programs--full .program--photo:hover .program__bg { transform: scale(1.08); }

@media (max-width: 1180px) {
  .programs--full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .programs--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .programs--full { grid-template-columns: 1fr; }
}

/* ---------- Section-head padding when used outside .wrap ---------- */
.section-head--padded {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- FAQ inline (used inside split-fullbleed panel) ---------- */
.faq--inline { max-width: none; margin: 0; }
.faq--inline details {
  padding: 16px 22px;
  margin-bottom: 10px;
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.faq--inline summary {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.35;
}
.faq--inline summary::after { font-size: 1.3rem; }
.faq--inline p { font-size: .95rem; margin-top: 10px; }

/* When inside the dark split variant — adjust palette */
.split-fullbleed--dark .faq--inline details {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.split-fullbleed--dark .faq--inline summary { color: var(--cream-soft); }
.split-fullbleed--dark .faq--inline summary::after { color: var(--sand-deep); }
.split-fullbleed--dark .faq--inline p { color: rgba(250,245,236,0.78); }

/* ---------- Values band — full-width "Vakmanschap" relocation ---------- */
.values-band {
  background: var(--sand);
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}
.values-band__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 var(--gutter);
}
.values-band__head .eyebrow { justify-content: center; }
.values-band__head .lead { margin-left: auto; margin-right: auto; }
.values-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}
.values-band__item {
  text-align: center;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
  border-right: 1px solid rgba(27,22,18,0.12);
  position: relative;
}
.values-band__item:last-child { border-right: 0; }
.values-band__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--sand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}
.values-band__item h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-bottom: 6px;
}
.values-band__item p {
  color: var(--coffee);
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.values-band__cta {
  text-align: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 0 var(--gutter);
}

@media (max-width: 980px) {
  .values-band__grid { grid-template-columns: repeat(2, 1fr); }
  .values-band__item { border-bottom: 1px solid rgba(27,22,18,0.12); }
  .values-band__item:nth-child(2) { border-right: 0; }
  .values-band__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .values-band__grid { grid-template-columns: 1fr; }
  .values-band__item { border-right: 0; border-bottom: 1px solid rgba(27,22,18,0.12); }
  .values-band__item:last-child { border-bottom: 0; }
}

/* =========================================================
   PROGRAMS EXPLORER — sidebar tabs + active detail panel
   ========================================================= */
.programs-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 34%) 1fr;
  gap: 0;
  width: 100%;
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.programs-explorer__list {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-right: 1px solid var(--line-soft);
}

/* ---- Sidebar tab card ---- */
.program-tab {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(24px, 2.8vw, 40px) clamp(60px, 6vw, 84px) clamp(24px, 2.8vw, 40px) clamp(24px, 3vw, 48px);
  cursor: pointer;
  color: var(--coffee);
  font-family: inherit;
  transition: background .25s ease, padding-left .25s ease;
  flex: 1;
}
.program-tab:last-child { border-bottom: 0; }
.program-tab:hover { background: var(--cream-soft); }
.program-tab:focus-visible {
  outline: 2px solid var(--sand-deep);
  outline-offset: -2px;
}
.program-tab.is-active {
  background: var(--cream-soft);
  padding-left: calc(clamp(24px, 3vw, 48px) + 6px);
}
.program-tab.is-active::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--sand-deep);
}

/* Right-arrow indicator — signals each tab is clickable */
.program-tab::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: clamp(20px, 2.5vw, 32px);
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mocha);
  opacity: .32;
  line-height: 1;
  transition: opacity .25s ease, transform .3s ease, color .25s ease;
  pointer-events: none;
}
.program-tab:hover::after {
  opacity: .85;
  color: var(--sand-deep);
  transform: translate(6px, -50%);
}
.program-tab.is-active::after {
  opacity: 1;
  color: var(--espresso);
  background: var(--sand-deep);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px -10px rgba(27,22,18,0.5);
}

.program-tab__flag {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--sand-deep);
  color: var(--espresso);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.program-tab__title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.9vw, 1.95rem);
  font-weight: 500;
  color: var(--espresso);
  display: block;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  line-height: 1.1;
}

.program-tab__sub {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 18px;
}

.program-tab__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.program-tab__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem;
  color: var(--mocha);
}
.program-tab__rows li:last-child { border-bottom: 1px solid var(--line-soft); }
.program-tab__rows strong {
  color: var(--coffee);
  font-weight: 600;
}

/* ---- Detail panel (right side) ---- */
.programs-explorer__detail {
  position: relative;
  background: var(--espresso);
  color: var(--cream-soft);
  min-height: 720px;
  overflow: hidden;
}

.program-detail-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease;
  display: flex;
  flex-direction: column;
}
.program-detail-panel.is-active {
  opacity: 1;
  visibility: visible;
}

.program-detail-panel__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 8s ease-out;
  filter: brightness(0.5) saturate(0.9);
}
.program-detail-panel.is-active .program-detail-panel__bg {
  transform: scale(1.08);
}
.program-detail-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,11,8,0.45) 0%,
    rgba(15,11,8,0.65) 35%,
    rgba(15,11,8,0.92) 100%);
  z-index: 1;
}

.program-detail-panel__inner {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(36px, 4.5vw, 80px);
}
.program-detail-panel__inner .eyebrow { color: var(--sand-deep); margin-bottom: 1rem; }
.program-detail-panel__inner .eyebrow::before { background: var(--sand-deep); }
.program-detail-panel h3 {
  color: var(--cream-soft);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 14px;
  line-height: 1.05;
}
.program-detail-panel .lead {
  color: rgba(250,245,236,0.86);
  max-width: 62ch;
  margin: 0;
}

.program-detail-panel__columns {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 3.2vw, 56px);
  margin-top: clamp(28px, 3.2vw, 44px);
}
.program-detail-panel__col h4 {
  color: var(--sand-deep);
  font-size: .78rem;
  margin: 0 0 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
}
.program-detail-panel__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.program-detail-panel__col li {
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(250,245,236,0.88);
  font-size: .93rem;
  line-height: 1.5;
}
.program-detail-panel__col li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.program-detail-panel__col li strong {
  color: var(--cream-soft);
  font-weight: 600;
  margin-right: 4px;
}

.program-detail-panel__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 3vw, 40px);
}
.program-detail-panel__cta .btn--outline {
  background: transparent;
  color: var(--cream-soft);
  border-color: rgba(255,255,255,0.45);
}
.program-detail-panel__cta .btn--outline:hover {
  background: var(--cream-soft);
  color: var(--espresso);
  border-color: var(--cream-soft);
}

/* Responsive ---- */
@media (max-width: 1100px) {
  .programs-explorer { grid-template-columns: minmax(280px, 38%) 1fr; }
}
@media (max-width: 980px) {
  .programs-explorer { grid-template-columns: 1fr; }
  .programs-explorer__list {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .programs-explorer__detail { min-height: 560px; position: relative; }
  .program-tab.is-active::before {
    top: auto; bottom: 0; left: 0; right: 0;
    width: auto; height: 4px;
  }
  .program-tab.is-active { padding-left: clamp(24px, 3vw, 48px); }
}
@media (max-width: 640px) {
  .program-detail-panel__columns { grid-template-columns: 1fr; gap: 24px; }
  .programs-explorer__detail { min-height: 720px; }
}

/* =========================================================
   MOBILE-ONLY OVERRIDES (phones, <= 768px)
   ========================================================= */

/* Mobile prev/next nav for programs explorer — hidden by default,
   shown only on mobile via the breakpoint below */
.programs-explorer__mobile-nav { display: none; }

@media (max-width: 768px) {

  /* ---- Hide top contact bar on mobile ---- */
  .topbar { display: none; }

  /* ---- Hero tweaks ---- */
  /* Hide the row of 5 opleiding labels under the hero buttons */
  .hero__meta { display: none; }

  /* Hide the "Direct aanmelden" secondary button */
  .hero .btn-row .btn--light { display: none; }

  /* Shrink the "Bekijk opleidingen" primary button */
  .hero .btn-row .btn--lg {
    padding: 13px 22px;
    font-size: .82rem;
    letter-spacing: .04em;
  }

  /* ---- "Jouw volgende stap" CTA buttons smaller ---- */
  .section--photo .btn--lg {
    padding: 12px 20px;
    font-size: .78rem;
    letter-spacing: .04em;
  }
  /* The inline margin-right: 20px on Aanmelden gets tightened */
  .section--photo .btn--lg[href*="aanmelden"] {
    margin-right: 8px !important;
    margin-bottom: 10px;
  }

  /* ---- Programs explorer: mobile carousel pattern ---- */
  /* Hide the full sidebar list of 5 tabs on mobile */
  .programs-explorer__list { display: none; }

  /* Force single column (mobile nav + active detail panel only) */
  .programs-explorer { grid-template-columns: 1fr; }
  .programs-explorer__detail { min-height: 620px; }

  /* Show the mobile prev/next nav */
  .programs-explorer__mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 16px;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .program-nav-arrow {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    border: 0;
    background: var(--sand-deep);
    color: var(--espresso);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -12px rgba(27,22,18,0.5);
    transition: background .25s ease, color .25s ease, transform .15s ease;
  }
  .program-nav-arrow:hover {
    background: var(--espresso);
    color: var(--cream-soft);
  }
  .program-nav-arrow:active { transform: scale(0.92); }

  .program-nav-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 0 4px;
  }
  .program-nav-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--espresso);
    line-height: 1.15;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .program-nav-count {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mocha);
    margin-top: 3px;
  }
}

/* =========================================================
   MOBILE-ONLY: SECTION REORDER + FAQ TWEAKS
   ========================================================= */

/* New CTA button under FAQ — hidden on desktop, shown on mobile */
.btn-onze-opleidingen { display: none; }
.btn-onze-opleidingen .btn-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}
.btn-onze-opleidingen .btn-stack strong {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.btn-onze-opleidingen .btn-stack small {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  opacity: .85;
  margin-top: 2px;
}

@media (max-width: 768px) {

  /* ---- FAQ: hide image, swap buttons ---- */
  #faq-home .split-fullbleed__media { display: none; }
  #faq-home .btn-meer-info          { display: none; }
  .btn-onze-opleidingen {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    text-transform: none;
    letter-spacing: 0;
  }

  /* ---- Reorder sections via flex on body ---- */
  .page-home main {
    display: flex;
    flex-direction: column;
  }
  /* header keeps default order 0 — stays at the top.
     Hidden elements (.topbar, .quote) retain order 0 but render nothing. */
  .page-home main > .hero                         { order: 1; }
  .page-home main > #faq-home                     { order: 2; }
  .page-home main > #opleidingen-overview         { order: 3; }
  .page-home main > #usp-band-section             { order: 4; }
  .page-home main > #baangarantie-stats           { order: 5; }
  .page-home main > #traject-inbegrepen-section   { order: 6; }
  .page-home main > #process-section              { order: 7; }
  .page-home main > .marquee                       { order: 5; }
  .page-home main > .quote-band                    { order: 7; }
  .page-home main > #cta-stats                    { order: 8; }
}

.subtitleBox {
  margin-left: 20px;
  font-weight: 700;
  font-size: 20px;
}

/* =========================================================
   Mobile: full-width CTA buttons
   - Opleiding detail pages: Aanmelden + Vraag stellen row
   - Pre-footer "Jouw volgende stap" band: Aanmelden + Contact opnemen
   Desktop is untouched.
   ========================================================= */
@media (max-width: 720px) {

  /* 1) Opleiding detail page — the .btn-row right after .program__meta */
  .program__meta ~ .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .program__meta ~ .btn-row .btn {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
  }

  /* 2) "Jouw volgende stap" pre-footer CTA on every page that has it */
  #cta-stats .btn {
    width: 100%;
    justify-content: center;
    margin: 0 0 12px 0 !important;
  }
  #cta-stats .btn:last-child {
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   2.0 LAYER — motion, richer components, polish.
   Same palette, same typography, more life.
   ========================================================= */

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- Page transitions (Chrome/Edge/Safari 18+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn .42s var(--ease-out) both; }
.site-header { view-transition-name: site-header; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Icons (Font Awesome SVG sprite) ---------- */
svg.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  fill: currentColor;
  overflow: visible;
}
.btn svg.icon { width: 1.05em; height: 1.05em; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--espresso); color: var(--cream-soft);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream-soft); }
:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--sand-deep), #E8CC98, var(--sand-deep));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* ---------- Topbar ---------- */
.topbar__meta a, .topbar__meta span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__meta svg.icon { color: var(--sand-deep); font-size: .85em; }

/* ---------- Header: shrink + hide on scroll down, show on scroll up ---------- */
.site-header { transition: transform .45s var(--ease-out), box-shadow .3s ease, background .3s ease; }
.site-header .wrap { transition: height .35s var(--ease-out); }
.site-header.is-scrolled .wrap { height: 70px; }
.site-header.is-hidden { transform: translateY(-110%); }
@media (max-width: 980px) {
  .site-header.is-scrolled .wrap { height: 84px; }
}
.brand__mark { transition: transform .35s var(--ease-out); }
.site-header.is-scrolled .brand__mark { transform: scale(.9); }

/* nav: animated underline instead of instant bar */
@media (min-width: 981px) {
  .nav > a:not(.btn)::after,
  .nav__dropdown > a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--sand-deep);
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease-out);
  }
  .nav > a:not(.btn):hover::after,
  .nav__dropdown > a:hover::after,
  .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
}
.nav__dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__chev { font-size: .7em; transition: transform .3s var(--ease-out); }
.nav__dropdown:hover .nav__chev, .nav__dropdown:focus-within .nav__chev { transform: rotate(180deg); }
.nav__menu { min-width: 300px; padding: 10px; }
.nav__menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; }
.nav__menu-title { font-weight: 600; color: var(--espresso); display: flex; align-items: center; gap: 8px; }
.nav__menu-sub { font-size: .76rem; color: var(--mocha); letter-spacing: .02em; }
.nav__menu-flag {
  font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--sand-deep); color: var(--espresso); padding: 2px 8px; border-radius: 999px;
}
.nav__menu a.nav__menu-all {
  flex-direction: row; align-items: center; justify-content: space-between;
  margin-top: 6px; border-top: 1px solid var(--line-soft); border-radius: 0 0 8px 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mocha);
}
.nav-cta {
  background: var(--sand);
  min-width: 160px;
  padding: 18px 26px 18px 24px;
  justify-content: center;
}
.nav__quick { display: none; }

@media (max-width: 980px) {
  .nav.is-open > * { animation: navItemIn .5s var(--ease-out) both; }
  .nav.is-open > *:nth-child(2) { animation-delay: .04s; }
  .nav.is-open > *:nth-child(3) { animation-delay: .08s; }
  .nav.is-open > *:nth-child(4) { animation-delay: .12s; }
  .nav.is-open > *:nth-child(5) { animation-delay: .16s; }
  .nav.is-open > *:nth-child(6) { animation-delay: .2s; }
  .nav.is-open > *:nth-child(7) { animation-delay: .24s; }
  .nav__menu a { padding: 10px 4px; }
  .nav__menu-sub { font-size: .78rem; }
  .nav__menu a.nav__menu-all { border-top: 0; padding-top: 6px; }
  .nav__chev { display: none; }
  .nav__quick {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px;
  }
  .nav__quick a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--line); border-radius: 999px; padding: 14px; font-size: .95rem; font-weight: 600;
  }
  .nav__quick a:last-child { background: var(--whatsapp); border-color: var(--whatsapp); color: #073A1F; }
}
@keyframes navItemIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Photo layers (img instead of CSS backgrounds → responsive + lazy) ---------- */
.hero__photo, .page-hero__photo, .section__photo, .program-detail-panel__bg, .program__bg { overflow: hidden; }
.hero__photo img, .page-hero__photo img, .section__photo img, .program-detail-panel__bg img, .program__bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
[data-parallax] > img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  will-change: transform;
}
.hero__photo[data-parallax] > img { transform: translate3d(0, var(--py, 0px), 0) scale(1.04); }
.section--photo .section__photo { z-index: 0; }

/* ---------- Reveal system ---------- */
/* Only hide content when scripting is on; if the script fails, everything shows after 3s. */
@media (scripting: enabled) {
  .reveal { opacity: 0; }
  html:not(.js-ready) .reveal,
  html:not(.js-ready) .hero-in,
  html:not(.js-ready) .split-words { animation: revealFallback .4s 3s forwards; }
}
@media (scripting: none) {
  .reveal, .reveal-up, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
@keyframes revealFallback { to { opacity: 1; transform: none; clip-path: none; } }
.reveal {
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal[data-delay="1"] { --d: 1; }
.reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; }
.reveal.is-visible { opacity: 1; }
/* image reveal: a sand-coloured curtain lifts off the photo (an overlay, so IntersectionObserver still "sees" it) */
.reveal-clip { opacity: 1; }
@media (scripting: enabled) {
  .reveal-clip::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: var(--sand);
    transform-origin: 50% 0;
    transition: transform 1.2s var(--ease-out);
  }
  .reveal-clip.is-visible::after { transform: scaleY(0); }
  .reveal-clip img { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
  .reveal-clip.is-visible img { transform: scale(1); }
  html:not(.js-ready) .reveal-clip::after { animation: curtainFallback .4s 3s forwards; }
}
@keyframes curtainFallback { to { transform: scaleY(0); } }

/* staggered list items (checklists inside revealed blocks) */
@media (scripting: enabled) {
  .stagger > li { opacity: 0; transform: translateY(14px); }
  .stagger.is-visible > li { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .stagger.is-visible > li:nth-child(2) { transition-delay: .08s; }
  .stagger.is-visible > li:nth-child(3) { transition-delay: .16s; }
  .stagger.is-visible > li:nth-child(4) { transition-delay: .24s; }
  .stagger.is-visible > li:nth-child(5) { transition-delay: .32s; }
  .stagger.is-visible > li:nth-child(6) { transition-delay: .40s; }
  .stagger.is-visible > li:nth-child(7) { transition-delay: .48s; }
  .stagger.is-visible > li:nth-child(8) { transition-delay: .56s; }
  html:not(.js-ready) .stagger > li { animation: revealFallback .4s 3s forwards; }
}
.stagger.is-visible > li::before { animation: checkPop .5s var(--ease-out) both; animation-delay: inherit; }
@keyframes checkPop { from { transform: scale(.4); opacity: 0; } }

/* hero entrance */
@media (scripting: enabled) {
  .hero-in { opacity: 0; transform: translateY(18px); }
  .is-loaded .hero-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .is-loaded .hero-in[data-delay="2"] { transition-delay: .35s; }
  .is-loaded .hero-in[data-delay="3"] { transition-delay: .5s; }
  .is-loaded .hero-in[data-delay="4"] { transition-delay: .65s; }
}
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 60ms); }
.is-loaded .split-words .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero__content { max-width: 880px; }
.hero--bg h1 .accent {
  font-weight: 700;
  background: linear-gradient(100deg, var(--sand-deep) 20%, #F1DDB5 45%, var(--sand-deep) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out 1.6s infinite;
  padding-right: .06em;
}
/* When the heading is split into sliding words, the moving word carries its own gradient —
   otherwise the browser only paints the gold text after the slide has finished. */
.hero--bg h1 .accent:has(.w) { background: none; animation: none; color: var(--sand-deep); }
.hero--bg h1 .accent .w > span {
  background: linear-gradient(100deg, var(--sand-deep) 20%, #F1DDB5 45%, var(--sand-deep) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out 1.6s infinite;
  padding-right: .06em;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero--bg .btn-row .btn { margin: 0; }
.hero--bg .btn--ghost2 { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero__next {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 26px; padding: 10px 18px; border-radius: 999px;
  background: rgba(250,245,236,0.08); border: 1px solid rgba(250,245,236,0.18);
  color: var(--cream-soft); font-size: .88rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero__next:hover { color: var(--cream-soft); border-color: var(--sand-deep); background: rgba(201,168,118,0.14); }
.hero__next em { font-style: normal; color: var(--sand-deep); font-weight: 600; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #6BD48D; position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #6BD48D;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.hero__affirm-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(250,245,236,0.12); color: var(--sand-deep); font-size: 1.05rem; flex-shrink: 0;
  transition: background .3s ease, transform .3s var(--ease-out);
}
.hero__affirm:hover .hero__affirm-icon { background: rgba(201,168,118,0.28); transform: translateY(-2px) rotate(-6deg); }
@media (max-width: 720px) { .hero__affirm-icon { width: 40px; height: 40px; font-size: 1rem; } }
.hero__scroll::after { transform-origin: top; }

/* ---------- Sub-page heroes ---------- */
.page-hero .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.page-hero .breadcrumb em { font-style: normal; color: var(--sand-deep); }
.hero-chips {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(250,245,236,0.2); background: rgba(250,245,236,0.06);
  color: var(--cream-soft); font-size: .86rem; font-weight: 500; letter-spacing: .02em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-chips svg.icon { color: var(--sand-deep); }
.page-hero--plain {
  background: var(--espresso);
  padding: clamp(110px, 12vw, 170px) 0 clamp(60px, 7vw, 100px);
}

/* ---------- Grain texture on dark sections ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after, .hero--bg .wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero--bg .wrap::before { display: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn--sm { padding: 11px 20px; font-size: .8rem; }
.btn--block { width: 100%; justify-content: center; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn-arrow { animation: spinArrow .9s linear infinite; }
@keyframes spinArrow { 0% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(8px); opacity: .2; } 100% { transform: translateX(0); opacity: 1; } }
.btn--outline { background: transparent; }
[data-magnetic] { transition: transform .35s var(--ease-out), background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }

/* ---------- Programs explorer upgrades ---------- */
.program-tab__price { color: var(--sand-deep); font-weight: 600; }
.program-tab__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; overflow: hidden;
}
.program-detail-panel__inner > * { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.program-detail-panel:not(.is-active) .program-detail-panel__inner > * { opacity: 0; transform: translateY(18px); }
.program-detail-panel.is-active .program-detail-panel__inner > :nth-child(2) { transition-delay: .05s; }
.program-detail-panel.is-active .program-detail-panel__inner > :nth-child(3) { transition-delay: .1s; }
.program-detail-panel.is-active .program-detail-panel__inner > :nth-child(4) { transition-delay: .15s; }
.program-detail-panel.is-active .program-detail-panel__inner > :nth-child(5) { transition-delay: .2s; }
.program-detail-panel.is-active .program-detail-panel__inner > :nth-child(6) { transition-delay: .25s; }
.panel-chips {
  list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px;
}
.panel-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 500;
  background: rgba(250,245,236,0.08); border: 1px solid rgba(250,245,236,0.16); color: var(--cream-soft);
}
.panel-chips svg.icon { color: var(--sand-deep); }
.panel-chips li.is-gold { background: rgba(201,168,118,0.2); border-color: rgba(201,168,118,0.5); }
.program-nav-dots { display: flex; gap: 6px; margin-top: 7px; }
.program-nav-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(27,22,18,0.18); transition: width .35s var(--ease-out), background .35s ease; }
.program-nav-dots i.is-on { width: 20px; background: var(--sand-deep); }
@media (max-width: 768px) {
  .programs-explorer__detail { touch-action: pan-y; }
  .panel-chips li { font-size: .74rem; padding: 6px 11px; }
}

/* ---------- Stats with count-up ---------- */
#baangarantie-stats { margin-bottom: 1px; }
#baangarantie-stats .section-head { margin-bottom: 36px; }
.stats--v2 strong { font-variant-numeric: tabular-nums; }
.stats--v2 span { color: rgba(250,245,236,0.72); }
.stats--v2 strong span { color: inherit; display: inline; margin: 0; font-size: inherit; letter-spacing: normal; text-transform: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--espresso), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--espresso), transparent); }
.marquee__track { width: max-content; animation-duration: 40s; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Spacing that used to be inline ---------- */
#usp-band-section { margin-top: 1px; }
#traject-inbegrepen-section { margin: 1px 0; }
#cta-stats { margin: 1px 0; }
.cta-band-v2 .btn-row { margin-top: 26px; }
.cta-band-v2 p { color: rgba(250,245,236,0.82); max-width: 60ch; }

/* ---------- USP band ---------- */
.usp-cell .usp--v2__icon { transition: transform .5s var(--ease-out), background .3s ease; }
.usp-cell:hover .usp--v2__icon { transform: rotate(-8deg) scale(1.06); background: var(--coffee); }
.usp-cell .subtitleBox { color: var(--espresso); }

/* ---------- Steps (Hoe het werkt) ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: var(--line);
}
.steps::after {
  content: ""; position: absolute; left: 21px; top: 22px; width: 2px;
  height: calc((100% - 44px) * var(--steps-progress, 0));
  background: var(--sand-deep);
  transition: height .2s linear;
}
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 12px 0; position: relative; z-index: 1; }
.steps__num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-soft); border: 2px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--mocha);
  transition: background .4s ease, border-color .4s ease, color .4s ease, transform .4s var(--ease-out);
}
.steps li.is-done .steps__num { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--espresso); transform: scale(1.06); }
.steps li > div { padding-top: 9px; color: var(--coffee); }

/* ---------- Quote band ---------- */
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--cream-soft); line-height: 1.35; margin: 0 auto; max-width: 900px;
}
.quote-band figcaption {
  margin-top: 24px; color: rgba(250,245,236,0.7); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem;
}
.quote-band__inner { max-width: 900px; margin: 0 auto; }

/* ---------- FAQ accordion: smooth height ---------- */
.faq details { overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--mocha); }
.faq summary::after { transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { content: "+"; transform: rotate(135deg); }
.faq__body { overflow: hidden; }
.faq__body p { margin: 14px 0 0; color: var(--mocha); line-height: 1.7; }
.faq--inline .faq__body p { font-size: .95rem; margin-top: 10px; }
.faq details.is-hidden { display: none; }
.faq mark { background: rgba(201,168,118,0.35); color: inherit; border-radius: 3px; padding: 0 2px; }
.faq-search {
  max-width: 880px; margin: 0 auto 26px; position: relative;
  display: flex; align-items: center; gap: 12px;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus-within { border-color: var(--sand-deep); box-shadow: 0 0 0 4px rgba(201,168,118,0.18); }
.faq-search svg.icon { color: var(--mocha); }
.faq-search input { flex: 1; border: 0; background: transparent; padding: 12px 0; font: inherit; color: var(--coffee); min-width: 0; }
.faq-search input:focus { outline: 0; }
.faq-search__count { font-size: .8rem; color: var(--mocha); padding-right: 14px; white-space: nowrap; }
.faq-empty { text-align: center; color: var(--mocha); padding: 24px 0; }
.faq-more {
  max-width: 880px; margin: 48px auto 0; padding: 32px 36px; border-radius: var(--radius-lg);
  background: var(--espresso); color: rgba(250,245,236,0.8);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.faq-more h3 { color: var(--cream-soft); margin-bottom: 6px; }
.faq-more p { margin: 0; }
.faq-more .btn--ghost { color: var(--cream-soft); border-color: rgba(250,245,236,0.4); }

/* ---------- Program cards (overview) ---------- */
.program__text { color: var(--mocha); margin: 0 0 22px; }
.program--featured .program__text { color: rgba(255,255,255,0.78); }
.program__meta { margin: 22px 0 18px; }
.program__next {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .85rem; color: var(--mocha); margin: 0 0 16px;
  padding: 10px 14px; border-radius: 10px; background: rgba(201,168,118,0.14);
}
.program__next svg.icon { color: var(--sand-deep); }
.program--featured .program__next { background: rgba(201,168,118,0.16); color: rgba(250,245,236,0.85); }
.program--featured .program__next strong { color: var(--cream-soft); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.program[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* ---------- Keuzehulp (quiz) ---------- */
.quiz { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.quiz__body { position: relative; min-height: 300px; }
.quiz__step, .quiz__result {
  border: 0; margin: 0; padding: 0; min-width: 0;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.quiz__step:not(.is-active) { display: none; }
.quiz__step.is-leaving { opacity: 0; transform: translateX(-24px); }
.quiz__step.is-entering { opacity: 0; transform: translateX(24px); }
.quiz legend { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--cream-soft); margin-bottom: 20px; padding: 0; }
.quiz__count { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; color: var(--sand-deep); margin-bottom: 6px; font-weight: 600; }
.quiz__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.quiz__options button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 20px; border-radius: var(--radius); cursor: pointer; font: inherit;
  background: rgba(250,245,236,0.05); border: 1px solid rgba(250,245,236,0.14); color: var(--cream-soft);
  transition: background .25s ease, border-color .25s ease, transform .35s var(--ease-out);
}
.quiz__options button:hover, .quiz__options button:focus-visible { background: rgba(201,168,118,0.14); border-color: var(--sand-deep); transform: translateY(-3px); }
.quiz__options svg.icon { color: var(--sand-deep); font-size: 1.3rem; margin-bottom: 8px; }
.quiz__options strong { font-size: 1rem; }
.quiz__options small { color: rgba(250,245,236,0.6); font-size: .82rem; }
.quiz__result { padding: 34px; border-radius: var(--radius-lg); background: rgba(250,245,236,0.06); border: 1px solid rgba(201,168,118,0.4); }
.quiz__result h3 { color: var(--cream-soft); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.quiz__result p { color: rgba(250,245,236,0.8); }
.quiz__result .btn--outline { color: var(--cream-soft); border-color: rgba(250,245,236,0.45); }
.quiz__result .btn--outline:hover { background: var(--cream-soft); color: var(--espresso); }
.quiz__restart { background: none; border: 0; color: rgba(250,245,236,0.7); cursor: pointer; font: inherit; font-size: .85rem; display: inline-flex; gap: 8px; align-items: center; padding: 8px; }
.quiz__restart:hover { color: var(--sand-deep); }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } .quiz__body { min-height: 0; } }

/* ---------- Comparison table ---------- */
.compare {
  overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-soft); background: var(--cream-soft);
  -webkit-overflow-scrolling: touch;
}
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.compare thead th { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); padding-top: 22px; vertical-align: bottom; }
.compare thead th a { color: inherit; }
.compare thead th a:hover { color: var(--sand-deep); }
.compare thead em {
  display: block; width: max-content; margin: 6px auto 0; font-style: normal; font-family: var(--sans);
  font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--sand-deep); color: var(--espresso); padding: 3px 9px; border-radius: 999px;
}
.compare tbody th { text-align: left; font-weight: 600; color: var(--mocha); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.compare td small { color: var(--mocha); }
.compare .is-featured { background: rgba(201,168,118,0.13); }
.compare thead .is-featured { border-radius: 14px 14px 0 0; }
.compare__yes { color: var(--sand-deep); font-size: 1.1rem; }
.compare__no { color: rgba(27,22,18,0.28); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare tbody tr:hover td:not(.is-featured), .compare tbody tr:hover th { background: rgba(226,210,180,0.25); }

/* ---------- Course page ---------- */
.grid--top { align-items: start; }
.split-img img { transition: transform 1.4s var(--ease-out); }
.split-img:hover img { transform: scale(1.04); }
.program__meta { margin-top: 20px; }
.cohorts { margin-top: 24px; }
.cohorts h4 { font-size: .78rem; letter-spacing: .18em; color: var(--mocha); margin-bottom: 10px; }
.cohorts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cohorts li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 12px 16px; border-radius: 12px; background: var(--cream-soft); border: 1px solid var(--line-soft);
}
.cohorts__date { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--espresso); }
.cohorts__date svg.icon { color: var(--sand-deep); }
.cohorts__sched { color: var(--mocha); font-size: .88rem; }
.cohorts__seats {
  margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(201,168,118,0.2); color: var(--espresso); padding: 4px 10px; border-radius: 999px;
}
.cohorts li.is-full { opacity: .55; }
.cohorts li.is-full .cohorts__seats { background: rgba(27,22,18,0.08); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line);
}
.timeline::after {
  content: ""; position: absolute; left: 21px; top: 10px; width: 2px;
  height: calc((100% - 20px) * var(--timeline-progress, 0));
  background: linear-gradient(var(--sand-deep), #E8CC98);
}
.timeline__item {
  position: relative; display: flex; gap: 22px; align-items: flex-start;
  padding: 12px 0; font-size: 1.02rem; color: var(--coffee);
}
.timeline__item > div { padding-top: 10px; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; flex: 1; }
.timeline__dot {
  position: relative; z-index: 1; flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-soft); border: 2px solid var(--line);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1rem; color: var(--mocha);
  transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.timeline__item.is-passed .timeline__dot { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--espresso); }

.info-card--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card__price {
  margin: 24px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--line-soft);
  display: grid; gap: 2px;
}
.info-card__price span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mocha); }
.info-card .info-card__price strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--espresso); }
.info-card__price small { margin-top: 4px; }
@media (max-width: 980px) { .info-card--sticky { position: static; } }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.others .program--photo { min-height: 360px; border-radius: var(--radius-lg); color: var(--cream-soft); }
.others .program--photo h3 { font-size: 1.6rem; padding: 0 26px; margin-bottom: 6px; }
.others .program--photo .program__price { padding: 0 26px; font-size: 1.7rem; }
.others .program--photo .program__bottom { padding: 18px 26px 26px; }
.others__link { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-deep); }
.others .program--photo:hover .btn-arrow { transform: translateX(4px); }
@media (max-width: 1100px) { .others { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .others { grid-template-columns: 1fr; } .others .program--photo { min-height: 280px; } }

/* sticky mobile CTA on course pages */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px;
    background: rgba(27,22,18,0.94); color: var(--cream-soft);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(140%); transition: transform .5s var(--ease-out);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .sticky-cta strong { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta span { font-size: .78rem; color: rgba(250,245,236,0.7); }
  .sticky-cta .btn { flex-shrink: 0; }
  .has-sticky-cta .wa-float { transition: transform .5s var(--ease-out), bottom .5s var(--ease-out); }
  .has-sticky-cta.sticky-cta-on .wa-float { bottom: 84px; }
}

/* ---------- Over ons ---------- */
.values-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.values-mini div { padding: 18px; border-radius: var(--radius); background: var(--cream-soft); border: 1px solid var(--line-soft); }
.values-mini strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--sand-deep); line-height: 1.1; }
.values-mini span { font-size: .85rem; color: var(--mocha); }
@media (max-width: 560px) { .values-mini { grid-template-columns: 1fr; } }
.gallery--v2 a { cursor: zoom-in; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(15,11,8,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 78vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .45s var(--ease-out), opacity .3s ease; }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(250,245,236,0.8); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(250,245,236,0.25);
  background: rgba(250,245,236,0.06); color: var(--cream-soft); font-size: 1.1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.lightbox button:hover { background: var(--sand-deep); color: var(--espresso); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.contact-cards, .contact-side { display: grid; gap: 18px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { transition: transform .4s var(--ease-out), box-shadow .4s ease, border-color .3s ease; }
.contact-cards .info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(201,168,118,0.5); }
.info-card__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mocha); margin-bottom: 12px;
}
.info-card__label svg.icon { color: var(--sand-deep); font-size: 1.05rem; }
.info-card__link { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 14px !important; font-family: var(--sans) !important; font-size: .82rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mocha) !important; }
.info-card__link:hover { color: var(--sand-deep) !important; }
.info-card--dark { background: var(--espresso); border-color: var(--espresso); color: var(--cream-soft); }
.info-card--dark h4, .info-card--dark .info-card__label { color: var(--sand-deep); }
.info-card--dark p, .info-card--dark a:not(.btn) { color: var(--cream-soft); }
.info-card--dark small { color: rgba(250,245,236,0.65); }
.info-card__text { font-family: var(--sans) !important; font-size: 1rem !important; line-height: 1.6 !important; color: var(--mocha); }
.info-card--dark .info-card__text { color: var(--cream-soft) !important; }
.info-card__text--lg { font-size: 1.1rem !important; color: var(--espresso) !important; }
.hours-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hours-head .info-card__label { margin-bottom: 0; }
.open-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: rgba(37,211,102,0.14); color: #138a43; }
.open-badge.is-closed { background: rgba(27,22,18,0.08); color: var(--mocha); }
.hours { list-style: none; padding: 0; margin: 12px 0 0; font-size: .95rem; color: var(--mocha); }
.hours li { display: flex; justify-content: space-between; padding: 7px 10px; margin: 0 -10px; border-bottom: 1px solid var(--line-soft); border-radius: 8px; }
.hours li:last-child { border-bottom: 0; }
.hours li strong { color: var(--coffee); }
.hours li.is-today { background: rgba(201,168,118,0.16); border-bottom-color: transparent; }
.hours li.is-today span { font-weight: 600; color: var(--espresso); }

.map-frame { position: relative; }
.map-frame__load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px;
  color: var(--espresso);
  background:
    radial-gradient(circle at 50% 45%, rgba(250,245,236,0.85), rgba(226,210,180,0.85) 70%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(27,22,18,0.05) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(27,22,18,0.05) 38px 39px),
    var(--sand);
  transition: background .3s ease;
}
.map-frame__load:hover .map-frame__pin { transform: translateY(-4px); }
.map-frame__pin {
  width: 56px; height: 56px; border-radius: 50%; background: var(--espresso); color: var(--sand-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 8px;
  box-shadow: var(--shadow); transition: transform .35s var(--ease-out);
}
.map-frame__load strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.map-frame__load small { color: var(--mocha); font-size: .9rem; }
.map-frame__load em { margin-top: 8px; font-size: .74rem; color: var(--mocha); opacity: .8; }
.socials--light a { border-color: var(--line); color: var(--coffee); background: var(--cream); }

/* ---------- Forms ---------- */
.form-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.form-intro .eyebrow { justify-content: center; }
.form-intro h2 { margin: .3em 0 .4em; }
.form-intro .lead { margin: 0 auto 34px; }
.form-wrap { max-width: 760px; margin: 0 auto; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__alert {
  background: rgba(179,38,30,0.08); border: 1px solid rgba(179,38,30,0.25); color: #8f1f19;
  padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin: 0 0 20px;
}
.form__msg { margin: 18px 0 0; font-size: .92rem; color: var(--mocha); min-height: 1.4em; }
.form__msg.is-error { color: #b3261e; }
.field { position: relative; }
.field label small, .field label em { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea { -webkit-appearance: none; appearance: none; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A4D3D' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(27,22,18,0.22); }
.field.is-valid input { border-color: rgba(46,125,50,0.45); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: #b3261e !important; box-shadow: 0 0 0 4px rgba(179,38,30,0.08); }
.field__error { display: block; color: #b3261e; font-size: .82rem; margin-top: 6px; min-height: 0; }
.field__error:empty { display: none; }
.field__counter { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; color: var(--mocha); opacity: .7; pointer-events: none; }
.checkbox { margin: 8px 0 6px; }
.checkbox + .field__error { margin: 0 0 16px; }
.checkbox label { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mocha); font-size: .92rem; }
.checkbox label a { text-decoration: underline; text-underline-offset: 3px; }
.checkbox input {
  -webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid rgba(27,22,18,0.3); border-radius: 6px; background: var(--white); cursor: pointer;
  display: inline-grid; place-items: center; transition: background .2s ease, border-color .2s ease;
}
.checkbox input::after { content: ""; width: 6px; height: 11px; border: solid var(--espresso); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease-out); margin-top: -2px; }
.checkbox input:checked { background: var(--sand-deep); border-color: var(--sand-deep); }
.checkbox input:checked::after { transform: rotate(45deg) scale(1); }
.checkbox.is-invalid input { border-color: #b3261e; }
.form .btn[type="submit"] { margin-top: 18px; }

.form__step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.form__step legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px;
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--espresso);
}
.form__step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--espresso); color: var(--sand-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .85rem; font-weight: 700;
}

.course-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; border-radius: var(--radius); }
.course-pick.is-invalid { box-shadow: 0 0 0 2px rgba(179,38,30,0.35); padding: 6px; }
.course-option { position: relative; display: block; cursor: pointer; }
.course-option input { position: absolute; opacity: 0; pointer-events: none; }
.course-option__card {
  position: relative; display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 16px 16px 14px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--line);
  transition: border-color .2s ease, box-shadow .25s ease, transform .3s var(--ease-out), background .2s ease;
}
.course-option__card strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--espresso); line-height: 1.15; padding-right: 26px; }
.course-option__card small { font-size: .76rem; color: var(--mocha); letter-spacing: .02em; }
.course-option__price { margin-top: auto; padding-top: 10px; font-family: var(--serif); font-size: 1.4rem; color: var(--espresso); display: flex; align-items: baseline; gap: 5px; }
.course-option__price small { font-family: var(--sans); }
.course-option__price svg.icon { color: var(--sand-deep); }
.course-option__flag {
  position: absolute; top: -9px; left: 14px; font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; background: var(--sand-deep); color: var(--espresso); padding: 3px 9px; border-radius: 999px;
}
.course-option__check {
  position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; color: transparent; transition: all .25s var(--ease-out);
}
.course-option:hover .course-option__card { border-color: rgba(201,168,118,0.7); transform: translateY(-2px); }
.course-option input:checked + .course-option__card { border-color: var(--sand-deep); background: #FFFDF8; box-shadow: 0 0 0 3px rgba(201,168,118,0.22), var(--shadow); }
.course-option input:checked + .course-option__card .course-option__check { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--espresso); transform: scale(1.1); }
.course-option input:focus-visible + .course-option__card { outline: 2px solid var(--sand-deep); outline-offset: 2px; }
.course-option--advice .course-option__card { background: transparent; border-style: dashed; }

.cohort-pick { margin-top: 18px; padding: 18px; border-radius: 14px; background: rgba(201,168,118,0.1); border: 1px solid rgba(201,168,118,0.3); animation: fadeSlide .45s var(--ease-out); }
.cohort-pick__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; color: var(--espresso); font-size: .92rem; }
.cohort-pick__label svg.icon { color: var(--sand-deep); }
.cohort-pick__label small { font-weight: 400; color: var(--mocha); }
.cohort-pick__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cohort-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s ease; }
.cohort-option:hover { border-color: var(--sand-deep); }
.cohort-option input { margin-top: 4px; accent-color: var(--espresso); }
.cohort-option span { display: flex; flex-direction: column; line-height: 1.3; }
.cohort-option strong { font-size: .92rem; color: var(--espresso); }
.cohort-option small { font-size: .8rem; color: var(--mocha); }
.cohort-option.is-full { opacity: .5; cursor: not-allowed; }
.cohort-option:has(input:checked) { border-color: var(--sand-deep); box-shadow: 0 0 0 3px rgba(201,168,118,0.2); }
[data-show-for] { animation: fadeSlide .4s var(--ease-out); margin-top: 16px; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } }

.apply-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.apply-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1080px) { .apply-grid { grid-template-columns: 1fr; } .apply-aside { position: static; } }
.summary-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--espresso); color: var(--cream-soft); box-shadow: var(--shadow); }
.summary-card__img { height: 140px; background-size: cover; background-position: center; position: relative; }
.summary-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--espresso)); }
.summary-card__body { padding: 0 26px 24px; margin-top: -18px; position: relative; }
.summary-card .eyebrow { color: var(--sand-deep); margin-bottom: .6rem; }
.summary-card .eyebrow::before { background: var(--sand-deep); }
.summary-card h4 { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 1.8rem; font-weight: 600; color: var(--cream-soft); margin: 0 0 12px; }
.summary-card ul { list-style: none; padding: 0; margin: 0; }
.summary-card li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: .9rem; color: rgba(250,245,236,0.72); }
.summary-card li strong { color: var(--cream-soft); }
.summary-card__wait { margin: 12px 0 0; font-size: .85rem; color: var(--sand-deep); }
.summary-card.is-changing { animation: summaryPop .5s var(--ease-out); }
@keyframes summaryPop { 0% { transform: scale(.985); opacity: .6; } 100% { transform: none; opacity: 1; } }
.mini-steps { padding-left: 0; margin: 14px 0 0; list-style: none; counter-reset: s; font-family: var(--sans); font-size: .95rem; color: var(--mocha); line-height: 1.6; }
.mini-steps li { counter-increment: s; position: relative; padding: 7px 0 7px 36px; }
.mini-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700;
}
.mini-steps--center { max-width: 420px; margin: 24px auto 30px; text-align: left; }
.checklist--sm { margin-top: 14px; font-size: .92rem; }

/* success state */
.form-success { text-align: center; padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.form-success.is-static { background: var(--cream-soft); border-radius: var(--radius-lg); border: 1px solid var(--line-soft); }
.form-success__check {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--sand-deep); color: var(--espresso); font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  animation: successPop .7s var(--ease-out) both;
  box-shadow: 0 0 0 10px rgba(201,168,118,0.18), 0 0 0 22px rgba(201,168,118,0.08);
}
@keyframes successPop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.form-success h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-success .lead { margin: 0 auto; }
.form.is-sent > :not(.form-success) { display: none; }
.form .form-success { animation: fadeSlide .6s var(--ease-out); }
.thanks { min-height: 60vh; display: grid; align-items: center; }
.thanks .form-success { max-width: 720px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; font-size: .92rem; }
.footer__logo { display: inline-block; }
.footer__logo img { width: 230px; height: auto; transition: opacity .3s ease; }
.footer__logo:hover img { opacity: .85; }
.site-footer .brand { gap: 16px; }
.site-footer a { position: relative; }
.footer__bottom a { color: rgba(250,245,236,0.7); }
.socials svg.icon { font-size: 1rem; }
.socials a { transition: background .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--ease-out); }
.socials a:hover { transform: translateY(-3px); }

/* ---------- WhatsApp float ---------- */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: waRing 3.2s ease-out 2s infinite; pointer-events: none;
}
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  white-space: nowrap; background: var(--espresso); color: var(--cream-soft);
  padding: 9px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .45s var(--ease-out);
  box-shadow: var(--shadow);
}
.wa-float.show-tip .wa-float__tip, .wa-float:hover .wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Error / misc pages ---------- */
.error-page { min-height: 70vh; display: grid; align-items: center; }
.error-page__code { font-family: var(--serif); font-size: clamp(7rem, 22vw, 14rem); line-height: .9; color: var(--sand-deep); font-style: italic; }
.error-page h1 { max-width: 18ch; margin: 0 auto 18px; }
.error-page .btn-row { justify-content: center; margin-top: 28px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose p, .prose li { color: var(--coffee); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reduced motion: keep it calm ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.intro-force) *, html:not(.intro-force) *::before, html:not(.intro-force) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in, .stagger > li { opacity: 1 !important; transform: none !important; }
  .reveal-clip::after { display: none !important; }
  .split-words .w > span { transform: none !important; }
  [data-parallax] > img { transform: scale(1.02) !important; }
  .marquee__track { animation: none !important; }
}

/* featured (dark) program card: readable meta values + subline (was dark-on-dark in v1) */
.program--featured .program__meta li strong { color: var(--cream-soft); }
.program--featured .program__price small { color: rgba(250,245,236,0.6); }
.program--featured .program__meta li { border-color: rgba(255,255,255,0.1); }

/* =========================================================
   HERO INTRO — the razor opens into an "F", slides left and
   pulls "RESH" out of the blade, then makes room for the hero.
   Plays once per visit (see site.js); hidden without JS.
   ========================================================= */
.hero-intro { display: none; }
.intro-on .hero-intro {
  display: grid; place-items: center;
  position: absolute; inset: 0; z-index: 3;
  background: rgba(12, 9, 7, 0.62);
  cursor: pointer;
  animation: introOverlayOut .45s var(--ease-in-out) 1.85s forwards;
}
.intro-on .hero__scroll { opacity: 0; transition: opacity .6s ease; }
.hero-intro__logo {
  width: min(78vw, 760px); height: auto; overflow: visible;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
  animation: introLogoOut .45s cubic-bezier(.7,0,.84,0) 1.75s forwards;
}
.hero-intro__skip {
  position: absolute; right: clamp(18px, 3vw, 36px); bottom: clamp(70px, 9vh, 96px);
  color: rgba(250,245,236,.55); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; animation: fadeIn .3s ease .6s forwards;
}
.hero-intro__skip::after { content: " →"; }

/* parts */
.il-handle, .il-blade-body, .il-tang, .il-bar, .il-l { fill: var(--cream-soft); }
.il-s { fill: var(--sand-deep); }

.il-mark { transform-box: fill-box; transform-origin: 50% 50%; animation: ilMarkIn .35s var(--ease-out) .03s both; }
/* the blade pivots on the ring at the top of the handle (x 168.5, y 312.5 in the logo's coordinates) */
.il-blade { transform-box: view-box; transform-origin: 168.5px 312.5px; animation: ilBladeOpen .55s cubic-bezier(.34,1.32,.52,1) .25s both; }
.il-glint { animation: ilGlint .4s ease-in-out .65s both; }
.il-bar { transform-box: fill-box; transform-origin: 0 50%; animation: ilBarIn .25s var(--ease-out) .7s both; }
/* the F starts big and centred, then shrinks into place while sliding left (origin = centre of the F) */
.il-word { transform-box: view-box; transform-origin: 329px 434px; animation: ilSlide .6s cubic-bezier(.65,0,.25,1) .85s both; }
.il-l { animation: ilPull .55s cubic-bezier(.22,.9,.3,1) .9s both; }
.il-s { transform-box: fill-box; animation: ilSubIn .3s var(--ease-out) both; animation-delay: calc(1.25s + var(--i) * 18ms); }

@keyframes ilMarkIn { from { opacity: 0; transform: translateY(28px) scale(.92); } }
@keyframes ilBladeOpen { from { transform: rotate(83.4deg); } }
@keyframes ilGlint { from { transform: translateX(0); opacity: 1; } to { transform: translateX(960px); opacity: 1; } }
@keyframes ilBarIn { from { opacity: 0; transform: translateX(-70px) scaleX(.3); } }
@keyframes ilSlide { from { transform: translateX(877px) scale(1.6); } }
@keyframes ilPull { from { transform: translateX(var(--dx)); } }
@keyframes ilSubIn { from { opacity: 0; transform: translateY(40px); } }
@keyframes introLogoOut { to { opacity: 0; transform: translateY(-36px) scale(.94); filter: blur(10px) drop-shadow(0 18px 40px rgba(0,0,0,0)); } }
@keyframes introOverlayOut { to { background: rgba(12, 9, 7, 0); visibility: hidden; } }
@keyframes fadeIn { to { opacity: 1; } }

/* skipped (click / key / scroll): fade out quickly from wherever it is */
.intro-skip .hero-intro { animation: introOverlayOut .3s ease forwards; }
.intro-skip .hero-intro__logo { animation: introLogoOut .25s ease forwards; }
