/* ============================================================
   MileCompany Mastermind — landing site
   Dark + gold, confronterend. Anton (display) / Inter (body)
   / Caveat (handgeschreven accenten).
   ============================================================ */

/* Brand guide MileCompany: paars + donkergrijs + zwart, Prohibition ≈ Anton,
   body ≈ Work Sans. CTA's bewust in fel geel (opposite van het paars) voor contrast.
   --gold/--gold-2 zijn legacy-aliassen en wijzen nu naar de paarse merktinten. */
:root {
  --bg: #0b0b0d;
  --bg-2: #131316;
  --bg-3: #1a191e;
  --card: #141318;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(160, 107, 212, 0.5);
  --purple: #662d91;
  --purple-2: #b285e0;
  --gold: #662d91;
  --gold-2: #b285e0;
  --gold-dim: rgba(178, 133, 224, 0.55);
  --cta: #ffc832;
  --cta-2: #ffd75e;
  --amber: #f2b63c;
  --text: #f4f3f6;
  --muted: #bfbbc9;
  --red: #ff8a7d;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --radius: 16px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-2); text-decoration: none; }

::selection { background: var(--purple); color: #fff; }

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

/* ---------- typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.4px; }

.hl { color: var(--purple-2); }

.dot { color: var(--purple-2); }

.kicker {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--gold-2);
  display: inline-block;
  transform: rotate(-1.2deg);
  margin-bottom: 14px;
}

.hand-red {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: #c9a1f2;
  line-height: 1.35;
}

.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); }

.muted { color: var(--muted); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 6, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1;
}

.brand img { height: 34px; width: auto; display: block; }

.site-footer .brand img { height: 28px; }

.brand .hl { color: var(--purple-2); }

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.site-nav a:hover { color: var(--purple-2); }

.site-nav a.active { color: var(--purple-2); }

/* de gele CTA-knop in het menu houdt donkere tekst (wint van .site-nav a) */
.site-nav a.btn-gold,
.site-nav a.btn-gold:hover { color: #191307; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--gold-2);
  font-size: 1.3rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .brand small { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .site-nav .btn { margin-top: 14px; text-align: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

.btn-gold {
  background: var(--cta);
  color: #191307;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 30px -12px rgba(255, 200, 50, 0.55);
}

.btn-gold:hover { background: var(--cta-2); transform: translateY(-1px); }

.btn-ghost {
  background: var(--purple);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px -14px rgba(102, 45, 145, 0.85);
}

.btn-ghost:hover { background: #7a3aad; border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }

.btn-sm { padding: 12px 18px; font-size: 0.78rem; border-radius: 8px; }

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.38;
  filter: grayscale(1) contrast(1.15) brightness(0.85);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.35) 45%, var(--bg) 100%),
    radial-gradient(ellipse at 75% 20%, rgba(122,58,173,0.2), transparent 55%);
}

.hero .wrap {
  position: relative;
  padding-top: clamp(70px, 11vw, 130px);
  padding-bottom: clamp(60px, 9vw, 110px);
  max-width: 880px;
  text-align: center;
}

.hero p.lead { margin: 22px auto 34px; max-width: 620px; color: #dcdae2; }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbc7d4;
}

.proof-strip .stars { color: var(--amber); letter-spacing: 2px; }

.proof-strip strong { color: var(--text); }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }

.section-dark { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head p { margin-top: 16px; color: var(--muted); }

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--purple-2);
  background: rgba(160, 107, 212, 0.12);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.card .icon svg { width: 25px; height: 25px; }

.card h3 { margin-bottom: 6px; }

.card h3 em { font-style: normal; color: var(--purple-2); }

.card .hand-red { display: block; margin-bottom: 14px; }

.card p { font-size: 1rem; color: #dedbe4; }

.card p strong { color: var(--text); }

/* ---------- checklist / bullets ---------- */

.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0; }

.checklist li { padding-left: 34px; position: relative; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-2);
  font-weight: 800;
}

.painlist { list-style: none; display: grid; gap: 12px; margin: 22px 0; }

.painlist li { padding-left: 34px; position: relative; }

.painlist li::before {
  content: "✗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
}

/* ---------- split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split .visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.prose p { margin-bottom: 18px; color: #e1dfe6; }

.prose p strong { color: var(--text); }

.prose .hand-red { display: block; margin: 6px 0 22px; }

/* ---------- story ---------- */

.story-quote {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-2);
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  line-height: 1.4;
}

/* ---------- video grid ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #000;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.video-thumb:hover img { opacity: 1; transform: scale(1.03); }

.video-thumb .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-thumb .play span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.video-thumb:hover .play span { transform: scale(1.1); }

.video-thumb .play span::after {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.video-card figcaption {
  padding: 14px 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

/* ---------- reviews ---------- */

.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 40px;
}

.review-summary .stars { color: var(--amber); font-size: 1.5rem; letter-spacing: 4px; }

.review-summary .count { font-weight: 700; }

.review-wall { columns: 3; column-gap: 22px; }

@media (max-width: 900px) { .review-wall { columns: 2; } }
@media (max-width: 600px) { .review-wall { columns: 1; } }

.review-card {
  break-inside: avoid;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 22px;
}

.review-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }

.review-card p { font-size: 1rem; color: #e2dfe8; margin-bottom: 14px; }

.review-card .who { font-weight: 700; font-size: 0.9rem; }

.review-card .who small { display: block; font-weight: 500; color: var(--muted); }

.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- accordion (curriculum) ---------- */

.acc { display: grid; gap: 14px; }

.acc details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.acc details[open] { border-color: var(--border-strong); }

.acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary .date {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--purple-2);
  background: rgba(160, 107, 212, 0.12);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.acc summary .chev {
  margin-left: auto;
  color: var(--gold-2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.acc details[open] summary .chev { transform: rotate(45deg); }

.acc .acc-body { padding: 0 22px 24px; }

@media (max-width: 600px) {
  .acc summary { flex-wrap: wrap; gap: 10px; }
  .acc summary .chev { margin-left: 0; }
}

/* ---------- practical cards ---------- */

.fact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--purple-2);
  margin-bottom: 8px;
}

.fact-value { font-size: 1.3rem; font-weight: 800; line-height: 1.3; }

.fact-note { font-size: 0.95rem; color: var(--muted); margin-top: 8px; }

/* ---------- banner / alert ---------- */

.banner {
  background: linear-gradient(90deg, rgba(102, 45, 145, 0.22), rgba(160, 107, 212, 0.08));
  border: 1px solid rgba(160, 107, 212, 0.4);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-weight: 600;
}

.banner strong { color: var(--purple-2); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- CTA block ---------- */

.cta-block {
  position: relative;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 80px) 28px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 58, 173, 0.22), transparent 60%),
    var(--bg-3);
  overflow: hidden;
}

.cta-block h2 { max-width: 640px; margin: 0 auto 18px; }

.cta-block p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); }

.cta-block .btn-row { justify-content: center; }

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 6, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-strong);
}

.sticky-cta .btn { width: 100%; }

@media (max-width: 700px) {
  body.has-sticky-cta .sticky-cta.visible { display: block; }
  body.has-sticky-cta { padding-bottom: 84px; }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 56px;
  background: var(--bg-2);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.site-footer a { color: var(--muted); font-weight: 600; }

.site-footer a:hover { color: var(--gold-2); }

/* ---------- utilities ---------- */

.center { text-align: center; }
.mt-lg { margin-top: 44px; }
.mt-md { margin-top: 28px; }
.hidden { display: none !important; }

.count-note { font-size: 0.9rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---------- mobiel (Meta-campagneverkeer) ---------- */

@media (max-width: 700px) {
  .hero-bg { background-image: url("/assets/hero-wave-mobile.jpg"); }
  .hero .wrap { padding-top: 56px; padding-bottom: 60px; }
  .hero p.lead { margin: 16px auto 26px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
  .hero .btn-row .btn { width: 100%; }
  .proof-strip { gap: 8px 18px; font-size: 0.85rem; margin-top: 30px; }
  .section-head p { font-size: 1rem; }
  .cta-block .btn-row { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* ---------- carousels (swipe + knoppen + teller) ---------- */

.carousel { position: relative; margin-top: 30px; }

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track { display: flex; gap: 22px; width: max-content; will-change: transform; }

.carousel-track .video-card {
  width: min(340px, 78vw);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.carousel-track .review-card {
  width: min(320px, 74vw);
  flex-shrink: 0;
  scroll-snap-align: start;
  margin-bottom: 0;
}

.carousel-track .review-card p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.car-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.car-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.car-btn:disabled { opacity: 0.3; cursor: default; }

.car-counter {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  min-width: 72px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- zwart-wit beeld & maps-link ---------- */

.split .visual img { filter: grayscale(1) contrast(1.1); }

.maps-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-2);
}

.maps-link:hover { text-decoration: underline; }

/* ---------- sterrenfilter (reviews) ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
}

.chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }

.chip.active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple-2);
}

/* ---------- contactformulier ---------- */

.mc-form { display: grid; gap: 16px; text-align: left; }

.mc-form.card { padding: 34px 30px; }

.mc-form.card:hover { transform: none; }

.field { display: grid; gap: 7px; }

.field label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.4px; }

.field label span { color: var(--muted); font-weight: 500; }

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* ≥16px: voorkomt auto-zoom op iOS/in-app browsers */
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--purple-2);
  box-shadow: 0 0 0 3px rgba(160, 107, 212, 0.25);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(180, 176, 188, 0.45); }

.mc-form .btn { width: 100%; }

.form-note { font-size: 0.9rem; color: var(--muted); text-align: center; }

.form-error { font-size: 0.9rem; color: var(--red); text-align: center; }

.form-error a { color: var(--gold-2); text-decoration: underline; }

/* ---------- modal ---------- */

.mc-modal {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: var(--bg-2);
  color: var(--text);
  padding: 34px 30px;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
  position: relative;
}

.mc-modal::backdrop { background: rgba(5, 4, 2, 0.75); backdrop-filter: blur(3px); }

.mc-modal h3 { font-size: 1.6rem; margin-bottom: 6px; }

.mc-modal > p { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }

.mc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.mc-close:hover { color: var(--text); border-color: var(--border-strong); }
