/* ==========================================================================
   WeePrep — styles.css
   Core design system: tokens, base, typography, layout & components.
   Brand: Preparing Minds. Building Futures.
   Written in vanilla CSS3. No frameworks.
   Structure:
     1.  Design tokens (CSS variables)
     2.  Reset & base
     3.  Typography
     4.  Layout helpers (container, grid, section rhythm)
     5.  Utilities (eyebrow, badges, dividers)
     6.  Buttons
     7.  Header / navigation / dropdowns
     8.  Announcement bar
     9.  Hero
     10. Cards (learning areas, programmes, feature, people)
     11. Featured programme block
     12. Process (Understand → Reflect)
     13. Stats / trust strip
     14. Accordion (FAQ)
     15. Testimonials
     16. Forms
     17. Tables (fees)
     18. Footer
     19. Scroll-to-top, misc
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* 1. DESIGN TOKENS                                                    */
/* ------------------------------------------------------------------ */
:root {
  /* Brand palette (official) */
  --weeprep-green-dark: #07552F;
  --weeprep-green: #08763D;
  --weeprep-green-light: #159447;
  --weeprep-orange: #F15A24;
  --weeprep-orange-dark: #D9470F;
  --weeprep-yellow: #F6C515;
  --weeprep-charcoal: #151515;
  --weeprep-white: #FFFFFF;
  --weeprep-off-white: #FAFAF6;
  --weeprep-soft-green: #EDF6F0;
  --weeprep-light-grey: #F1F3F2;
  --weeprep-border: #DDE5DF;

  /* Text */
  --ink: var(--weeprep-charcoal);
  --ink-soft: #44504A;
  --ink-muted: #6A756F;
  --on-dark: #F3F7F4;
  --on-dark-muted: #C4D6CB;

  /* Surfaces */
  --surface: var(--weeprep-white);
  --surface-alt: var(--weeprep-off-white);
  --surface-soft: var(--weeprep-soft-green);

  /* Typography */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Fluid type scale (clamp) */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.32rem + 0.66vw, 1.9rem);
  --step-3:  clamp(1.75rem, 1.55rem + 1vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.78rem + 1.6vw, 3.3rem);
  --step-5:  clamp(2.55rem, 2rem + 2.6vw, 4.2rem);

  /* Spacing scale */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: clamp(3.5rem, 2.6rem + 4vw, 6.5rem); /* section rhythm */

  /* Radius */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows (restrained) */
  --shadow-xs: 0 1px 2px rgba(7, 85, 47, 0.06);
  --shadow-sm: 0 4px 14px rgba(7, 85, 47, 0.07);
  --shadow-md: 0 14px 34px rgba(7, 85, 47, 0.10);
  --shadow-lg: 0 26px 60px rgba(7, 85, 47, 0.14);

  /* Layout */
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(1.1rem, 0.6rem + 2.5vw, 2.5rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.28s;

  /* Focus */
  --focus-ring: 3px solid var(--weeprep-orange);
}

/* ------------------------------------------------------------------ */
/* 2. RESET & BASE                                                     */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* The `hidden` attribute must always win, even against author `display`
   rules (e.g. `.card { display: flex }`). JS relies on toggling `hidden`
   for filtering, form panels and the announcement bar. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; height: auto; }
img { background: var(--weeprep-light-grey); } /* graceful fallback tone while loading */
svg { background: none; }

a { color: var(--weeprep-green); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--weeprep-green-dark); }

ul, ol { padding-left: 1.15rem; }
li { margin-bottom: 0.35rem; }

button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* Accessibility: visible focus for keyboard users */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 1000;
  background: var(--weeprep-green-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/* 3. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--weeprep-green-dark);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.06em; }

p { max-width: 68ch; }
.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
}

strong { font-weight: 700; color: var(--weeprep-green-dark); }
mark { background: rgba(246, 197, 21, 0.4); color: inherit; padding: 0 0.15em; border-radius: 3px; }

/* ------------------------------------------------------------------ */
/* 4. LAYOUT HELPERS                                                   */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-2xl); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--alt { background: var(--surface-alt); }
.section--soft { background: var(--surface-soft); }
.section--grey { background: var(--weeprep-light-grey); }

.section-head { max-width: 60ch; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); margin-top: 0.6rem; }
.section-head--center p { margin-inline: auto; }

.grid { display: grid; gap: var(--space-md); }
.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-auto {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.grid-auto-lg {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--media-first .split__media { order: -1; }

.stack > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-md); }

.center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.cluster--md { gap: var(--space-sm); }

/* ------------------------------------------------------------------ */
/* 5. UTILITIES — eyebrow, badges, dividers                            */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--weeprep-green-light);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--weeprep-orange);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--on-dark { color: var(--weeprep-yellow); }
.eyebrow--on-dark::before { background: var(--weeprep-yellow); }

/* status badge — never colour-only, always has text */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--weeprep-border);
  background: var(--surface);
  color: var(--ink-soft);
  line-height: 1.35;
  max-width: 100%;
}
.badge::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
/* Pills shrink-wrap inside column-flex cards instead of stretching */
.la-card > .badge, .card__body > .badge { align-self: flex-start; }
.badge--open     { color: var(--weeprep-green);       border-color: rgba(8,118,61,0.3);   background: var(--weeprep-soft-green); }
.badge--enrolling{ color: var(--weeprep-orange-dark); border-color: rgba(217,71,15,0.3);  background: #FDECE4; }
.badge--soon     { color: #8A6D00;                    border-color: rgba(246,197,21,0.45);background: #FDF7DC; }
.badge--planned  { color: var(--ink-muted);           border-color: var(--weeprep-border);background: var(--weeprep-light-grey); }
.badge--closed   { color: #8A2B12;                    border-color: rgba(138,43,18,0.25); background: #F7E9E4; }
.badge--waitlist { color: var(--weeprep-green-dark);  border-color: rgba(7,85,47,0.25);   background: var(--weeprep-soft-green); }

.divider { height: 1px; background: var(--weeprep-border); border: 0; margin-block: var(--space-lg); }

.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li {
  margin: 0;
  background: var(--surface-soft);
  border: 1px solid var(--weeprep-border);
  color: var(--weeprep-green-dark);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
}

/* Feature list with tick markers (meaning conveyed by text, tick is decorative) */
.tick-list { list-style: none; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.35em;
  width: 1.15rem; height: 1.15rem;
  background: var(--weeprep-green-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ------------------------------------------------------------------ */
/* 6. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  min-height: 48px; /* touch target */
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--weeprep-orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--weeprep-orange-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn--green { background: var(--weeprep-green); color: #fff; }
.btn--green:hover { background: var(--weeprep-green-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--weeprep-green-dark); border-color: var(--weeprep-border); }
.btn--ghost:hover { border-color: var(--weeprep-green); background: var(--surface-soft); color: var(--weeprep-green-dark); }

.btn--on-dark { background: #fff; color: var(--weeprep-green-dark); }
.btn--on-dark:hover { background: var(--weeprep-off-white); color: var(--weeprep-green-dark); }
.btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

.btn--whatsapp { background: #1FA855; color: #fff; }
.btn--whatsapp:hover { background: #178a45; color: #fff; }

.btn--sm { padding: 0.55rem 1rem; font-size: var(--step--1); min-height: 40px; }
.btn--block { display: flex; width: 100%; }
.btn--icon svg { width: 1.15em; height: 1.15em; }

/* ------------------------------------------------------------------ */
/* 7. HEADER / NAVIGATION                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--weeprep-border);
  transition: box-shadow var(--dur) var(--ease);
}
/* The header uses a wider container than page content: the 8-item primary
   nav plus CTA needs ~1190px, which the 1200px content container (minus
   gutters) cannot provide. */
.site-header .container { max-width: 1320px; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 42px; width: auto; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--weeprep-border);
  border-radius: 10px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  color: var(--weeprep-green-dark);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* On desktop the drawer wrapper generates no box — the menu behaves as a
   direct flex child of .nav. On mobile it becomes a viewport clip layer. */
.nav__drawer { display: contents; }

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0 auto 0 0.25rem;
  padding: 0;
}
.nav__menu li { margin: 0; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--weeprep-charcoal);
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  white-space: nowrap;
}
.nav__link:hover { background: var(--surface-soft); color: var(--weeprep-green-dark); }
.nav__link[aria-current="page"] { color: var(--weeprep-green); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block;
}
.nav__item--current > .nav__link { position: relative; }
.nav__item--current > .nav__link::before {
  content: "";
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.35rem;
  height: 2px; background: var(--weeprep-orange); border-radius: 2px;
}

/* Dropdowns */
.nav__item--has-dropdown { position: relative; }
.nav__dropdown-btn svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.nav__item--has-dropdown[data-open="true"] .nav__dropdown-btn svg { transform: rotate(180deg); }

.nav__dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item--has-dropdown[data-open="true"] .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown li { margin: 0; }
.nav__dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav__dropdown a:hover { background: var(--surface-soft); color: var(--weeprep-green-dark); }

.nav__cta { margin-left: 0.25rem; flex-shrink: 0; }

/* Mobile overlay */
.nav__overlay {
  position: fixed; inset: 0;
  background: rgba(7, 85, 47, 0.35);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  z-index: 90;
}
.nav__overlay.is-active { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ */
/* 8. ANNOUNCEMENT BAR                                                 */
/* ------------------------------------------------------------------ */
.announce {
  background: var(--weeprep-green-dark);
  color: var(--on-dark);
  font-size: var(--step--1);
}
.announce__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-block: 0.55rem;
  flex-wrap: wrap;
}
.announce__text { margin: 0; max-width: none; flex: 1 1 auto; }
.announce__text strong { color: var(--weeprep-yellow); }
.announce__actions { display: inline-flex; gap: 0.5rem; align-items: center; }
.announce__link {
  color: #fff; font-weight: 700; font-family: var(--font-display);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
.announce__link:hover { color: var(--weeprep-yellow); }
.announce__close {
  background: transparent; border: 0; color: var(--on-dark-muted);
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.announce__close:hover { color: #fff; background: rgba(255,255,255,0.12); }
.announce[hidden] { display: none; }

/* ------------------------------------------------------------------ */
/* 9. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--surface-alt);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem);
}
.hero__title { margin-bottom: 1.1rem; }
.hero__title .accent { color: var(--weeprep-orange); }
.hero__lead { font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Featured-programme inset card (distinguishes campaign from institution) */
.feature-card {
  background: #fff;
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.feature-card__label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--weeprep-green-light);
  margin-bottom: 0.4rem; display: block;
}
.feature-card__title { font-size: var(--step-1); margin-bottom: 0.3rem; }
.feature-card__meta { color: var(--ink-muted); font-size: var(--step--1); margin-bottom: 0.9rem; }
.hero .feature-card { position: absolute; right: -12px; bottom: -26px; max-width: 320px; }

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--weeprep-green-dark);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.28;
}
.page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,85,47,0.94) 0%, rgba(7,85,47,0.72) 55%, rgba(21,148,71,0.55) 100%);
}
.page-hero__inner {
  position: relative;
  padding-block: clamp(2.75rem, 2rem + 4vw, 4.75rem);
  max-width: 66ch;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark); font-size: var(--step-1); margin-top: 0.8rem; }
.page-hero .eyebrow { color: var(--weeprep-yellow); }
.page-hero .eyebrow::before { background: var(--weeprep-yellow); }

/* Breadcrumbs */
.breadcrumb { font-size: var(--step--1); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: inline-flex; gap: 0.4rem; align-items: center; color: var(--ink-muted); }
.breadcrumb li + li::before { content: "/"; color: var(--weeprep-border); }
.page-hero .breadcrumb li, .page-hero .breadcrumb a { color: var(--on-dark-muted); }
.page-hero .breadcrumb a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* 10. CARDS                                                           */
/* ------------------------------------------------------------------ */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(21,148,71,0.4); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card__eyebrow { font-size: var(--step--1); font-weight: 700; color: var(--weeprep-green-light); text-transform: uppercase; letter-spacing: 0.08em; }
.card__title { font-size: var(--step-1); }
.card__text { color: var(--ink-soft); font-size: var(--step-0); }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: var(--step--1); color: var(--ink-muted); }
.card__meta b { color: var(--ink-soft); font-weight: 700; }
.card__foot { margin-top: auto; padding-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.card__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Learning-area card (icon-led, no photo) */
.la-card {
  display: flex; flex-direction: column; gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height: 100%;
}
.la-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(21,148,71,0.4); }
.la-card__icon { width: 68px; height: 68px; border-radius: 16px; overflow: hidden; }
.la-card__icon img { width: 100%; height: 100%; }
.la-card__title { font-size: var(--step-1); margin-top: 0.2rem; }
.la-card__text { color: var(--ink-soft); font-size: var(--step-0); flex: 1; }

/* Value / trust card (icon + heading + text) */
.value-card {
  background: var(--surface);
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius);
  padding: 1.35rem;
  height: 100%;
}
.value-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-soft); color: var(--weeprep-green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.value-card p { color: var(--ink-soft); font-size: var(--step-0); }

/* Audience chip card */
.audience-card {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--surface); border: 1px solid var(--weeprep-border);
  border-radius: var(--radius-sm); padding: 0.9rem 1rem;
  font-family: var(--font-display); font-weight: 600; color: var(--weeprep-green-dark);
}
.audience-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--weeprep-green-light); flex-shrink: 0; }

/* ------------------------------------------------------------------ */
/* 11. FEATURED PROGRAMME BLOCK                                        */
/* ------------------------------------------------------------------ */
.featured {
  background: linear-gradient(160deg, var(--weeprep-green-dark), #063f24);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.featured__body { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.featured__body h2 { color: #fff; }
.featured__body h3 { color: var(--weeprep-yellow); font-size: var(--step-2); margin: 0.4rem 0 0.9rem; }
.featured__body p { color: var(--on-dark); }
.featured__facts { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; }
.featured__facts li { color: var(--on-dark); position: relative; padding-left: 1.6rem; font-size: var(--step--1); }
.featured__facts li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1rem; height: 1rem;
  background: var(--weeprep-yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.featured__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* Countdown */
.countdown { display: flex; gap: 0.7rem; margin: 1rem 0; flex-wrap: wrap; }
.countdown__unit {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 0.6rem 0.9rem; text-align: center; min-width: 68px;
}
.countdown__num { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: #fff; line-height: 1; }
.countdown__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-muted); }
.countdown__msg { font-weight: 700; color: var(--weeprep-yellow); font-family: var(--font-display); }

/* ------------------------------------------------------------------ */
/* 12. PROCESS (numbered — a true sequence)                            */
/* ------------------------------------------------------------------ */
.process { counter-reset: step; }
.process__step {
  background: var(--surface); border: 1px solid var(--weeprep-border);
  border-radius: var(--radius); padding: 1.4rem; height: 100%;
  position: relative;
}
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-2);
  color: var(--weeprep-yellow); display: block; margin-bottom: 0.5rem;
  -webkit-text-stroke: 1px var(--weeprep-orange);
}
.process__step h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.process__step p { color: var(--ink-soft); font-size: var(--step-0); }

/* ------------------------------------------------------------------ */
/* 13. STATS / TRUST STRIP                                             */
/* ------------------------------------------------------------------ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.trust-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.trust-item__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-soft); color: var(--weeprep-green);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-item__icon svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: var(--step-0); margin-bottom: 0.15rem; }
.trust-item p { font-size: var(--step--1); color: var(--ink-muted); }

/* ------------------------------------------------------------------ */
/* 14. ACCORDION (FAQ)                                                 */
/* ------------------------------------------------------------------ */
.accordion { border: 1px solid var(--weeprep-border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.accordion__item + .accordion__item { border-top: 1px solid var(--weeprep-border); }
.accordion__trigger {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); color: var(--weeprep-green-dark);
}
.accordion__trigger:hover { background: var(--surface-soft); }
.accordion__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; background: var(--weeprep-orange); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after { width: 2px; height: 14px; transition: transform var(--dur) var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion__panel { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.accordion__panel-inner { padding-bottom: 1.2rem; color: var(--ink-soft); }
.accordion__panel-inner p { max-width: none; }
/* No-JS fallback: panels open */
.no-js .accordion__panel { max-height: none; }

/* ------------------------------------------------------------------ */
/* 15. TESTIMONIALS                                                    */
/* ------------------------------------------------------------------ */
.quote-card {
  background: var(--surface); border: 1px solid var(--weeprep-border);
  border-radius: var(--radius); padding: 1.6rem; height: 100%;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.quote-card__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--weeprep-yellow); }
.quote-card blockquote { margin: 0; font-size: var(--step-1); color: var(--ink-soft); font-style: italic; }
.quote-card figcaption { margin-top: auto; font-weight: 700; color: var(--weeprep-green-dark); font-family: var(--font-display); font-size: var(--step--1); }
.placeholder-note {
  font-size: var(--step--1); color: var(--ink-muted); font-style: italic;
  background: var(--weeprep-light-grey); border: 1px dashed var(--weeprep-border);
  border-radius: 8px; padding: 0.5rem 0.75rem; display: inline-block;
}

/* ------------------------------------------------------------------ */
/* 16. FORMS                                                           */
/* ------------------------------------------------------------------ */
.form { background: var(--surface); border: 1px solid var(--weeprep-border); border-radius: var(--radius-lg); padding: clamp(1.35rem, 1rem + 2vw, 2.5rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field > label { font-family: var(--font-display); font-weight: 600; color: var(--weeprep-green-dark); font-size: var(--step--1); }
.field .req { color: var(--weeprep-orange-dark); }
.field .hint { font-size: 0.8rem; color: var(--ink-muted); }
.input, .select, .textarea {
  width: 100%;
  background: var(--surface-alt);
  border: 1.5px solid var(--weeprep-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  min-height: 46px;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--weeprep-green-light); background: #fff;
  box-shadow: 0 0 0 3px rgba(21,148,71,0.15);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--weeprep-orange-dark); box-shadow: 0 0 0 3px rgba(217,71,15,0.14);
}
.fieldset { border: 1px solid var(--weeprep-border); border-radius: var(--radius); padding: 1.2rem; grid-column: 1 / -1; }
.fieldset legend { font-family: var(--font-display); font-weight: 700; color: var(--weeprep-green-dark); padding: 0 0.5rem; font-size: var(--step-1); }
.check { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.7rem; }
.check input { width: 20px; height: 20px; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--weeprep-green); }
.check label { font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.field__error { color: var(--weeprep-orange-dark); font-size: 0.82rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }

.error-summary {
  border: 2px solid var(--weeprep-orange-dark); background: #FDECE4;
  border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: var(--space-md);
}
.error-summary h2 { color: var(--weeprep-orange-dark); font-size: var(--step-1); }
.error-summary ul { margin: 0.5rem 0 0; }
.error-summary a { color: var(--weeprep-orange-dark); font-weight: 700; }
.error-summary[hidden] { display: none; }

.form-note {
  font-size: var(--step--1); color: var(--ink-muted);
  background: var(--weeprep-light-grey); border-radius: 10px; padding: 0.75rem 1rem;
  border-left: 3px solid var(--weeprep-yellow);
}
.form-success {
  background: var(--surface-soft); border: 1px solid rgba(8,118,61,0.3);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--weeprep-green-dark);
}
.form-success[hidden] { display: none; }

/* ------------------------------------------------------------------ */
/* 17. FEE TABLE                                                       */
/* ------------------------------------------------------------------ */
.fee-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--weeprep-border); border-radius: var(--radius); overflow: hidden; }
.fee-table caption { text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--weeprep-green-dark); padding: 0.75rem 1rem; font-size: var(--step-1); }
.fee-table th, .fee-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--weeprep-border); font-size: var(--step-0); }
.fee-table thead th { background: var(--weeprep-green-dark); color: #fff; font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.05em; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.fee-table .price { font-family: var(--font-display); font-weight: 700; color: var(--weeprep-green-dark); white-space: nowrap; }
.fee-table .price--early { color: var(--weeprep-orange-dark); }

/* ------------------------------------------------------------------ */
/* 18. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--weeprep-green-dark); color: var(--on-dark); padding-top: var(--space-2xl); margin-top: var(--space-2xl); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-lg); }
.footer__brand img { height: 44px; margin-bottom: 1rem; }
.footer__tagline { font-family: var(--font-display); font-weight: 700; color: var(--weeprep-yellow); margin-bottom: 0.6rem; }
.footer__desc { color: var(--on-dark-muted); font-size: var(--step--1); max-width: 40ch; }
.footer__col h4 { color: #fff; font-size: var(--step-0); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.9rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 0.5rem; }
.footer__contact address { font-style: normal; color: var(--on-dark-muted); font-size: var(--step--1); line-height: 1.7; }
.footer__contact a { display: inline-block; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark-muted);
}
.footer__social a:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: var(--space-lg); padding-block: var(--space-md);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: var(--step--1); color: var(--on-dark-muted);
}
.footer__bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* 19. SCROLL-TOP & MISC                                               */
/* ------------------------------------------------------------------ */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--weeprep-green); color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur), background var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--weeprep-green-dark); }
.to-top svg { width: 22px; height: 22px; }

.whatsapp-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; background: #1FA855; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), background var(--dur);
}
.whatsapp-float:hover { transform: scale(1.06); background: #178a45; color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Filters bar */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem 0.5rem; align-items: center; }
.filter-chip {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step--1);
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--weeprep-border); background: var(--surface); color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
}
.filter-chip:hover { border-color: var(--weeprep-green-light); color: var(--weeprep-green-dark); }
.filter-chip[aria-pressed="true"] { background: var(--weeprep-green); border-color: var(--weeprep-green); color: #fff; }
.search-field { position: relative; flex: 1 1 240px; min-width: 200px; }
.search-field input { padding-left: 2.6rem; }
.search-field svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-muted); }

.results-count { font-size: var(--step--1); color: var(--ink-muted); }
.no-results { text-align: center; padding: var(--space-xl) 0; color: var(--ink-muted); }
.no-results[hidden] { display: none; }

/* Modal (portfolio case study) */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,85,47,0.5); }
.modal__dialog {
  position: relative; background: #fff; max-width: 720px; width: calc(100% - 2rem);
  margin: 6vh auto; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute; right: 1rem; top: 1rem; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--weeprep-border); background: var(--surface-alt); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--weeprep-light-grey); }

/* Portfolio card */
.portfolio-card { cursor: pointer; text-align: left; width: 100%; background: none; border: 0; padding: 0; }

/* Info panel */
.info-panel {
  background: var(--surface-soft); border: 1px solid rgba(8,118,61,0.25);
  border-radius: var(--radius); padding: 1.3rem 1.5rem;
}
.info-panel--yellow { background: #FDF7DC; border-color: rgba(246,197,21,0.5); }
.info-panel h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }

/* Prose blocks */
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.3rem; }

/* ==========================================================================
   V2 ADDITIONS — registration steps, sticky CTA, map embed, form alerts
   ========================================================================== */

/* --- Two-step progress indicator --- */
.steps {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: none;
}
.steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .8rem;
  border: 1px solid var(--weeprep-border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--weeprep-soft-green);
  color: var(--weeprep-green);
  font-weight: 700;
}
.steps__item[aria-current="step"],
.steps__item--active {
  border-color: var(--weeprep-green);
  color: var(--weeprep-green);
  background: var(--weeprep-soft-green);
}
.steps__item[aria-current="step"] .steps__num,
.steps__item--active .steps__num {
  background: var(--weeprep-green);
  color: #fff;
}
.steps__item--done .steps__num { background: var(--weeprep-green-light); color: #fff; }

.form-step__nav { display: flex; gap: .6rem; flex-wrap: wrap; }
.fieldset__optional { font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }

/* --- Honeypot: visually removed, still in the DOM for bots --- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Inline submission alert --- */
.form-alert {
  border: 1px solid #E4B7B2;
  background: #FBF1F0;
  color: #7A2E28;
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin: .75rem 0;
}
.form-alert a { color: inherit; font-weight: 600; }

/* --- Registration reference in the confirmation panel --- */
.ref-code span {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--step-2);
  letter-spacing: .04em;
  color: var(--weeprep-green);
  background: var(--weeprep-soft-green);
  border: 1px dashed var(--weeprep-green-light);
  border-radius: var(--radius);
  padding: .2rem .7rem;
  margin-left: .35rem;
}

/* --- Keyless map embed --- */
.map-embed {
  border-radius: var(--radius-lg);
  border: 1px solid var(--weeprep-border);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Compact outcome lists inside track cards --- */
.tick-list--compact li { font-size: var(--step--1); padding-block: .15rem; }

/* --- Sticky mobile CTA bar (Summer page) --- */
.sticky-cta {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  gap: .5rem;
  padding: .55rem max(.75rem, env(safe-area-inset-left)) calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--weeprep-border);
  box-shadow: 0 -6px 18px rgba(7, 85, 47, .10);
}
.sticky-cta .btn { flex: 1; white-space: nowrap; padding-inline: .6rem; }

@media print {
  .sticky-cta, .steps, .form-alert { display: none !important; }
  .form-success { border: 1px solid #999; }
}
