/* ==========================================================================
   Language Flow — Design System
   Palette:  Blue #338aff · Navy #32487b · White #FFFFFF · Ink #1A1A1A
   Type:     Poppins (all weights — display, body, labels)
   ========================================================================== */

:root {
  --delft: #338aff;          /* primary bright blue — links, badges */
  --delft-dark: #32487b;     /* dark navy — headings, footer, dark sections */
  --porcelain: #FFFFFF;      /* page background — clean white */
  --porcelain-dim: #F0F4F9;  /* subtle alternate-section & input background */
  --ochre: #338aff;          /* CTA buttons — same primary blue */
  --ochre-light: #66aaff;    /* button hover / lighter blue */
  --ink: #243954;            /* body text */
  --ink-soft: #243954;       /* secondary text */
  --line: #E0E4EA;           /* borders / dividers */
  --white: #FFFFFF;

  --font-display: "Poppins", -apple-system, sans-serif;
  --font-body:    "Poppins", -apple-system, sans-serif;
  --font-mono:    "Poppins", -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 8px 30px rgba(51, 138, 255, 0.09);
  --container: 1180px;
}

* { box-sizing: border-box; }
strong, b { font-family: 'Poppins', sans-serif; font-weight: 500; color: #32487b; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--porcelain);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--delft-dark);
}

h1 { font-size: clamp(2.0rem, 4vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.05rem; font-weight: 500; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--delft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 1.0rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  display: inline-block;
  margin-bottom: 0.9em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav (two-row) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(50, 72, 123, 0.08);
}

/* Row 1 — logo + language flags */
.nav-top {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.nav-top-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 123px;
  width: auto;
  display: block;
  margin: -32px 0 0 0;
}

/* Flag language-switcher buttons */
.nav-flags {
  display: flex;
  align-items: center;
  gap: 2px;
}
.flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #7a8fab;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1;
}
.flag-btn:hover { color: #32487b; border-bottom-color: #b0bdd4; box-shadow: none; background: transparent; }
.flag-btn.is-active { color: #FF751F; font-weight: 600; border-bottom-color: #FF751F; background: transparent; box-shadow: none; }

/* Page scroll arrows */
.nav-scroll-btns {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.nav-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #7a8fab;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
  padding: 0;
}
.nav-scroll-btn:hover {
  color: #32487b;
  background: transparent;
}
@media (max-width: 860px) {
  .nav-scroll-btns { margin-left: 8px; padding-left: 8px; }
  .nav-scroll-btn  { width: 24px; height: 24px; font-size: 0.76rem; }
}

/* Row 2 — navigation links (matches original languageflow.nl style) */
.nav {
  position: relative;
  display: flex;
  align-items: stretch;          /* items fill full bar height for underline effect */
  justify-content: center;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
  height: 54px;
  border-bottom: 1px solid var(--line);
}
.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-right: 220px; /* reserve space for absolutely-positioned .nav-right button */
}
.nav-links > li {
  display: flex;
  align-items: stretch;
}

/* Top-level nav links only — NOT dropdown items */
.nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
  color: #243954;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;              /* Poppins Medium */
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-top: 3px solid transparent;
  border-bottom: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-links > li > a:hover {
  color: var(--delft);
  border-top-color: #F4F4F9;
}
.nav-links > li > a.nav-active {
  color: #338aff;
  border-top-color: transparent;
  border-bottom: 2px solid #b0b8c8;
}

/* ── Niveautest highlight link ── */
.nav-links > li > a.nav-test-link {
  color: #FF751F;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  animation: nav-test-pulse 2.2s ease-in-out infinite;
}
.nav-links > li > a.nav-test-link:hover {
  color: #e8640a;
  border-top-color: #FF751F;
}
@keyframes nav-test-pulse {
  0%, 100% { color: #FF751F; text-shadow: none; }
  50%       { color: #ff9a55; text-shadow: 0 0 10px rgba(255,117,31,0.45); }
}

/* CTA + hamburger pinned to the right */
.nav-right {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: rgba(255, 117, 31, 0.85); color: var(--white); box-shadow: 0 6px 20px rgba(255, 117, 31, 0.25); }
.btn-primary:hover { transform: translateY(-2px); background: rgba(255, 117, 31, 0.95); box-shadow: 0 10px 26px rgba(255, 117, 31, 0.35); }
.btn-ghost { background: transparent; color: var(--delft-dark); border: none; }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(50,72,123,0.20); }
.btn-sm { padding: 7px 13px; font-size: 0.7rem; justify-content: center; text-align: center; line-height: 1.3; }
.nav-right .btn-sm { font-size: 0.82rem; padding: 10px 22px; }

/* ---------- Hero ---------- */
/* Light version used by inner pages */
.hero {
  position: relative;
  padding: 60px 24px 40px;
  overflow: hidden;
}

/* Dark home-page hero */
.hero--dark {
  background: var(--delft-dark);   /* fallback if video fails to load */
  padding: 0;
  position: relative;
  overflow: visible;
  min-height: 408px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Looping background video (two elements crossfade for seamless loop) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  clip-path: inset(0);
}

/* Light blue overlay */
.hero--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 53, 0.72);
  z-index: 1;
}

/* Sunray effect — soft, blurred rays from top centre */
.hero--dark::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: repeating-conic-gradient(
    from 0deg at 50% 5%,
    rgba(255, 235, 150, 0.07) 0deg 12deg,
    transparent 12deg 30deg
  );
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(18px);
  animation: sunrays-pulse 8s ease-in-out infinite;
}

@keyframes sunrays-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Hero content sits above video + overlay + sunrays */
.hero--dark .hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0px 24px 4px;
  width: 100%;
  max-width: 720px;
  grid-template-columns: unset; /* override base grid */
}

/* Bottom bar: description + social icons on one line */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8%;
  background: rgba(20, 38, 70, 0.45);
  backdrop-filter: blur(4px);
}
.hero-bottom-bar .hero-description {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.hero-social {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-shrink: 0;
}
.hero-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.hero-social-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.hero--dark .hero-social-btn img {
  filter: hue-rotate(178deg) saturate(1.44) brightness(1.05);
}
.hero-social-btn:hover {
  transform: scale(1.12);
  opacity: 0.88;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.3em; }
.hero--dark h1 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 2.2rem); font-weight: 500; margin-bottom: 2rem; margin-top: -12px; }
.hero-sub { font-size: 1.08rem; max-width: 46ch; }
.hero--dark .hero-sub { color: rgba(255,255,255,0.82); transition: opacity 0.4s ease; }
.hero--dark .hero-description { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Language picker form inside dark hero */
.hero-lang-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  margin: 22px 0 16px;
  flex-wrap: wrap;
}
.hero-select {
  height: 48px;
  padding: 0 40px 0 16px;    /* room for the chevron on the right */
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  min-width: 160px;
  cursor: pointer;
  appearance: auto;           /* keep native chevron */
  -webkit-appearance: auto;
}
.hero-select option { background: #ffffff; color: #2d2d2d; }

/* Custom hero language dropdown */
.hero-custom-select {
  position: relative;
  height: 48px;
  min-width: 140px;
  z-index: 1000;
}
.hero-select-trigger {
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  user-select: none;
  transition: border-color 0.2s;
}
.hero-select-trigger:hover { border-color: rgba(255,255,255,0.70); }
.hero-select-dropdown {
  display: none;
  position: fixed;
  background: rgba(30,50,90,0.60);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 10px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 99999;
  overflow: hidden;
  min-width: 140px;
}
.hero-select-dropdown.is-open { display: block; }
.hero-select-dropdown li {
  padding: 8px 16px;
  color: #ffffff;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 0.15s;
}
.hero-select-dropdown li:hover {
  background: rgba(255,255,255,0.40);
}
.hero-select-dropdown li.is-selected {
  background: rgba(255,255,255,0.20);
}

.btn-bekijk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF9A4D 0%, #FF751F 50%, #e85d00 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 18px rgba(255, 117, 31, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-bekijk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 117, 31, 0.65), inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Illustration / image side of dark hero */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cap {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.35));
}

/* wave divider (kept for any future use) */
.flow-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Signature flow-wave divider used between sections */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: #fff;
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.06);
  padding: 16px 0;
}
.trust-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}
.trust-row strong { color: #32487b; font-size: 0.85rem; font-family: var(--font-display); font-weight: 500; display: block; letter-spacing: 0; text-transform: none; }
.trust-row > div {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: #243954;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 0 12px;
  cursor: default;
  transition: transform 0.18s ease, color 0.18s ease;
}
.trust-row > div:hover {
  transform: translateY(-2px);
  color: #475569;
}
.trust-row > div:hover strong {
  color: #338aff;
}
.trust-row > div:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

/* ---------- Section generic ---------- */
.section { padding: 48px 0 53px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-alt { background: var(--white); }


/* ---------- Cards (why us) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(51,138,255,0.13);
  border-color: #c5d8ff;
}
.card .icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.card-icon-img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.88rem; }
.card p + p { margin-top: 0.75em; }

/* ---------- Course finder (Taaltrainingen page) ---------- */
.finder-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 40px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--porcelain);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}
.finder-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* ── Course grid: 3 columns ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Vertical course card ── */
.course-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(50,72,123,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(50,72,123,0.14); }

/* Badge pills */
.course-card-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.course-badge {
  font-size: 0.71rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 100px;
  line-height: 1;
}
.course-badge--lang  { background: #111c35; color: #fff; }
.course-badge--level { background: transparent; border: 1.5px solid #bcc8dc; color: #32487b; }
.course-badge--avail { background: #f0f4f9; color: #5a6e8a; }

/* Title + tagline */
.course-card-title {
  font-size: 1.12rem !important;
  font-weight: 500;
  color: #32487b;
  margin: 0 0 8px !important;
  line-height: 1.35;
}
.course-card-tagline {
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin: 0 0 18px !important;
  line-height: 1.5;
}

/* Divider */
.course-card-divider {
  border: none;
  border-top: 1px solid rgba(50,72,123,0.09);
  margin: 0 0 16px;
}

/* Icon detail rows */
.course-card-details {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.course-card-detail {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: #5a6e8a;
  line-height: 1.4;
}
.course-card-detail svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #338aff;
}

/* Footer: price + button */
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(50,72,123,0.09);
  margin-top: auto;
}
.course-card-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: #32487b;
}
.course-card-price svg { color: #338aff; }

/* Legacy badge helpers (kept for other uses) */
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--porcelain-dim);
  color: var(--delft-dark);
}
.badge-level { background: var(--delft); color: var(--white); }
.no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- Section divider with image ---------- */
.section-divider {
  position: relative;
  line-height: 0;
}
.divider-line {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
}
.divider-shoes {
  position: absolute;
  top: 0;
  right: 14%;
  transform: translateX(50%) translateY(-28%);
  height: 181px;
  width: auto;
  pointer-events: none;
  mix-blend-mode: multiply;
  clip-path: inset(28% 0 0 0);
}

/* ---------- Stats cards (Hoe het werkt) ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stats-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(50,72,123,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(50,72,123,0.13);
}
.stats-icon {
  width: 54px;
  height: 54px;
  background: #111c35;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(10,18,40,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.stats-card:nth-child(2) .stats-icon {
  background: #338aff;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(51,138,255,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.stats-card:nth-child(3) .stats-icon {
  background: #F0F4F9;
  color: #32487b;
  box-shadow: 0 4px 14px rgba(50,72,123,0.10), inset 0 1px 0 rgba(255,255,255,0.80);
}
.stats-card:nth-child(4) .stats-icon {
  background: #ff751f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255,117,31,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.stats-card:hover .stats-icon {
  transform: scale(1.10);
}
.stats-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--delft-dark);
  font-family: var(--font-display);
  line-height: 1.2;
}
.stats-sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Founders section ---------- */
.founders-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.founders-photo img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 420px;
}
.founders-text p { margin-bottom: 1em; font-size: 1rem; }
.founders-quotes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.founder-mini {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--porcelain);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.founder-mini img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.founder-mini blockquote {
  margin: 0;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink);
}
.founder-mini blockquote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--delft);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
.testimonial-grid--centered {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 22px auto 0;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(50,72,123,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.testimonial:hover {
  box-shadow: 0 8px 28px rgba(50,72,123,0.12);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: #ff751f;
  font-size: 0.88rem;
  letter-spacing: 2px;
}
.testimonial p {
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}
.testimonial-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
  filter: grayscale(100%);
}
.testimonial-who strong {
  display: block;
  font-size: 0.88rem;
  color: var(--delft-dark);
  font-weight: 500;
}
.testimonial-who span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.flag-img {
  width: 17px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 3px;
}

/* ---------- Journey steps (Jouw traject) ---------- */
.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 52px;
}
.journey-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.journey-step--reverse .journey-img-wrap { order: 2; }
.journey-step--reverse .journey-content  { order: 1; }
.journey-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(50,72,123,0.10);
}
.journey-img-wrap:has(video) {
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.journey-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
video.journey-img {
  width: 40%;
  height: auto;
  max-height: none;
  object-fit: unset;
  background: transparent;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px rgba(50,72,123,0.13);
  display: block;
  margin: 0 auto 0 20%;
}
.journey-img-wrap:hover .journey-img { transform: scale(1.03); }
.journey-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-tag {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ff751f;
  display: inline-block;
}
.journey-content h3 {
  font-size: 1.25rem !important;
  margin: 0;
  color: var(--delft-dark);
}
.journey-content p { margin: 0; }

@media (max-width: 860px) {
  .journey-step { grid-template-columns: 1fr; }
  .journey-step--reverse .journey-img-wrap,
  .journey-step--reverse .journey-content { order: unset; }
  .journey-img { height: 220px; }
}

/* ---------- CTA hero band ---------- */
.cta-hero-band {
  position: relative;
  margin: 0 0 84px;
  border-radius: 0;
  overflow: hidden;
  background: url('../img/plan%20een%20intake.png') center 20% / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.cta-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(25,42,78,0.05) 5%, rgba(25,42,78,0.82) 22%, rgba(25,42,78,0.88) 100%);
  z-index: 0;
}
.cta-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 56px 64px 15%;
}
.cta-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: #ffffff;
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
}
.cta-hero-sub {
  color: rgba(255,255,255,0.80);
  font-size: 0.92rem;
  max-width: 46ch;
  margin: 0;
  line-height: 1.7;
}
.cta-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.90);
  font-size: 0.82rem;
  font-weight: 500;
}
.cta-hero-btn {
  align-self: flex-start;
  font-size: 0.95rem;
  padding: 13px 28px;
}
.cta-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.cta-avatars {
  display: flex;
}
.cta-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.7);
  margin-left: -8px;
  filter: grayscale(100%);
}
.cta-avatars img:first-child { margin-left: 0; }
.cta-rating {
  color: rgba(255,255,255,0.80);
  font-size: 0.80rem;
}
.cta-hero-image {
  display: none;
}

@media (max-width: 860px) {
  .cta-hero-inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-hero-band { margin: 0 12px 60px; background-position: 75% 20%; }
  .cta-hero-band::before { background: rgba(25,42,78,0.82); }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--delft);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 50ch; margin: 0 auto 28px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { margin-top:2rem; display:flex; flex-direction:column; gap:10px; max-width:760px; margin-left:auto; margin-right:auto; }
.accordion-item { background:#fff; border-radius:12px; border:1px solid #e8edf5; overflow:hidden; }
.accordion-btn { width:100%; text-align:left; background:none; border:none; padding:18px 24px; font-family:'Poppins',sans-serif; font-size:0.95rem; font-weight:500; color:#32487b; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.accordion-btn .acc-icon { width:22px;height:22px;border-radius:50%;background:#f0f4ff;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.2s,transform 0.25s;font-size:0.9rem;font-weight:500;color:#338aff; }
.accordion-btn[aria-expanded="true"] .acc-icon { background:#338aff;color:#fff;transform:rotate(45deg); }
.accordion-body { display:none; padding:0 24px 20px; font-size:0.88rem; color:#243954; line-height:1.7; }
.accordion-body.is-open { display:block; }
.accordion-body ul { margin:8px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:6px; }
.faq-section { padding:90px 0; background:#fff; }
.faq-section .section-head { text-align:center; max-width:640px; margin:0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #ffffff;
  color: #243954;
  padding: 56px 0 28px;
  margin-top: 0;
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  box-shadow: 0 -6px 24px rgba(36,57,84,0.10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.site-footer h4 { color: #243954; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; margin-top: 0; }
.footer-grid > div { display: flex; flex-direction: column; }
.site-footer a { color: rgba(36,57,84,0.70); text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #338aff; }
.footer-bottom { border-top: 1px solid rgba(36,57,84,0.15); padding-top: 20px; font-size: 0.8rem; text-align: center; color: rgba(36,57,84,0.50); }
.footer-social-mobile { display: none; }
.footer-contact-inner { display: contents; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }           /* hide illustration on mobile */
  .card-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .finder-bar { grid-template-columns: 1fr 1fr; }
  /* ── Footer mobile redesign ── */
  .site-footer { padding: 32px 0 16px; }
  .site-footer h4 { font-size: 0.58rem; letter-spacing: 0.15em; margin-bottom: 10px; }
  .site-footer a { font-size: 0.8rem; margin-bottom: 7px; }
  .footer-bottom { font-size: 0.68rem; margin-top: 16px; padding-top: 16px; }
  /* Grid layout */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 0; }
  /* Logo row — full width, logo only, 20% less height */
  .footer-grid > div:first-child { grid-column: 1 / -1; flex-direction: row !important; align-items: center !important; justify-content: flex-start; width: 100% !important; padding-bottom: 2px; border-bottom: 1px solid rgba(36,57,84,0.10); margin-bottom: 4px; }
  .footer-grid > div:first-child a { display: block; overflow: hidden; transform: translateY(-12px); }
  .footer-grid > div:first-child img { height: 84px !important; margin-top: -34px !important; margin-bottom: -4px; }
  .footer-grid > div:first-child .hero-social { display: none !important; }
  /* Trainingen + Over — 2 columns */
  .footer-grid > div:nth-child(2) { padding: 16px 16px 20px 0; }
  .footer-grid > div:nth-child(3) { padding: 16px 0 20px 16px; }
  /* Contact — full width with social icons on the right */
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; padding-top: 16px; }
  .footer-contact-inner { display: flex; justify-content: space-between; align-items: flex-end; }
  .footer-contact-inner > div:first-child { display: flex; flex-direction: column; }
  .footer-social-mobile { display: flex; flex-direction: row; gap: 10px; align-items: center; }
  .hero { padding: 54px 24px 36px; box-shadow: 0 3px 10px rgba(0,0,0,0.10); }
  .hero--dark { padding: 47px 24px 47px; min-height: 367px; box-shadow: 0 3px 10px rgba(0,0,0,0.20); }
  .page-hero, .diensten-hero, .prive-hero, .online-hero, .klassikaal-hero, .trn-hero { box-shadow: 0 3px 10px rgba(0,0,0,0.10); }
}

/* ==========================================================================
   Nav dropdown + mobile hamburger
   ========================================================================== */

/* .nav-right is defined above with the nav row styles */

/* ---- Desktop dropdown (hover) ---- */
.nav-links .has-dropdown {
  position: relative;
}
.nav-links .has-dropdown > a::after {
  content: " \25BE"; /* ▾ */
  font-size: 0.72em;
  opacity: 0.5;
  vertical-align: middle;
}
.nav-links .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(27, 58, 107, 0.12);
  min-width: 260px;
  list-style: none;
  padding: 10px 0 10px;
  margin: 0;
  z-index: 200;
}
/* Show on hover or keyboard focus-within on desktop */
.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  display: block;
}
.nav-links .dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links .dropdown a:hover {
  color: var(--delft);
  background: var(--porcelain);
}
.nav-links .dropdown a.nav-active {
  color: #338aff;
  font-weight: 500;
  background: rgba(51,138,255,0.07);
  border-left: 3px solid #338aff;
  padding-left: 17px;
}
/* Category labels inside dropdown */
.nav-links .dropdown .dropdown-cat {
  padding: 8px 20px 5px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #338aff;
  cursor: default;
  user-select: none;
}
.nav-links .dropdown .dropdown-cat--bedrijven { margin-top: 2px; }
.nav-links .dropdown .dropdown-cat--prive {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
/* Remove old first-child header style (replaced by category labels) */
.nav-links .dropdown li:first-child a {
  font-weight: inherit;
  color: inherit;
  border-bottom: none;
  padding-bottom: 9px;
  margin-bottom: 0;
}

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile nav ---- */
@media (max-width: 860px) {
  .nav-top-inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--porcelain);
    border-bottom: 2px solid var(--line);
    box-shadow: 0 8px 24px rgba(27, 58, 107, 0.1);
    padding: 6px 0 14px;
    padding-right: 0; /* reset desktop spacing */
    z-index: 100;
    list-style: none;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  /* Reset desktop underline style for mobile */
  .nav-links > li > a {
    display: block;
    padding: 12px 24px;
    border-bottom: none;
  }

  /* No ▾ on mobile */
  .nav-links .has-dropdown > a::after { display: none; }

  /* Mobile dropdown panel */
  .nav-links .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #ffffff;
    padding: 4px 0;
    min-width: auto;
    display: none;
  }
  /* Disable desktop hover rule on mobile */
  .nav-links .has-dropdown:hover .dropdown { display: none; }
  .nav-links .has-dropdown:focus-within .dropdown { display: none; }
  /* Only show when .open class is added via JS */
  .nav-links .has-dropdown.open .dropdown { display: block; }

  .nav-links .dropdown a { padding-left: 40px; font-size: 0.88rem; }
  .nav-links .dropdown li:first-child a {
    font-weight: 500;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   Mobile: hide page-links bars (desktop-only horizontal nav bars)
   ========================================================================== */
@media (max-width: 860px) {
  .page-links-bar,
  .klassikaal-info-bar,
  .online-info-bar,
  .prive-info-bar { display: none !important; }
}

/* ==========================================================================
   Mobile: prevent horizontal overflow site-wide
   ========================================================================== */
@media (max-width: 860px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .container { max-width: 100%; padding-left: 16px; padding-right: 16px; }
  /* Trust strip — wrap on mobile */
  .trust-strip { display: none !important; }
  /* Incompany hero image — don't overflow */
  img { max-width: 100%; height: auto; }
  /* Jouw Traject section — pull up 2 spaces on mobile */
  .jouw-traject-section { margin-top: -32px; }
  /* Ervaringen section — pull up 2 spaces on mobile */
  .ervaringen-section { margin-top: -32px; }
  /* Ghost buttons — flush-left on mobile (no background so no need for left padding) */
  .btn.btn-ghost { padding-left: 0; }
  /* Logo + language buttons — 20% smaller on mobile */
  .logo-img { height: 98px; margin-top: -26px; }
  .flag-btn { font-size: 0.66rem; padding: 5px 8px; gap: 4px; }
  .nav-flags .flag-img { width: 16px; height: 12px; }
  .nav-right .btn-sm { font-size: 0.78rem !important; padding: 10px 18px !important; }
  /* Hero bottom bar — text wraps on left, icons stay on right */
  .hero-bottom-bar { padding: 12px 16px; align-items: center; }
  .hero-bottom-bar .hero-description { white-space: normal; font-size: 0.7rem; flex: 1; }
  .hero-social { flex-shrink: 0; gap: 6px; }
  .hero-social-btn img { width: 24px; height: 24px; }
}

/* ==========================================================================
   Course card — mobile responsive
   ========================================================================== */
@media (max-width: 860px) {
  .course-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stats grid (Hoe het werkt) — mobile responsive
   ========================================================================== */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Decorative shoes/divider images — hide on mobile, they overflow */
  .divider-shoes { display: none !important; }
  /* Hero bleed-right panels — remove negative margin on mobile */
  .hero-bleed-right { margin-right: 0 !important; }
  /* Stats cards — 20% smaller on mobile */
  .stats-card { padding: 22px 18px 19px; gap: 8px; }
  .stats-icon { width: 43px; height: 43px; border-radius: 13px; }
  .stats-title { font-size: 0.92rem; }
  .stats-sub { font-size: 0.72rem; }
}

/* ==========================================================================
   Page decorative strip (Delft blue bicycle + canal houses)
   ========================================================================== */
.page-deco {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: visible;
  line-height: 0;
  margin-top: 92px;
  position: relative;
  z-index: 1;
  margin-bottom: -7px;
}
.page-deco-bike {
  height: 182px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: bottom left;
  margin-bottom: -4px;
  transition: transform 0.2s, filter 0.2s;
}
a:has(.page-deco-bike):hover .page-deco-bike,
a:hover > .page-deco-bike {
  transform: translateX(6px);
  filter: brightness(1.08);
  cursor: pointer;
}
.page-deco-houses {
  height: 182px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
}
@media (max-width: 860px) {
  .page-deco-bike   { height: 110px; }
  .page-deco-houses { height: 110px; }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.60);
}
.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* ==========================================================================
   Application modal overlay
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(27, 58, 107, 0.22);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--porcelain);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--porcelain-dim); color: var(--ink); }
.modal h2 { font-size: 1.4rem; margin-bottom: 4px; padding-right: 40px; }
.modal > .eyebrow { margin-bottom: 0.4em; }

.modal-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 14px 0 5px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.93rem;
  background: var(--porcelain);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--delft);
  background: var(--white);
}
.modal-form input[readonly] {
  opacity: 0.6;
  cursor: default;
  background: var(--porcelain-dim);
}
.modal-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .modal-form .row-2 { grid-template-columns: 1fr; }
  .modal { padding: 24px; }
}
.modal-form button {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

/* Success state inside modal */
.modal-success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success-icon {
  width: 56px; height: 56px;
  background: #d4edda;
  color: #1a7a3e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.7rem;
  font-weight: 500;
}
.modal-success h3 { color: var(--delft-dark); font-size: 1.25rem; margin-bottom: 8px; }
.modal-success p  { color: var(--ink-soft); max-width: 34ch; margin: 0 auto 20px; }

/* ---------- Focus visibility (accessibility floor) ---------- */
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

/* ---------- Course grid (shared) ---------- */
.trn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 960px) { .trn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trn-grid { grid-template-columns: 1fr; } }

/* ---------- Course card (shared — also used in FAQ sidebars) ---------- */
.trn-card {
  background: #fff;
  border: none;
  border-radius: 14px;
  border-left: 4px solid #e2e8f0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(17,28,53,0.06), 0 0 0 1px rgba(17,28,53,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  text-align: left;
  text-decoration: none;
}
.trn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(17,28,53,0.13), 0 0 0 1px rgba(17,28,53,0.06);
}
.trn-card--prive      { border-left-color: #338aff; }
.trn-card--klassikaal { border-left-color: #7c3aed; }
.trn-card--online     { border-left-color: #059669; }
.trn-card--incompany  { border-left-color: #FF751F; }
.trn-card--workshop   { border-left-color: #d97706; }
.trn-card--cultureel  { border-left-color: #e11d48; }
.trn-card-featured-tag {
  position: absolute;
  top: -1px; left: 20px;
  background: #FF751F; color: #fff;
  font-size: 0.62rem; font-weight: 500;
  font-family: 'Poppins', sans-serif;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trn-card--prive      .trn-card-featured-tag { background: #338aff; }
.trn-card--klassikaal .trn-card-featured-tag { background: #7c3aed; }
.trn-card--online     .trn-card-featured-tag { background: #059669; }
.trn-card--incompany  .trn-card-featured-tag { background: #FF751F; }
.trn-card--workshop   .trn-card-featured-tag { background: #d97706; }
.trn-card--cultureel  .trn-card-featured-tag { background: #e11d48; }
.trn-card-lang {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.67rem; font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 9px;
}
.trn-card-title {
  font-size: 1.05rem; font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #243954; margin: 0 0 8px;
  line-height: 1.35;
}
.trn-card-desc {
  font-size: 0.82rem; color: #64748b;
  line-height: 1.65; margin: 0 0 16px; flex: 1;
}
.trn-card-chips {
  display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px;
}
.trn-chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 500;
  font-family: 'Poppins', sans-serif;
}
.trn-chip--level  { background: #eff6ff; color: #1d4ed8; }
.trn-chip--format { background: #fef3c7; color: #92400e; }
.trn-chip--loc    { background: #ecfdf5; color: #065f46; }
.trn-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}
.trn-card-price-label {
  font-size: 0.64rem; color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  display: block; margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.trn-card-price-value {
  font-size: 1.05rem; font-weight: 500;
  font-family: 'Poppins', sans-serif; color: #243954;
}

/* ---------- FAQ with course card sidebar ---------- */
.faq-with-card {
  display: flex;
  gap: 52px;
  align-items: flex-start;
}
.faq-main {
  flex: 1;
  min-width: 0;
}
.faq-card-col {
  flex-shrink: 0;
  width: 290px;
  position: sticky;
  top: 100px;
}
@media (max-width: 860px) {
  .faq-with-card { flex-direction: column; }
  .faq-card-col  { width: 100%; position: static; }
}

/* ---------- Phone combo (country code + number) ---------- */
.phone-combo {
  display: flex;
  gap: 0;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s;
}
.phone-combo:focus-within { border-color: #338aff; }
.phone-combo__code {
  flex-shrink: 0;
  width: 72px;
  border: none;
  border-right: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #243954;
  padding: 11px 10px;
  outline: none;
  text-align: center;
}
.phone-combo__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #243954;
  padding: 11px 14px;
  outline: none;
  min-width: 0;
}
