/* ==========================================================================
   Лендинг «В Паре» — v-pare.ru
   Дизайн по бренд-буку: зелёный #003C37, кремовый #F4F1E8, янтарный #C8943C
   ========================================================================== */

/* ---------- Шрифт (self-hosted, вариативный: 400–800) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены бренда ---------- */
:root {
  --green: #003c37;
  --green-alt: #0e3a2e;
  --green-deep: #002a26;
  --green-block: #0e2a25;
  --green-border: #12463f;
  --cream: #f4f1e8;
  --cream-alt: #e8e5de;
  --amber: #c8943c;
  --amber-dark: #b8862e;
  --amber-soft: rgba(200, 148, 60, 0.14);
  --mint: #3fb780;
  --text: #0f2a1f;
  --text-muted: #7a7770;
  --text-on-dark: #f4f1e8;
  --text-on-dark-muted: #a8a49b;
  --border: #d5d2cb;
  --white: #ffffff;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(15, 42, 31, 0.04), 0 8px 24px rgba(15, 42, 31, 0.06);
  --shadow-lift: 0 4px 12px rgba(15, 42, 31, 0.08), 0 18px 40px rgba(15, 42, 31, 0.1);

  --container: 1280px;
  --pad-x: 32px;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

/* ---------- Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--cream-alt {
  background: var(--cream-alt);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

/* ---------- Типографика ---------- */
.h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}

.section-head .lead {
  margin-top: 18px;
}

.small {
  font-size: 15px;
  line-height: 1.5;
}

.muted {
  color: var(--text-muted);
}

.on-dark {
  color: var(--text-on-dark);
}

.on-dark .lead,
.on-dark .muted {
  color: var(--text-on-dark-muted);
}

.amber {
  color: var(--amber);
}

/* Надзаголовок-«хлебная крошка» */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--amber-soft);
  border: 1px solid rgba(200, 148, 60, 0.35);
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow--light {
  background: rgba(0, 60, 55, 0.06);
  border-color: rgba(0, 60, 55, 0.14);
  color: var(--green);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  max-width: 100%;
}

/* Кнопки с длинной подписью: переносим текст, чтобы они не вылезали
   за пределы блока на планшетах и узких ноутбуках (iPad портрет ≈ 768–834px) */
.price-foot .btn,
.proof-foot .btn {
  white-space: normal;
  text-align: center;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--amber);
  color: #2a1c05;
  box-shadow: 0 6px 18px rgba(200, 148, 60, 0.28);
}

.btn--primary:hover {
  background: var(--amber-dark);
}

.btn--ghost-dark {
  background: transparent;
  border-color: rgba(244, 241, 232, 0.4);
  color: var(--cream);
}

.btn--ghost-dark:hover {
  border-color: var(--cream);
  background: rgba(244, 241, 232, 0.08);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--green);
}

.btn--ghost:hover {
  border-color: var(--green);
}

.btn--wide {
  padding-left: 38px;
  padding-right: 38px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-row--center {
  justify-content: center;
}

.btn-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.on-dark .btn-note {
  color: var(--text-on-dark-muted);
}

.icon-16 {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Текстовая ссылка-якорь */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 1px solid rgba(0, 60, 55, 0.25);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.link-arrow:hover {
  color: var(--amber-dark);
  border-color: var(--amber);
}

/* ---------- Тёмный блок ---------- */
.dark-block {
  position: relative;
  overflow: hidden;
  background: var(--green);
  border-radius: var(--radius-lg);
  color: var(--text-on-dark);
}

/* Фирменная точечная сетка */
.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(63, 183, 128, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.dark-block > * {
  position: relative;
  z-index: 1;
}

/* Мягкое янтарное свечение */
.glow::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 148, 60, 0.16), transparent 68%);
  pointer-events: none;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--green);
  border-bottom: 1px solid rgba(244, 241, 232, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

/* Высота задана максимумом, а не жёстко, и ширина тоже ограничена сверху:
   при нехватке места картинка уменьшается ЦЕЛИКОМ, сохраняя пропорции. С
   жёсткой высотой и общим правилом `img { max-width: 100% }` браузер оставлял
   высоту и резал ширину — логотип сплющивался. */
.header__logo img {
  height: auto;
  width: auto;
  max-height: 34px;
  max-width: 100%;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(244, 241, 232, 0.86);
  transition: color 0.18s ease;
}

.header__nav a:hover {
  color: var(--amber);
}

.header__cta {
  padding: 11px 22px;
  font-size: 15px;
}

/* ---------- Экран 1: оффер ---------- */
.hero {
  padding: 40px 0 24px;
}

.hero__block {
  padding: 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

/* Заголовок первого экрана: помельче, чтобы строка не рвалась */
.h1--hero {
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.h1__line {
  display: block;
}

.hero__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.hero__list li {
  position: relative;
  padding-left: 32px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.45;
  color: rgba(244, 241, 232, 0.88);
}

.hero__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--mint);
  border-bottom: 2.5px solid var(--mint);
  border-radius: 2px;
  transform: rotate(-45deg);
}

.hero__buttons {
  margin-top: 34px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 14px 24px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.35;
  color: rgba(244, 241, 232, 0.7);
}

.hero__trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.hero__trust svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--amber);
  opacity: 0.85;
}

.hero__trust b {
  color: rgba(244, 241, 232, 0.95);
  font-weight: 700;
}

.hero__media {
  min-width: 0;
}

.hero__art {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Экран 2: арифметика внимания ---------- */
.attention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.att-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.att-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.att-card__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
}

.att-card__num {
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(0, 60, 55, 0.32);
}

.att-card__unit {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 6px;
}

.att-card__text {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Полоса-индикатор доли внимания */
.att-bar {
  margin-top: 20px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 42, 31, 0.08);
  overflow: hidden;
}

.att-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: rgba(0, 60, 55, 0.32);
}

/* Акцентная карточка «Пара» */
.att-card--accent {
  background: var(--green);
  border-color: var(--green);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lift);
}

.att-card--accent .att-card__label {
  color: var(--amber);
}

.att-card--accent .att-card__num {
  color: var(--amber);
}

.att-card--accent .att-card__text {
  color: rgba(244, 241, 232, 0.78);
}

.att-card--accent .att-bar {
  background: rgba(244, 241, 232, 0.14);
}

.att-card--accent .att-bar__fill {
  background: var(--amber);
}

.att-card__badge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(63, 183, 128, 0.16);
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.att-note {
  max-width: 900px;
  margin: 44px auto 0;
  padding: 28px 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.att-cta {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Экран 3: честно о формате ---------- */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.qa-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.qa-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-dark);
  font-size: 21px;
  font-weight: 800;
}

.qa-card__q {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--green);
}

.qa-card__a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Экран 4: артефакты ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.proof-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(244, 241, 232, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.proof-card__shot {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.proof-card__shot svg {
  width: 100%;
  height: auto;
}

.proof-card__body {
  padding: 26px 26px 30px;
}

.proof-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.proof-card__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.proof-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
}

.proof-foot__text {
  max-width: 620px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--cream);
}

.proof__block {
  padding: 64px;
}

/* ---------- Экран 5: гарантии ---------- */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.guar-card {
  display: flex;
  gap: 22px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.guar-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(0, 60, 55, 0.06);
  color: var(--green);
}

.guar-card__icon svg {
  width: 26px;
  height: 26px;
}

.guar-card__num {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.guar-card__title {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--green);
}

.guar-card__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.guar-note {
  max-width: 940px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.guar-note b {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Экран 6: таймлайн занятия ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.tl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* соединительный пунктир: тянется от шага к следующему, у последнего его нет.
   Метка времени лежит выше по стеку и закрывает линию собой. */
.tl-step::before {
  content: '';
  position: absolute;
  left: 0;
  right: -16px;
  top: 20px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(200, 148, 60, 0.5) 0 8px,
    transparent 8px 16px
  );
}

.tl-step:last-child::before {
  display: none;
}

.tl-step__time {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tl-step--break .tl-step__time {
  background: var(--cream-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tl-step--last .tl-step__time {
  background: var(--amber);
  color: #2a1c05;
}

.tl-step__body {
  flex: 1;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
}

.tl-step--break .tl-step__body {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.tl-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 44px auto 0;
  padding: 24px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Экран 7: преподаватели ---------- */
.select-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.select-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: sel;
}

.sel-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.sel-step:last-child {
  border-bottom: none;
}

.sel-step__n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber-dark);
  font-size: 15px;
  font-weight: 800;
}

.sel-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
}

.sel-step__text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.select-rate {
  margin-top: 26px;
  padding: 22px 26px;
  background: var(--green);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
}

.select-rate b {
  color: var(--amber);
  font-size: 22px;
  font-weight: 800;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.teacher-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.teacher-card__ava {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-alt);
}

.teacher-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.teacher-card__meta {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.teacher-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 60, 55, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
}

.tag--amber {
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.teacher-card__quote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}

/* ---------- Экран 8: цена ---------- */
.price__block {
  padding: 56px;
}

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.price-main__amount {
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--amber);
  white-space: nowrap;
}

.price-main__for {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
}

.price-main__hour {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(244, 241, 232, 0.72);
}

.price-main__month {
  margin-top: 22px;
  padding: 16px 22px;
  border: 1px dashed rgba(244, 241, 232, 0.28);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--cream);
}

.price-main__month b {
  font-weight: 800;
  color: var(--amber);
}

.price-includes__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.price-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 241, 232, 0.12);
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(244, 241, 232, 0.88);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--mint);
}

.price-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
}

.price-foot__note {
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244, 241, 232, 0.6);
}

/* ---------- Экран 9: как начать ---------- */
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.start-card {
  position: relative;
  padding: 34px 30px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.start-card__n {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  color: rgba(0, 60, 55, 0.08);
}

.start-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  color: var(--amber-dark);
}

.start-card__icon svg {
  width: 23px;
  height: 23px;
}

.start-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
}

.start-card__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.start-cta {
  margin-top: 44px;
  text-align: center;
}

/* мини-форма */
.fallback-form {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 32px 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.fallback-form__head {
  text-align: center;
  margin-bottom: 22px;
}

.fallback-form__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.fallback-form__sub {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 12px;
}

.field input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field input::placeholder {
  color: #a5a29a;
}

.field input:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.form-ok {
  display: none;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(63, 183, 128, 0.12);
  border: 1px solid rgba(63, 183, 128, 0.35);
  color: #2d7a55;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.form-ok.is-visible {
  display: block;
}

/* ---------- Sticky-кнопка (mobile) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 60, 55, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(244, 241, 232, 0.12);
}

.sticky-cta .btn {
  width: 100%;
}

/* ---------- Экран 10: FAQ-аккордеон ---------- */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item[open] {
  border-color: rgba(200, 148, 60, 0.55);
  box-shadow: var(--shadow-card);
}

.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.4;
}

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

.faq-item__q:hover {
  color: var(--amber-dark);
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.faq-item__sign {
  flex: none;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1px solid rgba(200, 148, 60, 0.35);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item__sign::before,
.faq-item__sign::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--amber-dark);
}

.faq-item__sign::after {
  transform: rotate(90deg);
  transition: opacity 0.2s ease;
}

.faq-item[open] .faq-item__sign {
  background: var(--amber);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__sign::before,
.faq-item[open] .faq-item__sign::after {
  background: #fff;
}

.faq-item[open] .faq-item__sign::after {
  opacity: 0;
}

.faq-item__a {
  padding: 0 70px 22px 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.faq-foot {
  max-width: 900px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

/* ---------- Экран 11: финальный CTA ---------- */
.final__block {
  padding: 76px 72px;
  text-align: center;
}

.final__inner {
  max-width: 780px;
  margin: 0 auto;
}

.final__text {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(244, 241, 232, 0.78);
}

.final .btn-row {
  margin-top: 36px;
  justify-content: center;
}

.final__note {
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(244, 241, 232, 0.55);
}

/* ---------- Экран 12: футер ---------- */
.footer {
  background: var(--green);
  color: rgba(244, 241, 232, 0.72);
  padding: 64px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 241, 232, 0.12);
}

.footer__logo img {
  height: auto;
  width: auto;
  max-height: 34px;
  max-width: 100%;
  display: block;
}

.footer__about {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 420px;
}

.footer__about a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 148, 60, 0.4);
}

.footer__about a:hover {
  color: var(--cream);
}

.footer__col-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.45);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: rgba(244, 241, 232, 0.78);
  text-decoration: none;
  font-size: 15px;
}

.footer__links a:hover {
  color: var(--amber);
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer__social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 232, 0.18);
  color: rgba(244, 241, 232, 0.8);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.footer__social:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--green);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__social-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(244, 241, 232, 0.5);
}

.footer__bottom a {
  color: rgba(244, 241, 232, 0.62);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 232, 0.2);
}

.footer__bottom a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.footer__legal {
  margin-right: auto;
}

/* ---------- Квиз-мост /start ---------- */
.quiz-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.quiz-page .header {
  position: static;
}

/* на квизе нет sticky-CTA — нижний отступ под неё не нужен */
.quiz-page {
  padding-bottom: 0 !important;
}

.quiz__home {
  margin-left: auto;
  padding: 11px 22px;
  font-size: 15px;
}

.quiz-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
}

.quiz {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.quiz__block {
  padding: 56px 56px 52px;
  text-align: center;
}

.quiz__progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 34px;
}

.quiz__progress span {
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: rgba(244, 241, 232, 0.18);
  transition: background 0.25s ease;
}

.quiz__progress span.is-done {
  background: var(--amber);
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
  animation: quizIn 0.28s ease;
}

@keyframes quizIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.quiz__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-weight: 800;
}

.quiz__sub {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(244, 241, 232, 0.75);
}

.quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.quiz-opt {
  appearance: none;
  border: 1px solid rgba(244, 241, 232, 0.22);
  background: rgba(244, 241, 232, 0.06);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.quiz-opt:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--green);
  transform: translateY(-2px);
}

.quiz-opt:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.quiz-opt--wide {
  min-width: 240px;
}

.quiz__back {
  margin-top: 28px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  color: rgba(244, 241, 232, 0.5);
  cursor: pointer;
  padding: 6px 10px;
}

.quiz__back:hover {
  color: var(--amber);
}

.quiz__summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}

.quiz__summary .tag {
  background: rgba(244, 241, 232, 0.08);
  border-color: rgba(244, 241, 232, 0.2);
  color: var(--cream);
}

.quiz__final-note {
  margin: 26px 0 0;
  font-size: 14px;
  color: rgba(244, 241, 232, 0.5);
}

.quiz-foot {
  text-align: center;
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-muted);
}

.quiz-foot a {
  color: var(--amber-dark);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* в одну колонку иллюстрация не должна разрастаться на всю ширину */
  .hero__media {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .hero__block,
  .proof__block {
    padding: 48px 40px;
  }

  .attention-grid,
  .qa-grid,
  .proof-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }

  .att-card__num {
    font-size: 60px;
  }

  .price__block {
    padding: 44px 36px;
  }

  .select-grid,
  .price-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* таймлайн → вертикальный */
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
  }

  .tl-step::before {
    left: 44px;
    right: auto;
    top: 20px;
    bottom: -20px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      rgba(200, 148, 60, 0.5) 0 8px,
      transparent 8px 16px
    );
  }

  .tl-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 10px 0;
  }

  .tl-step__time {
    flex: none;
    min-width: 104px;
    justify-content: center;
    margin-left: -8px;
  }

  .tl-step__body {
    padding: 16px 20px;
  }
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --pad-x: 18px;
    --radius-lg: 22px;
  }

  .hero__trust {
    grid-template-columns: 1fr;
    justify-items: start;
    margin-top: 30px;
    padding-top: 22px;
    gap: 12px;
  }

  .hero__trust li {
    justify-content: flex-start;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .hero {
    padding: 20px 0 12px;
  }

  .hero__block,
  .proof__block {
    padding: 36px 24px 40px;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 15px 24px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }

  .price-foot .btn,
  .proof-foot .btn {
    width: 100%;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .header__cta {
    display: none;
  }

  /* Вместе с кнопкой убираем и её обёртку. Скрыт был только сам `.header__cta`,
     а `.vp-connect` вокруг него продолжал держать свои 260 px в строке шапки —
     и выдавливал логотип: на 360 px от него оставалась полоска в 40 px вместо
     201. На узком экране кнопка связи и не нужна: внизу экрана появляется
     липкая полоса с той же кнопкой. */
  .header .vp-connect {
    display: none;
  }

  .header__inner {
    height: 64px;
  }

  .header__logo img {
    max-height: 28px;
  }

  .sticky-cta {
    display: block;
    transform: translateY(110%);
    transition: transform .25s ease;
  }

  .sticky-cta.is-visible {
    transform: none;
  }

  body {
    padding-bottom: 78px;
  }

  .att-note,
  .guar-note {
    padding: 22px 20px;
    font-size: 15px;
  }

  .guar-card {
    flex-direction: column;
    gap: 16px;
    padding: 26px 22px;
  }

  .proof-foot,
  .price-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .price__block {
    padding: 32px 22px 36px;
  }

  .teacher-grid {
    grid-template-columns: 1fr;
  }

  /* на узком экране шаги идут колонкой — соединительная линия не нужна */
  .tl-step::before {
    display: none;
  }

  .tl-step {
    flex-direction: column;
    gap: 10px;
  }

  .tl-step__time {
    margin-left: 0;
  }

  .tl-foot,
  .fallback-form {
    padding: 22px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row .btn {
    width: 100%;
  }

  .start-card__n {
    font-size: 38px;
  }

  .faq-item__q {
    padding: 16px 18px;
    font-size: 16px;
    gap: 12px;
  }

  .faq-item__a {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .final__block {
    padding: 40px 22px 44px;
  }

  .footer {
    padding: 44px 0 32px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .quiz-wrap {
    padding: 28px 0 40px;
  }

  .quiz__block {
    padding: 34px 22px 36px;
  }

  .quiz__options {
    flex-direction: column;
  }

  .quiz-opt {
    width: 100%;
  }
}

/* ---------- Кнопки мессенджеров ---------- */
.btn--tg {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.32);
}

.btn--tg:hover {
  background: linear-gradient(135deg, #1d9bd5, #1a8dc2);
  color: #fff;
}

.btn--max {
  background: linear-gradient(135deg, #471AFF 0%, #6E1AFF 52%, #9500FF 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(71, 26, 255, 0.34);
}

.btn--max:hover {
  background: linear-gradient(135deg, #3a12d9 0%, #5c14d9 52%, #7d00d9 100%);
  color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------- Футер: фирменные соцсети ---------- */
.footer__social--tg {
  background: #2AABEE;
  border-color: #2AABEE;
  color: #fff;
}

.footer__social--tg:hover {
  background: #1a8dc2;
  border-color: #1a8dc2;
  color: #fff;
}

.footer__social--max {
  background: linear-gradient(135deg, #471AFF 0%, #6E1AFF 52%, #9500FF 100%);
  border-color: transparent;
  color: #fff;
}

.footer__social--max:hover {
  background: linear-gradient(135deg, #3a12d9 0%, #5c14d9 52%, #7d00d9 100%);
  color: #fff;
}

.footer__social--vk {
  background: #0077FF;
  border-color: #0077FF;
  color: #fff;
}

.footer__social--vk:hover {
  background: #0062d1;
  border-color: #0062d1;
  color: #fff;
}

.footer__phone {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer__phone a {
  color: #fff;
  text-decoration: none;
}

.footer__phone a:hover {
  color: var(--amber);
}

/* ---------- Секция отзывов ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__ava {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-alt);
}

.review-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
  margin: 0;
}

.review-card__meta {
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-muted);
}

.review-card__text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

/* ---------- Видео-модалка ---------- */
#videoModal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#videoModal[hidden] {
  display: none;
}

.vmodal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.vmodal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.vmodal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.vmodal-close svg {
  width: 18px;
  height: 18px;
}

.vmodal-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.vmodal-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- UTM-фильтрация ---------- */
.utm-tg .js-ch-max { display: none !important; }
.utm-max .js-ch-tg { display: none !important; }

/* Sticky MAX скрыта без utm.
   `:not(.vp-connect__link)` — про кнопки, переехавшие в раскрывающийся блок
   выбора связи (connect.js): там MAX нужен ВСЕГДА, это и есть выбор. */
html:not(.utm-max) .sticky-cta .js-ch-max:not(.vp-connect__link) { display: none; }

/* Запасные MAX-кнопки для мест, где по умолчанию только Telegram */
html:not(.utm-max) .js-ch-max--fallback:not(.vp-connect__link) { display: none !important; }

/* ---------- Адаптив отзывов ---------- */
@media (max-width: 1100px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Знак MAX (официальный контур брендбука) */
.icon-max {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Строка доверия: на планшете три колонки уже не помещаются */
@media (max-width: 900px) {
  .hero__trust {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .hero__trust li {
    justify-content: flex-start;
  }
}


/* ===== БЛОК: pair ===== */
/* ======================= БЛОК #pair — Что такое обучение в паре ======================= */

.pair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.pair-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pair-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 60, 55, 0.06);
  color: var(--green);
}

.pair-card__icon svg {
  width: 26px;
  height: 26px;
}

.pair-card__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.pair-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* Адаптив: 2 колонки на планшете */
@media (max-width: 1000px) {
  .pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Адаптив: 1 колонка на мобильном */
@media (max-width: 640px) {
  .pair-grid {
    grid-template-columns: 1fr;
  }

  .pair-card {
    padding: 26px 22px;
  }
}


/* ===== БЛОК: extra ===== */
/* ===== БЛОК: extra2 — горизонтальные полосы с нумерацией 01–04 ===== */

/* Список без маркеров браузера */
.extra2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Одна строка-полоса */
.extra2-item {
  display: grid;
  /* [число] [иконка] [текст] */
  grid-template-columns: 80px 64px 1fr;
  align-items: center;
  gap: 0 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.18s ease;
}

.extra2-item:first-child {
  border-top: 1px solid var(--border);
}

/* Крупный порядковый номер */
.extra2-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Иконка в круглом значке */
.extra2-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--text-on-dark);
  flex-shrink: 0;
}

.extra2-icon svg {
  width: 26px;
  height: 26px;
}

/* Текстовый блок справа */
.extra2-body {
  min-width: 0;
}

.extra2-title {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 6px;
}

.extra2-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
}

/* ---- Адаптив: планшет (≤ 1000px) ---- */
@media (max-width: 1000px) {
  .extra2-item {
    grid-template-columns: 56px 52px 1fr;
    gap: 0 20px;
    padding: 24px 0;
  }

  .extra2-num {
    font-size: clamp(24px, 3.5vw, 32px);
  }

  .extra2-icon {
    width: 48px;
    height: 48px;
  }

  .extra2-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* ---- Адаптив: мобильный (≤ 640px) ---- */
@media (max-width: 640px) {
  .extra2-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 0 16px;
    padding: 22px 0;
  }

  /* Номер — левая колонка, строка 1–2 (растягивается) */
  .extra2-num {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 28px;
    align-self: start;
    padding-top: 2px;
  }

  /* Иконка — правая колонка, строка 1 */
  .extra2-icon {
    grid-column: 2;
    grid-row: 1;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .extra2-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Текст — правая колонка, строка 2 */
  .extra2-body {
    grid-column: 2;
    grid-row: 2;
  }

  .extra2-title {
    font-size: 16px;
  }
}


/* ===== БЛОК: hour ===== */
/* ==========================================================================
   Блок «Час внимания преподавателя» (#hour) — транспонированная таблица
   Версия 2: форматы = столбцы, показатели = строки, «Пара» выделена столбцом
   Все классы с префиксом hour- , чтобы не конфликтовать с другими блоками
   ========================================================================== */

/* ---------- Обёртка таблицы ---------- */
.hour-table-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Контейнер прокрутки — только горизонтально, страница вбок не скроллится */
.hour-scroll-box {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: var(--white);
  border: 1px solid var(--border);
}

/* Фейд-тень справа — подсказывает, что таблицу можно листать */
.hour-scroll-hint {
  display: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 52px;
  z-index: 4;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.97) 100%
  );
}

/* Стрелка-подсказка внутри фейда */
.hour-scroll-hint::after {
  content: "‹";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: var(--amber);
  font-weight: 900;
}

/* JS добавляет .is-overflowing когда таблица шире обёртки */
.hour-table-wrap.is-overflowing .hour-scroll-hint {
  display: block;
}

/* JS добавляет .is-scrolled-end когда прокручена до конца */
.hour-table-wrap.is-scrolled-end .hour-scroll-hint {
  display: none;
}

/* ---------- Таблица ---------- */
.hour-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  line-height: 1.4;
}

.hour-table th,
.hour-table td {
  padding: 18px 20px;
  text-align: center;
  vertical-align: middle;
}

/* ---------- Первая колонка — метка строки (sticky на мобильном) ---------- */
.hour-table__rowhead {
  /* пустая ячейка в углу */
  width: 160px;
  min-width: 130px;
  text-align: left;
}

.hour-table__rowlabel {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--white);
}

/* ---------- Шапка — названия форматов ---------- */
.hour-table thead th {
  padding-bottom: 18px;
  padding-top: 18px;
  vertical-align: bottom;
}

/* Разделитель шапки от тела */
.hour-table thead tr th {
  border-bottom: 2px solid var(--cream-alt);
}

/* Разделители строк тела */
.hour-table tbody th,
.hour-table tbody td {
  border-top: 1px solid var(--cream-alt);
}

/* Двухстрочный заголовок колонки (имя + параметр) */
.hour-col__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: none;
  letter-spacing: 0;
}

.hour-col__sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: none;
}

/* ---------- Бейдж «Наш формат» над заголовком колонки Пара ---------- */
.hour-col__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a1c05;
  white-space: nowrap;
}

/* ---------- Обычные ячейки тела ---------- */
.hour-table tbody td {
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Крупные цифры в строке «Час внимания» ---------- */
.hour-table__big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ---------- Колонка «Пара» — янтарный акцент ---------- */
.hour-col--ours {
  background: var(--amber-soft);
  border-left: 2px solid var(--amber) !important;
  border-right: 2px solid var(--amber) !important;
}

/* Шапка колонки Пара */
.hour-table thead .hour-col--ours {
  background: var(--amber-soft);
  border-top: 2px solid var(--amber) !important;
  border-radius: 0 var(--radius-sm) 0 0;
}

/* Последняя строка тела — нижняя граница столбца Пара */
.hour-table tbody tr:last-child .hour-col--ours {
  border-bottom: 2px solid var(--amber) !important;
  border-radius: 0 0 var(--radius-sm) 0;
}

/* Цвет текста данных в столбце Пара */
.hour-table tbody .hour-col--ours {
  color: var(--text);
  font-weight: 700;
}

/* Крупная цифра «Час внимания» в столбце Пара */
.hour-table tbody .hour-col--ours.hour-table__big {
  font-size: 26px;
  color: var(--amber-dark);
}

/* Имя формата в шапке Пара */
.hour-table thead .hour-col--ours .hour-col__name {
  color: var(--green);
}

/* ---------- Формула расчёта ---------- */
.hour-formula {
  max-width: 1000px;
  margin: 26px auto 0;
  padding: 22px 26px;
  border: 1px dashed rgba(0, 60, 55, 0.3);
  border-radius: var(--radius-md);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Крупный вывод ---------- */
.hour-sum {
  max-width: 1000px;
  margin: 30px auto 0;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-align: center;
  color: var(--green);
}

.hour-sum__num {
  color: var(--amber);
  white-space: nowrap;
}

/* ---------- Что входит в цену ---------- */
.hour-incl {
  max-width: 1000px;
  margin: 34px auto 0;
  padding: 30px 34px;
  background: var(--cream-alt);
  border-radius: var(--radius-md);
}

.hour-incl__intro {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--green);
}

.hour-incl__list {
  margin-top: 8px;
}

.hour-incl__list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 60, 55, 0.12);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.hour-incl__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hour-incl__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--amber);
}

.hour-incl__list b {
  font-weight: 800;
  color: var(--green);
}

/* ---------- Дисклеймер ---------- */
.hour-note {
  max-width: 1000px;
  margin: 20px auto 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

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

@media (max-width: 1000px) {
  .hour-table {
    font-size: 15px;
  }

  .hour-table th,
  .hour-table td {
    padding: 15px 14px;
  }

  .hour-table__rowlabel {
    font-size: 12px;
  }

  .hour-col__name {
    font-size: 15px;
  }

  .hour-table__big {
    font-size: 19px;
  }

  .hour-table tbody .hour-col--ours.hour-table__big {
    font-size: 22px;
  }

  .hour-formula {
    padding: 20px 22px;
    font-size: 15.5px;
  }

  .hour-incl {
    padding: 26px 24px;
  }
}

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

@media (max-width: 768px) {
  .hour-table {
    font-size: 14px;
    min-width: 480px;
  }

  .hour-table th,
  .hour-table td {
    padding: 13px 11px;
  }

  .hour-table__rowhead {
    min-width: 110px;
    width: 130px;
  }

  .hour-table__rowlabel {
    font-size: 11.5px;
  }

  .hour-col__name {
    font-size: 14px;
  }

  .hour-col__sub {
    font-size: 11px;
  }

  .hour-col__badge {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 4px;
  }

  .hour-table__big {
    font-size: 17px;
  }

  .hour-table tbody .hour-col--ours.hour-table__big {
    font-size: 20px;
  }
}

/* ==========================================================================
   Мобильный ≤640px: горизонтальный скролл + sticky первая колонка
   Страница вбок НЕ скроллится — только .hour-scroll-box

   ВАЖНО: styles.css лендинга содержит @media(max-width:640px) для .hour-table,
   которые включают display:block и скрытие thead. Явно отменяем их здесь,
   поскольку block.css загружается ПОСЛЕ styles.css.
   ========================================================================== */

@media (max-width: 640px) {
  /* --- Сброс старых мобильных правил из styles.css --- */

  /* Восстанавливаем оформление обёртки (styles.css убирал bg/border/shadow) */
  .hour-table-wrap {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Восстанавливаем табличный режим (styles.css ставил display:block) */
  .hour-table {
    display: table;
  }

  .hour-table thead,
  .hour-table tbody {
    display: table-row-group;
  }

  .hour-table tr {
    display: table-row;
  }

  .hour-table th {
    display: table-cell;
  }

  .hour-table td {
    display: table-cell;
  }

  /* Показываем thead (styles.css скрывал через position:absolute + 1px) */
  .hour-table thead {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: 0;
  }

  /* Убираем старые правила tbody tr (карточки с рамкой/тенью) */
  .hour-table tbody tr {
    overflow: visible;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hour-table tbody tr:last-child {
    margin-bottom: 0;
  }

  /* Восстанавливаем нормальные td (styles.css делал flex + data-label) */
  .hour-table tbody td {
    display: table-cell;
    align-items: unset;
    justify-content: unset;
    gap: unset;
    border-top: 1px solid var(--cream-alt);
    border-bottom: none;
    color: var(--text-muted);
    font-weight: 600;
  }

  /* Убираем ::before с data-label из styles.css */
  .hour-table tbody td::before {
    content: none;
  }

  /* --- Конец сброса --- */

  /* На мобильном подсказку о скролле показываем по умолчанию */
  .hour-scroll-hint {
    display: block;
  }

  .hour-table {
    min-width: 440px;
    font-size: 14px;
  }

  .hour-table th,
  .hour-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
  }

  /* Sticky первая колонка — название показателя всегда видно при скролле */
  .hour-table__rowlabel,
  .hour-table__rowhead {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--white);
    /* правая тень отделяет фиксированную колонку от прокручиваемых данных */
    box-shadow: 3px 0 8px -3px rgba(15, 42, 31, 0.12);
  }

  .hour-table thead .hour-table__rowhead {
    z-index: 4;
  }

  .hour-table__rowhead {
    min-width: 100px;
    width: 110px;
    text-align: left;
  }

  .hour-table__rowlabel {
    font-size: 11px;
    letter-spacing: 0.04em;
    width: 110px;
    min-width: 100px;
    text-align: left;
  }

  .hour-col__name {
    font-size: 13px;
  }

  .hour-col__sub {
    font-size: 11px;
    white-space: normal;
  }

  .hour-col__badge {
    font-size: 10px;
    padding: 2px 7px;
    margin-bottom: 4px;
  }

  .hour-table__big {
    font-size: 15px;
  }

  .hour-table tbody .hour-col--ours.hour-table__big {
    font-size: 18px;
  }

  .hour-formula {
    margin-top: 22px;
    padding: 16px 16px;
    font-size: 14.5px;
  }

  .hour-sum {
    margin-top: 24px;
    text-align: left;
  }

  .hour-incl {
    margin-top: 26px;
    padding: 22px 18px;
  }

  .hour-incl__intro {
    font-size: 16px;
  }

  .hour-incl__list li {
    font-size: 15px;
    gap: 12px;
  }

  .hour-note {
    font-size: 13px;
  }
}

/* ==========================================================================
   Совсем узкий ≤390px
   ========================================================================== */

@media (max-width: 390px) {
  .hour-table {
    min-width: 380px;
    font-size: 12.5px;
  }

  .hour-table th,
  .hour-table td {
    padding: 10px 7px;
  }

  .hour-table__rowhead,
  .hour-table__rowlabel {
    min-width: 82px;
    width: 82px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .hour-col__name {
    font-size: 12px;
  }

  .hour-col__sub {
    font-size: 10px;
  }

  .hour-col__badge {
    font-size: 9px;
    padding: 2px 5px;
  }

  .hour-table__big {
    font-size: 14px;
  }

  .hour-table tbody .hour-col--ours.hour-table__big {
    font-size: 16px;
  }
}

/* ===== БЛОК: avatars ===== */
/*
 * CSS-фрагмент для аватаров преподавателей и авторов отзывов.
 *
 * КУДА ВСТАВИТЬ: в workspace/landing/styles.css найди секцию с правилами
 * для .teacher-card__ava и .review-card__ava (или в конец файла перед
 * последним закрывающим блоком) и добавь правила ниже.
 *
 * Эти правила обеспечивают круглую обрезку и правильное масштабирование
 * для <img> внутри .teacher-card__ava и .review-card__ava.
 * SVG-заглушки уже имеют правильные атрибуты width/height и не требуют
 * дополнительных CSS-правил.
 */

.teacher-card__ava img,
.review-card__ava img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  width: 58px;
  height: 58px;
}


/* ===== Кнопки «презентация» в блоке прозрачности ===== */
.proof-foot .btn {
  justify-content: center;
}


/* Подсказка о прокрутке не должна перекрывать липкую первую колонку */
@media (max-width: 640px) {
  .hour-scroll-hint { left: 140px; }
}

@media (max-width: 390px) {
  .hour-scroll-hint { left: 120px; }
}


/* ===== Частые вопросы: свёрнутый список ===== */
.faq-more {
  display: none;
  margin: 20px auto 0;
  text-align: center;
}

/* Кнопку показывает только скрипт — без JS виден весь список */
.faq-more.is-ready {
  display: block;
}

.faq-more__chev {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.faq-more[aria-collapsed="false"] .faq-more__chev {
  transform: rotate(180deg);
}

.faq-list.is-collapsed .faq-item:nth-of-type(n + 5) {
  display: none;
}


/* ===== Отзывы: ссылка на полный список ===== */
.reviews-more {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Выбор способа связи (connect.js) ----------

   Одна кнопка в каждом месте страницы, под ней раскрывается выбор: Telegram,
   MAX или заявка. Раскрытие анимируем через `grid-template-rows: 0fr → 1fr` —
   так высота едет плавно и её не нужно измерять скриптом, а содержимое ниже
   не прыгает рывком. Закрытый блок ещё и `visibility: hidden`: иначе по
   спрятанным кнопкам можно было бы пройти табом. */

/* Ширину задаёт МЕСТО, а не надпись. Иначе «Задать вопрос» и «Рассчитать
   стоимость для вашего предмета и класса» — кнопки одного вида в одинаковых
   секциях — расходились по ширине вдвое (254 против 492 px), а блок ещё и
   «дышал» вбок при переходе к форме. Поэтому у блока фиксированная ширина, а
   кнопка, окошко выбора и форма тянутся на неё целиком; длинная подпись
   переносится по строкам, но ширину не растягивает. */
.vp-connect {
  --connect-w: 320px;
  --connect-pad: 12px;
  display: flex;
  flex-direction: column;
  width: var(--connect-w);
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
}

/* Шапка узкая по своей природе, нижняя полоса — во всю ширину экрана: это
   РАЗНЫЕ места, и их ширина своя. Одинаковой она обязана быть внутри места и
   между одинаковыми местами (секции страницы), а не между шапкой и секцией. */
.header .vp-connect {
  --connect-w: 260px;
}

.sticky-cta .vp-connect {
  --connect-w: 100%;
  flex: 1 1 auto;
}

.vp-connect__toggle,
.vp-connect__panel {
  width: 100%;
}

.vp-connect__toggle {
  white-space: normal;
  text-align: center;
}

.vp-connect__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.28s ease, opacity 0.2s ease, margin 0.28s ease,
    visibility 0s linear 0.28s;
}

.vp-connect.is-open > .vp-connect__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  margin-top: 12px;
  transition: grid-template-rows 0.28s ease, opacity 0.2s ease, margin 0.28s ease,
    visibility 0s;
}

.vp-connect__inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* Внутри блока кнопки идут столбиком и тянутся на всю ширину: на узком экране
   они иначе наползают друг на друга. Перенос текста — по той же причине. */
.vp-connect__inner .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* Шапка и нижняя панель приклеены к экрану: блок раскрывается поверх
   содержимого отдельным окошком, вёрстка страницы вообще не двигается. */
.vp-connect--drop {
  position: relative;
}

/* Белая карточка выступает ровно на свой внутренний отступ — тогда три кнопки
   внутри неё ложатся ШИРИНА В ШИРИНУ с кнопкой, из которой блок раскрылся.
   Если оставить карточку по ширине кнопки, кнопки внутри окажутся уже неё на
   два отступа. */
.vp-connect--drop > .vp-connect__panel {
  position: absolute;
  right: calc(-1 * var(--connect-pad));
  left: auto;
  z-index: 70;
  width: calc(100% + 2 * var(--connect-pad));
}

.vp-connect--drop-down > .vp-connect__panel {
  top: 100%;
}

.vp-connect--drop-up > .vp-connect__panel {
  bottom: 100%;
}

.vp-connect--drop.is-open > .vp-connect__panel {
  margin-top: 0;
  margin-bottom: 0;
}

.vp-connect--drop-down.is-open > .vp-connect__panel {
  margin-top: 10px;
}

.vp-connect--drop-up.is-open > .vp-connect__panel {
  margin-bottom: 10px;
}

.vp-connect--drop .vp-connect__inner {
  background: var(--white);
  border-radius: 18px;
  padding: var(--connect-pad);
  box-shadow: 0 18px 40px rgba(0, 30, 27, 0.28);
}

/* ---- форма заявки ---- */

.vp-connect__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.vp-connect__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.vp-connect__label {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

/* Подпись поля видна только экранному диктору: на экране её роль играет
   плейсхолдер, но заменить её он не может — при вводе плейсхолдер исчезает,
   а полю нужно имя всегда. */
.vp-connect__label--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.vp-connect__input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.vp-connect__input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}

.vp-connect__input:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}

.vp-connect__error:empty {
  display: none;
}

.vp-connect__error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
}

.vp-connect__done {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* На тёмном фоне (первый экран, шапка, нижняя панель) подписи полей и
   благодарность должны читаться. */
.hero .vp-connect__label,
.hero .vp-connect__done,
.sticky-cta .vp-connect__label,
.sticky-cta .vp-connect__done {
  color: var(--cream);
}

.vp-connect--drop .vp-connect__label,
.vp-connect--drop .vp-connect__done {
  color: var(--text);
}

/* На узком экране кнопка связи занимает доступную ширину своей секции: 320 px
   там уже почти во весь экран, и разница в несколько пикселей читалась бы как
   съехавшая относительно заголовков кнопка. */
@media (max-width: 640px) {
  .vp-connect {
    --connect-w: 100%;
  }
}

/* ---------- Предметы ----------

   Просто список, без ссылок: по нему никуда не переходят. Раскладка колонками
   через grid, поэтому порядок чтения остаётся построчным — слева направо,
   сверху вниз, как в исходном перечне. Число колонок меняется на тех же
   точках перелома, что и остальная страница: 5 → 3 → 1. */

.subjects {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 32px;
}

.subjects li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.4;
  color: var(--text);
}

.subjects li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

@media (max-width: 1100px) {
  .subjects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .subjects {
    /* Два столбца, а не один: в одну колонку список из пятнадцати строк на
       телефоне вытягивается на весь экран и читается как простыня. */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }
}

/* На самых узких экранах «Французский язык» в два столбца уже не помещался и
   переносился на вторую строку — чуть уменьшаем кегль и отступы, чтобы каждый
   предмет остался одной строкой. */
@media (max-width: 380px) {
  .subjects {
    gap: 12px 10px;
  }

  .subjects li {
    font-size: 14px;
    padding-left: 14px;
  }

  .subjects li::before {
    width: 6px;
    height: 6px;
  }
}

/* ---------- Программа подготовки (страницы предметов) ----------

   Карточка на блок программы: те же белый фон, рамка и тень, что у карточек
   «почему в паре» — отдельного вида у этого блока нет намеренно, он должен
   читаться как часть страницы, а не как вставка. */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.program-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.program-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.program-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.program-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.program-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.program-note {
  margin: 34px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .program-card {
    padding: 24px 22px;
  }
}

/* Название предмета в заголовке держим одной строкой: разрывать «французскому
   языку» посередине нельзя. На экранах 320 px оно туда не помещается — там
   разрешаем перенос МЕЖДУ СЛОВАМИ, само слово при этом не рвётся. Кегль
   заголовка не трогаем: он общий с главной страницей. */
.h1__subject {
  white-space: nowrap;
}

@media (max-width: 340px) {
  .h1__subject {
    white-space: normal;
  }
}

/* ---------- Вкладки уровней программы (математика ЕГЭ) ---------- */

.program-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 28px;
}

.program-tab {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.program-tab:hover {
  border-color: var(--amber);
}

.program-tab.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--green-deep);
}

@media (max-width: 420px) {
  .program-tab {
    flex: 1 1 auto;
    padding: 12px 16px;
    font-size: 14px;
  }
}
