@font-face {
  font-family: "Gilroy";
  src: url("fonts/gilroy-regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Gilroy";
  src: url("fonts/gilroy-semibold.otf") format("opentype");
  font-weight: 650;
}

@font-face {
  font-family: "Gilroy";
  src: url("fonts/gilroy-extrabold.otf") format("opentype");
  font-weight: 800;
}

:root {
  --bg: #f7f6f1;
  --paper: #ffffff;
  --ink: #0b0f14;
  --muted: #687383;
  --line: #e6e4dc;
  --accent: #1e5bff;
  --accent-ink: #ffffff;
  --soft: #f4f1e8;
  --green: #1b8a4e;
  --red: #e0492f;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(11, 15, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Gilroy", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

select {
  appearance: none;
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

.site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(8, 20, 42, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 38px rgba(8, 20, 42, 0.22);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .brand,
body.menu-open .site-header .brand {
  color: #fff;
}

.site-header.is-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header.is-scrolled .nav-links a.active,
.site-header.is-scrolled .nav-links a:hover {
  color: #fff;
}

.site-header.is-scrolled .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .menu-toggle,
body.menu-open .site-header .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .menu-toggle span,
.site-header.is-scrolled .menu-toggle::before,
.site-header.is-scrolled .menu-toggle::after,
body.menu-open .site-header .menu-toggle span,
body.menu-open .site-header .menu-toggle::before,
body.menu-open .site-header .menu-toggle::after {
  background: #fff;
}

.nav {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span span {
  color: var(--accent);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 650;
  color: rgba(11, 15, 20, 0.78);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  display: block;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 32px rgba(30, 91, 255, 0.25);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-soft {
  background: rgba(11, 15, 20, 0.05);
  color: var(--ink);
}

.btn-lg {
  min-height: 54px;
  padding: 0 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -220px;
  border-radius: 50%;
  background: rgba(30, 91, 255, 0.16);
}

.hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 14px;
  border: 1px solid rgba(11, 15, 20, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(11, 15, 20, 0.78);
  font-size: 13px;
  font-weight: 650;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.045em;
}

h1 {
  margin-top: 28px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.9;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}

.lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.search-card {
  margin-top: 36px;
  max-width: 760px;
  background: var(--paper);
  border-radius: 24px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1.2fr 1px 1fr 1px 1fr auto;
  align-items: center;
  box-shadow: var(--shadow);
}

.search-field {
  min-width: 0;
  padding: 12px 16px;
}

.search-field label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-field strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.divider {
  width: 1px;
  height: 38px;
  background: var(--line);
}

.trust-mini {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--soft);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}

.avatar:first-child {
  margin-left: 0;
}

.stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 14px;
  line-height: 1;
}

.trust-mini strong {
  margin-left: 8px;
  font-size: 14px;
}

.trust-mini small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.visual-stack {
  position: relative;
  min-height: 620px;
}

.map-card,
.school-float,
.confirm-card {
  position: absolute;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.confirm-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.map-card {
  top: 0;
  right: 0;
  width: 390px;
  height: 250px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.mini-map {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(30, 91, 255, 0.14), transparent 34%),
    linear-gradient(24deg, transparent 36%, rgba(11, 15, 20, 0.08) 37%, rgba(11, 15, 20, 0.08) 39%, transparent 40%),
    linear-gradient(114deg, transparent 45%, rgba(11, 15, 20, 0.08) 46%, rgba(11, 15, 20, 0.08) 48%, transparent 49%),
    #eceee8;
  position: relative;
}

.pin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 4px;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px rgba(30, 91, 255, 0.28);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.pin:nth-child(1) {
  left: 74px;
  top: 78px;
}

.pin:nth-child(2) {
  left: 214px;
  top: 54px;
  background: var(--ink);
}

.pin:nth-child(3) {
  left: 285px;
  top: 142px;
  background: var(--green);
}

.school-float {
  top: 176px;
  right: 74px;
  width: 350px;
  border-radius: 24px;
  padding: 14px;
  transform: rotate(-2.5deg);
}

.school-image {
  height: 178px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.school-image .pill {
  position: absolute;
  left: auto;
  right: 10px;
  top: 10px;
}

.school-body {
  padding: 14px 4px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.school-body h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.school-body p,
.school-meta {
  color: var(--muted);
  font-size: 12px;
}

.price {
  text-align: right;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.school-meta {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.confirm-card {
  top: 450px;
  right: 12px;
  width: 300px;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(1.5deg);
}

.check-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(27, 138, 78, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.trust-strip {
  border-top: 1px solid rgba(11, 15, 20, 0.08);
  padding: 22px 0;
}

.trust-strip-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trust-strip span:first-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(11, 15, 20, 0.5);
  font-weight: 800;
}

.stats-band {
  background: var(--accent);
  color: var(--accent-ink);
}

.stats-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.stat strong {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.stat small {
  display: block;
  margin-top: 2px;
  opacity: 0.68;
  font-size: 12px;
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 96px;
}

.section-tight {
  padding-top: 18px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-kicker {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  margin-top: 13px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.category-grid,
.school-grid,
.benefit-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card,
.school-card,
.benefit-card,
.price-card,
.testimonial,
.faq-item,
.story-card,
.cta-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card.featured {
  background: var(--ink);
  color: #fff;
}

.category-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(30, 91, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.category-card.featured .category-icon {
  background: var(--accent);
  color: #fff;
}

.category-card h3,
.benefit-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.category-card p,
.benefit-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.category-card.featured p {
  color: rgba(255, 255, 255, 0.66);
}

.school-grid {
  grid-template-columns: repeat(4, 1fr);
}

.school-card {
  padding: 12px;
  overflow: hidden;
}

.school-card .school-image {
  height: 180px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.dark-panel {
  background: var(--soft);
  border: 1px solid rgba(11, 15, 20, 0.08);
  border-radius: 32px;
  padding: 64px;
  overflow: hidden;
}

.steps-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 58px;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.step strong {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.step h3 {
  margin: 0;
  font-size: 20px;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.testimonial {
  padding: 28px;
}

.testimonial.big {
  background: var(--ink);
  color: #fff;
}

.testimonial blockquote {
  margin: 0;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.testimonial:not(.big) blockquote {
  font-size: 20px;
}

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

.testimonial.big p {
  color: rgba(255, 255, 255, 0.68);
}

.school-cta {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 56px;
  align-items: center;
  padding: 54px 62px;
}

.spark-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 24px;
}

.spark-card strong {
  display: block;
  margin-top: 6px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  padding: 22px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  text-align: center;
  background: var(--soft);
  padding: 72px 56px;
  overflow: hidden;
}

.final-cta p {
  max-width: 560px;
  margin: 22px auto 30px;
  color: var(--muted);
  line-height: 1.6;
}

.center-hero {
  text-align: center;
}

.center-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.dashboard-preview {
  margin: 78px auto 0;
  max-width: 1030px;
  background: #fff;
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}

.dash-tabs {
  display: flex;
  gap: 20px;
  padding: 10px 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.dash-tabs span:first-child {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 14px;
  margin-bottom: -19px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
}

.kpi {
  background: var(--bg);
  border-radius: 14px;
  padding: 14px;
}

.kpi small {
  color: var(--muted);
  font-weight: 650;
}

.kpi strong {
  display: inline-block;
  margin-top: 5px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.dash-body {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.chart,
.requests {
  background: var(--bg);
  border-radius: 16px;
  padding: 18px;
}

.request {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.request:last-child {
  border-bottom: 0;
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  padding: 28px;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(30, 91, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 30px;
}

.price-card.highlight {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card.highlight p,
.price-card.highlight li {
  color: rgba(255, 255, 255, 0.68);
}

.popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.price-card .amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.price-card .amount strong {
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-card .amount.promo {
  align-items: center;
}

.old-price {
  color: var(--muted);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--red);
}

.price-card.highlight .old-price {
  color: rgba(255, 255, 255, 0.52);
}

.commission {
  display: block;
  margin-top: 12px;
}

.price-note {
  margin: 10px 0 0;
  min-height: 44px;
  font-size: 13px;
}

.price-card ul {
  margin: 24px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 12px;
}

.price-card.highlight ul {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.price-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 9px;
}

.story-card {
  padding: 56px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.story-photo {
  border-radius: 24px;
  aspect-ratio: 1 / 1.08;
  background: center/cover url("images/geslaagde-leerling.jpg");
}

.story-card h3 {
  margin: 16px 0 24px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

.story-metrics {
  display: flex;
  gap: 34px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.story-metrics strong {
  display: block;
  font-size: 36px;
  letter-spacing: -0.05em;
}

.footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 30px;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 42px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p,
.footer a,
.footer-bottom {
  color: #a6adba;
}

.footer p {
  max-width: 280px;
  line-height: 1.6;
  font-size: 14px;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 14px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.socials span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #a6adba;
  font-size: 12px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    left: 20px;
    right: 20px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links {
    top: 88px;
    border-radius: 22px 22px 0 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    top: 282px;
    border-radius: 0 0 22px 22px;
    padding: 0 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  body.menu-open .nav-links,
  body.menu-open .nav-actions {
    display: flex;
  }

  body.menu-open .nav-links a {
    color: rgba(11, 15, 20, 0.78);
  }

  body.menu-open .nav-links a.active,
  body.menu-open .nav-links a:hover {
    color: var(--accent);
  }

  body.menu-open .nav-actions .btn-ghost {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line);
  }

  .hero-grid,
  .steps-layout,
  .faq-layout,
  .school-cta,
  .story-card,
  .dash-body {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 560px;
  }

  .category-grid,
  .school-grid,
  .benefit-grid,
  .pricing-grid,
  .stats-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .trust-strip-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1200px);
  }

  .hero-inner,
  .section,
  .stats-grid,
  .trust-strip-inner,
  .footer-inner {
    width: min(100% - 28px, 1200px);
  }

  .hero-inner {
    padding: 124px 0 70px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .search-card {
    grid-template-columns: 1fr;
  }

  .divider {
    width: auto;
    height: 1px;
    margin: 0 12px;
  }

  .trust-mini {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-stack {
    min-height: auto;
    display: grid;
    gap: 16px;
    margin-top: 38px;
  }

  .map-card,
  .school-float,
  .confirm-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .category-grid,
  .school-grid,
  .benefit-grid,
  .pricing-grid,
  .stats-grid,
  .kpi-grid,
  .testimonial-grid,
  .footer-grid,
  .story-metrics {
    grid-template-columns: 1fr;
  }

  .dark-panel,
  .school-cta,
  .story-card,
  .final-cta {
    padding: 30px;
  }

  .section {
    padding: 68px 0;
  }
}
