/* ========== Base / Font ========== */
@font-face {
  font-family: "Beausite Classic";
  src: url("/assets/fonts/BeausiteClassicWeb-Regular.woff2") format("woff2"),
    url("/assets/fonts/BeausiteClassicWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens (всё фикс в rem) ===== */
:root {
  /* цвета */
  --color-bg: #ffffff;
  --text-black-700: #111820;
  --text-white: #fff;
  --text-accent-700: #757564;
  --text-accent-600: #9b9b8d;
  --text-accent-25: #f5f5f4;
  --text-black-400: #707479;
  --background-f5: #f5f5f4;
  --background-black-25: #f3f5f6;
  --background-black-50: #e7e8e9;
  --background-black-100: #cfd1d2;
  --background-black-200: #b8babc;
  --background-black-500: #41464d;
  --background-black-600: #292f36;
  /* типографика из макета (desktop/tablet) */

  --h1-fs: 5.56rem; /* 80px */
  --h1-lh: 1.04;
  --h1-ls: -0.03em;
  
  --h1-small-fs: 4.444rem; /* 80px */
  --h1-small-lh: 1.04;
  --h1-small-ls: -0.03em;
  
  --h2-fs: 3.89rem; /* 56px */
  --h2-lh: 1.04;
  --h2-ls: -0.02em;

  --h3-fs: 2.78rem; /* 40px */
  --h3-lh: 1.24;
  --h3-ls: -0.02em;

  --h4l-fs: 1.95rem; /* 28px */
  --h4l-lh: 1.14;
  --h4l-ls: -0.02em;

  --h4-fs: 1.67rem; /* 24px */
  --h4-lh: 1.14;
  --h4-ls: -0.02em;

  --desc-fs: 0.84rem; /* 12px */
  --desc-lh: 1.34;
  --desc-ls: 0.04em;

  --text-sm-fs: 0.97rem; /* 14px */
  --text-sm-lh: 1.4;
  --text-sm-ls: 0.01em;

  --text-md-fs: 1.11rem; /* 16px */
  --text-md-lh: 1.4;
  --text-md-ls: 0;

  --text-lg-fs: 1.25rem; /* 18px */
  --text-lg-lh: 1.34;
  --text-lg-ls: -0.01em;

  --btn-text-fs: 0.97rem; /* 14px */
  --btn-text-lh: 1;
  --btn-text-ls: 0.01em;

  --thanks-pad-x: 3.3333rem; /* 48px */
  --thanks-pad-top: 2.7778rem; /* 40px */
  --thanks-gap: 1.1111rem; /* 16px */

  --thanks-card-h: 20.4167rem; /* 294px */

  --thanks-radius-lg: 1.6667rem;
  --thanks-radius: 1.6667rem;

  --thanks-grad-hero: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
  --thanks-grad-btn: linear-gradient(
    304.1deg,
    #86867a -32.54%,
    #56564e 159.94%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  touch-action: manipulation;
}

html,
body {
  height: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* старый Edge/IE */
}

/* Chrome / Safari / Chromium */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
/* скрыть скроллбар, пока ждём первый экран */
body.is-scroll-locked {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* old Edge */
}
body.is-scroll-locked::-webkit-scrollbar {
  width: 0;
  height: 0;
}
html.preload-lock,
html.preload-lock body {
  overflow: hidden !important;
}
html {
  font-size: 1vw;
}
body.is-scroll-locked {
  overflow: hidden;
}

body {
  font-weight: 400; /* Regular везде по умолчанию */
  font-family: "Beausite Classic", system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  margin: 0;
  color: #111820;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-weight: 400;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
.br-table {
  display: none;
}

.pay-modal__radio[hidden] {
    display: none;
}
/* ========== HERO block ========== */
/* прячем элементы героя до момента готовности видео */
.hero:not(.is-video-ready) .hero__top-pill,
.hero:not(.is-video-ready) .hero__content,
.hero:not(.is-video-ready) .hero__scroll {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.hero.is-video-ready .hero__top-pill,
.hero.is-video-ready .hero__content,
.hero.is-video-ready .hero__scroll {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* === Тёмный оверлей + прогрессивный блюр === */
/* Тёмный градиент — только нижние 75% */
.hero__bg::before {
  content: "";
  position: absolute;
  top: 25%;        /* ← было inset: 0 */
  left: 0;
  right: 0;
  bottom: -5px;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

/* Прогрессивный блюр — только нижние 75% */
.hero__bg::after {
  content: "";
  position: absolute;
  top: 55%;        /* ← было inset: 0 */
  left: 0;
  right: 0;
  bottom: -5px;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  pointer-events: none;
}
/* ✅ Safari: скрываем кнопку "Пуск" и прочие контролы, которые Safari рисует поверх автоплей-видео */
.hero__video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}
.hero__video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
.hero__video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}
.hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* top pill */
.hero__top-pill {
  position: fixed;
  top: 2.7778rem; /* 40px */
  transition-property: top;
  transition-duration: 0.35s; /* плавнее */
  transition-timing-function: ease;
  will-change: top;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: max-content;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 1.6667rem; /* 32px */
    padding: 0.5556rem 0.5556rem 0.5556rem 1.6667rem;
  border-radius: 11.9995px; /* 12px */
  background: #00000026;
  backdrop-filter: blur(1.3264rem); /* 19.1px */
  -webkit-backdrop-filter: blur(1.3264rem);
  box-shadow: 0 0.1389rem 1.3889rem #00000017; /* 0 2px 20px */
}
.hero__top-pill {
  transition: top 0.35s ease !important;
}

.hero__top-pill.is-compact:not(.hero__top-pill--bottom) {
  top: 1.3889rem; /* 20px */
}
.hero__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}
.hero__brand img {
    width: 10.902rem;
    height: 2.569rem;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.hero__brand:hover img {
  transform: scale(1.107);
  transition-duration: 0.5s;
}
/* CTA — без псевдоэлементов */
.hero__cta {
  position: relative;
  display: inline-grid;
  place-items: center;

  /* фиксированный общий размер кнопки */
  width: 13.4208rem; /* 197px */
  height: 3.0556rem; /* 44px */
  box-sizing: border-box;

  border: 0;
  border-radius: 8.0006px;
  text-decoration: none;

  font-size: var(--btn-text-fs); /* 14px */
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  color: var(--text-white);
  background: none;

  transition: font-size 0.25s ease, padding 0.25s ease;
}

/* фон */
.hero__cta-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(304.1deg, #86867a -32.54%, #56564e 159.94%);
  box-shadow: 0 0 1.0417rem rgba(0, 0, 0, 0.15);
  transition: inset 0.25s ease;
  z-index: -1;
}

/* текст не переносится */
.hero__cta-label {
  white-space: nowrap;
  pointer-events: none;
}

/* hover: шрифт +1px, паддинги по бокам −1px, общий размер НЕ меняется */
.hero__cta:hover {
  font-size: 1.0417rem;
  transition-duration: 0.5s; /* IN */
}
.hero__cta:hover .hero__cta-bg {
  inset: -0.2778rem; /* плашка +4px со всех сторон */
  transition-duration: 0.5s;
}

/* Контент слева снизу */
.hero__content {
  position: absolute;
  left: 4.4444rem;
  bottom: 3.8194rem;
  z-index: 5;
} /* 64px, 55px */

.hero__countdown {
  display: inline-block;
  padding: 0.6944rem 1.7361rem; /* 10px 25px */
  border-radius: 299.9995px; /* 300px */
  color: var(--text-white);
  /* background: #00000026;
  backdrop-filter: blur(1.0417rem); 
  -webkit-backdrop-filter: blur(1.0417rem); */
  font-size: var(--desc-fs); /* 18px */
  line-height: var(--desc-lh);
  border: 1px solid #FFFFFF33;
  letter-spacing: var(--desc-ls);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  margin: 0 0 2.2222rem 0; /* 24px */
  color: var(--text-white);
  font-size: var(--h1-small-fs);
  line-height: var(--h1-small-lh);
  letter-spacing: var(--h1-small-ls);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 2.7778rem;                          /* 40px */
  padding: 1.3889rem 1.3889rem 1.3889rem 1.6667rem; /* 20 20 20 24 */
  border-radius: 12px;                /* 12px */
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(1.3264rem);
  box-shadow: 0 0.1389rem 1.3889rem rgba(0, 0, 0, 0.09); /* 0 2 20 — 9% */
}

.hero__desc {
  margin: 0;
  color: var(--text-white);
  font-size: var(--text-lg-fs);            /* 18px */
  line-height: var(--text-lg-lh);          /* 134% */
  letter-spacing: var(--text-lg-ls);       /* -1% */
}

.hero__pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 3.0556rem;                       /* 44px */
  padding: 0.6944rem 1.7361rem;            /* 10 25 */
  border-radius: 8px;                /* 8px */
  background: var(--text-white);
  color: var(--text-black-700);            /* #111820 */
  font-size: var(--btn-text-fs);           /* 14px */
  line-height: var(--btn-text-lh);         /* 100% */
  letter-spacing: var(--btn-text-ls);      /* 1% */
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease;
}

.hero__pill-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Кнопка прокрутки справа */
.hero__scroll {
  position: absolute;
  right: 3.3333rem;
  bottom: 4.1667rem; /* 48px, 60px */
  inline-size: 4.1667rem; /* 60px */
  block-size: 4.1667rem; /* 60px */
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.26);
  border: 0.0694rem solid rgba(255, 255, 255, 0.3); /* 1px */
  border-radius: 8.0006px; /* 8px */
  overflow: visible;
  z-index: 5;
}

/* Узкое окно — через него видно стрелку */
.hero__clip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1.25rem;
  bottom: 1.25rem; /* 18px */
  inline-size: 1rem; /* 12px */
  overflow: hidden;
  pointer-events: none;
}

/* Стрелка (svg) — центр кнопки */
.hero__chevron {
  position: absolute;
  left: 50%;
  top: 50%;
  inline-size: 100%;
  height: auto;
  display: block;
  transform: translate(-50%, -220%);
  animation: chevron-pause 1.8s infinite;
}

/* верх → центр (рывок), пауза, вниз (рывок) */
@keyframes chevron-pause {
  0% {
    transform: translate(-50%, -220%);
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.25, 1);
  }
  22% {
    transform: translate(-50%, -50%);
    animation-timing-function: steps(1, end);
  }
  72% {
    transform: translate(-50%, -50%);
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.25, 1);
  }
  100% {
    transform: translate(-50%, 220%);
  }
}

/* ===== PROOF block ===== */
.proof {
  padding: 13.8889rem 5rem 6.9444rem;
  max-width: 85.417rem;
  margin: auto;
}

/* контейнер по центру + вертикальные линии слева, по центру и справа */
.proof__actors {
  position: relative;
  max-width: 61.25rem;
  margin: 0 auto 5.5556rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  height: 6.25rem;

  background-image: linear-gradient(
      var(--background-black-50),
      var(--background-black-50)
    ),
    linear-gradient(var(--background-black-50), var(--background-black-50)),
    linear-gradient(var(--background-black-50), var(--background-black-50));
  background-repeat: no-repeat;
  background-size: 0.0694rem calc(100% - 0.5556rem),
    0.0694rem calc(100% - 0.5556rem), 0.0694rem calc(100% - 0.5556rem);
  background-position: 0 0.2778rem, 50% 0.2778rem, 100% 0.2778rem;
}

/* Артём: текст слева, круг справа, отступ 30px до центральной линии */
.actor {
  display: grid;
  align-items: center;
  padding: 0 2.1111rem;
  position: relative;
}
.actor__text{
    margin-right: 6.9444rem;
    width: 13.888rem;;
}
.actor:nth-child(1) {
  grid-template-columns: 1fr auto;
}

/* Диана: круг слева, текст справа, отступ 30px от центральной линии */
.actor:nth-child(2) {
  grid-template-columns: auto 1fr;
}

/* круг 80px и поведение */
.actor__media {
  position: relative;
  inline-size: 5.5555rem;
  block-size: 5.5555rem;
  border: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(17, 24, 32, 0.06);
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* при active и paused увеличенный масштаб сохраняется до общего ресета */
.actor[data-state="active"] .actor__media,
.actor[data-state="paused"] .actor__media {
  transform: scale(1.25);
}

/* оверлей и иконки поверх видео */
.actor__media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}
.actor__media::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 1.1111rem;
  height: 1.1111rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.actor[data-state="paused"] .actor__media::after {
  background-image: url("/assets/img/proof-section/pause.svg");
  opacity: 1;
}

/* видео и кольцо прогресса */
.actor__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}
.actor__ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}
.actor__ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2px;
}
.actor__ring-progress {
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-linecap: round;
}

/* текст */
.actor__name {
  font-size: var(--text-md-fs);
  letter-spacing: var(--text-md-ls);
  line-height: var(--text-md-lh);
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text-black-700);
}
.actor__desc {
  margin-top: 0.1389rem;
  font-size: var(--text-md-fs);
  letter-spacing: var(--text-md-ls);
  line-height: var(--text-md-lh);
  color: var(--text-black-400);
  white-space: pre-line;
}

/* заголовок */
.proof__title {
  max-width: 85.4167rem;
  margin: 0 auto;
  text-align: center;
  font-size: var(--h3-fs);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 400;
  white-space: pre-line;
}
.proof__title.table,
.trust__text.trust__downText.table,
.proof__title.mobile,
.trust__text.trust__downText.mobile {
  display: none;
}
.proof__title span {
  background: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* ===== TRUST block ===== */
.trust {
  padding: 4rem 0;
  --trust-text-max: 32.6389rem;
}

/* контейнер: центр и ширина не больше 1118px, но ужимается от вьюпорта */
.trust__container {
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
  padding-inline: 11.1806rem; /* 161px */
}

/* карточки */
.trust__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.3333rem 3.9583rem; /* 40px */
  height: 100%;
}

/* верхняя большая 489px высотой */
.trust__card--lg {
  inline-size: 100%;
  margin-block-end: 1.1111rem; /* 16px */
  background: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
  padding: 6.2222rem 7.8rem 6.2222rem 3.9583rem; /* 40px */

  /* ключевое — сетка + контейнерные единицы */
  display: grid;
  column-gap: 6.53rem;
  align-items: center;
  container-type: inline-size; /* чтобы работали cqi */
}

.trust__card--lg .trust__title,
.trust__card--lg .trust__text {
  max-inline-size: min(var(--trust-text-max), 100%);
}

/* заменяем старое правило .trust__row */
.trust__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* 551px */
  gap: 1.1111rem; /* 16px */
  align-items: stretch;
}

/* высоту оставляем пропорцией */
.trust__card--sm {
  inline-size: 100%;
  background: #e8e8e4;
}

.trust__icon {
  display: block;
  margin-block-end: 3.7rem;
}
.trust__icon--hat {
  inline-size: 4.7222rem;
  block-size: 3.125rem;
} /* 68×45 */
.trust__icon--dumbbell {
  inline-size: 4.8611rem;
  block-size: 3.6111rem;
} /* 70×52 */
.trust__icon--watch {
  inline-size: 3.2639rem;
  block-size: 3.8194rem;
} /* 47×55 */

/* текст */
.trust__card--lg .trust__title {
  color: var(--text-white);
}
.trust__card.trust__card--lg div img {
  width: 4.653rem;
  margin-block-end: 2.78rem;
}
.trust__title {
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-black-700);
  margin: 0 0 0 0;
}

.trust__text {
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);

  margin: 0;
  white-space: pre-line;
}
.trust__highText {
  color: var(--text-white);
  opacity: 50%;
}
.trust__downText {
  color: var(--text-black-700);
  opacity: 30%;
}
/* большая иллюстрация справа внутри топ-карточки */
.trust__illust {
  position: absolute;
  right: 7.7778rem;
  height: auto;
  pointer-events: none;
  position: static;
  grid-column: 2; /* правая колонка */
  grid-row: 1 / -1; /* по всей высоте карточки */
  height: auto; /* сохраняем пропорции */
  align-self: end; /* прижать к низу, если нужно */
  justify-self: end;
  width: 21.111rem;
}
/* ===== SOLUTIONS block ===== */
.solutions {
  padding: 6.9444rem 0 9.7222rem;

  /* 218px = 15.1389rem */
  --solutions-gutter: 15.1389rem;
}

/* контейнер на всю ширину, с нужными отступами */
.solutions__container {
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
  padding-inline: var(--solutions-gutter);
}

/* заголовки секции по центру, отступ как в макете */
.solutions__title {
  margin: 0 0 5.5556rem 0;
  text-align: center;
  font-size: var(--h2-fs);
  letter-spacing: var(--h2-ls);
  line-height: var(--h2-lh);
}

.solutions__title-gradient {
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* три карточки, 16px между ними */
.solutions__flex {
  display: flex;
  gap: 1.1111rem; /* 16px */
  align-items: stretch;
  justify-content: stretch;
  overflow-x: auto; /* если у тебя где-то в адаптиве это не включено */
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* важно: мы сами анимируем */
}

/* карточка: одинаковая для всех, масштабируется по ширине колонки */
.solutions__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;

  /* пропорция из макета: 302.4 x 486 */
  aspect-ratio: 324 / 486;

  border-radius: 24.0005px;
  overflow: hidden;
  contain: layout paint;
}

/* картинка фоном */
.solutions__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  z-index: 0;
}

/* общий оверлей поверх картинки */
.solutions__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: var(--overlay, transparent);
}
.solutions__navigation-block {
  margin-top: 2.777rem;
  position: relative;
  display: flex;
  justify-content: center; /* кнопка по центру */
  align-items: center;
  width: 100%;
}
.solutions__navigation-block .reviews__nav {
  margin: 0;
  transform: none !important;
}

.solutions__img-phone {
  transform: scale(1.5);
}

/*.solutions__img-ration {
  transform: scale(var(--zoom, 1.2));
  transform-origin: var(--origin-x, 50%) var(--origin-y, 50%);
}

.solutions__img-dumbbell {
  transform: scale(var(--zoom, 1.3));
  transform-origin: var(--origin-x, 20%) var(--origin-y, 10%);
}
*/
/* слой под текст */
.solutions__content {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  padding: 1.9444rem 2.2222rem 2.2222rem;
  pointer-events: none;
  z-index: 2;
}

/* типографика карточек */
.solutions__eyebrow {
  margin: 0 0 0.8333rem 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-white);
  opacity: 80%;
}

.solutions__heading {
  margin: 0;
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-white);
}

/* бар иконок */
.solutions__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2.0833rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8333rem;
  z-index: 3;
  pointer-events: auto;
}

.solutions__icon {
  --icon-size: 1.95rem;

  display: inline-block;
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: none;
  box-sizing: content-box;
  padding: calc(var(--icon-size) * 0.557);
  border-radius: 8px;
  background: #ffffff1a;
  -webkit-backdrop-filter: blur(0.6944rem);
  backdrop-filter: blur(0.6944rem);
}

.reviews__nav.solutions__nav {
  display: none;
}

/* ===== INSTRUMENTS block (итог) ===== */
.instr {
  padding: 6.9444rem 0;
  background: var(--background-f5);
}

/* контейнер заголовка и сцены */
.instr__container {
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
}

.instr__title {
  margin: 0;
  text-align: center;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  color: var(--text-black-700);
}
.instr__title-gradient {
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* высота всей сцены = slides * 100vh; отступ от заголовка 85px */
.instr__scroller {
  height: calc(var(--slides, 4) * 100 * var(--vh-instr, 1vh));
  position: relative;
  margin-top: 2.7778rem;
}
.instr__pin {
  position: sticky;
  top: 0;
  height: calc(100 * var(--vh-instr, 1vh));
  overflow: hidden;
}
.instr__stage {
  position: relative;
  height: 100%;
}

/* слои слайдов стопкой */
.instr__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* белая карточка со второй подложкой, тени из макета */
.instr__card {
  position: relative;
  display: flex;
  justify-content: center;
  background: #fff;

  filter: blur(var(--blur, 0px));
  will-change: transform, filter;

  /* на всю доступную ширину, но не даём стать "на весь экран по высоте" */
  inline-size: 77.64rem;
  aspect-ratio: 1118 / 629;
  border-radius: 31.9997px;

  --zoom: 1;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0)
    rotate(var(--rot, 0deg)) scale(calc(var(--zoom) * var(--scale, 1)));

  container-type: inline-size;
  gap: 9.0278rem;
}

/* левая колонка с телефоном — растянута и прижата к низу */
.instr__card-media {
  align-self: stretch;
  display: flex;
  justify-content: center;
  /* align-items: flex-end; */
  padding-top: 5rem;
  padding-left: 11.95rem;
}
/* Телефон: 322×557 на 1440px, масштабируется пропорционально */
.instr__phone {
  display: block;
  /* aspect-ratio: 322 / 557; */
/*   inline-size: 22.3611rem;  */
  block-size: auto;
    object-fit: cover;
}

/* правая колонка контента */
.instr__card-content {
  align-self: flex-start;
  margin-top: 8.3333rem;
  margin-right: 13.7153rem;
  /* ширина текстовой колонки: 240 → 304 */
  max-width: 20.833rem;
}
.instr__icon {
  width: 4.7222rem;
  margin-bottom: 3.3333rem; /* 24 → 48 */
}
.instr__eyebrow {
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
  color: var(--text-black-400);
  margin: 0;
  text-transform: uppercase;
}
.instr__heading {
  margin: 0.8333rem 0;
  font-size: var(--h3-fs);
  line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
  color: var(--text-black-700);
}
.instr__desc {
  margin: 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  color: var(--text-black-400);
}

/* исходные состояния для "задней" карточки при появлении */
.instr__slide[data-state="back"] .instr__card {
  --scale: 0.9; /* 90% → 100% */
  --blur: 4px; /* 4 → 0 */
  --ty: 90px; /* 90 → 0 */
}

/* z-index слоёв */
.instr__slide[data-state="active"] {
  z-index: 2;
}
.instr__slide[data-state="back"] {
  z-index: 1;
}

/* ===== MORE block (Мы даём больше...) ===== */
.more {
  padding: 9.7222rem 0 6.9444rem 0;
  background: var(--page-bg, #fff);
}
.more__container {
  margin-inline: auto;
}
.more__titleHeader {
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
  color: var(--text-accent-700);
  margin-bottom: 2.2222rem;
  text-align: center;
}
.more__title {
  text-align: center;
  margin: 0 auto 5.5556rem;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  max-width: 52.2222rem;
}

/* tabs */
.more__tabs {
  /* [СКРЫТО 2026-09] Розыгрыши убраны -> табов 4, а не 5.
     fit-content, чтобы серая «плашка» сжималась по содержимому и не оставляла
     пустое поле справа (на планшете табы иначе прижимались влево).
     max-width ниже по-прежнему ограничивает ширину, если табы вернут. */
  width: fit-content;
  /* min(...100%) — страховка от горизонтального сдвига страницы в полосе 481–560px,
     где mobile.css уже не действует. Раньше плашка там вылезала за экран на ~107px. */
  max-width: min(40.8333rem, 100%);
  display: flex;
  gap: 0.2778rem;
  justify-content: center;
  margin: 0 auto 2.7778rem;
  flex-wrap: wrap;
  background-color: var(--background-black-25);
  border-radius: 11.9995px;
  padding: 0.5556rem;
}
.more__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5556rem;
  padding: 1.0417rem 1.1111rem;
  border-radius: 9.9994px;
  color: var(--text-black-400);
  background-color: none;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  background: none;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
}
.more__tab:hover {
  border-radius: 9.9994px;
  background: var(--background-black-50);
  cursor: pointer;
}
.more__tab:hover,
.plans__tbtn:hover,
.legal__tab:hover {
  background: var(--background-black-50);
  cursor: pointer;
  border-radius: 8.0006px;
}
.more__tab.is-active {
  background: var(--background-black-500);
  color: var(--background-black-25);
}

/* slider viewport shows neighbors by padding */
.more__viewport {
  position: relative;
  overflow: hidden;
  --more-card-w: 69.7222rem;

  /* минимальные «гуттеры» + авто-центровка карточки */
  padding-inline: max(5.555rem, calc((100% - var(--more-card-w)) / 2));
}
.more__viewport,
.raffles__viewport {
  touch-action: pan-y; /* разрешаем вертикальный скролл, а горизонтальный забираем под свайп */
} /* во время свайпа — запрещаем выделение/копирование/драг */
.is-swiping,
.is-swiping * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* iOS: убрать меню копирования */
}

/* ЗОНЫ СВАЙПА — НИКАКОГО ВЫДЕЛЕНИЯ */
.more__viewport,
.more__viewport *,
.raffles__viewport,
.raffles__viewport * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* iOS: убрать меню копирования */
}

/* чтобы картинки не "тащились" */
.more__viewport img,
.raffles__viewport img {
  -webkit-user-drag: none;
  user-drag: none;
}

.more__track {
  display: flex;
  gap: 1.1111rem;
  will-change: transform;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  justify-content: flex-start;
}

/* slide card */
.more__slide {
  flex: 0 0 var(--more-card-w, 69.7222rem);
}
.more__slide:not(.is-active) {
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.more__slide.is-active {
  opacity: 1;
}

.more__card {
  inline-size: 100%;
  aspect-ratio: 1004 / 627;
  background: var(--text-accent-25);
  border-radius: 24.0005px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.more__slide[data-more-slide="4"] .more__card {
  padding: 1.66667rem 1.66667rem 1.66667rem 0;
}

.more__cardCol--text {
  max-width: 24.4444rem;
  padding-left: 4.4444rem;
  margin: auto 0;
}
.more__cardCol--media-tripleman {
  margin: auto;
}
.more__cardCol--media-tripleman img {
  width: 29.93rem;
}
.more__cardCol.more__cardCol--media {
  margin: auto;
  border-radius: 15.9998px;
}
.more__cardCol.more__cardCol--media .more__chatMock-content img {
  width: 28.4027rem;
}
.more__eyebrow {
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
  margin: 0.6944rem 0 1.3889rem 0;
}
.more__heading {
  margin: 0 0 0.8333rem;
  font-size: var(--h4l-fs);
  line-height: var(--h4l-lh);
  letter-spacing: var(--h4l-ls);
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.more__desc {
  margin: 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
}

.more__chatMock-content {
  position: relative;
  width: 100%;
  height: 100%;
} /* контейнер сцены */

/* "лист" с абсолютными картинками — на нём делаем scale */
.more__chatMock-content {
  position: relative;
  transform-origin: top right;
}
.more__chatMock-content img:nth-child(1) {
  top: 4.1rem;

  right: 7.64rem;
}

/* bottom dots */
.more__dots,
.reviews__dots {
  display: flex;
  gap: 1.3889rem;
  justify-content: center;
  margin: 1.3889rem auto;
  padding: 1.0417rem 2.1528rem;
  background-color: var(--background-black-25);
  border-radius: 8.0006px;
  width: fit-content;
}
.more__container .more__dots {
  margin: 2.78rem auto 0;
}
.more__dot,
.reviews__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--background-black-200);
  border: none;
  cursor: pointer;

  transition: transform 0.2s ease, background 0.2s ease;
}
.more__dot[aria-current="true"],
.reviews__dot[aria-current="true"] {
  background: var(--background-black-500);
  cursor: auto;
}
.more__cardCol.more__cardCol--media .more__dot[aria-current="true"] {
  background: #fff;
}

/* =========================
   inner mini-carousel (Raffles)
   ========================= */
.raffles {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* медиаколонка и вьюпорт клипают содержимое */
.more__slide[data-more-slide="4"] .more__cardCol--media {
  position: relative;
  width: 100%;

  /* ключ */
  height: 100%;
  align-self: stretch; /* растянуть по высоте grid-ячейки */
  justify-self: center; /* оставить центрирование по ширине */
  margin: 0; /* ВАЖНО: убрать margin:auto, он ломает stretch */

  display: flex;
  flex-direction: column;
  min-height: 0; /* чтобы внутренности не раздували высоту */

  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.raffles__viewport {
  flex: 1 1 auto;
  min-height: 0;
}

/* Лента должна иметь ту же высоту, что и viewport */
.raffles__strip {
  display: flex;
  gap: 0;
  height: 100%; /* ✅ фикс "выпирания" по высоте */
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  align-items: stretch; /* растягиваем фигуры по высоте */
}

/* Один слайд = ровно размер viewport */
.raffles__item {
  margin: 0;
  box-sizing: border-box;
  position: relative;

  flex: 0 0 100%;
  inline-size: 100%;
  height: 100%; /* ✅ важнее чем block-size тут */
  overflow: hidden; /* ✅ клип картинки/оверлея внутри */
}

/* затемнение снизу */
.raffles__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 23.8889rem;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* картинка всегда строго в пределах окна */
.raffles__item img {
  display: block;
  inline-size: 100%;
  object-fit: cover;
  object-position: center;
  max-height: none; /* ✅ важно: иначе max-height ломает высоту */
}

/* подпись поверх (не влияет на высоту figure) */
.raffles__cap {
  position: absolute;
  left: 1.6667rem;
  right: 1.6667rem;
  bottom: 4.3056rem;
  color: #fff;
  z-index: 2;

  max-width: 17.7083rem;
  margin: 0 auto; /* ✅ вместо margin:auto (чтобы не было странностей) */
}

.raffles__t {
  font-size: var(--text-lg-fs);
  line-height: var(--text-lg-lh);
  letter-spacing: var(--text-lg-ls);
  color: var(--text-white);
  text-align: center;
}
.raffles button {
  background-color: var(--background-black-25);
}
.raffles .model__arrow::after,
.raffles .reviews__arrow::after {
  background-color: var(--background-black-500);
}

/* точки внутри карусели — оставляем твой стиль и центрирование */
.more__slide[data-more-slide="4"] [data-raffles-dots].more__dots {
  position: absolute;
  left: 50%;
  bottom: 2.2222rem;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
  background: none;
  padding: 0;
}
.raffles__dots .more__dot {
  background: #ffffff66;
}
.raffles__dots .more__dot[aria-current="true"] {
  background: var(--text-white);
}

/* ====== MORE / slide 0 — Community (центрированная карточка) ====== */
.more__card.more__card--community {
  position: relative;

  place-items: center; /* даёт центральную колонку */
  grid-template-columns: auto;
  container-type: size; /* включаем cqw/cqh */
  --base-w: 77.6389rem; /* ширина карточки в макете (1118px) */
  --base-h: 44.4444rem;
}

.more__card.more__card--community .community__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-inline-size: 22.2222rem; /* спокойно влазит до ~770px */
  display: grid;
  justify-items: center;
}

.more__card.more__card--community .community__title {
  /* h4-large из токенов + градиент из ТЗ */
  margin: 0;
  font-size: var(--h4l-fs);
  line-height: var(--h4l-lh);
  letter-spacing: var(--h4l-ls);
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* слой с мемоджи-фонами */
.more__card.more__card--community .communityFaces {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.more__card.more__card--community .communityFaces__img {
  position: absolute;
}

/* позиции — в процентах, чтобы карточка до ~770px ужималась без правок */
.more__card.more__card--community .communityFaces__img.f1 {
  top: 0;
  left: 4.7222rem;
  width: 6.18rem;
}
.more__card.more__card--community .communityFaces__img.f2 {
  top: 6.5819rem;
  left: 17.0833rem;
  width: 6.875rem;
}
.more__card.more__card--community .communityFaces__img.f3 {
  top: 2.0833rem;
  left: 37.3611rem;
  width: 6.9444rem;
}
.more__card.more__card--community .communityFaces__img.f4 {
  top: 2.0139rem;
  right: 0;
  width: 7.361rem;
}
.more__card.more__card--community .communityFaces__img.f5 {
  top: 14.8611rem;
  right: 10.8333rem;
  width: 6.527rem;
}
.more__card.more__card--community .communityFaces__img.f6 {
  top: 20.5556rem;
  left: 5.4861rem;
  width: 7.083rem;
}
.more__card.more__card--community .communityFaces__img.f7 {
  top: 32.8472rem;
  left: 11.25rem;
  width: 7.777rem;
}
.more__card.more__card--community .communityFaces__img.f8 {
  top: 31.4583rem;
  left: 28.6806rem;
  width: 6.458rem;
}
.more__card.more__card--community .communityFaces__img.f9 {
  bottom: 0;
  left: 43.8194rem;
  width: 7.014rem;
}
.more__card.more__card--community .communityFaces__img.f10 {
  top: 27.5rem;
  right: 4.7222rem;
  width: 6.736rem;
}
/* ===== MODEL (More modal) ===== */
.modal {
  padding: 16px;
}
.model[hidden] {
  display: none;
}
.model {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.model__backdrop {
  position: absolute;
  inset: 0;
  background: #00000026;

  -webkit-backdrop-filter: blur(2.2222rem);
  backdrop-filter: blur(2.2222rem);
}
.model__dialog {
  position: fixed;
  inset: 16px;
  margin: auto;
  width: min(70rem, calc(100% - 2.2222rem));
  height: min(43.3333rem, calc(100% - 2.2222rem));
  background: #fff;
  display: grid;
  grid-template-columns: 27.4306rem 1fr;
  overflow: hidden;
  z-index: 11;
  border-radius: 31.9997px;
  gap: 4.1667rem;
}
.model__dialog .model__arrow--next,
.model__dialog .reviews__arrow--next,
.model__dialog .model__arrow--prev,
.model__dialog .reviews__arrow--prev {
  background: var(--background-black-25);
  inline-size: 2.5rem;
  block-size: 2.5rem;
  transition: background 0.2s ease;
}

.model__dialog .model__arrow::after,
.model__dialog .reviews__arrow::after {
  background-color: var(--background-black-500);
}
/* стрелки как на рефе */
.more__card .reviews__arrow {
  transform: translateY(-50%);
}
.model__arrow,
.reviews__arrow {
  position: absolute;
  top: 50%;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 8.0006px;
  border: 0;
  cursor: pointer;
  z-index: 2;
  background-color: var(--background-black-50);
  display: grid;
  place-items: center;
  transition: filter 0.2s ease;
}

.reviews__arrow:hover:not(:disabled) {
  filter: brightness(0.9);
}

.reviews__arrow:active:not(:disabled) {
  filter: brightness(0.8);
}

.reviews__arrow:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
/* скрываем кнопку на краях */
.model__arrow[disabled] {
  display: none;
}

/* левая/правая позиция */
.model__arrow--prev,
.reviews__arrow--prev {
  left: 1.1111rem;
}
.model__arrow--next,
.reviews__arrow--next {
  right: 1.1111rem;
}

/* СТРЕЛКА (маска только здесь) */
.model__arrow::after,
.reviews__arrow::after {
  content: "";
  inline-size: 1.1111rem;
  block-size: 1.1111rem;
  background-color: var(--background-black-500);
  display: inline-block;

  /* явные свойства вместо shorthand */
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: auto 100%; /* заполняем высоту, ширина подгоняется пропорционально */
  mask-size: auto;
}

/* было .reviews__arrow::after — из-за этого могли быть конфликты */
.model__arrow--prev::after,
.reviews__arrow--prev::after,
.reviews__arrow::after {
  -webkit-mask-image: url("/assets/img/arrow-left.svg");
  mask-image: url("/assets/img/arrow-left.svg");
}
.model__arrow--next::after,
.reviews__arrow--next::after {
  -webkit-mask-image: url("/assets/img/arrow-right.svg");
  mask-image: url("/assets/img/arrow-right.svg");
}

.model__arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

/* трек/слайды */
.model__viewport {
  position: absolute;
  inset: 0;
  touch-action: none;
  overscroll-behavior: contain;
}
.model__track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.model__slide {
  height: 100%;
}

/* карточка внутри — сетка 1:1 как в дизайне */
.model__card {
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  -webkit-user-select: none; /* Safari/iOS */
  user-select: none; /* остальные */

  -webkit-touch-callout: none; /* iOS: отключает меню копирования по long-press */
  -webkit-tap-highlight-color: transparent; /* убрать подсветку при тапе */

  -webkit-user-drag: none; /* Safari: запрет перетаскивания (картинки/текст) */
  user-drag: none;
}
.model__col {
  min-width: 0;
}
.model__col--text {
  padding: 6.9444rem 0 0 7.8472rem;
  margin-right: 75px;
}
.model__heading {
  margin: 0 0 0.8333rem 0;
  font-size: var(--h4l-fs);
  line-height: var(--h4l-lh);
  letter-spacing: var(--h4l-ls);
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: pre-line;
}
.model__desc {
  margin: 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  color: var(--text-black-400);
}

.model__phone {
  width: 22.3611rem;
  position: absolute;
  bottom: 0;
}

/* точки снизу — берём ваши */
.model__dots {
  position: absolute;
  left: 7.8472rem;
  bottom: 6.9444rem;
  background: none;
  padding: 0;
  margin: 0;
}
/* ========================
   HOGWARTS — CARD (слайд)
   ======================== */
/* фон */
.more__card--hogwarts {
  position: relative;
  border-radius: 24.0005px;
  overflow: hidden;
}
/* Только пагинация на слайдах 2+ */
.model--hogwarts:not(.hg--first-active) .model__bottom-block {
  background: transparent !important;
  box-shadow: none !important;
}

.model--hogwarts:not(.hg--first-active) .model__bottom-block::before,
.model--hogwarts:not(.hg--first-active) .model__bottom-block::after {
  content: none !important;
}

/* слой с фоном */
.hogwartsCover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50.5%, rgba(0, 0, 0, 0.2) 100%),
    url(/assets/img/more-section/hogwarts/bg.webp);
  background-size: cover;
  background-position: center;
}

/* градиент только над фоном */
.hogwartsCover__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 25.5%, rgba(0, 0, 0, 0.4) 100%);
}

/* значок поверх градиента */
.hogwartsCover__badge {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%);
  width: 31.6rem;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 0.2778rem 5.5556rem rgba(0, 0, 0, 0.5));
}

/* контент и кнопка */
.hogwartsContent {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  height: 100%;
  align-items: end;
}
.hogwartsContent__text {
  padding-left: 4.4444rem; /* 64px */
  padding-bottom: 3.8889rem; /* 56px */
  color: #fff;
  margin: 0;
}
.hogwartsContent__btn {
  padding-right: 4.4444rem;
  padding-bottom: 3.8889rem;
}
/* ========================
   HOGWARTS — MODAL (model)
   ======================== */

/* размеры диалога */
.model--hogwarts .model__dialog {
  width: 27.5rem;
  height: 48.8889rem;
  max-width: calc(100vw - 2.2222rem);
  max-height: calc(100svh - 2.2222rem);
  overflow: hidden;
}

/* viewport заполняет диалог */
.model--hogwarts .model__viewport {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* горизонтальный трек */
.model--hogwarts [data-model-track] {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
}

/* каждый слайд — ширина задаётся из JS */
.model--hogwarts .model__slide {
  flex: 0 0 auto;
}

/* 100% высоты вьюпорта */
.model--hogwarts [data-model-track],
.model--hogwarts .model__slide,
.model--hogwarts .model__card--hogwarts,
.model--hogwarts .model__card--hogwarts .model__col--media {
  height: 100%;
}

/* карточка: медиа на весь слайд */
.model__card--hogwarts {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

.model__card--hogwarts .model__col--media {
  width: 100%;
  height: 100%;
  position: relative; /* контекст для оверлея */
  overflow: hidden;
}

/* медиа */
.hg__img,
.hg__poster,
.model__card--hogwarts video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* двигаем только bg.png (постер) */
.model--hogwarts .hg__poster {
  object-position: 20% 60%;
}

/* затемнение ТОЛЬКО над медиа (не трогает UI) */
.model--hogwarts .model__col--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
}

/* сами медиа под оверлеем */
.model--hogwarts .hg__img,
.model--hogwarts .model__col--media > video {
  position: relative;
  z-index: 1;
}

/* bottom-block */
.model--hogwarts .model__bottom-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  z-index: 3;
  pointer-events: none;

  background: url(/assets/img/more-section/models/hogwarts/emblem.png) center
    bottom / 100% auto no-repeat;
}

/* заголовок в bottom-block */
.model--hogwarts .model__bottom-block h3 {
  margin-bottom: 2.2222rem;
  text-align: center;
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-white);
}

/* точки кликабельные */
.model--hogwarts .model__bottom-block .more__dots,
.model--hogwarts .model__bottom-block .more__dot {
  pointer-events: auto;
}

/* центрируем точки */
.model--hogwarts .model__dots {
  position: sticky;
  display: flex;
  justify-content: center;
  margin: 0 auto 2.2222rem auto;
  bottom: 0;
  left: 0;
}

.model--hogwarts .model__bottom-block .more__dots span {
  background: #ffffff66;
}

.model--hogwarts .model__bottom-block .more__dot[aria-current="true"],
.model--hogwarts .model__bottom-block .reviews__dot[aria-current="true"] {
  background: var(--text-white);
}

/* стрелки */
.model--hogwarts .model__dialog .model__arrow--prev,
.model--hogwarts .model__dialog .model__arrow--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  background-color: #ffffff;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.model--hogwarts .model__dialog .model__arrow--prev {
  left: 2.2222rem;
}

.model--hogwarts .model__dialog .model__arrow--next {
  right: 2.2222rem;
}

.model--hogwarts .model__dialog .model__arrow--prev:hover,
.model--hogwarts .model__dialog .model__arrow--next:hover,
.model--hogwarts .model__dialog .model__arrow--prev:focus-visible,
.model--hogwarts .model__dialog .model__arrow--next:focus-visible {
  background-color: rgba(255, 255, 255, 0.8);
}

/* кнопка видео */
.hg__video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;

  /* клики по полю гасим, кликаем по кругу/иконке */
  pointer-events: none;
}

.hg__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* белый круг */
.model--hogwarts .hg__video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.4444rem;
  height: 4.4444rem;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.11);
  z-index: 4;
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* иконка play */
.model--hogwarts .hg__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 1px), -50%) scale(1);
  width: 1.4583rem;
  height: auto;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.model--hogwarts .hg__video:hover::before {
  transform: translate(-50%, -50%) scale(1.1);
}

.model--hogwarts .hg__video:hover .hg__play,
.model--hogwarts .hg__play:hover {
  transform: translate(calc(-50% + 1px), -50%) scale(1.1);
}

/* цвета для заголовка/описания (если используются) */
.more__hogwarts-desc,
.more__hogwarts-heading {
  color: var(--text-white);
}

/* кнопка CTA (если используется в модуле) */
.hogwartsContent__btn .cta {
  background: none;
  border: 1px solid #ffffff;
}

.hogwartsContent__btn .cta .cta__cover {
  background: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
}

.hogwartsContent__btn .cta .cta__plus,
.hogwartsContent__btn .cta .cta__label-line--bottom {
  color: var(--text-white);
}

/* ===== TARIFF block ===== */
.tariff {
  padding: 6.9444rem 0;

  /* НУЖНЫЙ ОТСТУП ПО БОКАМ: 105px = 7.2917rem */
  --tariff-gutter: 7.2917rem;
  /*
    Коэффициенты = (max - min) / (87.5 - 48) = (max - min) / 39.5
    (посчитаны заранее, чтобы не было деления в CSS)
  */
  --tariff-radius: 20px;

  --tariff-pad-x: 2.7777rem 3.3333rem;
  --tariff-pad-top: 2.7777rem;
  --tariff-pad-bot: 3.3333rem;
}

/* контейнер и заголовок */
.tariff__container {
  /* НА ВСЮ ШИРИНУ ЭКРАНА, но с отступами 105px по бокам */
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
  padding-inline: var(--tariff-gutter);
}

.tariff__title {
  margin: 0 auto;
  max-width: 52.2222rem;
  text-align: center;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
}

.tariff__title-gradient {
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* три карточки */
.tariff__row {
  display: grid;

  /* РАСТЯГИВАЕМ НА ВСЮ ДОСТУПНУЮ ШИРИНУ,
     сохраняя исходные пропорции ширин (380 / 438 / 380) */
  grid-template-columns: minmax(0, 23.75fr) minmax(0, 27.375fr) minmax(
      0,
      23.75fr
    );

  justify-content: stretch;

  /* чтобы центральная карточка была выше, а боковые НЕ растягивались под неё */
  align-items: center;

  margin: 6.9444rem 0 2.7778rem;

  /* твой gap (оставил fluid) */
  gap: 1.111rem;
}

/* карточки */
.tariff__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--tariff-radius);
  color: var(--text-white);
  isolation: isolate;

  /* важно: ширина берётся из грида */
  inline-size: 100%;
}

/* сохраняем разницу по высоте (659 vs 571) через aspect-ratio */
.tariff__card--sm {
  /* было fixed inline/block size — убираем, теперь масштабируется */
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 380 / 571;
}

.tariff__card--lg {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 438 / 659;
}



/* фоновое фото и затемняющий слой */
.tariff__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.tariff__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.tariff__card:nth-child(1)::before{
        background: var(--bg) center / 120% no-repeat;
}

.tariff__card:nth-child(2)::before{
    background: var(--bg) 42% 27% / 140% no-repeat;
}
.tariff__card:nth-child(3)::before {
        background: var(--bg) 92% / 117% no-repeat;
}
.tariff__card:nth-child(1)::after {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);

}

.tariff__card:nth-child(2)::after {
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%),
linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));

}

.tariff__card:nth-child(3)::after {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);

}

/* слой контента */
.tariff__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--tariff-pad-top) var(--tariff-pad-x) var(--tariff-pad-bot);
}

/* верх */
.tariff__eyebrow {
  margin: 0 0 0.6944rem 0;
  text-align: center;
  font-size: var(--h4l-fs);
  line-height: var(--h4l-lh);
  letter-spacing: var(--h4l-ls);
  color: var(--text-white);
}

.tariff__sub {
  margin: 0;
  text-align: center;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-white);
  opacity: 70%;
}

/* низ */
.tariff__chips {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5556rem;
  justify-content: center;
}

.tariff__card--lg .tariff__chips .tariff__chip:nth-child(2) {
  order: 5;
} /* Тренировки */
.tariff__card--lg .tariff__chips .tariff__chip:nth-child(3) {
  order: 4;
} /* Розыгрыши */
.tariff__card--lg .tariff__chips .tariff__chip:nth-child(4) {
  order: 3;
} /* Чат */
.tariff__card--lg .tariff__chips .tariff__chip:nth-child(5) {
  order: 6;
} /* Йога */
.tariff__card--lg .tariff__chips .tariff__chip:nth-child(6) {
  order: 2;
} /* Калькулятор КБЖУ */
.tariff__card--lg .tariff__chips .tariff__chip:nth-child(7) {
  order: 7;
} /* Калькулятор КБЖУ */
.tariff__chip {
  display: inline-block;
  padding: 0.625rem 1.3889rem;
  border-radius: 8.0006px;
  background: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
  color: #fff;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  white-space: nowrap;
}

.tariff__chip-all {
  background: var(--background-black-25);
  color: var(--text-accent-700);
}
.chips-display {
  display: none;
}
/* кнопка по центру */
.tariff__cta {
  display: block;
  margin: 0 auto;
  padding: 1.1rem 1.7361rem;
  border: 0;
  border-radius: 8.0006px;
  color: #fff;
  cursor: pointer;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  background: linear-gradient(304.1deg, #86867a -32.54%, #56564e 159.94%);

  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.tariff__cta:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
  transform: scale(1.05);
}

.tariff__cta:active {
  transform: scale(1.02);
}

/* ===== FAQ block (final, inline svg from /assets/img/FAQ-section/plus.svg) ===== */
.faq {
  padding: 6.9444rem 3.3333rem;
}

.faq__container {
  margin-inline: auto;
  display: grid;
  grid-template-columns: 30.3333rem 1fr;
  gap: 16.875rem;
}

/* sticky-заголовок */
.faq__left {
  position: sticky;
  top: var(--sticky-top);
  align-self: start;
}

.faq__eyebrow {
  margin-bottom: 2.2222rem;
  color: var(--text-accent-700);
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
}

.faq__title {
  margin: 0;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* разделители между вопросами */
.faq__item {
  border-bottom: 1px solid var(--background-black-25);
}
.faq__item.is-open {
  border-bottom-color: var(--background-black-100);
}

/* строка вопроса */
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.1111rem;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-lg-fs);
  line-height: var(--text-lg-lh);
  letter-spacing: var(--text-lg-ls);
  color: var(--text-black-700);
  -webkit-tap-highlight-color: transparent;
  padding: 1.1111rem 0; /* 16px сверху/снизу */
}

/* hover: текст серее */
.faq__q:hover {
  color: var(--text-black-400);
}

.faq__q-text {
  padding-right: 4.4444rem;
}

/* ===== toggle box ===== */
.faq__toggle {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 6.0005px;
  background: var(--background-black-25);
  position: relative;
  transition: background 0.2s ease;

  display: grid;
  place-items: center;

  /* цвет линий SVG через currentColor */
  color: var(--text-black-400);
}

.faq__q:hover .faq__toggle {
  background: var(--background-black-50);
}

/* размер svg внутри квадрата */
.faq__toggle svg {
  width: 0.9722rem;
  height: 0.9722rem;
  display: block;
}

/* transforms по path должны работать предсказуемо */
.faq__toggle path {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.faq__toggle .faq__toggleV {
  transform: rotate(0deg) scaleX(1);
  transform-origin: 50% 50%;
  transform-box: fill-box;

  /* 2 фазы: сначала rotate, потом scale */
  transition-property: transform;
  transition-duration: 0.16s, 0.16s;
  transition-timing-function: ease, ease;
  /* важно: две длительности не применятся к одному transform,
     поэтому делаем через delay: rotate виден до схлопывания */
  transition-duration: 0.22s;
  transition-timing-function: ease;
}

/* hover/active/focus — линии черные */
.faq__q:hover .faq__toggle,
.faq__q:active .faq__toggle,
.faq__q:focus-visible .faq__toggle {
  color: var(--text-black-700);
}

/* открытый пункт */
.faq__item.is-open .faq__q {
  color: var(--text-black-700);
  padding-bottom: 0.6944rem;
}

.faq__item.is-open .faq__toggle {
  background: var(--background-black-50);
  color: var(--text-black-700);
}

/* open: плюс -> минус
   горизонталь остаётся, вертикаль поворачивается в горизонталь и "въезжает" (исчезает) */
.faq__item.is-open .faq__toggle .faq__toggleV {
  transform: rotate(90deg) scaleX(0);
  transition-duration: 0.22s;
  transition-timing-function: ease;

  /* ключ: задержка на схлопывание через trick:
       делаем rotate сразу, а scale — после, используя steps через keyframes */
  animation: faqVHide 0.22s ease forwards;
}

@keyframes faqVHide {
  0% {
    transform: rotate(0deg) scaleX(1);
  }
  55% {
    transform: rotate(90deg) scaleX(1);
  } /* поворот виден */
  100% {
    transform: rotate(90deg) scaleX(0);
  } /* потом исчезает */
}

/* CLOSE: обратно — сначала появляется, потом разворачивается */
.faq__item:not(.is-open) .faq__toggle .faq__toggleV {
  animation: faqVShow 0.22s ease forwards;
}

@keyframes faqVShow {
  0% {
    transform: rotate(90deg) scaleX(0);
  }
  45% {
    transform: rotate(90deg) scaleX(1);
  } /* сначала появляется */
  100% {
    transform: rotate(0deg) scaleX(1);
  } /* потом разворот обратно */
}
/* фокус доступности */
.faq__q:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.4);
  outline-offset: 2px;
}

/* ответ с анимацией */
.faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.28s ease;
  padding-right: 3.6111rem;
}

/* отступы ответа: 10px сверху, 50px снизу */
.faq__a-inner {
  padding: 0 0 1.1111rem; /* 10 / 50 */
  color: var(--text-black-400);
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
}

.faq__a-inner p {
  margin: 0;
}

.faq__item.is-open .faq__a {
  max-height: 44.4444rem;
  opacity: 1;
}

/* ссылки в ответе */
.faq__a a {
  color: var(--text-accent-700);
  text-decoration: underline;
}
.faq__a a:hover {
  opacity: 0.85;
}

/* ===== PLANS block ===== */
.plans {
  --check: url("/assets/img/plans-section/check.svg");
  padding: 9.7222rem 0;
  background-color: var(--text-accent-25);
}
.plans__container {
  margin-inline: auto;
  margin: 0;
  max-inline-size: none;
  inline-size: 100%;
}
.plans__title,
.plans__bar,
.plans__grid {
  padding-inline: 3.333rem; /* 47px */
}

.plans__title {
  margin: 0;
  background: linear-gradient(180deg, #1f1f1c 0%, #353530 19.71%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  text-align: left;
}

/* toggle */
.plans__toggle {
  display: flex;
  gap: 0.2778rem;
  margin: 3.3333rem auto 5.5556rem;
  justify-content: center;
  padding: 0.5556rem;
  width: fit-content;
  background: var(--text-white);
  border-radius: 11.9995px;
}
/* ===== plans header bar (currency left, period right) ===== */
.plans__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.2222rem;
  margin: 5.5556rem 0 6.6667rem;
  border-bottom: 0.0694rem solid #cfd1d2; /* 1px */
  padding-bottom: 3.2639rem; /* 47px */
}

/* у toggle больше не центрирование */
.plans__bar .plans__toggle {
  margin: 0;
}

/* ===== period toggle ===== */
.plans__period {
  display: flex;
  align-items: center;
  gap: 0.555rem;
}

.plans__period-label {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: var(--text-md-fs);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
  transition: color 0.2s ease;
}
.plans__period-label.is-active {
  color: #111820;
}

/* switch: 32x18, knob: 14x14 (all px -> rem by /14.4) */
.plans__switch {
  position: relative;
  inline-size: 2.2222rem; /* 32px */
  block-size: 1.25rem; /* 18px */
  display: inline-flex;
  align-items: center;
}

.plans__period-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.plans__switch-ui {
  inline-size: 100%;
  block-size: 100%;
  border-radius: 999px;
  background: var(--text-black-400); /* left active */
  position: relative;
  transition: background 0.2s ease;
}

.plans__switch-ui::after {
  content: "";
  position: absolute;
  top: 0.1389rem; /* 2px */
  left: 0.1389rem; /* 2px */
  inline-size: 0.9722rem; /* 14px */
  block-size: 0.9722rem; /* 14px */
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease;
}

/* right active */
.plans__period-input:checked + .plans__switch-ui {
  background: #41464d;
}

.plans__period-input:checked + .plans__switch-ui::after {
  transform: translateX(0.9722rem); /* 14px */
}

.plans__tbtn {
  padding: 1.0417rem 1.1111rem;
  border-radius: 8.0006px;
  color: var(--text-black-400);
  cursor: pointer;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  border: none;
  background: none;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}
.plans__tbtn.is-active {
  background: var(--background-black-500);
  color: var(--background-black-25);
}

/* grid */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1111rem;
  justify-content: stretch;
}

.plan {
  width: 100%;
  min-width: 0;
  min-height: auto;
  aspect-ratio: 438 / 700; /* сохраняем пропорции карточки при скейле */
  border-radius: 24.0005px;
  background: #fff;
  /* box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06); */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  max-height: 52.7778rem;
}
.plan--popular {
  border: 1px solid transparent;
  border-radius: 24px;
  /* первый слой - фон карточки, второй - градиентная рамка */
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(304.1deg, #86867a -32.54%, #56564e 159.94%) border-box;
}
.plan__badge {
  position: absolute;
  right: 1.3889rem;
  top: 1.3889rem;
  padding: 0.3472rem 0.9722rem;
  background: var(--background-black-500);
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
  color: var(--background-black-50);
  border-radius: 8.0006px;
}
.plan__head {
  padding: 1.6667rem 1.6667rem 0;
}
.plan__title {
  margin: 0;
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-black-700);
}
.plan__sub {
  margin: 0.2778rem 0 2.5rem;
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-400);
}
.is-desktop {
  display: block;
}
.is-mobile {
  display: none;
}
/* price */
.plan__price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.1111rem;
  justify-content: space-between;
}
.plan__price-main,
.plan__price-alt {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-400);
}
.plan__price .per {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-400);
}

.plans:not([data-currency]) .plan__price-main,
.plans[data-currency="rub"] .plan__price-main {
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-size: var(--h3-fs);
  line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
}
/* исключаем "/ месяц" из градиента у RUB */
.plans:not([data-currency]) .plan__price-main .per,
.plans[data-currency="rub"] .plan__price-main .per {
  position: relative;
}

/* и для EUR-режима */
.plans[data-currency="eur"] .plan__price-alt .per {
  position: relative;
}

/* EUR: меняем порядок и делаем € главным */
.plans[data-currency="eur"] .plan .plan__price-main {
  order: 2;
}
.plans[data-currency="eur"] .plan .plan__price-alt {
  order: 1;
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-size: var(--h3-fs);
  line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
}

/* body + lists */
.plan__body {
  padding: 1.6667rem 1.9444rem;
  flex: 1 1 auto;
    overflow: hidden;
  border-top: 1px solid var(--background-black-25);
}
.plan__list,
.plan__bonuses-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.1111rem;
}

.plan__li {
  position: relative;
  padding: 0 0 0 2.4306rem; /* чуть больше места под иконку */
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-700);
}

/* чек по центру + надёжная подстановка svg */
.plan__li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1.8056rem;
  height: 1.8056rem;
  border-radius: 4.0003px;
  background-color: var(--background-black-25);
  background-image: var(--check);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.763333rem;
  top: 0;
  transform: none;
}

/* bonuses + fade + link */
.plan__bonuses {
  position: relative;
  margin-top: 1.1111rem;
  max-height: 10px;
}
.plan__bonuses-title {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-700);
  margin-bottom: 1.6667rem;
  margin-top: 2.7778rem;
  opacity: 40%;
}
.plan__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33rem;
  -webkit-mask-image: linear-gradient(to top, black 15%, transparent 100%);
  mask-image: linear-gradient(to top, black 15%, transparent 100%);
  background: #fff; /* неважно, это только носитель маски */
}
.plan__more {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  color: var(--text-accent-700);
  z-index: 1;
  transition: opacity 0.2s ease;
}
.plan__foot {
  margin: 2.0833rem 1.6667rem;
  text-align: center;
}
.plan__foot .cta,
.plan__foot-modal .cta {
  width: 100%;
}
/* modal */
.plans-modal[hidden] {
  display: none;
}
.plans-modal {
  position: fixed;
  inset: 0;
  z-index: 9999; /* было 60 */
}
.plans-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #00000026;
  backdrop-filter: blur(2.2222rem);
}

/* диалог */
.plans-modal__dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  max-width: 27.5rem;
  height: auto; /* вместо фикс 48.8889rem */
  max-height: min(48.8889rem, 92vh); /* ограничение по вьюпорту */
  background: #fff;
  border-radius: 31.9997px;
  overflow: hidden;
  box-shadow: 0px 4px 25px 0px #0000000d;
  flex-direction: column;
  justify-content: space-between;
}

/* шапка — строго колонкой как в макете, фикс сверху */
.plans-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: block; /* не flex, всё столбцом */
  background: #fff;
  padding: 1.3889rem 1.3889rem 0.8333rem 1.3889rem;
  box-shadow: 0 1px 0 #efefef; /* линия под шапкой */
  border: 1px solid #e7e8e9;
  box-shadow: 0px 4px 25px 0px #0000000d;
}
.plans-modal__head .legal__close {
  top: 1.9444rem;
  right: 1.9444rem;
}
.plans-modal__title {
  color: var(--text-black-700);
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
}
.plans-modal__sub {
  margin: 0.2778rem 0 2.5694rem 0;
  color: var(--text-black-400);
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
      padding-right: 9rem;
}
/* крупная цена слева + "/ месяц" серым по базовой линии */
.plans-modal__price {
  display: flex;
  align-items: baseline;
  gap: 0.5556rem;
  margin: 0 2.7778rem 0.5556rem 0;
}
.plans-modal__price-grad {
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  line-height: 1;
}
.plans-modal__price .per {
  color: #9b9b9b;
  font-size: 0.9722rem;
}

/* тело — прокручиваемая часть */
.plans-modal__body {
  padding: 2.2222rem 3.0556rem 3.3333rem 1.9444rem; /* было 2.7778rem — добавили места */
  max-height: 70vh;
  overflow: auto;
  position: relative;
}
/* Градиент по умолчанию */
.plan__foot-modal.plans-modal__btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 16.6667rem;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #ffffff 35.1%,
    rgba(255, 255, 255, 0.9) 60.1%,
    rgba(255, 255, 255, 0.5) 81.73%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: opacity 0.2s ease;
  opacity: 1;
  z-index: 2;
}

/* Скрываем градиент, когда дошли до конца */
.plan__foot-modal.plans-modal__btn.no-fade::after {
  opacity: 0;
}

/* чек-лист внутри модалки — как в карточках */
.plans-modal__section-title {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-700);
  margin-bottom: 1.3889rem;
  opacity: 40%;
}
.plans-modal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.2222rem 0;
  display: grid;
  gap: 1.1111rem;
}
/* если последним ребёнком body идёт секция */
.plans-modal__body > .plans-modal__section:last-child .plans-modal__list {
  margin-bottom: 0;
}

.plans-modal__list li {
  position: relative;
  padding-left: 2.4306rem; /* 35px */
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--text-black-700);
}
.plans-modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8056rem;
  height: 1.8056rem;
  border-radius: 4.0003px;
  background-color: var(--background-black-25, #f0f0f0);
  background-image: var(--check, url("/assets/img/plans-section/check.svg"));
  background-repeat: no-repeat;
  background-position: center;
}

/* кнопка как в карточке */
.plans-modal__btn {
  margin: 5.5556rem 1.9444rem 1.9444rem 1.9444rem;
}
/* ===== Кастомный скролл (точно такой же, как во футере) ===== */
/* Контейнер со скрытым нативным скроллом */
.custom-scroll {
  position: relative;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
.custom-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
} /* WebKit */

/* Липкий трек; сам места не занимает, просто слоем поверх контента */
.custom-track {
  position: fixed;
  top: 0;
  left: 0; /* дальше зададим из JS */
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 5; /* чуть выше контента */
}

/* сам ползунок — внутри тела, не отрицательные правые отступы */
.custom-scrollbar {
  position: absolute;
  right: -0.6944rem; /* было -32px — из-за этого он «уезжал» под кромку */
  top: 8px;
  width: 8px;
  min-height: 40px;
  border-radius: 300px;
  background: #e7e8e9;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  z-index: 6; /* выше трека/контента */
  opacity: 0; /* появится только при overflow */
  transition: opacity 0.15s ease;
}

/* ===== Footer ===== */
.footer {
  background: var(--text-accent-25);
  padding: 3.3333rem; /* 48px со всех сторон */
  min-height: 100vh; /* вместо min-height */
  height: 100%;
  box-sizing: border-box; /* чтобы паддинги влезли в 100svh */
}

/* главный белый блок 1344×696 и внутренние отступы по 48px (3.3333rem) */
.footer__container {
  margin-inline: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--text-white);
  justify-content: space-between;
}

/* ===== бегущая строка — внутри белого блока ===== */
.footer__ticker {
  overflow: hidden;
}
.footer__ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-top: 2.2222rem;
  color: var(--text-accent-700); /* accent 700 */
  will-change: transform;
  animation: footer-ticker 30s linear infinite;
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
}
.footer__ticker-item {
  display: inline-flex;
  align-items: center;
}
.footer__ticker-track span::after,
.footer__ticker-item::after {
  content: "";
  display: inline-block;
  width: 0.2778rem;
  height: 0.2778rem;
  margin: 0 1.6667rem;
  border-radius: 50%;
  background: var(--text-accent-600);
  vertical-align: middle; /* центр относительно текста */
  /* если хочется ещё точнее — можно чуть приподнять:
     transform: translateY(0.06em); */
}

@keyframes footer-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== логотип по центру ===== */
.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 0 11.9444rem;
}
/* ===== талисман снизу слева, под логотипом ===== */
.footer__mascot {
  position: absolute;
  left: 6.6667rem;
  bottom: 6.95rem;
  pointer-events: none;
  z-index: 2;
}

/* один формат для всех кадров: 256 × 250 */
.footer__mascot-img {
  display: block;
  width: 18.1667rem; /* средняя ширина */
  height: 17.75rem; /* фиксированная высота, как ты хотел */
  object-fit: contain; /* вписываем svg внутрь без искажений */
  user-select: none;
}

/* ===== нижняя полоса: 3 зоны ===== */
.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* лево | центр | право */
  align-items: center;
  gap: 1.1111rem;
  margin: 0 2.7778rem 2.2222rem;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
}
.footer__copy {
  margin: 0;
  justify-self: start;
}

/* иконки — по центру */
.footer__socials {
  display: flex;
  gap: 1.6667rem;
  justify-self: center;
}
.footer__social svg {
  width: 1.4rem;
}

.footer__social {
  display: inline-flex;
  line-height: 0;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.footer__social svg path {
  transition: fill 0.2s ease;
}

.footer__social:hover svg path {
  fill: var(--text-accent-600);
}

/* если SVG сделаны с fill="currentColor", цвет применится автоматически */

/* «Юридическая информация» справа, всегда подчёркнута, без hover-эффектов */
.footer__legal-btn {
  justify-self: end;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-black-400); /* black 300 */
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  padding: 0;
  transition: opacity 0.2s ease;
}
.footer__legal-btn:hover,
.footer__legal-btn:focus {
  color: var(--text-black-400); /* без изменения на ховер */
  outline: none;
  opacity: 0.7;
}
/* ============== Модалка юр.инфо (ваш код + правки) ============== */
.legal[hidden] {
  display: none;
}
.legal__backdrop {
  position: fixed;
  inset: 0;
  background: #00000026;
  backdrop-filter: blur(2.2222rem);
  z-index: 10001;
}
.legal__dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(70rem, calc(100% - 2.2222rem));
  height: min(43.3333rem, calc(100% - 2.2222rem));
  background: #fff;
  display: grid;
  grid-template-columns: 27.4306rem 1fr;
  overflow: hidden;
  z-index: 10002;
  box-shadow: 0px 4px 25px 0px #0000000d;
  border-radius: 31.9997px;
  gap: 4.1667rem;
}
.legal__close {
  position: absolute;
  top: 2.2222rem;
  right: 2.2222rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8.0006px;
  border: 0;
  background: #1f2937;
  cursor: pointer;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
/* иконка из файла /assets/img/CloseSVG.svg */
.legal__closeIcon {
  width: 0.8333rem;
  height: 0.8333rem;
  background-color: #fff; /* цвет крестика */
  -webkit-mask-image: url("/assets/img/close.svg");
  mask-image: url("/assets/img/close.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-size: contain; /* сохраняем пропорции */
  mask-size: contain;
}
.legal__col--nav {
  padding: 2.2222rem 0 0 2.2222rem;
}
.legal__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--background-black-25);
  border-radius: 11.9995px;
  padding: 0.5556rem;
  gap: 0.2778rem;
}
.more__tabs .legal__nav {
  padding: 0;
  flex-direction: initial;
  /* [СКРЫТО 2026-09] перебивает tablet.css `.legal__nav{width:100%}`:
     внутри .more__tabs полоса табов должна быть по содержимому.
     На мобилке ширина всё равно упирается в max-width:100% — х-скролл сохраняется. */
  width: auto;
}
.legal__tab {
  width: 100%;
  text-align: left;
  border: 0;
  padding: 1.0417rem 1.1111rem;
  color: var(--text-black-400);
  cursor: pointer;
  background: none;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
}
.legal__tab.is-active {
  background: var(--background-black-500);
  border-radius: 8.0006px;
  color: var(--background-black-25);
}
.legal__scroll {
  padding: 2.2222rem 7.6389rem 2.2222rem 0;
}
.legal__page p,
.legal__page h3 {
  margin: 0;
  padding: 0;
  white-space: pre-line;
}
/* === колонка контента: прячем нативный скролл, рисуем свой === */
.legal__col--content {
  position: relative; /* для ползунка */
  height: 101%;
  overflow: auto;
  scrollbar-width: none; /* Firefox: скрыть нативный */
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-700);
}
.legal__col--content::-webkit-scrollbar {
  width: 0;
  height: 0;
} /* WebKit */

/* было height:100% — из-за этого он толкал контент */
.legal__track {
  position: sticky;
  top: 0;
  height: 0; /* не занимает места */
  overflow: visible; /* чтобы ползунок выходил ниже трека */
  pointer-events: none; /* события ловит сам ползунок */
  z-index: 2;
}

/* ползунок остаётся absolute внутри трека */
.legal__scrollbar {
  position: absolute;
  right: 8.00064px;
  top: 4.00032px; /* базовая точка; дальше двигаем translateY */
  width: 8.00064px;
  /* высоту задаёт JS; можно оставить минимум */
  min-height: 40.00032px;
  border-radius: 299.9995px;
  background: #e7e8e9;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  z-index: 3;
  transition: background 0.2s;
}
.legal__scrollbar:active {
  cursor: grabbing;
}
/* Нижний «туман» у кромки — включаем/выключаем классом */
.legal__fade {
  position: sticky;
  bottom: 0;
  height: 13.3333rem;
  margin-top: -13.3333rem; /* перекрыть текст */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 91.83%
  );
}
.legal__fade.is-on {
  opacity: 1;
}

.legal__page {
  display: none;
}
.legal__page.is-active {
  display: block;
}
.button-mobile {
  display: none;
} /* ===== BUTTON ===== */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0.6944rem 1.6667rem 0.6944rem 0.2778rem;
  border-radius: 8.0006px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(304.1deg, #86867a -32.54%, #56564e 159.94%);
  z-index: 3;
  width: 13.8889rem;
  height: 3.0556rem;
  overflow: hidden;

  --plus-box: 2.5rem;
  --plus-inset: 0.2778rem;

  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* текстовый блок */
.cta__label {
  position: absolute;
  left: 1.6667rem;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  text-align: left;
  z-index: 2;
  height: 1.3889rem;
  pointer-events: none;
}

/* строки */
.cta__label-line {
  display: block;
  will-change: transform;
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
}
.cta__label-line--top {
  transform: translateY(0%);
}
.cta__label-line--bottom {
  transform: translateY(-220%);
  color: var(--text-accent-700);
}

/* белая “плашка”, которая растёт (теперь она же держит плюс внутри) */
.cta__cover {
  position: absolute;
  right: var(--plus-inset);
  width: var(--plus-box);
  height: var(--plus-box);
  min-width: var(--plus-box);
  background: #fff;
  border-radius: 4.0003px;
  z-index: 1;
  will-change: width;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* квадратная зона плюсика — всегда в правом краю cover и ВСЕГДА по центру */
.cta__plus {
  width: var(--plus-box);
  height: var(--plus-box);
  flex: 0 0 var(--plus-box);

  display: grid;
  place-items: center;

  pointer-events: none;
}

/* сам плюс */
.cta__plus img {
  display: block;
  width: 1.0417rem;
  height: 1.0417rem;
}

.legal__navArrow {
  display: none;
}

/* БЛОК С АНИМАЦИЕЙ */
.reviews__container {
  margin-inline: auto;
}
.reviews__head {
  text-align: center;
  max-width: 47.9167rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 2.0833rem;
}
.reviews__title {
  margin: 0;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  color: var(--text-black-700);
}
.reviews__subtitle {
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
  max-width: 25.9722rem;
  margin: 0;
}
.reviews__viewport {
  width: 100vw;
  overflow: hidden;
  height: auto;
  /* margin-top: 6.94444rem; */
  margin-top: 4rem;
}
/* карточка как в макете (324×485) */
.reviews__card {
  width: 22.5rem; /* 324px */
  height: 33.6806rem; /* 485px */
  border-radius: 15.9998px;
  overflow: hidden;
  position: relative;
  background: transparent;
}
.reviews__photo {
  width: 100%;
  height: 100%;
  position: relative;
}
.reviews__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* по умолчанию показываем AFTER, на ховере поверх появляется BEFORE */
.reviews__img--after {
  opacity: 1;
  transition: opacity 0.35s ease;
}
.reviews__img--before {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.reviews__card:hover .reviews__img--before {
  opacity: 1;
}
.reviews__card:hover .reviews__img--after {
  opacity: 0;
}

.reviews__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.reviews__meta {
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
}
.reviews__name {
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--background-black-50);
  padding-top: 2.2222rem;
  opacity: 0.87;
}
.reviews__meta,
.reviews__cta {
  position: relative;
  z-index: 4;
  text-align: center;
}
.reviews__fs-block {
  margin: auto auto 1.6667rem auto;
}
.reviews__first {
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--background-black-50);
}
.reviews__second {
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--background-black-50);
  margin: 0.2778rem 0 1.6667rem 0;
} /* чтобы свайп работал корректно на touch-устройствах */
.reviews__viewport,
.modal-rev__viewport {
  touch-action: pan-y; /* вертикальный скролл можно, горизонтальный — наш */
}

/* опционально, чтобы во время drag не выделялся текст */
.reviews__viewport.is-dragging,
.modal-rev__viewport.is-dragging {
  user-select: none;
}

/* чуть плавнее перерисовка */
.reviews__track,
.modal-rev__track {
  will-change: transform;
}

.reviews__cta {
  border-radius: 8.0006px;
  border: 0;
  background: linear-gradient(180deg, #a7a795 0%, #9b9b8d 100%);
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  color: var(--text-white);
  padding: 1.0417rem 5.1042rem;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.02s ease;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}
.reviews__cta:hover {
  filter: brightness(0.97);
}
.reviews__cta:active {
  transform: translateY(1px);
}

/* Навигация */
.reviews__nav {
  display: flex;
  gap: 1.1111rem;
  align-items: center;
  justify-items: center;
  margin: 2.7778rem 0 0.2778rem;
  justify-content: center;
}
.reviews__nav .reviews__dots {
  margin: 0;
}
.reviews__nav .reviews__arrow {
  position: static;
  translate: none;
} /* карточка выглядит кликабельной */
.reviews__card {
  cursor: pointer;
}

.reviews__card:hover .reviews__cta {
  transform: scale(1.03);
}

/* ===== REVIEWS MODAL ===== */

.modal--reviews {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.modal--reviews[hidden] {
  display: none;
}

.modal--reviews .modal__backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2.2222rem);
  background: rgba(0, 0, 0, 0.25);
}

.modal--reviews .modal__dialog {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 69.7222rem;
  height: 43.542rem;
  background: #ffffff;
  border-radius: 20.0002px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* ===== MAIN GRID (correct layout) ===== */

.modal-rev {
  display: flex;
  grid-template-columns: 1fr 2fr;
  height: 43.7rem;
}

/* ===== LEFT (photo) ===== */

.modal-rev__left {
  position: relative;
  width: 30.3472rem;
  flex: 0 0 30.3472rem;
  max-width: 30.3472rem;
  min-width: 0;
  overflow: hidden;
  border-radius: 20.0002px 0 0 20.0002px;
  display: flex;
  flex-direction: column;
}
.modal-rev__viewport {
  position: relative;
  flex: 1;
  width: 100.3%;
  height: 100%;
  overflow: hidden;
  border-radius: 20.0002px 0 0 20.0002px;
  background: #f3f3ef;
}
.modal-rev__viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0000004d;
  pointer-events: none;
  z-index: 1;
}
.modal-rev__img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  background: transparent;
}

/* ===== SLIDER TRACK ===== */

.modal-rev__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}
.modal-rev__slide {
  width: 100% !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3ef;
  overflow: hidden;
}
/* ===== ARROWS ===== */

.modal-rev__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8.0006px;
  border: 0;
  background: var(--background-black-25);
  cursor: pointer;
  pointer-events: auto;
}

.modal-rev__arrow--prev {
  left: 1.1111rem;
}

.modal-rev__arrow--next {
  right: 1.1111rem;
}

/* ===== DOTS ===== */

.modal-rev__dots {
  position: absolute;
  left: 50%;
  bottom: 2.2222rem;
  display: inline-flex;
  gap: 1.3889rem;
  pointer-events: auto;
  transform: translateX(-50%);
  z-index: 10;
}

.modal-rev__dot {
  width: 0.4167rem;
  height: 0.4167rem;
  border-radius: 999px;
  cursor: pointer;
  background: #ffffff66;
}

.modal-rev__dot[aria-current="true"] {
  background: var(--text-white);
}

/* ===== RIGHT (TEXT) ===== */

.modal-rev__right {
  padding: 2.2222rem 3.3333rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.modal-rev__meta {
  color: var(--text-black-400);
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
}

.modal-rev__title {
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0 0 0.5556rem 0;
}

.modal-rev__text {
  margin-top: auto;
}

.modal-rev__text p:last-child {
  color: var(--text-black-700);
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  margin: 0;
}

.reviews-word {
  color: var(--text-black-400);
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
  margin: 0 0 1.1111rem 0;
}

/* ===== OVERLAY + TILES + HEADLINE ===== */

.reviews--overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: auto;
  display: grid;
  align-content: start;
}

.reviews--overlay .reviews__container {
  margin: 0 auto;
}

.people {
  position: relative;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow-x: clip; /* современно: режет по X и не создаёт скролл */
  overflow-y: visible; /* по Y не режем */
  margin: 160px 0;
}
#people .tile {
  position: absolute;
} /* у тебя и так */
#people .tile:nth-child(2) {
  z-index: 20;
} /* девушка в розовом */
#people .tile:nth-child(3) {
  z-index: 10;
} /* мужик с гантелей (грудь) */

/* fallback для браузеров без overflow: clip */
@supports not (overflow: clip) {
  #people {
    overflow-x: hidden;
  }
}
.headline {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  max-width: 57.6389rem;
  text-align: center;
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
  opacity: 0;
  z-index: 3;
  user-select: none;
  background: linear-gradient(180deg, #353530 0%, #9b9b8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tile {
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  z-index: 2;
  will-change: transform, opacity;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
    object-position: center 20%;
}
.tile:has(img[src*="9.webp"]) img{
    object-position: center;
}
/* ===== LIST TRACK (outside modal) ===== */

.reviews__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 1.1111rem;
  transition: transform 0.4s ease;
}

/* скрываем при оверлее */
/* .reviews__track {
  opacity: 0;
} */

/* ===== REVIEWS SECTION ===== */

.reviews {
  --edge: 3.3333rem;
  /* opacity: 0; */
  /* visibility: hidden; */
  margin: 0 auto;
  padding: 3.944rem 0 6.944rem 0;
}

/* ===== Lazy blur ===== */

.lazy-blur {
  filter: blur(15px) brightness(0.9);
  opacity: 0.9;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
#model-more .model__card .model__col.model__col--media {
  bottom: -5.555rem;
}
#model-more .model__card .model__col.model__col--media img {
  position: relative;
}

.lazy-blur.loaded {
  filter: none;
  opacity: 1;
}
#model-more .model__col--media {
  position: relative;
}
#model-more .model__slide.is-active {
  overflow: hidden;
}

#model-more .model__slide {
  overflow: hidden;
}
#model-more .model__card {
  position: relative;
}
#model-more .model__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  z-index: 5;
}

/* ===== thanks.php (thanks) page only ===== */

body.thanksPage {
  background: var(--background-f5, #f5f5f4);
}

/* контейнер во всю ширину, но с отступами как в макете */
.thanks {
  padding: var(--thanks-pad-top) var(--thanks-pad-x) 2.7778rem;
}

.thanks__container {
  inline-size: 100%;
  max-inline-size: none;
  margin-inline: auto;
}

/* ===== TOP HERO CARD ===== */
.thanksHero {
  inline-size: 100%;
  border-radius: var(--thanks-radius-lg);
  background: var(--thanks-grad-hero);
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.2222rem;

  padding: 3.3333rem 4.1667rem 2.7778rem 3.8889rem;
}

.thanksHero__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.thanksHero__logo {
    inline-size: 9.7222rem;
  block-size: auto;
  margin-bottom: 2.7778rem;
}

.thanksHero__title {
  color: #fff;
  margin: 0;
  font-size: var(--h2-fs); /* визуально как на скрине */
  line-height: var(--h2-lh);
  letter-spacing: var(--h2-ls);
}

.thanksHero__sub {
  margin: 2.2222rem 0 0 0;
  color: #fff;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  max-inline-size: 40rem;
}

.thanksHero__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.thanksHero__mascot {
  inline-size: 20.903rem;
  block-size: auto;
}

/* ===== 3 cards row ===== */
.thanksCards {
  margin-top: var(--thanks-gap);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--thanks-gap);
}

.thanksCard {
  block-size: var(--thanks-card-h);
  border-radius: var(--thanks-radius);
  background: #fff;

  padding: 3.3333rem 3.8889rem 3.8889rem 3.8889rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.3889rem;

  position: relative;
  overflow: hidden;
}

.thanksCard__text {
  margin: 0;
  color: #111820;
  font-size: var(--text-lg-fs);
  line-height: var(--text-lg-lh);
  letter-spacing: var(--text-lg-ls);
}

/* ===== Buttons (общий стиль) ===== */
.thanksBtn {
  display: inline-grid;
  place-items: center;

  block-size: 4.2361rem;
  padding-inline: 1.6667rem;

  border-radius: 8.0006px;
  color: #fff;
  background: var(--thanks-grad-btn);
  box-shadow: 0 1.0417rem 2.0833rem rgba(0, 0, 0, 0.1);

  font-size: 0.9722rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transform-origin: center;
  transform: scale(1);
  transition: transform 0.22s ease, filter 0.22s ease;
  will-change: transform;
}

.thanksBtn:hover,
.storeBtn:hover {
  transform: scale(1.05);
  filter: brightness(1.02);
}

.thanksBtn:active,
.storeBtn:active {
  transform: scale(1.02);
  filter: brightness(0.99);
}

/* ===== Store buttons ===== */
.storeRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8333rem;
}

.storeBtn {
  block-size: 3.0556rem;
  border-radius: 9.9994px;
  background: var(--thanks-grad-btn);
  color: #fff;
  height: 4.2361rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8333rem;

  padding-inline: 1.1111rem;
  min-width: 0;
  justify-content: center;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.storeBtn__label {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.storeBtn__top,
.storeBtn__bottom {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
}

.thanksCard__phone {
  position: absolute;
  right: 0.7778rem;
  block-size: auto;
  height: 280px;
  bottom: -0.2222rem;
  pointer-events: none;
}

/* чтобы текст и кнопка были над картинкой */
.thanksCard--bot .thanksCard__text,
.thanksCard--bot .thanksBtn {
  position: relative;
  z-index: 1;
}

/* показываем белую play иконку на hover initial */
@media (hover: hover) and (pointer: fine) {
  .actor[data-state="initial"] .actor__media:hover {
    transform: scale(1.25);
  }
  .actor[data-state="initial"] .actor__media:hover::before {
    background: rgba(17, 24, 32, 0.08);
  }
  .actor[data-state="initial"] .actor__media:hover::after {
    background-image: url("/assets/img/proof-section/play.svg");
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tariff__cta {
    transition: none;
  }
}

/* hover - 5% */
@media (hover: hover) {
  .tariff__cta:hover,
  .reviews__cta:hover {
    transform: scale(1.05);
  }
  .model__dialog .model__arrow--next:hover,
  .model__dialog .reviews__arrow--next:hover,
  .model__dialog .model__arrow--prev:hover,
  .model__dialog .reviews__arrow--prev:hover {
    background: #e9eef1; /* чуть темнее */
  }
  .legal__close:hover {
    background: #41464d;
  }
  .plan__more:hover {
    opacity: 0.7;
  }
}

/* =========================
   PAY MODAL
   ========================= */

/* убираем дефолтный желто/голубой autofill */
.pay-modal__input:-webkit-autofill,
.pay-modal__input:-webkit-autofill:hover,
.pay-modal__input:-webkit-autofill:focus,
.pay-modal__input:-webkit-autofill:active {
  -webkit-text-fill-color: #0f1620;
  transition: background-color 9999s ease-in-out 0s;
  /* оставил px (технический хак, так надёжнее) */
  box-shadow: 0 0 0 1000px #ffffff inset;
}

/* hidden state */
.pay-modal[hidden] {
  display: none;
}

/* root overlay */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* backdrop */
.pay-modal__backdrop {
  position: absolute;
  inset: 0;

  background: #00000026;
  /* blur оставляем в px */
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);

  opacity: 0;
  transition: opacity 240ms ease;
}

/* panel */
.pay-modal__panel {
  position: absolute;
  top: 0;
  right: 0;

  height: 100%;
  width: 34.722rem; /* 500px */
  max-width: calc(100vw - 1.667rem); /* 24px */
  overflow: auto;

  background: #fff;
  /* border оставляем в px */
  border-left: 1px solid rgba(17, 24, 32, 0.06);

  transform: translateX(100%);
  transition: transform 260ms ease;
  outline: none;
}

/* header */
.pay-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding: 1.389rem 1.667rem; /* 20px 24px */
  /* border оставляем в px */
  border-bottom: 1px solid #f3f5f6;
}

.pay-modal__title {
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-black-700);
}

.pay-modal__sub {
  margin-top: 0.278rem; /* 4px */
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
}

/* body */
.pay-modal__body {
  padding: 1.667rem; /* 24px */
  overflow: auto;

  opacity: 0;
  transform: translateY(0.417rem); /* 6px */
  transition: opacity 220ms ease, transform 220ms ease;
}

/* =========================
   INPUTS / VALIDATION
   ========================= */

.pay-modal__inputs {
  display: grid;
  gap: 0.556rem; /* 8px */
  margin-bottom: 2.778rem; /* 40px */
}

/* field wrapper (for warning icon + states) */
.pay-modal__field {
  position: relative;
}

/* input base */
.pay-modal__input {
  height: 3.472rem; /* 50px */
  width: 100%;
  padding: 0 3.056rem 0 1.667rem; /* 44px 24px (right space for warning icon) */

  /* border оставляем в px */
  border: 1px solid #cfd1d2;
  /* border-radius НЕ трогаем (оставляем в px) */
  border-radius: 8px;

  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);

  background: #fff;
  outline: none;

  /* default "idle" color like placeholder */
  color: #a0a3a6;

  transition: color 160ms ease, border-color 160ms ease;
}

.pay-modal__input::placeholder {
  color: #a0a3a6;
}

/* hover: text becomes dark, border stays same */
.pay-modal__field:hover .pay-modal__input {
  color: #0f1620;
}

/* focus: border becomes var(--text-black-400), text dark */
.pay-modal__input:focus {
  border-color: var(--text-black-400);
  color: #0f1620;
}

/* warning icon (shown on error) */
.pay-modal__warn {
  position: absolute;
  right: 0.972rem; /* 14px */
  top: 50%;
  width: 1.389rem; /* 20px */
  height: 1.389rem; /* 20px */
  transform: translateY(-50%);
  pointer-events: none;

  opacity: 0;
  transition: opacity 160ms ease;

  background: url("/assets/img/pay/warning.svg") center/contain no-repeat;
}

/* error state (JS adds .is-error on field) */
.pay-modal__field.is-error .pay-modal__input {
  border-color: #ed2727;
  color: #0f1620;
}

.pay-modal__field.is-error .pay-modal__warn {
  opacity: 1;
}

/* global error text under all inputs */
.pay-modal__error {
  margin-top: 0.694rem; /* 10px */
  color: #ed2727;

  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
}

/* =========================
   SECTIONS
   ========================= */

.pay-modal__section {
  margin-left: 0.278rem; /* 4px */
}

/* spacing only before the 2nd section (and any next) */
.pay-modal__body > .pay-modal__section + .pay-modal__section {
  margin-top: 2.22rem; /* 32px */
}

.pay-modal__sectionTitle {
  margin-bottom: 0.694rem; /* 10px */

  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);

  color: var(--background-black-600);
}

/* =========================
   RADIO
   ========================= */

.pay-modal__radio {
  display: flex;
  align-items: center;
  gap: 0.833rem; /* 12px */
  padding: 0.556rem 0; /* 8px 0 */
  cursor: pointer;
  user-select: none;
}

.pay-modal__radio input {
  display: none;
}

/* базовый (НЕ выбран) */
.pay-modal__radioUi {
  width: 1.389rem; /* 20px */
  height: 1.389rem; /* 20px */
  /* border-radius НЕ трогаем (оставляем в px) */
  border-radius: 999px;
  /* border оставляем в px */
  border: 1px solid #a0a3a6;
  position: relative;
}

.pay-modal__radioText {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: #a0a3a6;
}

/* внутренняя точка: по умолчанию скрыта */
.pay-modal__radioUi::after {
  content: "";
  position: absolute;
  inset: 2px; /* 2px */
  /* border-radius НЕ трогаем (оставляем в px) */
  border-radius: 999px;
  background: #292f36;

  transform: scale(0.2);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

/* выбранный */
.pay-modal__radio.is-checked .pay-modal__radioUi {
  border-color: #292f36;
}

.pay-modal__radio.is-checked .pay-modal__radioText {
  color: #292f36;
}

.pay-modal__radio.is-checked .pay-modal__radioUi::after {
  transform: scale(1);
  opacity: 1;
}

/* =========================
   PROMO
   ========================= */

.pay-modal__promo {
  display: grid;
  grid-template-columns: 1fr 2.5rem; /* 36px */
  gap: 0.694rem; /* 10px */
  align-items: end;

  padding-bottom: 0.417rem; /* 6px */
  /* border оставляем в px */
  border-bottom: 1px solid #cfd1d2;
}

.pay-modal__promoInput {
  height: 2.917rem; /* 42px */
  width: 100%;

  border: 0;
  outline: none;

  font-size: 1.111rem; /* 16px */
  color: #292f36;
  background: transparent;
}

.pay-modal__promoInput::placeholder {
  color: #292f36;
}

.pay-modal__promoBtn {
  width: 2.5rem; /* 36px */
  height: 2.5rem; /* 36px */

  /* border-radius НЕ трогаем (оставляем в px) */
  border-radius: 4px;
  /* border оставляем в px */
  border: 1px solid #cfd1d2;
  background: #fff;

  cursor: pointer;

  display: grid;
  place-items: center;

  transition: background 160ms ease, border-color 160ms ease;
}

.pay-modal__promoBtn:hover,
.pay-modal__promoBtn:active {
  background: #e8e8e4;
  border-color: transparent;
}

/* =========================
   AGREE CHECKBOX
   ========================= */

.pay-modal__agree {
  margin-top: 1.389rem; /* 20px */

  display: grid;
  grid-template-columns: 1.25rem 1fr; /* 18px */
  gap: 0.833rem; /* 12px */
  align-items: start;

  cursor: pointer;
  user-select: none;
}

.pay-modal__agree input {
  display: none;
}

.pay-modal__checkUi {
  width: 1.389rem; /* 20px */
  height: 1.389rem; /* 20px */

  /* border-radius НЕ трогаем (оставляем в px) */
  border-radius: 4px;
  /* border оставляем в px */
  border: 1px solid #a0a3a6;
  background: transparent;

  transition: background 160ms ease, border-color 160ms ease;
}

/* filled square on checked */
.pay-modal__agree input:checked + .pay-modal__checkUi {
  background: #41464d;
  border-color: #41464d;
}

.pay-modal__agree input:checked + .pay-modal__checkUi::after {
  content: none;
}

.pay-modal__agreeText {
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  color: var(--background-black-600);
}

.pay-modal__agreeText a,
.pay-modal__agreeLink {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 0.069rem; /* 1px */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* =========================
   ACTIONS
   ========================= */

.pay-modal__actions {
  margin-top: 2.083rem; /* 30px */
}

.pay-modal__actions .cta {
  width: 100%;
  bottom: unset;
  right: unset;
  left: unset;
}

.pay-modal__alt {
  display: block;
  text-align: center;
  margin-top: 1.667rem; /* 24px */

  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);

  color: var(--text-accent-700);
  text-decoration: none;
}

/* =========================
   OPEN ANIMATION
   ========================= */

.pay-modal.is-open {
  pointer-events: auto;
}

.pay-modal.is-open .pay-modal__backdrop {
  opacity: 1;
}

.pay-modal.is-open .pay-modal__panel {
  transform: translateX(0);
}

.pay-modal.is-open.is-content .pay-modal__body {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Plans carousel (desktop only) ===== */

.plans__viewport {
  width: 100%;
}
@media (min-width: 62rem) {
  .plans__viewport {
    overflow: hidden;
  }

  .plans__track {
    will-change: transform;
    transform: translateX(0);
    transition: transform 300ms ease;
  }
  /* ВАЖНО: планы в ряд должны стать flex, чтобы трек ездил */
  .plans__grid {
    --plans-gap: 24px; /* подстрой если у тебя другой gap */
    display: flex;
    justify-content: flex-start; /* карточки слева, а не по центру */
    gap: var(--plans-gap);
    padding: 0.5rem 0 0.5rem 3.333rem; /* отступ слева, без правого */
  }

  /* 3 карточки в видимой области как было в сетке */
  .plans__grid > .plan {
    flex: 0 0 calc((90% - (var(--plans-gap) * 2)) / 3);
  }

  /* навигацию показываем только на десктопе */
  .plans__nav {
    margin: 0 0 2.5rem 0;
  }
  .plans__nav .reviews__dots{
      background-color: #ebebeb;
  }
}


/* ========== INFO BLOCK ========== */

.info-block {
  padding: 6.9444rem 3.3333rem; /* 100px 48px */
}

.info-block__card {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: center;
  background: var(--background-f5);
  border-radius: 40px;
  overflow: hidden;
      height: 42rem;
}

.info-block__text {
  padding-left: 8rem;
}

.info-block__eyebrow {
  margin: 0 0 1.3889rem 0; /* 0 0 20px 0 */
  font-size: var(--desc-fs);
  line-height: var(--desc-lh);
  letter-spacing: var(--desc-ls);
  text-transform: uppercase;
  color: var(--text-accent-600);
}

.info-block__heading {
  margin: 0 0 1.3889rem 0; /* 0 0 20px 0 */
  font-size: var(--h3-fs);
  line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
  color: var(--text-black-700);
}

.info-block__price {
  background: linear-gradient(180deg, #353530 0%, #9B9B8D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-block__desc {
  margin: 0 0 2.2222rem 0; /* 0 0 32px 0 */
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
}
.info-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.0556rem;
  padding: 0.6944rem 1.7361rem;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  white-space: nowrap;
  background: linear-gradient(304.1deg, #86867a -32.54%, #56564e 159.94%);
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.info-block__btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
  transform: scale(1.05);
}

.info-block__btn:hover {
  transform: scale(1.05);
}

.info-block__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.info-block__img {
    width: 24.375rem;
    height: 38rem;
    object-fit: cover;
    object-position: 0 0;
}


/* ========== SUBSCRIPTION BLOCK ========== */
 
.sub-block {
  padding: 6.9444rem 3.3333rem 9.7222rem; /* 100px 48px 140px */
}
 
.sub-block__header {
  text-align: center;
  margin-bottom: 5.5556rem; /* 80px */
}
 
.sub-block__title {
  margin: 0 0 1.6667rem 0; /* 0 0 24px 0 */
  font-size: var(--h2-fs);
  line-height: var(--h2-lh);
  letter-spacing: -0.03em;
  color: var(--text-black-700);
}
 
.sub-block__subtitle {
  margin: 0;
  font-size: var(--text-lg-fs);
  line-height: var(--text-lg-lh);
  letter-spacing: var(--text-lg-ls);
  color: var(--text-black-400);
  white-space: pre-line;
}
 
.sub-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1111rem; /* 16px */
}
 
.sub-block__item {
  display: flex;
  flex-direction: column;
  height: 15.9722rem; /* 230px */
  padding: 1.6667rem; /* 24px */
  background: var(--background-f5);
  border-radius: 16px;
}
 
.sub-block__item--accent {
  background: #E8E8E4;
}
 
.sub-block__icon {
  width: 2.5rem;  /* 36px */
  height: 2.5rem; /* 36px */
  flex-shrink: 0;
  margin-bottom: 1.6667rem; /* 24px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #A7A795 0%, #9B9B8D 100%);
  border-radius: 8px;
}
 
.sub-block__icon img {
  width: 1.3889rem;  /* 20px */
  height: 1.3889rem; /* 20px */
  filter: brightness(0) invert(1);
}
 
.sub-block__item-title {
  margin: 0 0 0.5556rem 0; /* 0 0 8px 0 */
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-black-700);
}
 
.sub-block__item-text {
  margin: 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
  white-space: pre-line;
}
 
.sub-block__link {
  color: var(--text-black-400);
  text-decoration: underline;
  text-underline-offset: 0.1389rem;
}
/* ========== AUTH STEP (inside pay-modal) ========== */
.pay-modal__auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 100%;
  padding: 2.7778rem;
  position: relative;
  transition: opacity 0.3s ease;
}
.pay-modal__auth[hidden] {
  display: none;
}
.pay-modal__auth-close {
  position: absolute;
  top: 1.3889rem;
  right: 1.3889rem;
  z-index: 2;
}
.pay-modal__auth-body {
  text-align: center;
  width: 100%;
  max-width: 26.3889rem;
}
.pay-modal__auth-title {
  margin: 0 0 0.8333rem 0;
  font-size: var(--h4-fs);
  line-height: var(--h4-lh);
  letter-spacing: var(--h4-ls);
  color: var(--text-black-700);
}
.pay-modal__auth-desc {
  margin: 0 0 3.3333rem 0;
  font-size: var(--text-md-fs);
  line-height: var(--text-md-lh);
  letter-spacing: var(--text-md-ls);
  color: var(--text-black-400);
}
.pay-modal__auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8333rem;
  max-width: 20rem;
  margin: 0 auto;
}
.pay-modal__auth-btn {
  display: grid;
  grid-template-columns: 1.3889rem 1fr;
  align-items: center;
  gap: 0.8333rem;
  width: 100%;
  height: 3.4722rem;
  padding: 0 1.6667rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: var(--text-sm-fs);
  line-height: var(--text-sm-lh);
  letter-spacing: var(--text-sm-ls);
  transition: background 0.3s ease;
}
.pay-modal__auth-btn--apple {
  background: #0E0E0E;
  color: #fff;
}
.pay-modal__auth-btn--apple:hover {
  background: #2a2a2a;
}
.pay-modal__auth-btn--google {
  background: var(--background-f5);
  color: var(--text-black-700);
}
.pay-modal__auth-btn--google:hover {
  background: #e0e0df;
}
.pay-modal__auth-icon {
  flex-shrink: 0;
  width: 1.3889rem;
  height: 1.3889rem;
}
/* Когда auth шаг активен — прячем header и форму */
.pay-modal.is-auth-step .pay-modal__head {
  display: none;
}
.pay-modal.is-auth-step #pay-form-step {
  display: none;
}
/* Панель растягивается на полную высоту */
.pay-modal.is-auth-step .pay-modal__panel {
  display: flex;
  flex-direction: column;
}


/* ===== «Личный кабинет» в hero (главная) — статичен, НЕ едет с .hero__top-pill ===== */
.hero__account {
  position: absolute;
  top: 3.333rem;            /* 48px */
  right: 3.333rem;          /* 48px */
  z-index: 21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;         /* 44px */
  padding: 0 1.7361rem;      /* 25px по бокам */
  border-radius: 8px;
  font-size: var(--btn-text-fs);   /* 14px */
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  color: #111820;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.hero__account:hover { opacity: 0.7; }
.hero__account-short { display: none; }   /* десктоп/планшет — «Личный кабинет» */
.hero__cta-short    { display: none; }    /* десктоп/планшет — «Записаться на поток» */

/* ===== «Личный кабинет» на странице thanks ===== */
.thanksHero__account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: max-content;
  height: 3.0556rem;         /* 44px */
  margin-top: 1.6667rem;     /* 24px */
  padding: 0 1.7361rem;      /* 25px */
  border-radius: 8px;
  font-size: var(--btn-text-fs);
  line-height: var(--btn-text-lh);
  letter-spacing: var(--btn-text-ls);
  color: #111820;
  background: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.thanksHero__account:hover { opacity: 0.9; }