/* ============================================
   in classroom, стили лендинга V4
   Дизайн-система по референсу Framer,
   голос под родителей 10-класса
   ============================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Токены ---------- */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F5F7FB;
  --surface-dark: #0F0F1E;
  --text: #0F0F1E;
  --text-secondary: #4A4A5A;
  --text-muted: #6B7280;
  --text-strike: #9CA3AF;
  --border: #E5E7EB;
  --accent: #4A5CE0;
  --accent-hover: #3A4CD0;
  --accent-soft: #EEF0FE;
  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(15, 15, 30, 0.06);
  --max: 1160px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Типографика ---------- */
h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 40px; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 12px; }

.lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 620px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 680px;
}

.kicker {
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.kicker-light { color: rgba(255, 255, 255, 0.7); }

.accent { color: var(--accent); }
.accent-bold { color: var(--accent); font-weight: 700; }
.accent-light { color: #A5B0F5; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-highlight {
  background: #fff;
  color: var(--surface-dark);
}
.btn-highlight:hover { background: var(--accent-soft); color: var(--surface-dark); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: 24px;
  flex: 1;
}
.nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }

/* ---------- HERO ---------- */
.hero { padding: 88px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: 48px; margin-bottom: 24px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 20px;
}
.hero-note {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 520px;
  line-height: 1.5;
}

.placeholder {
  background: var(--surface-alt);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.placeholder-hero { aspect-ratio: 4/3; }
.placeholder-portrait { aspect-ratio: 4/5; }
.placeholder-map { aspect-ratio: 4/3; min-height: 320px; }

/* ---------- Media (реальные фото на месте плейсхолдеров) ---------- */
.media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-alt);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-hero { aspect-ratio: 4/3; }
.media-portrait { aspect-ratio: 4/5; }
.media-cabinet { aspect-ratio: 4/3; }

/* ---------- ЗНАКОМО (диалог) ---------- */
.pains { padding: 88px 0; }
.pains-title { margin: 0 0 48px; }
.pains-dialog { max-width: 780px; }
.pain-pair {
  padding: 32px 0;
  border-bottom: 1px solid rgba(15, 15, 30, 0.08);
}
.pain-pair:first-child { padding-top: 0; }
.pain-pair:last-child { border-bottom: none; padding-bottom: 0; }
.pain-voice {
  font-size: 24px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 18px;
}
.pain-reply {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  padding-left: 44px;
  position: relative;
}
.pain-reply::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
}
.pain-author {
  margin-left: 8px;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- ТРИГГЕРЫ ---------- */
.triggers { padding: 88px 0; }
.triggers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  max-width: 1000px;
}
.triggers-list li {
  font-size: 17px;
  color: var(--text);
  padding: 4px 0 4px 24px;
  position: relative;
  line-height: 1.5;
}
.triggers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}
.triggers-list .trigger-sub {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- ЧТО ДАЕТ РАННИЙ СТАРТ / ПОЧЕМУ ОЧНО ---------- */
.jobs {
  padding: 88px 0;
  background: var(--surface-alt);
}
.jobs h2 { margin-bottom: 48px; }
.why-offline { padding: 88px 0; }
.why-offline h2 { margin-bottom: 48px; }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.job-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}
.job-card h3 { margin-bottom: 12px; }
.job-card p { color: var(--text-secondary); margin: 0; }

/* ---------- ПРОГРАММА ---------- */
.program { padding: 96px 0; }
.program h2 { margin-bottom: 20px; }
.program-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
}
.program-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.program-item:last-child { border-bottom: none; }
.program-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
}
.program-body h3 { margin-bottom: 8px; }
.program-body p { color: var(--text-secondary); margin: 0; }

/* ---------- AHA ---------- */
.aha {
  padding: 96px 0;
  background: var(--surface-dark);
  color: #fff;
}
.aha-inner {
  max-width: 780px;
}
.aha h2 { color: #fff; margin-bottom: 24px; font-size: 44px; }
.aha-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 680px;
}
.aha .btn-highlight { margin-top: 24px; }

/* ---------- СРАВНЕНИЕ ---------- */
.compare { padding: 96px 0; background: var(--surface-alt); }
.compare h2 { margin-bottom: 48px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.compare-col {
  padding: 32px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--border);
}
.compare-col-us {
  background: var(--accent-soft);
  border-color: transparent;
}
.compare-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.compare-col-us .compare-title { color: var(--accent); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  padding: 10px 0 10px 20px;
  position: relative;
  line-height: 1.5;
  color: var(--text);
  font-size: 16px;
}
.compare-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.compare-col-others li::before { color: var(--text-muted); }

/* ---------- ТОЧКА Б ---------- */
.pointb { padding: 96px 0; }
.pointb h2 { margin-bottom: 16px; }
.pointb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.pointb-col {
  padding: 32px;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
}
.pointb-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 20px;
}
.pointb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pointb-list li {
  font-size: 16px;
  color: var(--text);
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
}
.pointb-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- ПРЕПОДАВАТЕЛЬ ---------- */
.teacher { padding: 96px 0; background: var(--surface-alt); }
.teacher-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.teacher-content h2 { margin-top: 0; margin-bottom: 20px; }
.teacher-lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.metric-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.metric-value span {
  font-size: 20px;
  font-weight: 700;
}
.metric-caption {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.teacher-cabinet {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 16px;
}
.cabinet-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.placeholder-cabinet { aspect-ratio: 4/3; font-size: 12px; }

.education {
  margin: 0 0 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.education-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.education-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.education-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.education-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.education-list strong { color: var(--text); font-weight: 700; }
.education-list em { font-style: normal; color: var(--text-secondary); }

.diplomas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.diploma-thumb {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-alt);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.diploma-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.diploma-thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.diploma-thumb span {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ---------- ОТЗЫВЫ ---------- */
.reviews { padding: 96px 0; }
.reviews h2 { margin-bottom: 16px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.review-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.review-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-name { font-weight: 600; font-size: 14px; }
.review-stars { color: #F5A623; font-size: 14px; }
.review-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.placeholder-review-shot { aspect-ratio: 4/5; font-size: 12px; }
.reviews-link { font-size: 15px; margin-top: 8px; }
.reviews-link a { color: var(--accent); font-weight: 600; }

/* ---------- ЦЕНА (темная секция) ---------- */
.price { padding: 96px 0; background: var(--surface-dark); color: #fff; }
.price h2 { margin-bottom: 16px; color: #fff; }
.price .kicker { color: rgba(255, 255, 255, 0.55); }
.price .price-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.price .price-card-primary {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(165, 176, 245, 0.35);
}
.price .price-title { color: rgba(255, 255, 255, 0.55); }
.price .price-note { color: rgba(255, 255, 255, 0.6); }
.price .price-old { color: rgba(255, 255, 255, 0.35); }
.price .accent { color: #A5B0F5; }
.price .price-extra { color: rgba(255, 255, 255, 0.7); }
.price .price-disclaimer { color: rgba(255, 255, 255, 0.45); }
.price .enroll-lead { color: rgba(255, 255, 255, 0.75); }
.price .schedule-title { color: #fff; }
.price .schedule-list { border-top-color: rgba(255, 255, 255, 0.12); }
.price .schedule-list li { border-bottom-color: rgba(255, 255, 255, 0.12); color: #fff; }
.price .schedule-list li .schedule-days { color: #fff; }
.price .schedule-list li .schedule-time { color: rgba(255, 255, 255, 0.75); }
.price .schedule-note,
.price .schedule-flex { color: rgba(255, 255, 255, 0.65); }
.price .slots-note {
  background: rgba(255, 107, 107, 0.12);
  border-left-color: #FF6B6B;
  color: #FFB4B4;
}
.price .enroll-cross a { color: #A5B0F5; }
.price .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.price .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
}
.price-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-align: center;
}
.price-card-primary {
  border-color: var(--border);
  border-width: 1px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.price-card-primary::before {
  content: "выгоднее";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.price-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.price-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.price-old {
  font-size: 20px;
  color: var(--text-strike);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 8px;
}
.price-note {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.price-extra {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 15px;
}
.price-disclaimer {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- НАБОР ---------- */
.enroll { padding: 96px 0; }
.enroll-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.enroll h2 { margin-bottom: 20px; }
.enroll-lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
}
.enroll-card {
  padding: 40px;
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-card);
}
.enroll-card-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
}
.enroll-card-value {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.enroll-card-value .accent { color: #A5B0F5; }
.enroll-card-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ---------- МЕСТО ---------- */
.place { padding: 96px 0; background: var(--surface-alt); }
.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.place-info h2 { margin: 8px 0 20px; }
.place-info p { color: var(--text-secondary); font-size: 16px; }
.place-phone {
  margin: 20px 0 24px;
}
.place-phone a {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.place-messengers {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.messenger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.messenger:hover { border-color: var(--accent); color: var(--accent); }
.messenger-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }
.parents { padding: 88px 0; }
.parents-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; max-width: 720px; }
.parents-list li { padding-left: 20px; position: relative; line-height: 1.5; }
.parents-list li::before { content: "–"; position: absolute; left: 0; color: var(--accent, currentColor); }
.reviews + .reviews { padding-top: 0; }
.kicker-inline { margin-top: 56px; }
.faq h2 { margin-bottom: 32px; }
.faq-list { max-width: 820px; }
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary {
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  padding-right: 40px;
  position: relative;
  list-style: none;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -4px;
  font-size: 28px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- ФОРМА ---------- */
.zayavka { padding: 96px 0; background: var(--surface-alt); }
.zayavka-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.zayavka h2 { margin-bottom: 12px; text-align: left; }
.zayavka-sub {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}
.zayavka-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.zayavka-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.zayavka-form label em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 400;
}
.zayavka-form input,
.zayavka-form select {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.15s;
}
.zayavka-form input:focus,
.zayavka-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  font-size: 14px;
}
.checkbox-row input { width: 18px; height: 18px; }
.form-fallback {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 4px 0 0;
}
.form-fallback a { color: var(--accent); font-weight: 600; }

/* ---------- ПОДВАЛ ---------- */
.site-footer {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-grid p { margin-bottom: 8px; font-size: 14px; }
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.footer-tag { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.footer-copy { color: rgba(255, 255, 255, 0.4); font-size: 13px; margin-top: 12px; }

/* ============================================
   Адаптив
   ============================================ */

@media (max-width: 960px) {
  h1, .hero h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .aha h2 { font-size: 32px; }
  .lead, .section-sub { font-size: 17px; }

  .container { padding: 0 24px; }

  .hero { padding: 56px 0 72px; }
  .triggers, .jobs, .program, .aha, .compare, .pointb,
  .teacher, .parents, .reviews, .price, .enroll, .place, .faq, .zayavka {
    padding: 72px 0;
  }

  .hero-grid,
  .teacher-grid,
  .place-grid,
  .enroll-grid,
  .compare-grid,
  .pointb-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jobs-grid,
  .reviews-grid,
  .review-screenshots {
    grid-template-columns: 1fr 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .metrics-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .metric-value { font-size: 32px; }
  .metric-value span { font-size: 16px; }

  .header-row { justify-content: space-between; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  h1, .hero h1 { font-size: 32px; }
  h2, .aha h2 { font-size: 26px; }
  .lead, .section-sub { font-size: 16px; }

  .hero { padding: 40px 0 56px; }
  .pains, .triggers, .jobs, .program, .aha, .compare, .pointb,
  .teacher, .parents, .reviews, .price, .enroll, .place, .faq, .zayavka {
    padding: 56px 0;
  }

  .pains-title { margin-bottom: 32px; }
  .pain-pair { padding: 24px 0; }
  .pain-voice { font-size: 19px; margin-bottom: 12px; }
  .pain-reply { font-size: 17px; padding-left: 28px; }
  .pain-reply::before { font-size: 18px; top: 0; }

  .triggers-list,
  .jobs-grid,
  .reviews-grid,
  .review-screenshots {
    grid-template-columns: 1fr;
  }

  .metrics-row { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  .metric-value { font-size: 40px; }

  .education { padding: 16px 18px; }
  .diplomas { grid-template-columns: 1fr 1fr; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .zayavka-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .price-value { font-size: 32px; }
  .price-old { font-size: 16px; }
  .enroll-card { padding: 28px; }
  .enroll-card-value { font-size: 48px; }
}

/* ---------- Мобильный бургер ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-lock { overflow: hidden; }
body.nav-lock .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-lock .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-lock .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Модалка ---------- */
.modal {
  border: none;
  padding: 0;
  border-radius: var(--radius-card);
  max-width: 480px;
  width: calc(100% - 32px);
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(15, 15, 30, 0.25);
}
.modal::backdrop {
  background: rgba(15, 15, 30, 0.55);
  backdrop-filter: blur(4px);
}
.modal-inner {
  padding: 40px 36px 36px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--surface-alt); color: var(--text); }
.modal-title {
  font-size: 26px;
  margin-bottom: 8px;
}
.modal-sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.modal-form label em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 400;
}
.modal-form input {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.15s;
}
.modal-form input:focus { outline: none; border-color: var(--accent); }
.modal-form .checkbox-row {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.modal-form .checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.modal-form .btn-full { margin-top: 4px; }
.modal-form .form-fallback {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 4px 0 0;
}
.modal-form .form-fallback a { color: var(--accent); font-weight: 600; }
.modal-success {
  padding: 32px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* ---------- Виджет карты ---------- */
.place-map-widget {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-alt);
  min-height: 340px;
}
.place-map-widget iframe {
  position: relative;
  display: block;
  border: none;
  border-radius: var(--radius-card);
}
.map-caption-link {
  color: #eee;
  font-size: 11px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 6px;
  z-index: 1;
  text-decoration: none;
  background: rgba(15, 15, 30, 0.2);
}
.map-caption-link-second { top: 14px; }
.place-address-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.place-address-link:hover { color: var(--accent); }

/* ---------- Виджет отзывов ---------- */
.reviews-widget {
  margin-bottom: 32px;
  max-width: 560px;
}
.yandex-reviews-iframe {
  width: 100%;
  height: 800px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
}
@media (max-width: 620px) {
  .yandex-reviews-iframe { height: 700px; }
}
.placeholder-reviews {
  min-height: 380px;
  font-size: 13px;
}

/* ---------- a11y ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Мобильная навигация ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 40;
  }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }
  .nav.nav-open { transform: translateX(0); display: flex; }
}
@media (max-width: 620px) {
  .modal-inner { padding: 32px 24px 24px; }
  .modal-title { font-size: 22px; }
}

/* ---------- V2: честное позиционирование и блоки доверия ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 28px;
  max-width: 620px;
}
.trust-strip div {
  padding: 16px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.trust-strip strong {
  display: block;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 800;
}
.trust-strip span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.honesty { padding: 40px 0 88px; }
.honesty-card {
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-card);
  padding-top: 48px;
  padding-bottom: 48px;
}
.honesty-card h2 {
  color: #fff;
  max-width: 860px;
}
.honesty-card > p:not(.kicker) {
  max-width: 780px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  margin-bottom: 28px;
}
.honesty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.honesty-grid div {
  padding: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
}
.honesty-grid strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}
.honesty-grid span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

.proof-lite { padding: 88px 0; background: var(--surface-alt); }
.proof-lite h2 { max-width: 820px; margin-bottom: 36px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.proof-card p { color: var(--text-secondary); margin: 0; }

.week { padding: 88px 0; background: var(--surface-alt); }
.week h2 { margin-bottom: 36px; }
.week-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.week-step {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  position: relative;
}
.week-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 16px;
}
.week-step strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}
.week-step p { color: var(--text-secondary); margin: 0; font-size: 15px; }

@media (max-width: 960px) {
  .trust-strip, .honesty-grid, .proof-grid, .week-grid { grid-template-columns: 1fr 1fr; }
  .honesty, .proof-lite, .week { padding: 72px 0; }
}

@media (max-width: 620px) {
  .trust-strip, .honesty-grid, .proof-grid, .week-grid { grid-template-columns: 1fr; }
  .honesty, .proof-lite, .week { padding: 56px 0; }
  .honesty-card { border-radius: 0; }
  .trust-strip strong { font-size: 22px; }
}

/* 2026-09-27: строка фактов вместо плашек (плашки выглядели как кнопки), заметное пробное, статичная карта */
.hero-facts { margin: 0 0 24px; font-size: 15px; font-weight: 600; color: var(--text-muted); line-height: 1.5; }
.price-trial { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: rgba(165, 176, 245, 0.14); color: #fff; font-size: 16px; line-height: 1.5; }
.price-trial strong { color: #A5B0F5; }
.place-map-static { display: block; position: relative; text-decoration: none; }
.place-map-static img { display: block; width: 100%; height: 340px; object-fit: cover; }
.place-map-cta { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.review-initial { font-size: 22px; font-weight: 700; color: var(--accent); }

/* 2026-09-27: расписание под раскрывашкой */
details.schedule > summary.schedule-title { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; margin: 0; padding: 6px 0; user-select: none; }
details.schedule > summary.schedule-title::-webkit-details-marker { display: none; }
details.schedule > summary.schedule-title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
details.schedule[open] > summary.schedule-title::after { transform: rotate(-135deg) translateY(-2px); }
details.schedule[open] > summary.schedule-title { margin-bottom: 12px; }
