/* style.css — landing-democlub
   Дизайн-система по структуре https://sberdevices.ru/ring/
   SB Sans, сине-серая палитра (текст #010729, серый фон #f4f5f5, акцент #2d66db),
   чередующиеся секции (белый / мягкий сине-серый градиент / тёмно-синий),
   двухколоночные «текст + крупная скруглённая иллюстрация», иконочные плашки,
   сине-серый фирменный градиент, тёмно-синие кнопки-пилюли (hover без смены цвета),
   градиентные декоративные пятна. */

@import url("./tokens.css");

/* === База === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--color-text-primary); background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === Контейнер и секции === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.section { position: relative; padding-top: var(--section-pt); padding-bottom: var(--section-pb); overflow: hidden; }
.section--alt { background: var(--gradient-soft); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.center { text-align: center; }

/* Декоративное градиентное пятно (как blur-blob у ring) */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0; }
.blob--lime { background: #c7d2e8; }
.blob--green { background: #2d66db; }
.blob--blue { background: #2d66db; }
.blob--purple { background: #1a3a7a; }
.section > .container, .section > * > .container { position: relative; z-index: 1; }

/* === Нав-шапка === */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: var(--space-6); margin-left: var(--space-3); flex-wrap: wrap; }
.nav__links a { font-size: var(--fs-small); font-weight: 500; color: var(--color-text-primary); }
.nav__links a:hover { color: var(--color-green); }
.nav__cta { margin-left: auto; }
.nav__cta .btn { min-width: 0; padding: 10px 22px; font-size: var(--fs-small); }

/* === Типографика === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -.02em; }
.h-hero { font-size: var(--fs-hero); font-weight: 600; }
.h2 { font-size: var(--fs-h2); font-weight: 600; }
.h3 { font-size: var(--fs-h3); font-weight: 600; }
.h4 { font-size: var(--fs-h4); font-weight: 600; }
.body-lg { font-size: var(--fs-body-lg); color: var(--color-text-secondary); line-height: var(--lh-body); }
.section--dark .body-lg { color: var(--color-text-secondary-dark); }
.eyebrow {
  display: inline-block; font-size: var(--fs-small); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--color-green);
}
.section--dark .eyebrow { color: #6f8fce; }
.lead { font-size: var(--fs-body-lg); line-height: var(--lh-body); max-width: 64ch; }
.section-head { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head .h2 { margin-bottom: var(--space-4); }

/* Градиентный текст-акцент (сине-серый фирменный градиент) */
.grad-text {
  background: var(--gradient-brand-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* === Кнопки — тёмно-синие пилюли, hover без смены цвета === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  border: 0; cursor: pointer; border-radius: var(--radius-pill);
  padding: 16px 32px; min-width: 280px;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn--primary { background: var(--color-cta); color: var(--color-cta-text); }
.btn--primary:hover { background: var(--color-cta); opacity: .88; }
.btn--secondary { background: transparent; color: var(--color-cta); border: 1px solid var(--color-cta); }
.btn--secondary:hover { opacity: .88; }
.section--dark .btn--primary { background: #fff; color: #010729; }
.section--dark .btn--primary:hover { background: #fff; opacity: .88; }
.btn--sm { padding: 10px 22px; min-width: 0; font-size: var(--fs-small); }
.btn--block { width: 100%; }

/* === Бейджи — сине-серый градиент === */
.discount-badge {
  display: inline-flex; align-items: center;
  background: var(--gradient-brand); color: #fff;
  font-weight: 700; font-size: var(--fs-small); letter-spacing: .04em;
  padding: 8px 16px; border-radius: var(--radius-badge); text-transform: uppercase;
}

/* === Лого / бренд === */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.logo img { height: 40px; width: auto; }

/* === HERO — чистый фон, на 1 экран === */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background: var(--color-bg);
  min-height: calc(100svh - 68px); display: flex; flex-direction: column;
  padding-top: clamp(12px, 1.5vw, 20px); padding-bottom: clamp(18px, 2vw, 24px);
}
.hero__blob1, .hero__blob2 { display: none; }
.hero__inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; width: 100%; }

/* Плашки-пилюли — 2 в ряд, у верха блока; текст в 1 строку */
.hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 620px; margin: 0 auto var(--space-7); }
.hero__pill {
  background: var(--color-bg-alt); color: var(--color-text-primary);
  font-size: var(--fs-small); font-weight: 600; text-align: center;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(1,7,41,.08); line-height: 1.25;
  box-shadow: var(--shadow-md);
}

/* Бренд — лого-картинка + текст «Физикл Клуб» */
.hero__brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto var(--space-7); }
.hero__logo { height: clamp(40px, 6vw, 60px); width: auto; }
.hero__brand-text { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 38px); font-weight: 600; color: var(--color-text-primary); line-height: 1; white-space: nowrap; }

/* Заголовок — крупный, плотный */
.hero__title { font-family: var(--font-display); font-size: clamp(28px, 4.6vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin-bottom: var(--space-7); max-width: 820px; margin-inline: auto; }
.hero__title span { display: block; }

/* Буллет-карточки — 4 в ряд, иконочные плашки (как feature-badges у ring) */
.hero__bullets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 920px; margin: 0 auto var(--space-5); }
.hero__bullet {
  background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg); padding: 20px 16px; text-align: center;
  font-size: var(--fs-small); font-weight: 600; color: var(--color-text-primary); line-height: 1.35;
  box-shadow: var(--shadow-sm);
}
.hero__bullet::before {
  content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 10px;
  border-radius: 50%; background: var(--gradient-brand);
}

/* CTA — отступ перед кнопкой увеличен вдвое */
.hero__cta { margin-top: var(--space-8); margin-bottom: var(--space-4); }

/* Соцдоказ + ряд лиц */
.hero__social { font-size: var(--fs-body-lg); font-weight: 600; color: var(--color-text-primary); margin-bottom: var(--space-3); }
.hero__faces { display: flex; justify-content: center; align-items: center; }
.hero__face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -14px; box-shadow: var(--shadow-sm); background: var(--color-bg-alt); }
.hero__face:first-child { margin-left: 0; }

/* === HERO — эдиториал-сплит: текст слева, превью-панель справа === */
.hero--split { text-align: left; justify-content: center; }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--container-max); }
.hero--split .hero__pills { justify-content: flex-start; margin: 0 0 var(--space-5); max-width: none; }
.hero--split .hero__brand { justify-content: flex-start; margin: 0 0 var(--space-6); }
.hero--split .hero__brand-text { font-size: clamp(22px, 3vw, 32px); }
.hero--split .hero__title { text-align: left; margin: 0 0 var(--space-5); max-width: 560px; font-size: clamp(28px, 3.6vw, 44px); }
.hero--split .hero__title span { display: inline; }

/* Вертикальный чек-лист буллетов с маленькими точками */
.hero__checklist { display: flex; flex-direction: column; gap: 10px; margin: 0 0 var(--space-7); max-width: 560px; }
.hero__checklist li { position: relative; padding-left: 22px; font-size: var(--fs-body); font-weight: 500; line-height: 1.45; color: var(--color-text-primary); }
.hero__checklist li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient-brand);
}

/* CTA в потоке, соцдоказ + лица в одну строку */
.hero--split .hero__cta { margin-top: 0; margin-bottom: var(--space-5); }
.hero__social-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.hero__social-row .hero__social { margin: 0; font-size: var(--fs-body); }
.hero__social-row .hero__faces { flex: 0 0 auto; justify-content: flex-start; }

/* Правая превью-панель: иллюстрация 1 экрана (img/hero-1.webp) */
.hero__visual { position: relative; }
.hero__img { display: block; width: 100%; height: auto; object-fit: contain; }
/* Плашки-пилюли внизу hero, под блоком с лицами */
.hero--split .hero__pills--bottom { justify-content: flex-start; margin: var(--space-6) 0 0; max-width: none; }

/* === Двухколоночная секция «текст + крупная иллюстрация» (как у ring) === */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__text { order: 2; }
.split__eyebrow { margin-bottom: var(--space-3); }
.split__title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin-bottom: var(--space-4); }
.split__desc { font-size: var(--fs-body-lg); color: var(--color-text-secondary); line-height: var(--lh-body); max-width: 52ch; }
.section--dark .split__desc { color: var(--color-text-secondary-dark); }
.split__media { position: relative; }
.split__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-xl); background: var(--color-bg-soft); box-shadow: var(--shadow-md); }
.split__img--raw { height: var(--split-raw-h, clamp(300px, 38vh, 420px)); width: auto; max-width: 100%; object-fit: contain; background: transparent; box-shadow: none; border-radius: 0; }
.split:has(.split__img--raw) .split__media { align-self: stretch; display: flex; align-items: center; justify-content: center; }
#usp .split__img--raw { height: clamp(400px, 52vh, 560px); }
/* Градиентная панель-иллюстрация (когда нет фото) */
.split__panel { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-xl); background: var(--gradient-brand); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.split__panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 20% 20%, rgba(255,255,255,.35), transparent 55%); }
.split__panel-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(120px, 18vw, 220px); color: rgba(255,255,255,.22); line-height: 1; letter-spacing: -.04em; }

/* === О КЛУБЕ — две крупные карточки с иллюстрацией === */
.about__intro { font-size: var(--fs-body-lg); color: var(--color-text-secondary); max-width: 64ch; margin: var(--space-5) auto var(--space-7); text-align: center; line-height: var(--lh-body); }
.about__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.about__card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.about__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about__card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--color-bg-soft); }
.about__card-body { padding: var(--space-6) var(--space-6) var(--space-7); }
.about__card-title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; margin-bottom: var(--space-3); }
.about__card-desc { color: var(--color-text-secondary); font-size: var(--fs-small); line-height: 1.6; }

/* === 4 УСП — крупные карточки с градиентным номером-бейджем === */
.usp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.usp { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usp__num { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-bottom: var(--space-5); }
.usp__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--space-3); }
.usp__subtitle { font-size: var(--fs-body-lg); color: var(--color-text-primary); font-weight: 500; margin-bottom: var(--space-3); }
.usp__body { color: var(--color-text-secondary); line-height: var(--lh-body); font-size: var(--fs-small); }

/* === ОЦЕНКА РАЦИОНА (тёмно-синяя секция, двухколоночная) === */
#assessment { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(28px, 3.5vw, 48px); }
.assessment__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.assessment__title { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; margin-bottom: var(--space-3); line-height: 1.12; }
.assessment__desc { font-size: var(--fs-body-lg); color: var(--color-text-secondary-dark); margin-bottom: var(--space-4); line-height: var(--lh-body); }
.assessment__desc + .assessment__desc { margin-top: calc(-1 * var(--space-4) + var(--space-3)); margin-bottom: var(--space-4); }
.assessment__cta { margin-top: var(--space-2); }
.assessment__img { height: clamp(340px, 44vh, 460px); width: auto; max-width: 100%; object-fit: contain; display: block; margin-inline: auto; border-radius: 0; box-shadow: none; }
.assessment__panel { aspect-ratio: 1/1; border-radius: var(--radius-xl); background: linear-gradient(135deg,#2d66db,#010729); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.assessment__panel::after { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 25% 20%, rgba(255,255,255,.25), transparent 55%); }
.assessment__blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #2d66db; filter: blur(90px); opacity: .3; top: -60px; right: -80px; z-index: 0; }

/* === ОТЗЫВЫ — карусель со стрелками === */
.reviews__carousel { position: relative; }
.reviews__track { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: var(--space-3) 0; margin: 0 56px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__shot { flex: 0 0 auto; width: calc((100% - 2 * var(--space-3)) / 3); aspect-ratio: 3/4; object-fit: contain; border-radius: var(--radius-lg); background: var(--color-bg-soft); border: 1px solid var(--color-border); padding: var(--space-3); box-shadow: var(--shadow-sm); scroll-snap-align: center; transition: transform var(--t-base), box-shadow var(--t-base); }
.reviews__shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reviews__arrow, .stories__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; color: var(--color-text-primary); font-size: 26px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); transition: transform var(--t-base), box-shadow var(--t-base), opacity var(--t-base); padding: 0; }
.reviews__arrow:hover:not(:disabled), .stories__arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); box-shadow: var(--shadow-lg); }
.reviews__arrow:disabled, .stories__arrow:disabled { opacity: .35; cursor: default; }
.reviews__arrow--prev, .stories__arrow--prev { left: -8px; }
.reviews__arrow--next, .stories__arrow--next { right: -8px; }
.reviews__arrow--prev { left: 0; }
.reviews__arrow--next { right: 0; }
@media (max-width: 1024px) { .reviews__shot { width: calc((100% - var(--space-3)) / 2); } }
@media (max-width: 600px) { .reviews__shot { width: calc((100% - var(--space-3)) / 2); } .reviews__track { margin: 0 48px; } .reviews__arrow, .stories__arrow { width: 40px; height: 40px; font-size: 22px; } }

/* === СТОРИС — компактный ряд без заголовка === */
#reviews { padding-bottom: var(--space-6); }
.section--tight { padding-top: var(--space-5); padding-bottom: var(--space-7); }
.stories__carousel { position: relative; }
.stories__row { display: flex; gap: var(--space-3); overflow-x: auto; padding: var(--space-2) 0; margin: 0 56px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.stories__row::-webkit-scrollbar { display: none; }
.stories__arrow--prev { left: 0; }
.stories__arrow--next { right: 0; }
.stories__shot { flex: 0 0 auto; width: 180px; aspect-ratio: 9/16; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-bg-soft); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); scroll-snap-align: start; transition: transform var(--t-base), box-shadow var(--t-base); }
.stories__shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
@media (max-width: 768px) { .stories__shot { width: 124px; } .stories__row { margin: 0 48px; } }

/* === ШАГИ — крупные карточки === */
.steps__intro { text-align: center; color: var(--color-text-secondary); font-size: var(--fs-body-lg); margin-bottom: var(--space-7); max-width: 56ch; margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-bottom: var(--space-7); }
.steps--around {
  grid-template-columns: 1.35fr minmax(0, 400px) 1.35fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  gap: var(--space-6);
}
.steps--around .steps__visual { margin: 0; }
.steps--around .step--tl { align-self: start; }
.steps--around .step--tr { align-self: start; }
.steps--around .step--bl { align-self: end; }
.steps--around .step--br { align-self: end; }
.step { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-small); }
.step__text { font-size: var(--fs-small); line-height: var(--lh-body); }
.step--lead { text-align: left; align-items: flex-start; }
.step__lead { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #2d66db; margin-right: 4px; }
.step--tl { grid-column: 1; grid-row: 1; }
.step--tr { grid-column: 3; grid-row: 1; }
.step--bl { grid-column: 1; grid-row: 2; }
.step--br { grid-column: 3; grid-row: 2; }
.steps__visual { display: flex; justify-content: center; align-items: center; margin: var(--space-6) 0; }
.steps--around .steps__visual { grid-column: 2; grid-row: 1 / span 2; }
.steps__img { max-width: 400px; width: 100%; height: auto; border-radius: var(--radius-lg); }
.steps__cta { text-align: center; margin-bottom: 0; }
#how { padding-bottom: var(--space-6); }
#faq { padding-top: var(--space-5); }
#tariff { padding-bottom: var(--space-6); }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps__img { max-width: 100%; } }

/* === ТАРИФ — крупная скруглённая карточка === */
.tariff { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: var(--space-7); align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.tariff__content { text-align: center; }
.tariff__media { display: flex; align-items: center; justify-content: center; }
.tariff__media img { width: 100%; max-width: 340px; height: auto; border-radius: var(--radius-lg); }
.tariff__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--space-5); }
.tariff__price { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.tariff__price-top { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tariff__old { font-size: var(--fs-body-lg); text-decoration: line-through; color: var(--color-text-muted); }
.tariff__discount { font-weight: 700; }
.tariff__now { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6vw, 56px); line-height: 1.05; white-space: nowrap; background: var(--gradient-brand-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tariff__cur { font-size: 0.5em; font-weight: 600; }
.tariff__list { text-align: left; display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-6) 0; }
.tariff__list li { display: flex; gap: 10px; align-items: flex-start; }
.tariff__list li::before { content: "✓"; color: var(--color-green); font-weight: 700; flex: 0 0 auto; }
.tariff__cta { width: 100%; }
.tariff__note { text-align: center; color: var(--color-text-secondary); font-size: var(--fs-small); margin-top: var(--space-4); }
@media (max-width: 768px) { .tariff { grid-template-columns: 1fr; gap: var(--space-5); } .tariff__media { order: -1; } .tariff__media img { max-width: 220px; } }

/* === Футер === */
.footer { padding-block: var(--space-8); border-top: 1px solid var(--color-border); background: var(--color-bg); }
.footer__inner { display: flex; flex-direction: column; gap: var(--space-5); }
.footer__row { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; width: 100%; }
.footer__row--bottom { align-items: center; }
.footer__links { display: flex; gap: var(--space-5); }
.footer__links a { color: var(--color-text-secondary); font-size: var(--fs-small); }
.footer__links a:hover { color: var(--color-green); }
.footer__social { display: flex; gap: var(--space-4); }
.footer__social a { color: var(--color-text-secondary); font-size: var(--fs-small); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border); transition: color var(--t-base), border-color var(--t-base), background var(--t-base); }
.footer__social a:hover { color: #2d66db; border-color: #2d66db; }
.social-ico svg { display: block; width: 20px; height: 20px; }
.footer__copy { color: var(--color-text-secondary); font-size: var(--fs-small); }

/* === FAQ — аккордеон === */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__q { list-style: none; cursor: pointer; padding: var(--space-5); font-weight: 600; font-size: var(--fs-body-lg); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); color: var(--color-text-primary); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: 0 0 auto; position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--color-text-primary); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform var(--t-base), opacity var(--t-base); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-secondary); font-size: var(--fs-body); line-height: var(--lh-body); }
.faq__a p { margin: 0; }
.faq__a a { color: var(--color-text-primary); text-decoration: underline; }

/* === Sticky CTA (мобайл) === */
.sticky-cta { position: fixed; inset: auto 0 0 0; padding: var(--space-3) var(--space-4); background: var(--color-bg); border-top: 1px solid var(--color-border); display: none; z-index: 50; }
.sticky-cta .btn { width: 100%; }

/* === Форма === */
.form { display: flex; flex-direction: column; gap: var(--space-4); max-width: 460px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-small); color: var(--color-text-secondary); }
.field input {
  padding: 14px 18px; border-radius: var(--radius-pill); border: 1px solid var(--color-border);
  background: var(--color-bg); color: var(--color-text-primary); font-size: var(--fs-body); font-family: var(--font-body);
}
.field input:focus { outline: 2px solid var(--color-green); outline-offset: 1px; }

/* === Адаптив === */
@media (max-width: 1024px) {
  .about__cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero__pill { font-size: 12px; padding: 9px 14px; }
  .hero__bullet { font-size: 12px; padding: 16px 10px; }
  .split, .assessment__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--rev .split__text { order: 0; }
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__img { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta .btn { width: auto; min-width: 0; white-space: nowrap; padding: 8px 14px; font-size: var(--fs-small); }
  .usp-grid, .steps { grid-template-columns: 1fr; }
  .steps--around { display: flex; flex-direction: column; }
  .steps--around .step--tl, .steps--around .step--tr, .steps--around .step--bl, .steps--around .step--br,
  .steps--around .steps__visual { grid-column: auto; grid-row: auto; }
  .steps--around .steps__visual { order: 3; margin: var(--space-4) 0; }
  .steps--around .step--tr { order: 1; }
  .steps--around .step--tl { order: 2; }
  .steps--around .step--bl { order: 4; }
  .steps--around .step--br { order: 5; }
  .hero__faces { flex-wrap: wrap; }
  .hero__face { width: 36px; height: 36px; margin-left: -10px; }
  .hero__logo { height: 34px; }
  .hero__brand-text { font-size: 24px; }
  .hero__brand { gap: 9px; }
  .hero__title { font-size: clamp(24px, 7vw, 32px); }
  .hero__pill { font-size: 11px; padding: 8px 12px; }
  .hero__bullet { font-size: 11px; padding: 14px 8px; }
  .hero__cta { margin-top: var(--space-6); }
  .hero__img { max-width: 420px; }
  .split__img--raw { height: clamp(220px, 46vh, 320px); }
  #usp .split__img--raw { height: clamp(240px, 50vh, 360px); }
  .assessment__img { height: clamp(300px, 52vh, 400px); }
  .btn { min-width: 0; width: 100%; }
  .sticky-cta { display: block; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .section { padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .section-head { margin-bottom: var(--space-5); }
  .h2 { font-size: clamp(22px, 6vw, 28px); }
  .split__img--raw { height: clamp(190px, 42vh, 260px); }
  #usp .split__img--raw { height: clamp(210px, 46vh, 300px); }
  .assessment__img { height: clamp(270px, 50vh, 360px); }
  .hero__img { max-width: 360px; }
  .steps__img { max-width: 100%; }
  .tariff__media img { max-width: 200px; }
  .tariff__now { font-size: clamp(36px, 11vw, 44px); }
  .faq__q { font-size: var(--fs-body); padding: var(--space-4); }
  .faq__a { padding: 0 var(--space-4) var(--space-4); }
}
/* === PAY MODAL === */
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.pay-modal.is-open { display: block; }
.pay-modal__overlay { position: absolute; inset: 0; background: rgba(1,7,41,.55); backdrop-filter: blur(2px); }
.pay-modal__dialog { position: relative; max-width: 460px; width: calc(100% - 32px); margin: 5vh auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-7) clamp(20px, 4vw, 36px) var(--space-6); max-height: 90vh; overflow-y: auto; }
.pay-modal__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--color-text-secondary); cursor: pointer; border-radius: 50%; }
.pay-modal__close:hover { background: var(--color-surface-alt); color: var(--color-text-primary); }
.pay-modal__title { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 28px); font-weight: 600; line-height: 1.18; margin-bottom: var(--space-2); padding-right: var(--space-6); }
.pay-modal__desc { font-size: var(--fs-small); color: var(--color-text-secondary); margin-bottom: var(--space-5); }
.pay-form { display: flex; flex-direction: column; gap: var(--space-4); }
.pay-field { display: flex; flex-direction: column; gap: 6px; }
.pay-field__label { font-size: var(--fs-small); font-weight: 600; color: var(--color-text-primary); }
.pay-field__opt { font-weight: 400; color: var(--color-text-secondary); }
.pay-field__label .req, .pay-consent__text .req { color: #2d66db; font-weight: 700; margin-left: 2px; }
.pay-field input { font-family: var(--font-body); font-size: var(--fs-body); padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; color: var(--color-text-primary); }
.pay-field input::placeholder { color: var(--color-text-muted); }
.pay-field input:focus { outline: none; border-color: #2d66db; box-shadow: 0 0 0 3px rgba(45,102,219,.15); }
.pay-consent { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-1); }
.pay-consent__item { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.pay-consent__item input { flex: 0 0 auto; margin-top: 3px; width: 16px; height: 16px; accent-color: #2d66db; cursor: pointer; }
.pay-consent__text { font-size: var(--fs-small); line-height: 1.4; color: var(--color-text-primary); }
.pay-consent__text a { color: #2d66db; text-decoration: underline; }
.pay-form__submit { margin-top: var(--space-2); }
.pay-form__success { font-size: var(--fs-body); color: #2d66db; font-weight: 600; text-align: center; margin-top: var(--space-4); }
@media (max-width: 600px) { .pay-modal__dialog { margin-top: 3vh; padding: var(--space-6) 18px var(--space-5); } }

/* === FOOTER SOCIAL — правый верхний угол === */
.footer__social { justify-content: flex-end; }
