/* ============================================================
   BRAINLAND Design System
   Шрифтове: Sofia Sans (заглавия), Inter (текст)
   Цветово кодиране на аудиториите:
   деца = кехлибар, възрастни = индиго, чужденци = тюркоаз
   ============================================================ */

:root {
  /* Цветове */
  --ink: #0f172a;
  --ink-soft: #43506b;
  --ink-mute: #6b7794;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-deep: #0f1b3d;
  --line: #e5eaf3;

  --primary: #3b47c4;
  --primary-deep: #2a339b;
  --primary-soft: #eceefc;

  --kids: #e89b12;
  --kids-soft: #fdf3e0;
  --adults: #3b47c4;
  --adults-soft: #eceefc;
  --foreign: #0d9488;
  --foreign-soft: #e3f4f2;

  /* Типография */
  --font-display: "Sofia Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Ритъм */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 20px 48px rgba(15, 23, 42, .12);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* ---------- Типография ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow.kids { color: var(--kids); }
.eyebrow.foreign { color: var(--foreign); }

/* ---------- Бутони ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 71, 196, .3);
}
.btn-primary:hover { background: var(--primary-deep); }

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

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-foreign { background: var(--foreign); color: #fff; box-shadow: 0 8px 20px rgba(13,148,136,.3); }
.btn-foreign:hover { background: #0b7f74; }

/* ---------- Навигация ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -.02em;
}

.logo img { height: 44px; width: auto; margin-right: 10px; }
.logo span { color: var(--primary); }
.logo .dot { color: var(--kids); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}

.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.nav-cta { margin-left: 10px; padding: 10px 20px !important; background: var(--primary); color: #fff !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--primary-deep) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: .25s;
}

/* ---------- Херо ---------- */

.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}

.hero .lead { margin: 22px 0 34px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note {
  margin-top: 26px;
  font-size: .93rem;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Аудитории: карти в херото */
.audience-cards { display: grid; gap: 16px; }

.audience-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.audience-card .icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.audience-card.kids .icon { background: var(--kids-soft); }
.audience-card.adults .icon { background: var(--adults-soft); }
.audience-card.foreign .icon { background: var(--foreign-soft); }

.audience-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.audience-card p { font-size: .92rem; color: var(--ink-mute); }
.audience-card .arrow { margin-left: auto; color: var(--ink-mute); font-size: 1.3rem; transition: transform .18s; }
.audience-card:hover .arrow { transform: translateX(4px); color: var(--primary); }

/* ---------- Секции ---------- */

.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }

/* ---------- Карти / мрежи ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--primary-soft);
}

.card.accent-kids .icon { background: var(--kids-soft); }
.card.accent-foreign .icon { background: var(--foreign-soft); }

/* Курс-карти */
.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.course-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.tag {
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.tag.level { background: var(--primary-soft); color: var(--primary); }
.tag.kids { background: var(--kids-soft); color: #a86d00; }
.tag.foreign { background: var(--foreign-soft); color: var(--foreign); }

.course-card h3 { margin-bottom: 8px; }
.course-card p { color: var(--ink-soft); font-size: .96rem; flex-grow: 1; }
.course-card .meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-mute);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Лента с числа ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
}

.stat span { color: var(--ink-mute); font-size: .95rem; }

/* ---------- Тъмна CTA лента ---------- */

.cta-band {
  background: var(--bg-deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,71,196,.55), transparent 70%);
}

.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #b9c2dd; margin-top: 12px; max-width: 44ch; }
.cta-band > div:last-child { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Тестове ---------- */

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

.quiz-tile {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.quiz-tile:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.quiz-tile .icon { font-size: 1.9rem; margin-bottom: 14px; }
.quiz-tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.quiz-tile p { font-size: .9rem; color: var(--ink-mute); }

.quiz-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  max-width: 720px;
  margin: 0 auto;
}

.quiz-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width .3s ease;
}

.quiz-q { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }

.quiz-opts { display: grid; gap: 12px; }

.quiz-opt {
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.quiz-opt:hover { border-color: var(--primary); background: var(--primary-soft); }

.quiz-meta { margin-top: 22px; font-size: .88rem; color: var(--ink-mute); display: flex; justify-content: space-between; }

.quiz-result { text-align: center; }
.quiz-result .level-badge {
  display: inline-grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.quiz-result h3 { font-size: 1.6rem; margin-bottom: 10px; }
.quiz-result p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 28px; }
.quiz-result .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Екип ---------- */

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

.team-card {
  perspective: 1100px;
  height: 340px;
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
  transform-style: preserve-3d;
}

.team-card:hover .team-card-inner,
.team-card.flipped .team-card-inner { transform: rotateY(180deg); }

.team-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.team-front {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-items: flex-start;
}

.team-front .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.team-front .photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  margin-bottom: 18px;
  border: 3px solid var(--primary-soft);
}

.team-front h3 { font-size: 1.25rem; margin-bottom: 4px; }
.team-front .role { color: var(--ink-mute); font-size: .95rem; }
.team-front .subjects { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.team-front .hint { margin-top: 14px; font-size: .82rem; color: var(--ink-mute); display: flex; align-items: center; gap: 6px; }

.team-back {
  background: var(--bg-deep);
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
}

.team-back h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #8f9cc4; margin-bottom: 10px; }
.team-back p { font-size: .95rem; line-height: 1.6; color: #dde3f3; }
.team-back p + h4 { margin-top: 20px; }

/* ---------- Отзиви ---------- */

.review-grid { columns: 3; column-gap: 24px; }

.review-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.review-card .stars { color: var(--kids); letter-spacing: 3px; margin-bottom: 14px; }
.review-card blockquote { font-size: 1rem; color: var(--ink-soft); }
.review-card footer { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review-card footer .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; color: #fff;
}
.review-card footer b { display: block; font-size: .95rem; }
.review-card footer span { font-size: .84rem; color: var(--ink-mute); }

/* ---------- Стъпки ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--primary-soft);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Разписание (лятна занималня) ---------- */

.schedule { max-width: 680px; margin: 0 auto; }

.schedule-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  align-items: baseline;
}
.schedule-row:nth-child(odd) { background: var(--bg-soft); }
.schedule-row b { font-family: var(--font-display); color: var(--primary); font-size: .98rem; white-space: nowrap; }
.schedule-row span { color: var(--ink-soft); }

/* ---------- Форми ---------- */

.form-grid { display: grid; gap: 18px; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Контакти ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.contact-item b { display: block; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 3px; }
.contact-item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--primary); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.chat-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: #fff;
}
.chat-btn.phone { background: var(--ink); }
.chat-btn.viber { background: #7360f2; }
.chat-btn.messenger { background: #0084ff; }
.chat-btn:hover { opacity: .9; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Футър ---------- */

.footer {
  background: var(--bg-deep);
  color: #aab4d4;
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer .logo { color: #fff; font-size: 1.4rem; }
.footer .tagline { margin-top: 12px; font-size: .95rem; max-width: 30ch; }

.footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: #aab4d4; text-decoration: none; font-size: .95rem; }
.footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
}

/* ---------- Мобилна лента за действие ---------- */

.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .08);
}

.action-bar a {
  background: #fff;
  padding: 13px 8px 15px;
  text-align: center;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.action-bar a.primary { background: var(--primary); color: #fff; }

@media (max-width: 700px) {
  .action-bar { display: grid; }
  body { padding-bottom: 54px; }
}

/* ---------- SVG икони ---------- */

.icon svg, .ci-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-tile .icon svg { width: 30px; height: 30px; color: var(--primary); }
.audience-card.kids .icon { color: #b47607; }
.audience-card.adults .icon { color: var(--primary); }
.audience-card.foreign .icon { color: var(--foreign); }
.card .icon { color: var(--primary); }
.card.accent-kids .icon { color: #b47607; }
.card.accent-foreign .icon { color: var(--foreign); }
.ci-icon { color: var(--primary); }

/* ---------- Анимации при скрол ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптивност ---------- */

@media (max-width: 980px) {
  .hero-grid, .contact-grid, .grid-3, .grid-2, .steps, .team-grid, .quiz-picker { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { columns: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}

@media (max-width: 700px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 60px 0; }
  .hero-grid, .contact-grid, .grid-3, .grid-2, .steps, .team-grid, .quiz-picker, .form-row { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
  .quiz-box { padding: 28px 22px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}
