/* ===== Токены ===== */
:root {
  --bg: #FFF5E6;
  --paper: #FFFDF8;
  --ink: #1D1A16;
  --muted: #5F564C;
  --red: #FF4B1F;
  --red-dark: #E0380E;
  --yellow: #FFC83D;
  --blue: #4D7CFF;
  --green: #22A06B;
  --radius: 20px;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --font-head: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Golos Text", Arial, sans-serif;
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 96px 0; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head h2 { margin-top: 16px; font-size: clamp(30px, 4.4vw, 50px); }
.section__head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ===== Кнопки, теги, стикеры ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px;
  border: var(--border); border-radius: 14px;
  background: var(--red); color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--red-dark); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #FFBA0F; }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.tag {
  display: inline-block;
  padding: 7px 14px;
  border: var(--border); border-radius: 999px;
  background: var(--paper);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.tag--yellow { background: var(--yellow); }
.tag--ink { background: var(--ink); color: var(--yellow); }

.sticker {
  display: inline-block;
  padding: 10px 16px;
  border: var(--border); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-head); font-size: 13px; font-weight: 700; line-height: 1.2;
}
.sticker--yellow { background: var(--yellow); }
.sticker--red { background: var(--red); color: #fff; }
.sticker--blue { background: var(--blue); color: #fff; }
.sticker--green { background: var(--green); color: #fff; }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; font-weight: 500; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: var(--border); border-radius: 8px;
  background: var(--paper); color: var(--ink);
  font-size: 13px; font-weight: 800;
}
.checklist--sm { gap: 10px; font-size: 15px; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 245, 230, .94);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.header__row { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: var(--border); border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 800;
  transform: rotate(-8deg);
}
.logo__text { font-family: var(--font-head); font-size: 13px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--red); }
.burger { display: none; }

/* ===== Баннер ===== */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 62px); }
.hero h1 mark {
  background: var(--yellow); color: inherit;
  padding: 0 .12em; border-radius: 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero__lead { margin-top: 24px; max-width: 560px; color: var(--muted); font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero__facts b { color: var(--ink); font-family: var(--font-head); font-size: 15px; margin-right: 4px; }
.hero__visual { position: relative; padding: 18px 10px 18px 22px; }
.hero__photo {
  aspect-ratio: 5 / 6;
  border: var(--border); border-radius: 28px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(2deg);
  background: #E9DCC8;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker-1 { position: absolute; left: -8px; top: 34px; transform: rotate(-7deg); font-size: 14px; }
.hero__sticker-1 b { font-size: 20px; }
.hero__sticker-2 { position: absolute; right: -6px; bottom: 30px; transform: rotate(5deg); }

/* ===== Бегущая строка ===== */
.ticker { overflow: hidden; background: var(--ink); color: var(--yellow); border-block: var(--border); transform: rotate(-1.2deg); margin: 0 -10px; }
.ticker__track {
  display: flex; gap: 28px; width: max-content;
  padding: 18px 0;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; text-transform: uppercase;
  animation: ticker 30s linear infinite;
}
.ticker__track i { color: var(--red); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===== Бесплатный урок ===== */
.free {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center;
  padding: 56px;
  border: var(--border); border-radius: 32px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}
.free h2 { margin-top: 18px; font-size: clamp(28px, 3.8vw, 44px); }
.free__copy > p { margin: 18px 0 26px; max-width: 600px; font-size: 18px; }
.ticket {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 30px 26px;
  border: var(--border); border-radius: 24px;
  background: var(--paper);
  transform: rotate(2deg);
}
.ticket__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ticket__date { margin-top: 8px; font-family: var(--font-head); font-size: 24px; }
.ticket__tz { color: var(--muted); font-size: 15px; }
.ticket__price {
  margin: 18px 0 22px; padding: 14px 0;
  width: 100%; border-block: 2px dashed var(--ink);
  font-family: var(--font-head); font-size: 54px; font-weight: 800; line-height: 1; color: var(--red);
}
.ticket small { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ===== Цифры ===== */
.stats { background: var(--ink); color: var(--paper); }
.stats .section__head h2 { color: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 30px 26px;
  border: 2px solid var(--paper); border-radius: var(--radius);
}
.stat:nth-child(odd) { transform: rotate(-1deg); }
.stat:nth-child(even) { transform: rotate(1deg); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(40px, 4.6vw, 58px); font-weight: 800; line-height: 1; color: var(--yellow); }
.stat strong small { font-size: .55em; margin-left: 4px; }
.stat > span { display: block; margin-top: 14px; color: #D8CCBC; font-size: 16px; }

/* ===== До / После ===== */
.ba {
  position: relative;
  aspect-ratio: 2 / 1;
  border: var(--border); border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  background: #E9DCC8;
  user-select: none;
}
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--blue); outline-offset: 4px; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .ba__img { filter: saturate(.3) sepia(.25) brightness(.75) contrast(.8) blur(.6px); }
/* Пыль и «паутинка» царапин поверх фото «до» */
.ba__before::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 60% 45%, rgba(255, 255, 255, .08) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(140, 115, 80, .2), rgba(60, 50, 40, .35));
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 4px; transform: translateX(-50%);
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
  pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  transform: translate(-50%, -50%);
  border: var(--border); border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-head); font-size: 20px; font-weight: 800; line-height: 1;
}
.ba__label {
  position: absolute; top: 18px;
  padding: 7px 16px;
  border: var(--border); border-radius: 999px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  pointer-events: none;
}
.ba__label--before { left: 18px; background: var(--paper); }
.ba__label--after { right: 18px; background: var(--red); color: #fff; }
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}

/* ===== Программа ===== */
.program { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module {
  padding: 28px;
  border: var(--border); border-radius: var(--radius);
  background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease;
}
.module:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.module__week { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 700; }
.module h3 { margin: 18px 0 10px; font-size: 21px; }
.module p { color: var(--muted); font-size: 16px; }

/* ===== Калькулятор ===== */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.calc__controls {
  display: grid; gap: 30px; align-content: start;
  padding: 34px;
  border: var(--border); border-radius: 26px;
  background: var(--paper);
}
.range { display: grid; gap: 12px; }
.range__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.range__head output { font-family: var(--font-head); font-size: 24px; font-weight: 800; white-space: nowrap; }
.range input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 14px; margin: 8px 0;
  border: var(--border); border-radius: 999px;
  background: linear-gradient(var(--red), var(--red)) 0 / var(--fill, 50%) 100% no-repeat, #fff;
  cursor: pointer;
}
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border: var(--border); border-radius: 50%;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
.range input::-moz-range-thumb {
  width: 26px; height: 26px;
  border: var(--border); border-radius: 50%;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}
.range__scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.calc__hint { padding-top: 18px; border-top: 2px dashed rgba(29, 26, 22, .2); color: var(--muted); font-size: 15px; }
.calc__result {
  display: flex; flex-direction: column; gap: 14px;
  padding: 34px;
  border: var(--border); border-radius: 26px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
}
.calc__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calc__big { font-family: var(--font-head); font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; }
.calc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-top: 14px;
  border-top: 2px solid rgba(29, 26, 22, .15);
  font-size: 15px;
}
.calc__row b { font-family: var(--font-head); font-size: 20px; white-space: nowrap; }
.calc__result .btn { margin-top: auto; }
.calc__result small { color: #5C4A16; font-size: 13px; }

/* ===== Тарифы ===== */
.tariffs { background: #FFE9CC; border-block: var(--border); }
.tariffs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tariff {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 28px 28px;
  border: var(--border); border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.tariff h3 { font-size: 23px; }
.tariff__format { margin-top: 8px; color: var(--muted); font-weight: 600; }
.tariff__price { margin-top: 22px; font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.tariff__price s { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--muted); }
.tariff__split { margin: 10px 0 24px; color: var(--muted); font-size: 15px; }
.tariff .checklist { margin-bottom: 28px; flex: 1; align-content: start; }
.tariff--hit { background: var(--red); color: #fff; transform: translateY(-14px); box-shadow: 8px 8px 0 var(--ink); }
.tariff--hit .tariff__format, .tariff--hit .tariff__split, .tariff--hit .tariff__price s { color: #FFE2D6; }
.tariff__badge { position: absolute; top: -20px; right: 20px; transform: rotate(4deg); }

/* ===== Преподаватели ===== */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.teacher { border: var(--border); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.teacher__photo { position: relative; aspect-ratio: 6 / 7; border-bottom: var(--border); background: #E9DCC8; overflow: hidden; }
.teacher__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teacher:hover img { transform: scale(1.05); }
.teacher__photo--empty {
  display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, #F3E6D2 0 14px, #EDDCC3 14px 28px);
}
.photo-stub {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #9A8A76;
  font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.teacher__photo .sticker { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; font-size: 12px; transform: rotate(-3deg); }
.teacher__info { padding: 22px 22px 24px; }
.teacher__info h3 { font-size: 19px; }
.teacher__role { display: block; margin: 8px 0 12px; color: var(--red-dark); font-size: 14px; font-weight: 700; }
.teacher__info p { color: var(--muted); font-size: 15px; }

/* ===== Отзывы ===== */
.reviews { background: #FFE9CC; border-block: var(--border); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  border: var(--border); border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.review__stars { color: var(--red); font-size: 20px; letter-spacing: 3px; }
.review__text { flex: 1; font-size: 17px; }
.review__result {
  align-self: flex-start;
  padding: 6px 12px; border-radius: 8px;
  background: var(--ink); color: var(--yellow);
  font-size: 14px; font-weight: 700;
}
.review__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 2px dashed rgba(29, 26, 22, .2); }
.review__avatar {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: var(--border); border-radius: 50%;
  background: repeating-linear-gradient(-45deg, #F3E6D2 0 6px, #EDDCC3 6px 12px);
  color: #9A8A76; font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.review__author b { display: block; }
.review__author small { display: block; color: var(--muted); font-size: 14px; }

/* ===== Кому подойдёт ===== */
.fit { background: var(--paper); border-block: var(--border); }
.fit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit-card { padding: 28px; border: var(--border); border-radius: var(--radius); background: var(--bg); }
.fit-card:nth-child(3n+1) .fit-card__icon { background: var(--yellow); }
.fit-card:nth-child(3n+2) .fit-card__icon { background: var(--red); color: #fff; }
.fit-card:nth-child(3n) .fit-card__icon { background: var(--blue); color: #fff; }
.fit-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: var(--border); border-radius: 50%;
  font-family: var(--font-head); font-size: 16px; font-weight: 800;
}
.fit-card h3 { margin: 20px 0 10px; font-size: 20px; }
.fit-card p { color: var(--muted); font-size: 16px; }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq details { border: var(--border); border-radius: 18px; background: var(--paper); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px;
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ===== Обратная связь ===== */
.contact {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  padding: 56px;
  border: var(--border); border-radius: 32px;
  background: var(--red); color: #fff;
  box-shadow: 8px 8px 0 var(--ink);
}
.contact h2 { margin-top: 18px; font-size: clamp(28px, 3.8vw, 44px); }
.contact__copy > p { margin-top: 18px; font-size: 18px; color: #FFE7DE; }
.contact__list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 14px; align-items: baseline; }
.contact__list b { min-width: 90px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #FFD3C4; }
.contact__list a, .contact__list span { font-weight: 700; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form {
  padding: 34px;
  border: var(--border); border-radius: 24px;
  background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 22px; font-size: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 14px; font-weight: 700; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  border: var(--border); border-radius: 12px;
  background: #fff;
  font-size: 16px;
  outline: none;
  transition: box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 3px 3px 0 var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--red); background: #FFF0EB; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.form__status { margin-top: 14px; font-size: 15px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; border: var(--border); border-radius: 12px; background: #DDF5E8; }
.form__status.is-error { padding: 14px 16px; border: var(--border); border-radius: 12px; background: #FFE3D9; }

/* ===== Окно оплаты ===== */
.modal {
  width: min(520px, 100% - 32px);
  padding: 0;
  border: var(--border); border-radius: 26px;
  background: var(--paper); color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.modal::backdrop { background: rgba(29, 26, 22, .6); }
.modal__body { position: relative; padding: 34px 32px 28px; }
.modal h3 { margin: 16px 0 6px; font-size: 24px; padding-right: 30px; }
.modal__price { margin-bottom: 22px; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--red); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border: var(--border); border-radius: 50%;
  background: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--yellow); }
.link-btn { display: block; margin: 14px auto 0; border: 0; background: none; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ===== Появление при прокрутке (класс ставит script.js) ===== */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .6s ease, translate .6s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ===== Квиз ===== */
.tariffs__quiz { margin-top: 22px; }
.quiz__progress { height: 10px; margin: 20px 0 6px; border: var(--border); border-radius: 999px; background: #fff; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s ease; }
.quiz__count { color: var(--muted); font-size: 14px; font-weight: 600; }
.quiz__step h3 { margin: 6px 0 20px; font-size: 22px; padding-right: 0; }
.quiz__options { display: grid; gap: 10px; }
.quiz__option {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 16px 18px;
  border: var(--border); border-radius: 14px;
  background: #fff; text-align: left;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.quiz__option:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); background: #FFF8EC; }
.quiz__option i { flex: none; font-style: normal; font-size: 22px; }
.quiz__back { margin: 16px 0 0; }
.quiz__result-price { margin: 4px 0 14px; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--red); }
.quiz__result p { margin-bottom: 22px; color: var(--muted); }
.quiz__result .btn + .btn { margin-top: 12px; }

/* ===== Подвал ===== */
.footer { padding: 40px 0; background: var(--ink); color: #CDBFAE; font-size: 14px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo--light { color: var(--paper); }
.footer__info { text-align: right; display: grid; gap: 6px; }
.footer a { color: var(--paper); }
.mobile-cta { display: none; }

/* ===== Адаптив ===== */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .teachers { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header__cta { display: none; }
  .burger {
    display: grid; gap: 5px; place-content: center;
    margin-left: auto;
    width: 46px; height: 46px;
    border: var(--border); border-radius: 12px;
    background: var(--paper); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px 20px 20px;
    background: var(--bg); border-bottom: var(--border);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(29, 26, 22, .12); }

  .hero__grid, .free, .contact, .faq, .calc { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { max-width: 460px; }
  .program, .tariffs__grid, .fit__grid { grid-template-columns: 1fr 1fr; }
  .tariff--hit { transform: none; }
  .ticket { max-width: 360px; }
  .faq { gap: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 30px; }
  .section__head p { font-size: 16px; }
  .header__row { height: 66px; }
  .hero { padding: 36px 0 56px; }
  .hero__grid { gap: 40px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { padding: 14px 8px 14px 14px; }
  .ticker__track { font-size: 17px; padding: 14px 0; }
  .free, .contact { padding: 28px 20px; border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); }
  .free__copy > p, .contact__copy > p { font-size: 16px; }
  .ticket { transform: none; max-width: none; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 20px 14px; }
  .stat:nth-child(n) { transform: none; }
  .stat strong { font-size: 30px; }
  .stat > span { font-size: 14px; }
  .program, .tariffs__grid, .fit__grid, .teachers, .reviews__grid { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); }
  .ba__handle span { width: 46px; height: 46px; font-size: 16px; }
  .ba__label { top: 12px; padding: 5px 12px; font-size: 12px; }
  .ba__label--before { left: 12px; }
  .ba__label--after { right: 12px; }
  .calc__controls, .calc__result { padding: 24px 18px; }
  .calc__result { box-shadow: 5px 5px 0 var(--ink); }
  .range__head output { font-size: 20px; }
  .tariffs__grid { gap: 30px; }
  .form { padding: 24px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .modal__body { padding: 28px 20px 22px; }
  .footer { padding-bottom: 100px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .footer__info { text-align: left; }
  .mobile-cta {
    display: flex;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 25;
  }
}

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