/* LatSlav · сайт клуба. Токены: ../design-tokens.md. Размеры только здесь, не в style=. */

:root {
  --navy: #0B3C5D;
  --navy-deep: #08304A;
  --cream: #F4F1EA;
  --sand: #E8D8C3;
  --terra: #C1553B;
  --ink: #2A2622;
  --muted: #7A736A;
  --line: rgba(244, 241, 234, 0.16);
  --card: rgba(244, 241, 234, 0.06);
  --text-2: rgba(244, 241, 234, 0.84);
  --text-3: rgba(244, 241, 234, 0.62);
  --pad: 64px;
  --sec: 96px;
  --max: 1312px;
  --r-s: 12px;
  --r-l: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: Unbounded, system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--sand); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 38px; line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; text-wrap: pretty; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-top: var(--sec); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-sub { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.sec-head + * { margin-top: 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--cream); color: var(--navy); padding: 12px 16px; border-radius: var(--r-s); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--terra); color: #fff; font-family: inherit; font-size: 17px; font-weight: 600;
  padding: 16px 28px; border-radius: var(--r-s); border: 0; cursor: pointer; letter-spacing: -0.01em;
}
.btn:hover { color: #fff; background: #AE4A32; }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-s { font-size: 15px; padding: 12px 20px; }
.btn-s svg { width: 17px; height: 17px; }
.btn-ghost { background: transparent; border: 1px solid rgba(244, 241, 234, 0.4); color: var(--cream); }
.btn-ghost:hover { background: rgba(244, 241, 234, 0.08); color: #fff; }
.link-u { font-size: 17px; color: var(--sand); border-bottom: 1px solid rgba(232, 216, 195, 0.45); padding-bottom: 3px; }

/* ---------- шапка ---------- */
.hdr { border-bottom: 1px solid rgba(244, 241, 234, 0.14); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--cream); }
.brand b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.brand span { font-size: 15px; color: rgba(244, 241, 234, 0.6); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 15px; color: rgba(244, 241, 234, 0.86); white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--terra); padding-bottom: 4px; }
.lang { display: flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid rgba(244, 241, 234, 0.2); font-size: 15px; }
.lang b { font-weight: 600; }
.lang a { color: rgba(244, 241, 234, 0.55); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger i { display: block; height: 2px; background: var(--cream); margin: 5px 0; border-radius: 1px; }
.hdr-right { display: flex; align-items: center; gap: 16px; }

/* ---------- первый экран ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 42vw); }
.hero-text {
  padding: 72px 48px 72px max(var(--pad), calc((100vw - var(--max)) / 2));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-img { position: relative; min-height: 560px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 60, 93, 0.55) 0%, rgba(11, 60, 93, 0) 34%); }
.flags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; line-height: 1.5; color: var(--sand); }
.flags-row { display: flex; gap: 6px; }
.flags-row svg { width: 26px; height: 18px; }
.hero h1 { margin-top: 24px; font-size: 54px; line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; text-wrap: pretty; }
.hero h1 em { font-style: normal; color: var(--sand); }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; line-height: 1.6; color: rgba(244, 241, 234, 0.66); max-width: 600px; }
.stats { display: flex; margin-top: 32px; border-top: 1px solid var(--line); }
.stat { padding: 20px 24px 0; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 4px; font-size: 15px; color: rgba(244, 241, 234, 0.6); }

/* ---------- полоса доверия ---------- */
.trust { border-top: 1px solid rgba(244, 241, 234, 0.14); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust .wrap > div { padding: 24px 32px; border-right: 1px solid rgba(244, 241, 234, 0.14); font-size: 15px; line-height: 1.55; color: rgba(244, 241, 234, 0.8); }
.trust .wrap > div:first-child { padding-left: 0; }
.trust .wrap > div:last-child { border-right: 0; padding-right: 0; }

/* ---------- карточки ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
/* Фото к блоку про участниц (Рената, 29.09). Лица в верхней трети кадра. */
/* margin-bottom, а не margin: общий .sec-head + * даёт отступ сверху, сокращение его обнуляло. */
.mujeres-photo { margin-bottom: 24px; border-radius: var(--r-l); overflow: hidden; }
.mujeres-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 32%; }
@media (max-width: 1024px) { .mujeres-photo img { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .mujeres-photo img { aspect-ratio: 4 / 3; } }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 26px; }
.card > svg { width: 26px; height: 26px; }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: rgba(244, 241, 234, 0.82); }
.card-sand { background: var(--sand); color: var(--ink); border: 0; }
.card-sand h3 { color: var(--navy); margin-top: 0; }
.card-sand p { color: var(--ink); }
.card .big { font-size: 34px; font-weight: 600; color: var(--sand); letter-spacing: -0.03em; }
.card .flags-row svg { width: 30px; height: 21px; }
.mt20 { margin-top: 20px; }
.mt32 { margin-top: 32px; }
.gap16 { gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.stack p { margin-top: 0; }

.banner { margin-top: 20px; background: var(--sand); color: var(--ink); border-radius: var(--r-l); padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.banner p { font-size: 17px; line-height: 1.6; }
.banner-num { flex-shrink: 0; text-align: right; }
.banner-num b { display: block; font-size: 30px; font-weight: 600; color: var(--navy); letter-spacing: -0.03em; }
.banner-num span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- наша история ---------- */
.story { margin-top: var(--sec); background: var(--cream); color: var(--ink); padding: var(--sec) 0; }
.story-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); column-gap: 64px; grid-template-areas: "photos head" "photos body"; grid-template-rows: auto 1fr; align-items: start; }
.story-photos { grid-area: photos; display: flex; flex-direction: column; gap: 16px; }
.story-photos img { width: 100%; height: 540px; object-fit: cover; border-radius: 6px; }
.story-photos img + img { height: 280px; object-fit: cover; object-position: center 30%; }
.story-head { grid-area: head; }
.story-body { grid-area: body; }
.eyebrow { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.story h2 { margin-top: 16px; color: var(--navy); }
.story-body { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; max-width: 720px; }
.story-body p { font-size: 18px; line-height: 1.68; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--navy); }
.sign::before { content: ""; width: 44px; height: 1px; background: rgba(11, 60, 93, 0.3); flex-shrink: 0; }

/* ---------- как работает ---------- */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 32px 48px 36px 0; border-bottom: 1px solid var(--line); }
.step:nth-child(odd) { border-right: 1px solid var(--line); }
.step:nth-child(even) { padding: 32px 0 36px 48px; }
.step-t { display: flex; align-items: baseline; gap: 16px; }
.step-t span { font-size: 40px; font-weight: 300; color: var(--terra); letter-spacing: -0.04em; }
.step-t h3 { font-size: 21px; }
.step p { margin-top: 14px; font-size: 17px; line-height: 1.62; color: rgba(244, 241, 234, 0.86); }
.step p + p { font-size: 16px; line-height: 1.6; color: rgba(244, 241, 234, 0.78); }

/* ---------- стоимость ---------- */
.pricing { margin-top: var(--sec); background: var(--sand); color: var(--ink); padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; }
.pricing h2 { color: var(--navy); }
.pricing-intro { margin-top: 16px; font-size: 17px; line-height: 1.64; }
.payee { margin-top: 24px; background: #fff; border-radius: var(--r-s); padding: 20px 24px; }
.payee small { display: block; font-size: 15px; color: var(--muted); }
.payee b { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--navy); }
.payee p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.payee b + small { margin-top: 2px; font-size: 14px; }
.paydata { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.paydata dt { color: var(--muted); }
.paydata dd { margin: 0; color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 560px) {
  .paydata { grid-template-columns: 1fr; gap: 0; }
  .paydata dd { margin-bottom: 10px; }
  .paydata dd:last-child { margin-bottom: 0; }
}
.plist { display: flex; flex-direction: column; gap: 16px; }
.pcard { background: #fff; border-radius: var(--r-s); padding: 24px 28px; }
.pcard-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; }
.pcard-row p { font-size: 17px; line-height: 1.6; }
.pcard-lima { border: 2px solid var(--terra); }
.plabel { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pcard-lima .plabel { color: var(--terra); font-weight: 600; }
.price { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-size: 30px; font-weight: 600; color: var(--navy); letter-spacing: -0.03em; }
.pcard-lima .price b { font-size: 46px; letter-spacing: -0.04em; }
.price span, .pcard-row small { font-size: 15px; color: var(--muted); }
.pcard-row small { display: block; margin-top: 4px; }
.why { margin-top: 12px; font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--navy); }
.pcard p.pd { margin-top: 8px; font-size: 16px; line-height: 1.58; }
.pnote { font-size: 16px; line-height: 1.6; }
.pnote b, .pnotes b { font-weight: 600; color: var(--navy); }
.access { background: var(--navy); color: var(--cream); border-radius: var(--r-s); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.access small { display: block; font-size: 16px; color: rgba(244, 241, 234, 0.86); }
.access b { display: block; margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.access p { font-size: 16px; line-height: 1.5; text-align: right; color: rgba(244, 241, 234, 0.86); }
.pnotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 16px; line-height: 1.6; }

/* ---------- гарантии ---------- */
.gcard { background: var(--card); border: 1px solid rgba(244, 241, 234, 0.18); border-radius: var(--r-l); padding: 32px; }
.gcard-no { background: rgba(193, 85, 59, 0.14); border-color: rgba(193, 85, 59, 0.5); }
.gcard-t { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--sand); }
.gcard-t svg { width: 22px; height: 22px; }
.gcard .stack { gap: 12px; margin-top: 20px; }
.gcard .stack > * { font-size: 17px; line-height: 1.6; color: rgba(244, 241, 234, 0.9); }
.gcard .stack b { display: block; font-weight: 600; color: var(--cream); }
.gcard .stack .punch { font-weight: 600; color: var(--sand); }

/* ---------- безопасность ---------- */
.card-sec { padding: 24px; }
.card-sec h3 { font-size: 18px; margin-top: 16px; }
.sec-alert { border-color: var(--sand); }
.sec-alert h3 { margin-top: 0; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.pnote-big b { display: block; margin-bottom: 6px; font-size: 22px; letter-spacing: -0.02em; }
.fine { margin-top: 20px; font-size: 16px; line-height: 1.6; color: rgba(244, 241, 234, 0.7); }

/* ---------- заявка ---------- */
.apply { margin-top: var(--sec); }
.apply-box { background: var(--cream); color: var(--ink); border-radius: var(--r-l); padding: 48px 56px; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; align-items: center; }
.apply h2 { font-size: 34px; color: var(--navy); }
.apply-intro { margin-top: 16px; font-size: 17px; line-height: 1.62; max-width: 560px; }
.apply-pts { display: flex; gap: 32px; margin-top: 24px; }
.apply-pts p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.apply-pts b { font-weight: 600; color: var(--navy); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: block; font-size: 15px; color: var(--muted); }
.form input[type="text"], .form input[type="tel"] {
  display: block; width: 100%; margin-top: 8px; background: #fff; border: 1px solid rgba(11, 60, 93, 0.16);
  border-radius: var(--r-s); padding: 14px 18px; font: inherit; font-size: 16px; color: var(--ink); letter-spacing: -0.01em;
}
.form input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--ink) !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.form .btn { width: 100%; margin-top: 4px; }
.form-err { display: none; font-size: 15px; color: var(--terra); }
.form-err.on { display: block; }

/* ---------- вопросы ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.faq div { border-top: 1px solid var(--line); padding: 24px 0; }
.faq h3 { color: var(--sand); line-height: 1.4; }
.faq p { margin-top: 12px; font-size: 16px; line-height: 1.62; color: var(--text-2); }

/* ---------- финальный призыв ---------- */
.cta { margin-top: var(--sec); position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.cta-img { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.cta-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.cta-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 60, 93, 0.7) 35%, rgba(11, 60, 93, 0.2) 100%); }
.cta .wrap { position: relative; width: 100%; }
.cta-in { max-width: 700px; padding: 48px 0; }
.cta h2 { line-height: 1.12; }
.cta-in > p { margin-top: 16px; font-size: 18px; line-height: 1.58; font-weight: 300; color: var(--text-2); max-width: 600px; }
.cta-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- подвал ---------- */
.ftr { background: var(--navy-deep); color: rgba(244, 241, 234, 0.72); padding: 48px 0 40px; }
.ftr-grid { display: grid; grid-template-columns: 340px repeat(3, minmax(0, 1fr)); gap: 48px; }
.ftr-brand b { font-size: 19px; font-weight: 600; color: var(--cream); }
.ftr p, .ftr a, .ftr span { font-size: 15px; line-height: 1.6; }
.ftr-brand p { margin-top: 12px; }
.ftr h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--sand); letter-spacing: 0.1em; text-transform: uppercase; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ftr a { color: rgba(244, 241, 234, 0.72); }
.ftr a:hover { color: #fff; }
.ftr-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 15px; }

/* Отдельные страницы (с 29.09): первый блок стоит сразу под шапкой, без отступа длинной страницы. */
main > .story:first-child, main > .pricing:first-child { margin-top: 0; }

/* ---------- книга жалоб ---------- */
.ftr a.book { display: inline-block; margin-top: 6px; background: #fff; border-radius: var(--r-s); padding: 8px; width: fit-content; }
.ftr a.book img { width: 120px; height: auto; }
.book-head { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 20px; }
.book-head p { margin: 0; font-size: 15px; }
.book-head p + p { margin-top: 8px; }
.book-head .bh-title { font-size: 16px; letter-spacing: 0.04em; }
.bh-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 12px 0; font-size: 15px; }
.bh-grid > span { color: var(--text-3); }
.bh-grid .bh-date { letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 640px) { .bh-grid { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .bh-grid > b { margin-bottom: 8px; } }
.book-prov { margin-top: 8px; padding: 16px 20px; border: 1px dashed rgba(11, 60, 93, 0.3); border-radius: var(--r-s); }
.book-prov h2 { margin-top: 0 !important; }
.book-prov p, .doc .book-prov p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.form.book { margin-top: 24px; background: var(--cream); color: var(--ink); border-radius: var(--r-l); padding: 24px; }
.form.book h2 { margin: 16px 0 0; font-size: 18px; color: var(--navy); }
.form.book h2:first-child { margin-top: 0; }
.form input[type="email"], .form textarea {
  display: block; width: 100%; margin-top: 8px; background: #fff; border: 1px solid rgba(11, 60, 93, 0.16);
  border-radius: var(--r-s); padding: 14px 18px; font: inherit; font-size: 16px; color: var(--ink); letter-spacing: -0.01em;
}
.form textarea { resize: vertical; }
.choice { display: flex; gap: 24px; flex-wrap: wrap; }
.form .radio { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink); cursor: pointer; }
.form .radio input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* .doc .fine-dark: правило .doc p тяжелее и красило фразу под формой жалобы
   в светлый цвет по светлой карточке, текст пропадал (телефон, 29.09). */
.fine-dark, .doc .fine-dark { font-size: 15px; line-height: 1.55; color: var(--muted); }
.fine-dark a { color: var(--navy); text-decoration: underline; }
.book-notes { margin-top: 24px; }
.book-notes p { font-size: 15px; line-height: 1.6; color: var(--text-3); margin-top: 8px; }

/* ---------- страницы документов ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 64px var(--pad) 96px; }
.doc h1 { font-size: 38px; line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; }
.doc h2 { margin-top: 40px; font-size: 21px; line-height: 1.35; color: var(--sand); }
/* overflow-wrap: в условиях юриста ссылки идут целиком, и адрес книги жалоб
   раздвигал страницу на телефоне до 428 px (проверено на Xiaomi 29.09). */
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--text-2); overflow-wrap: anywhere; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .back { display: inline-block; margin-bottom: 32px; font-size: 15px; }

/* ---------- анимация: картинка первого экрана влетает, блоки поднимаются при прокрутке ---------- */
.hero, .hero-img { overflow: hidden; }
@keyframes fly-in { from { opacity: 0; transform: translateX(96px) scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.anim .hero-img img { animation: fly-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.anim .hero-text > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.anim .hero-text > :nth-child(1) { animation-delay: 0.3s; }
.anim .hero-text > :nth-child(2) { animation-delay: 0.45s; }
.anim .hero-text > :nth-child(3) { animation-delay: 0.6s; }
.anim .hero-text > :nth-child(4) { animation-delay: 0.75s; }
.anim .hero-text > :nth-child(5) { animation-delay: 0.9s; }
/* Входы блоков как у WOW.js на flyaccess.org, который муж Ренаты привёл в пример 29.09:
   заголовки увеличиваются снизу, колонки выезжают слева, снизу и справа, картинки приближаются. */
.anim .reveal { opacity: 0; transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.anim .reveal.up { transform: translateY(40px); }
.anim .reveal.left { transform: translateX(-60px); }
.anim .reveal.right { transform: translateX(60px); }
.anim .reveal.zoom { transform: scale(0.86); }
.anim .reveal.zoom-up { transform: translateY(40px) scale(0.9); }
.anim .reveal.in { opacity: 1; transform: none; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
.anim main { animation: page-in 0.5s ease both; }
@media (prefers-reduced-motion: reduce) {
  .anim .hero-img img, .anim .hero-text > * { animation: none; }
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .anim main { animation: none; }
}

/* =========== широкий монитор =========== */
/* 29.09 Рената сняла сайт на своём мониторе: слева много пустоты, справа не хватает.
   На 1920 контент держался в 1312 и начинался с 304-го пикселя. Шире поле, крупнее фото. */
@media (min-width: 1500px) {
  :root { --max: 1560px; }
}

/* =========== шапка: меню не влезает в строку =========== */
@media (max-width: 1560px) {
  .brand span { display: none; }
}
@media (max-width: 1360px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr { position: relative; }
  .hdr.open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; left: 0; right: 0; top: 80px; z-index: 5;
    background: var(--navy); padding: 24px var(--pad) 32px; border-bottom: 1px solid var(--line);
  }
  .hdr.open .nav a { font-size: 17px; }
  .lang { border-left: 0; padding-left: 0; }
}

/* =========== планшет =========== */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .hero h1 { font-size: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 40%); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid, .apply-box { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 320px minmax(0, 1fr); column-gap: 48px; }
}

/* =========== телефон =========== */
@media (max-width: 760px) {
  :root { --pad: 20px; --sec: 64px; }
  h2 { font-size: 26px; line-height: 1.16; }
  .sec-alert h3 { font-size: 22px; }
  h3 { font-size: 18px; }
  .hdr .wrap { min-height: 64px; }
  .hdr.open .nav { top: 64px; }
  .brand span { display: none; }
  .brand b { font-size: 18px; }
  .hdr-right .btn { display: none; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-img { order: -1; min-height: 290px; }
  .hero-img img { object-position: center 22%; }
  .hero-img::after { display: none; }
  .hero-text { padding: 24px var(--pad) 8px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .lead { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat, .stat:first-child { padding: 16px 12px 0; }
  .stat:first-child { padding-left: 0; }
  .stat b { font-size: 18px; }

  .trust .wrap, .grid3, .grid2, .grid4, .steps, .faq, .pnotes { grid-template-columns: minmax(0, 1fr); }
  .trust .wrap > div { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(244, 241, 234, 0.14); }
  .trust .wrap > div:last-child { border-bottom: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .card { padding: 24px 20px; }
  .banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
  .banner-num { text-align: left; }

  .story-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photos" "body"; }
  .story-photos { margin-top: 16px; }
  .story-photos img { height: auto; }
  .story-photos img + img { display: none; }
  .story-body p { font-size: 16px; line-height: 1.65; }

  .step, .step:nth-child(even), .step:nth-child(odd) { padding: 24px 0; border-right: 0; }
  .step-t span { font-size: 30px; }
  .step-t h3 { font-size: 18px; }
  .step p { font-size: 16px; }

  .pricing { padding: 56px 0; }
  .pcard { padding: 20px; }
  .pcard-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pcard-lima .price b { font-size: 36px; }
  .access { flex-direction: column; align-items: flex-start; }
  .access p { text-align: left; }

  .gcard { padding: 24px 20px; }
  .apply-box { padding: 32px 20px; }
  .apply h2 { font-size: 26px; }
  .apply-pts { flex-direction: column; gap: 12px; }

  .cta { flex-direction: column; min-height: 0; }
  .cta-img { position: relative; width: 100%; height: 260px; }
  .cta-img::after { background: linear-gradient(180deg, rgba(11, 60, 93, 0) 40%, var(--navy) 100%); }
  .cta-in { padding: 24px 0 56px; }
  .cta-btns .btn { width: 100%; }

  .ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ftr-bottom { flex-direction: column; }
  .doc h1 { font-size: 28px; }
}
