/* =========================================================================
   Ikbegrijpje.nl — stylesheet
   Palette: green · yellow · orange · red, with a touch of blue
   ========================================================================= */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* brand */
  --green: #2bb673;
  --green-dark: #17794a;
  --green-soft: #e3f6ec;
  --yellow: #ffc93c;
  --yellow-dark: #8a6200;
  --yellow-soft: #fff4d1;
  --orange: #ff8a3d;
  --orange-dark: #c2530f;
  --orange-soft: #ffeadb;
  --red: #f2545b;
  --red-dark: #c0353c;
  --red-soft: #fde4e5;
  --blue: #3a86ff;
  --blue-dark: #2361d0;
  --blue-soft: #e4eeff;

  /* neutrals */
  --ink: #1f2a44;
  --muted: #55607a;
  --line: #ece4d6;
  --cream: #fffaf2;
  --white: #fff;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 2px 4px rgba(31, 42, 68, .04), 0 12px 32px rgba(31, 42, 68, .08);
  --shadow-lg: 0 4px 8px rgba(31, 42, 68, .05), 0 24px 60px rgba(31, 42, 68, .12);
  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 18px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; color: var(--white); }

.i { width: 1.4em; height: 1.4em; flex-shrink: 0; vertical-align: middle; }

/* highlight marker under words */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .3em;
  background: var(--yellow); border-radius: 6px; z-index: -1; transform: rotate(-1deg);
}
.mark-green::after { background: #a9e6c6; }
.mark-orange::after { background: #ffc8a3; }
.mark-blue::after { background: #bcd5ff; }

/* ---------- layout ---------- */
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.bg-white { background: var(--white); }
.bg-green { background: var(--green-soft); }
.bg-yellow { background: var(--yellow-soft); }
.bg-blue { background: var(--blue-soft); }
.bg-orange { background: var(--orange-soft); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-head .eyebrow { color: var(--green-dark); font-size: .8rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .8rem;
  color: var(--green-dark); margin: 0 0 1em;
}
.eyebrow::before {
  content: ""; width: 38px; height: 10px; flex-shrink: 0;
  background:
    radial-gradient(circle, var(--green) 4.6px, transparent 5px) 0 0 / 10px 10px no-repeat,
    radial-gradient(circle, var(--yellow) 4.6px, transparent 5px) 14px 0 / 10px 10px no-repeat,
    radial-gradient(circle, var(--orange) 4.6px, transparent 5px) 28px 0 / 10px 10px no-repeat;
}
/* centred headings: dots below the label */
.section-head .eyebrow, .center .eyebrow, .page-hero.center .eyebrow { flex-direction: column-reverse; gap: 10px; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.28rem); color: var(--muted); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--orange); --cd: var(--orange-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--c); color: var(--white); font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; line-height: 1.2;
  box-shadow: 0 5px 0 var(--cd);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { color: var(--white); transform: translateY(2px); box-shadow: 0 3px 0 var(--cd); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--cd); }
.btn .i { width: 1.2em; height: 1.2em; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn-green { --c: var(--green); --cd: var(--green-dark); }
.btn-blue { --c: var(--blue); --cd: var(--blue-dark); }
.btn-red { --c: var(--red); --cd: var(--red-dark); }
.btn-light { --c: var(--white); --cd: var(--line); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-small { padding: 10px 20px; font-size: .95rem; box-shadow: 0 4px 0 var(--cd); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--blue-dark); }
.link-arrow .i { width: 1.1em; height: 1.1em; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 250, 242, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 42, 68, .06); }
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { transition: transform .3s; }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.wordmark { font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; }
.wordmark b { font-weight: 700; color: var(--green-dark); }
.wordmark small { font-size: .7em; color: var(--orange-dark); font-weight: 600; }
.menu { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu ul a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem;
  transition: background .15s;
}
.menu ul a:hover { background: var(--white); color: var(--ink); }
.menu ul a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); }
.nav-cta { margin-left: 10px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* language switch */
.lang-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
  width: 92px; height: 40px; padding: 4px; border-radius: 999px;
  background: var(--white); box-shadow: inset 0 0 0 2px var(--line); text-decoration: none;
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
}
.lang-switch .opt { position: relative; z-index: 1; text-align: center; color: var(--muted); transition: color .25s; }
.lang-switch .knob {
  position: absolute; top: 4px; left: 4px; width: 42px; height: 32px; border-radius: 999px;
  background: var(--blue); box-shadow: 0 3px 8px rgba(58, 134, 255, .45);
  transition: transform .3s cubic-bezier(.5, 1.6, .4, .8);
}
html[lang="nl"] .lang-switch .opt-nl, html[lang="en"] .lang-switch .opt-en { color: var(--white); }
html[lang="en"] .lang-switch .knob { transform: translateX(42px); }
.lang-switch:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.lang-switch.flip .knob { transform: translateX(42px); }
html[lang="en"] .lang-switch.flip .knob { transform: translateX(0); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; padding: 0; }
.menu-toggle .bar { display: block; width: 20px; height: 2.5px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { max-width: 33em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 7px 14px 7px 8px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); }
.hero-badges .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--white); }
.hero-badges .dot .i { width: 15px; height: 15px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i { color: var(--green); width: 1.2em; height: 1.2em; }

/* floating speech bubbles inside the hero illustration */
.float { animation: float 6s ease-in-out infinite; transform-box: fill-box; }
.float.d1 { animation-delay: -1.5s; }
.float.d2 { animation-delay: -3s; }
.float.d3 { animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.walk { animation: walk 9s ease-in-out infinite; }
@keyframes walk { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(140px); } }

/* decorative confetti shapes */
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.confetti i { position: absolute; border-radius: 50%; opacity: .9; }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.page-hero::before { width: 380px; height: 380px; right: -120px; top: -140px; background: var(--yellow-soft); }
.page-hero::after { width: 220px; height: 220px; left: -90px; bottom: -110px; background: var(--green-soft); }
.page-hero .lead { max-width: 40em; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }

/* ---------- cards ---------- */
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p, .card li { color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .link-arrow { margin-top: 14px; }
.card-icon {
  --c: var(--green); --s: var(--green-soft);
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--s); color: var(--c); transform: rotate(-4deg);
}
.card-icon .i { width: 30px; height: 30px; }
.c-green { --c: var(--green-dark); --s: var(--green-soft); --solid: var(--green); }
.c-yellow { --c: var(--yellow-dark); --s: var(--yellow-soft); --solid: var(--yellow); }
.c-orange { --c: var(--orange-dark); --s: var(--orange-soft); --solid: var(--orange); }
.c-red { --c: var(--red-dark); --s: var(--red-soft); --solid: var(--red); }
.c-blue { --c: var(--blue-dark); --s: var(--blue-soft); --solid: var(--blue); }
.card.top-bar { border-top: 8px solid var(--solid, var(--green)); }
.card-tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: var(--s, var(--green-soft)); color: var(--c, var(--green-dark)); margin-bottom: 14px; }

/* obstacle list */
.obstacles { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.obstacles li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow); font-weight: 600; }
.obstacles li .card-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.obstacles li .card-icon .i { width: 22px; height: 22px; }
.obstacles li strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.obstacles li span { color: var(--muted); font-weight: 500; }

/* learning curve chart illustration */
.curve-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px; }
.curve-card figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.curve-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; font-weight: 700; margin: 0 0 8px; padding: 0; list-style: none; }
.curve-legend li { display: inline-flex; align-items: center; gap: 6px; }
.curve-legend i { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }

/* ---------- photos ---------- */
.photo { position: relative; margin: 0; z-index: 0; }
.photo::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: 32px; z-index: -1;
  background: var(--photo-accent, var(--yellow));
}
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.photo.tilt-l img { transform: rotate(-1.5deg); }
.photo.tilt-r img { transform: rotate(1.5deg); }
.photo.acc-green { --photo-accent: var(--green); }
.photo.acc-orange { --photo-accent: var(--orange); }
.photo.acc-red { --photo-accent: var(--red); }
.photo.acc-blue { --photo-accent: var(--blue); }
.photo.acc-yellow { --photo-accent: var(--yellow); }
.photo.wide img { aspect-ratio: 21 / 9; }
.photo + .card, .photo + .callout { margin-top: 36px; }
.link-arrow + .photo { margin-top: 40px; }
@media (max-width: 640px) { .photo.wide img { aspect-ratio: 4 / 3; } .photo::before { inset: 12px -8px -8px 12px; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 4px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 22px);
}
.steps li { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--white);
  background: var(--solid); box-shadow: 0 6px 0 var(--c), 0 0 0 8px var(--cream);
}
.bg-white .steps li::before { box-shadow: 0 6px 0 var(--c), 0 0 0 8px var(--white); }
.steps p { color: var(--muted); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- check list ---------- */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 36px; margin: 12px 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- impact (kind / klas / leraar) ---------- */
.impact .card { padding-top: 34px; }
.impact .card h3 { display: flex; align-items: center; gap: 12px; }
.impact .card h3 .card-icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.impact .card h3 .card-icon .i { width: 24px; height: 24px; }

/* ---------- callout / quote ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start; border-radius: var(--radius); padding: 24px 26px;
  background: var(--s, var(--blue-soft)); color: var(--ink); margin: 28px 0;
}
.callout > .i { width: 30px; height: 30px; color: var(--c, var(--blue-dark)); flex-shrink: 0; margin-top: 2px; }
.callout p:last-child { margin: 0; }
.big-quote {
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; margin: 0 auto; max-width: 820px;
}
.big-quote em { font-style: normal; color: var(--orange-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  background: var(--green); color: var(--white); text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.15rem; opacity: .95; max-width: 640px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-light { --cd: #138a52; }
.cta-band .shape { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band .s1 { width: 220px; height: 220px; background: var(--yellow); left: -70px; top: -90px; opacity: .9; }
.cta-band .s2 { width: 140px; height: 140px; background: var(--orange); right: 8%; bottom: -80px; }
.cta-band .s3 { width: 60px; height: 60px; background: var(--red); right: -14px; top: 30px; }
.cta-band .s4 { width: 28px; height: 28px; background: var(--blue); left: 14%; bottom: 26px; }
.cta-band > *:not(.shape) { position: relative; }

/* ---------- audience tiles ---------- */
.audience-tile { display: flex; flex-direction: column; }
.audience-tile .check { flex: 1; }

/* ---------- pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.pills li { background: var(--white); border: 2px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.faq-group > h2 .card-icon { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.faq-group > h2 .card-icon .i { width: 24px; height: 24px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 0 0 12px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; line-height: 1;
  background: var(--green-soft); color: var(--green-dark); font-size: 1.4rem; font-weight: 700; transition: transform .25s, background .25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--orange-soft); color: var(--orange-dark); }
.faq-item summary:hover { color: var(--green-dark); }
.faq-item .answer { padding: 0 24px 22px; color: var(--muted); }
.faq-item .answer p:last-child { margin: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.faq-nav a { background: var(--white); border-radius: 999px; padding: 8px 18px; text-decoration: none; font-weight: 800; color: var(--ink); box-shadow: var(--shadow); }
.faq-nav a:hover { background: var(--green); color: var(--white); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form-grid > .full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; font-size: .95rem; }
.field .hint { font-weight: 600; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); background: var(--white); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.role-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.role-picker label { cursor: pointer; }
.role-picker input { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; padding: 0 !important; }
.role-picker label { position: relative; }
.role-picker span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line);
  font-weight: 700; font-size: .95rem; background: var(--cream); transition: all .15s;
}
.role-picker span .i { width: 1.1em; height: 1.1em; }
.role-picker input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.role-picker input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; display: none; }
.form-status.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-status.err { display: block; background: var(--red-soft); color: var(--red-dark); }
.contact-side .card { margin-bottom: 18px; }
.contact-side .photo { margin-bottom: 40px; }
.contact-line { display: flex; gap: 14px; align-items: center; margin: 0; }
.contact-line .card-icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-line .card-icon .i { width: 24px; height: 24px; }
.contact-line a { font-weight: 800; }

/* ---------- legal prose ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; padding-top: .2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--green-soft); font-weight: 800; }
.prose .updated { color: var(--muted); font-weight: 700; font-size: .92rem; }
.summary-box { background: var(--white); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); border-left: 8px solid var(--yellow); margin: 1.4em 0 2em; }
.summary-box h2 { margin-top: 0; font-size: 1.3rem; }
.summary-box ul { margin-bottom: 0; }

/* ---------- photo strip above the footer ---------- */
.photo-strip { padding: 56px 0 48px; overflow: hidden; }
.photo-strip .strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; width: min(1320px, 100% - 32px); margin-inline: auto; }
.photo-strip figure { margin: 0; border-radius: 22px; padding: 8px; background: var(--white); box-shadow: var(--shadow-lg); transition: transform .3s ease; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.photo-strip figure:nth-child(1) { transform: rotate(-3deg) translateY(8px); background: var(--green); }
.photo-strip figure:nth-child(2) { transform: rotate(2deg); background: var(--yellow); }
.photo-strip figure:nth-child(3) { transform: rotate(-1.5deg) translateY(12px); background: var(--orange); }
.photo-strip figure:nth-child(4) { transform: rotate(2.5deg) translateY(2px); background: var(--red); }
.photo-strip figure:nth-child(5) { transform: rotate(-2deg) translateY(10px); background: var(--blue); }
.photo-strip figure:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
@media (max-width: 760px) {
  .photo-strip .strip { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .photo-strip figure { padding: 5px; border-radius: 16px; }
  .photo-strip img { border-radius: 12px; }
  .photo-strip figure:nth-child(n+4) { display: none; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #cdd3e0; margin-top: 80px; padding: 72px 0 28px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -38px; height: 40px; background:
  radial-gradient(circle at 20px -6px, transparent 26px, var(--ink) 27px) 0 0 / 40px 40px repeat-x; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h2 { font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #cdd3e0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); text-decoration: none; }
.site-footer .wordmark b { color: #6fdca5; }
.site-footer .wordmark small { color: var(--orange); }
.footer-brand p { margin-top: 14px; max-width: 30em; font-size: .97rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-dots { display: flex; gap: 8px; }
.footer-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.footer-dots i:nth-child(1) { background: var(--green); }
.footer-dots i:nth-child(2) { background: var(--yellow); }
.footer-dots i:nth-child(3) { background: var(--orange); }
.footer-dots i:nth-child(4) { background: var(--red); }
.footer-dots i:nth-child(5) { background: var(--blue); }

/* floating help button */
.help-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; padding: 10px 18px 10px 10px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(35, 97, 208, .4); transition: transform .2s, opacity .3s;
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.help-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.help-fab:hover { color: var(--white); transform: translateY(-3px); }
.help-fab span { width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--blue-dark); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; }
.page-contact .help-fab { display: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; font-weight: 700; margin: 0;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--orange), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu ul a { padding: 8px 10px; font-size: .94rem; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); margin: 0;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 20px 40px;
    background: var(--cream); overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu.open { opacity: 1; transform: none; visibility: visible; }
  .menu ul { flex-direction: column; gap: 6px; }
  .menu ul a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; padding: 12px 16px; border-radius: 16px; background: var(--white); }
  .nav-cta { margin: 10px 0 0; font-size: 1.1rem; padding: 16px; }
  .nav-right { margin-left: auto; }
  .wordmark { font-size: 1.3rem; }
  .hero-grid, .split, .split-wide { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .order-first-mobile { order: -1; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4, .steps, .steps-3, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px 22px; }
  .btn-row .btn { width: 100%; }
  .wordmark small { display: none; }
  .brand img { width: 38px; height: 38px; }
  .help-fab { padding: 8px; }
  .help-fab { font-size: 0; gap: 0; }
  .help-fab span { font-size: 1.2rem; }
  .cta-band { border-radius: 26px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 1.15rem; }
  .lang-switch { width: 80px; }
  .lang-switch .knob { width: 36px; }
  html[lang="en"] .lang-switch .knob { transform: translateX(36px); }
}
