/* CANDY LIPS · NERVE
   Цвета и радиусы запуска в :root. Для следующего лендинга меняй их, а не стили блоков.
   Радиусы: кнопки и чипы круглые, панели 28px, карточки 20px, мелкие элементы 14px. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(assets/fonts/playfair-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url(assets/fonts/playfair-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FBF4F4;      /* белый с обложки, чуть розовый */
  --paper-2: #F5E8E8;
  --card: #FFFFFF;
  --blush: #F6E3E3;
  --blush-2: #EBCFCF;
  --candy: #D3101C;      /* красный леденца: кнопки, акценты */
  --candy-hi: #FF4D56;
  --cherry: #7E0710;     /* тень красного */
  --ink: #2A0B0E;
  --ink-2: #6B4246;
  --line: rgba(126, 7, 16, .14);
  --error: #B00012;

  --gloss:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 128, 136, .55) 0%, rgba(255, 77, 86, 0) 46%),
    linear-gradient(165deg, #E8131F 0%, #C30E19 46%, #7E0710 100%);
  --shadow-candy: 0 18px 40px -18px rgba(126, 7, 16, .55);

  --r-panel: 28px;
  --r-card: 20px;
  --r-sm: 14px;

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: 20px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: "lnum" 1; /* цифры одной высоты; свойство font его не сбрасывает */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Кнопка-леденец ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--gloss);
  color: #fff;
  font: 700 18px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -8px 16px rgba(80, 0, 6, .35),
    0 16px 32px -14px rgba(195, 14, 25, .75);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 3px;
  height: 46%;
  border-radius: 999px 999px 60% 60% / 999px 999px 100% 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 90%);
  pointer-events: none;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -8px 16px rgba(80, 0, 6, .3), 0 20px 36px -14px rgba(195, 14, 25, .85); }
}
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--candy); box-shadow: inset 0 -6px 14px rgba(126, 7, 16, .12), 0 16px 32px -16px rgba(40, 0, 4, .6); }
.btn--light::before { background: linear-gradient(to bottom, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--paper) url(assets/video/hero-poster.jpg) 50% 0 / 100% auto no-repeat;
}
/* Ролик во всю ширину и прижат к верху: логотип в кадре не обрезается, низ уходит в белый */
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media video { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.hero__logo { display: none; }
.hero__body { position: relative; padding: 0 var(--gut) calc(22px + env(safe-area-inset-bottom)); }
/* Белая подложка растёт от текста вверх, поэтому на любом телефоне текст не ложится на кадр */
.hero__body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -150px;
  z-index: -1;
  background: linear-gradient(to bottom,
    rgba(251, 244, 244, 0) 0,
    rgba(251, 244, 244, .9) 110px,
    var(--paper) 150px);
  pointer-events: none;
}
.hero__kicker { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.hero__kicker b { color: var(--candy); font-weight: 700; }
.hero__title {
  margin: 6px 0 12px;
  font: 900 clamp(76px, 25vw, 200px)/.86 var(--serif);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero__title span {
  display: block;
  width: fit-content;
  padding-bottom: .04em;
  background: linear-gradient(180deg, #F23A44 0%, #D3101C 40%, #8E0710 82%, #B3121B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 10px rgba(126, 7, 16, .22));
}
.hero__lead { max-width: 40ch; font-size: 17px; line-height: 1.45; color: var(--ink); margin-bottom: 18px; text-wrap: pretty; }
.hero__buy { display: grid; gap: 14px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price__now { font: 900 44px/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.price__now small { font: 700 20px/1 var(--sans); margin-left: 4px; }
.price__old { font-size: 17px; color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--candy); text-decoration-thickness: 2px; }

/* Один момент движения: первый экран собирается при загрузке */
@media (prefers-reduced-motion: no-preference) {
  .is-ready .hero__body > * { animation: rise .8s var(--ease) both; }
  .is-ready .hero__title span { animation: rise .9s var(--ease) both; }
  .is-ready .hero__kicker { animation-delay: .05s; }
  .is-ready .hero__title span:first-child { animation-delay: .12s; }
  .is-ready .hero__title span:last-child { animation-delay: .22s; }
  .is-ready .hero__title { animation: none; }
  .is-ready .hero__lead { animation-delay: .34s; }
  .is-ready .hero__buy { animation-delay: .44s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Секции ---------- */
.sec { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gut) 0; }
.sec__title {
  font: 700 clamp(34px, 9vw, 56px)/1.04 var(--serif);
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.sec__lead { color: var(--ink-2); margin: -12px 0 26px; max-width: 46ch; }
.sec__cta { margin-top: 28px; }

/* Что входит: бенто */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(126, 7, 16, .06), 0 10px 30px -22px rgba(126, 7, 16, .35);
}
.tile .ic { font-size: 28px; color: var(--candy); margin-bottom: auto; }
.tile h3 { font: 700 18px/1.2 var(--sans); }
.tile p { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.tile--wide { grid-column: 1 / -1; }
.tile--photo { min-height: 300px; justify-content: flex-end; overflow: hidden; color: #fff; isolation: isolate; background: var(--cherry); }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(60, 0, 6, .88) 0%, rgba(60, 0, 6, .35) 45%, rgba(60, 0, 6, 0) 70%); }
.tile--photo h3 { font: 700 34px/1 var(--serif); }
.tile--photo p, .tile--candy p { color: rgba(255, 255, 255, .94); }
.tile--photo .ic, .tile--candy .ic { color: #fff; }
.tile--photo .ic { position: absolute; top: 18px; left: 18px; }
.tile--candy { background: var(--gloss); color: #fff; box-shadow: var(--shadow-candy); }

/* Бонусы: красная глянцевая панель */
.bonus {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 26px;
  border-radius: var(--r-panel);
  background: var(--gloss);
  color: #fff;
  box-shadow: var(--shadow-candy);
}
.bonus::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}
.bonus__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.bonus__gift { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--candy); font-size: 26px; flex: none; }
.bonus .sec__title { margin: 0; font-size: clamp(28px, 7.4vw, 44px); color: #fff; }
.bonus ul { display: grid; gap: 14px; }
.bonus li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.4; }
.bonus li .ic { font-size: 20px; margin-top: 2px; color: #FFD2D5; }

/* Чему научишься: список с миниатюрами */
.learn { display: grid; gap: 14px; }
.learn li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.learn figure { position: relative; }
.learn img { width: 92px; height: 116px; object-fit: cover; border-radius: var(--r-sm); background: var(--blush); }
.learn h3 { font: 700 18px/1.25 var(--sans); margin-bottom: 4px; }
.learn p { font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* Для тебя, если: отмечаемые пункты */
.fy__hint { display: flex; align-items: center; gap: 8px; margin: -12px 0 18px; font-size: 15px; color: var(--ink-2); }
.fy { display: grid; gap: 10px; }
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 15px 16px;
  border: 1.5px solid transparent;
  border-radius: 18px;
  background: var(--card);
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--blush-2);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
}
.check__box .ic { opacity: 0; transform: scale(.4); transition: opacity .15s, transform .25s var(--ease); }
.check[aria-pressed="true"] { border-color: var(--candy); background: #FFF6F6; }
.check[aria-pressed="true"] .check__box { background: var(--candy); border-color: var(--candy); }
.check[aria-pressed="true"] .check__box .ic { opacity: 1; transform: none; }
.check:active .check__box { transform: scale(.88); }
.fy__result { margin-top: 22px; font: 700 21px/1.3 var(--serif); text-wrap: balance; }

/* Тренер */
.coach { display: grid; gap: 26px; }
.coach__photo { position: relative; }
.coach__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: var(--r-panel); background: var(--blush); }
.coach__hello { font: 600 17px/1.2 var(--sans); color: var(--candy); margin-bottom: 6px; }
.coach .sec__title { margin-bottom: 14px; }
.coach__intro { color: var(--ink-2); margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 26px; }
.stats b { display: block; font: 900 38px/1 var(--serif); color: var(--candy); letter-spacing: -.01em; margin-bottom: 6px; }
.stats span { display: block; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.facts { display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.facts .ic { font-size: 18px; margin-top: 3px; color: var(--candy); }

/* Программа: шаги по дням */
.steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 16px; padding-bottom: 30px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 72px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--candy), var(--blush-2));
}
.step:last-child::before { display: none; }
.step__day {
  display: grid;
  place-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gloss);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-candy);
}
.step__day span { font: 600 12px/1 var(--sans); opacity: .9; }
.step__day b { font: 900 22px/1.05 var(--serif); }
.step h3 { font: 700 21px/1.2 var(--serif); margin: 6px 0 10px; }
.step li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.45; }
.step li + li { margin-top: 6px; }
.step li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 2px; background: var(--candy); }

/* Отзывы: лента скринов */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 12px;
  margin: 0 calc(-1 * var(--gut));
  padding: 4px var(--gut) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gut);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.shot { aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: 0 10px 30px -20px rgba(126, 7, 16, .45); }
/* Скрин отзыва целиком, без обрезки текста; по тапу открывается крупно */
.shot img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.shot--empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  border: 1.5px dashed var(--blush-2);
  background: linear-gradient(170deg, #fff 0%, var(--blush) 100%);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
  box-shadow: none;
}
.shot--empty .ic { font-size: 34px; color: var(--candy); opacity: .7; }
.rail__hint { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* Что такое техника */
.tech { display: grid; gap: 22px; }
.tech__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-panel); background: var(--blush); }
.tech__text { color: var(--ink-2); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs__col { padding: 18px 14px; border-radius: var(--r-card); }
.vs__col h3 { font: 700 17px/1.2 var(--sans); margin-bottom: 14px; }
.vs__col li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.35; }
.vs__col li + li { margin-top: 12px; }
.vs__col .ic { font-size: 15px; margin-top: 2px; }
.vs__old { background: var(--paper-2); color: var(--ink-2); }
.vs__old .ic { color: #9C7B7E; }
.vs__new { background: var(--card); border: 1.5px solid var(--candy); }
.vs__new h3 { font: 700 21px/1 var(--serif); color: var(--candy); text-transform: uppercase; }
.vs__new .ic { color: var(--candy); }

/* Результаты: сетка фото 4:5 */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mosaic figure { position: relative; }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: var(--blush); cursor: zoom-in; }
/* В два столбца нечётное число фото: первое во всю ширину, чтобы последнее не висело одно */
@media (max-width: 639px) {
  .mosaic figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

/* Ленты фото: награды тренера, выпускницы */
.strip {
  display: flex;
  gap: 10px;
  margin: 0 calc(-1 * var(--gut));
  padding: 4px var(--gut) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gut);
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.strip li { flex: none; scroll-snap-align: start; }
.strip img { height: 200px; width: auto; border-radius: 18px; background: var(--blush); cursor: zoom-in; }
.strip--coach { margin-top: 28px; }
.strip--wide img { height: 230px; }

/* Фото крупно */
.zoom { max-width: 100vw; max-height: 100svh; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.zoom::backdrop { background: rgba(20, 4, 6, .9); }
.zoom[open] { display: grid; place-items: center; }
.zoom img { max-width: 94vw; max-height: 88svh; width: auto; height: auto; border-radius: 14px; }
.zoom__close { position: fixed; top: 12px; right: 12px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer; }

/* Страница после оплаты */
.page-thanks { min-height: 100svh; display: flex; flex-direction: column; background:
    radial-gradient(70% 50% at 50% 0%, rgba(211, 16, 28, .12), rgba(211, 16, 28, 0) 70%), var(--paper); }
.page-thanks main { flex: 1; display: grid; place-items: center; padding: 48px var(--gut); }
.page-thanks .foot { margin-top: 0; padding-bottom: 40px; }
.done { width: 100%; max-width: 460px; text-align: center; }
.done__logo { width: 120px; height: auto; margin: 0 auto 36px; }
.done__mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--gloss); color: #fff; font-size: 34px; box-shadow: var(--shadow-candy); }
.done__title { font: 700 clamp(36px, 10vw, 52px)/1.05 var(--serif); margin-bottom: 10px; }
.done__text { font-size: 18px; color: var(--ink-2); margin-bottom: 26px; }
.done__steps { counter-reset: s; display: grid; gap: 12px; margin-bottom: 28px; text-align: left; }
.done__steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 54px; border-radius: 18px; background: var(--card); line-height: 1.45; }
.done__steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--candy); font: 700 14px/1 var(--sans); }
.done__wait { padding: 16px; border: 1.5px dashed var(--blush-2); border-radius: 18px; color: var(--ink-2); }
.done__back { display: inline-block; margin-top: 18px; padding: 10px; color: var(--ink-2); text-underline-offset: 3px; }

/* Как проходит обучение */
.how { display: grid; gap: 4px; padding: 8px 20px; border-radius: var(--r-panel); background: var(--card); }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 0; line-height: 1.45; }
.how li + li { border-top: 1px solid var(--line); }
.how .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--blush); color: var(--candy); }

/* Что получишь */
.gets { display: grid; gap: 22px; }
.gets h3 { font: 700 22px/1.2 var(--serif); margin-bottom: 4px; }
.gets p { color: var(--ink-2); line-height: 1.45; }
.closing {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 2px solid var(--candy);
  font: 700 clamp(26px, 7vw, 40px)/1.15 var(--serif);
  color: var(--candy);
  text-wrap: balance;
}

/* Финальная цена */
.offer { margin-top: 80px; padding: 64px var(--gut) 56px; background: var(--gloss); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.offer::before {
  content: "";
  position: absolute;
  left: -30%;
  top: -40%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 65%);
  z-index: -1;
}
.offer__in { max-width: 560px; margin: 0 auto; text-align: center; }
.offer .sec__title { color: #fff; margin-bottom: 22px; }
.offer .price { justify-content: center; margin-bottom: 26px; }
.offer .price__now { font-size: clamp(64px, 19vw, 104px); color: #fff; }
.offer .price__now small { font-size: 26px; }
.offer .price__old { color: rgba(255, 255, 255, .92); text-decoration-color: #fff; font-size: 20px; }
.timer__label { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .94); margin-bottom: 10px; }
.timer { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.timer div { min-width: 70px; padding: 12px 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.timer b { display: block; font: 900 32px/1 var(--serif); font-feature-settings: "lnum" 1, "tnum" 1; }
.timer span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .92); }
.offer__note { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .94); }

/* Гарантия */
.guard { display: grid; gap: 8px; padding: 24px 22px; border-radius: var(--r-panel); background: var(--card); border: 1.5px solid var(--line); }
.guard > .ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--gloss); color: #fff; }
.guard h2 { font: 700 26px/1.1 var(--serif); margin: 6px 0 10px; }
.guard p { color: var(--ink-2); line-height: 1.5; }

/* Вопросы */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--card); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px;
  font: 600 16.5px/1.35 var(--sans);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { font-size: 18px; margin-top: 2px; color: var(--candy); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq__a { padding: 0 18px 18px; color: var(--ink-2); line-height: 1.5; }
.ask { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ask a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 600; }
.ask .ic { font-size: 20px; color: var(--candy); }

/* Подвал */
.foot { margin-top: 80px; padding: 40px var(--gut) calc(110px + env(safe-area-inset-bottom)); background: var(--paper-2); font-size: 14px; color: var(--ink-2); }
.foot__in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 14px; }
.foot__logo { width: 112px; height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }
.foot__disc { font-size: 12.5px; line-height: 1.5; opacity: .85; max-width: 70ch; }

/* Липкая кнопка на телефоне */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 244, 244, .9);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky .price { flex-direction: column; gap: 2px; }
.sticky .price__now { font-size: 26px; }
.sticky .price__now small { font-size: 14px; }
.sticky .price__old { font-size: 13px; }
.sticky .btn { flex: 1; min-height: 52px; padding: 0 20px; font-size: 17px; }

/* Окно заявки: шторка снизу на телефоне */
.sheet {
  width: 100%;
  max-width: 100%;
  max-height: 94svh;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.sheet::backdrop { background: rgba(42, 11, 14, .5); }
.sheet[open] { animation: sheet-up .38s var(--ease); }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet__in { position: relative; padding: 22px var(--gut) calc(24px + env(safe-area-inset-bottom)); }
.sheet__grip { width: 40px; height: 4px; margin: -8px auto 14px; border-radius: 2px; background: var(--blush-2); }
.sheet__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; }
.sheet__sum { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; font: 900 15px/1.2 var(--sans); letter-spacing: .02em; color: var(--candy); text-transform: uppercase; }
.sheet h2 { font: 700 27px/1.15 var(--serif); margin-bottom: 18px; padding-right: 40px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 15px; font-weight: 600; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--blush-2);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: 500 17px/1.2 var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--candy); box-shadow: 0 0 0 4px rgba(211, 16, 28, .16); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err { font-size: 14px; color: var(--error); }
.field__err:empty { display: none; }
.sheet .btn { margin-top: 6px; }
.sheet__note { margin-top: 12px; font-size: 14px; color: var(--ink-2); text-align: center; }
.sheet__stub { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--blush); font-size: 15px; line-height: 1.45; }
.sheet__stub[hidden] { display: none; }

/* Режим ?todo: подсветка мест, которые надо заменить */
.todo-bar { display: none; }
.show-todo .todo-bar {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 8px var(--gut);
  background: #FFC83D;
  color: #2A1A00;
  font: 600 13px/1.3 var(--sans);
  text-align: center;
}
.show-todo [data-todo] { outline: 2px dashed #E8A300; outline-offset: 3px; position: relative; }
.show-todo [data-todo]::after {
  content: "заменить";
  position: absolute;
  top: -9px;
  right: -4px;
  z-index: 5;
  padding: 3px 6px;
  border-radius: 6px;
  background: #FFC83D;
  color: #2A1A00;
  font: 700 10px/1 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  -webkit-text-fill-color: #2A1A00;
}

.noscript { padding: 40px var(--gut); text-align: center; }

/* ---------- Планшет ---------- */
@media (min-width: 640px) {
  :root { --gut: 32px; }
  .rail { grid-auto-columns: 240px; }
  .learn { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .fy { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .sheet { max-width: 480px; margin: auto; border-radius: 28px; }
  .sheet[open] { animation: sheet-pop .3s var(--ease); }
  .sheet__grip { display: none; }
}
@keyframes sheet-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Десктоп ---------- */
@media (min-width: 960px) {
  body { font-size: 18px; }
  .sec { padding-top: 112px; }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 56px;
    min-height: min(100svh, 920px);
    padding: 40px max(var(--gut), calc((100vw - var(--maxw)) / 2));
    background:
      radial-gradient(60% 70% at 100% 100%, rgba(211, 16, 28, .18), rgba(211, 16, 28, 0) 70%),
      radial-gradient(50% 60% at 0% 100%, rgba(211, 16, 28, .1), rgba(211, 16, 28, 0) 70%),
      var(--paper);
  }
  .hero__media {
    position: relative;
    inset: auto;
    z-index: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    height: min(80svh, 760px);
    aspect-ratio: 9 / 16;
    border-radius: 34px;
    overflow: hidden;
    background: var(--blush) url(assets/video/hero-poster.jpg) center / cover;
    box-shadow: 0 40px 80px -40px rgba(126, 7, 16, .6), 0 0 0 8px #fff;
  }
  .hero__body { grid-column: 1; grid-row: 1; padding: 0; }
  .hero__body::before { display: none; }
  .hero__logo { display: block; width: 132px; height: auto; margin-bottom: 40px; }
  .hero__kicker { font-size: 18px; }
  .hero__title { font-size: clamp(120px, 13vw, 184px); margin: 10px 0 20px; }
  .hero__lead { font-size: 20px; max-width: 34ch; margin-bottom: 28px; }
  .hero__buy { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 28px; }
  .hero__buy .price { order: 2; }
  .hero__buy .btn { min-width: 260px; }

  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
  .tile { padding: 22px; }
  .tile--wide { grid-column: auto; }
  .tile--photo { grid-column: span 2; grid-row: span 2; }
  .tile--photo h3 { font-size: 44px; }

  .bonus { padding: 44px 44px 40px; }
  .bonus ul { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .learn li { grid-template-columns: 128px 1fr; }
  .learn img { width: 128px; height: 160px; }

  .coach { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .coach__photo { position: sticky; top: 32px; }
  .stats b { font-size: 46px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding: 0; gap: 18px; }
  .step::before { left: 76px; right: -24px; top: 33px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--candy), var(--blush-2)); }

  .sec__cta .btn { width: auto; min-width: 300px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; overflow: visible; }
  .rail__hint { display: none; }

  .tech { grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: center; }
  .tech__img { grid-row: span 2; }
  .tech__img img { aspect-ratio: 4 / 5; }
  .vs__col { padding: 24px 22px; }

  .mosaic { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .strip { margin: 0; padding: 4px 0 14px; }
  .strip img { height: 260px; }
  .strip--wide img { height: 300px; }

  .how { grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px; }
  .how li { grid-template-columns: 1fr; align-content: start; padding: 0; gap: 14px; }
  .how li + li { border-top: 0; }

  .gets { grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }

  .offer { margin-top: 112px; padding: 96px var(--gut); }

  .guard { grid-template-columns: 72px 1fr; gap: 24px; padding: 36px; max-width: 820px; }
  .guard > .ic { width: 72px; height: 72px; padding: 16px; }

  .faq { grid-template-columns: 1fr 1fr; align-items: start; }

  .foot { padding-bottom: 48px; }
  .sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
