:where(.h3){display:block;font-size:1.17em;margin-block:1em;font-weight:bold}/* h3fix: div.h3 вместо h3 у подписей карточек, вид как у h3 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow: #FFEB00;
  --yellow-soft: #FFF566;
  --yellow-deep: #E6D800;
  --dark: #060606;
  --text: #ffffff;
  --text-muted: #999999;
  --radius-ios-sm: 12px;
  --radius-ios-md: 16px;
  --radius-ios-lg: 20px;
  --radius-ios-pill: 980px;
  --radius-btn: 10px;
}

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* Липкие колонки («Как работаю», шапка документов) не липли: с overflow-x: hidden у html и body
   body становится отдельной областью прокрутки, которая сама не прокручивается. clip обрезает так же, но прокрутку не создаёт (29.10.2026). */
@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

body.is-loading {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-btn) 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 235, 0, 0.14) 0%, transparent 62%),
    radial-gradient(circle at 18% 88%, rgba(255, 235, 0, 0.06) 0%, transparent 40%),
    var(--dark);
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.42s;
}

.preloader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__grid {
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(255, 235, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 235, 0, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(520px) rotateX(58deg) translateY(-8%);
  opacity: 0.55;
  animation: preloader-grid-drift 14s linear infinite;
  pointer-events: none;
}

.preloader__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 24px rgba(255, 235, 0, 0.75);
  animation: preloader-scan 2.4s ease-in-out infinite;
  pointer-events: none;
}

.preloader__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(92vw, 360px);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s;
}

.preloader--hide .preloader__inner {
  transform: scale(1.12) translateY(-12px);
  filter: blur(10px);
}

.preloader__logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 46vw, 280px);
  height: clamp(120px, 26vw, 160px);
}

.preloader__orbits {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 260px;
  max-height: 260px;
  pointer-events: none;
}

.preloader__orbit {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 235, 0, 0.35);
  border-radius: 50%;
  animation: preloader-orbit-spin 3.2s linear infinite;
}

.preloader__orbit--2 {
  inset: 14%;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 2.1s;
  animation-direction: reverse;
}

.preloader__orbit--dash {
  inset: 28%;
  border: none;
  border-top: 2px dashed rgba(255, 235, 0, 0.65);
  animation-duration: 1.4s;
}

.preloader__logo-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.2vw, 14px);
  margin: 0;
}

.preloader__logo-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 14vw, 80px);
  height: clamp(64px, 14vw, 80px);
  border-radius: 50%;
  border: 2px solid var(--yellow);
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(34px, 7.5vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 248, 150, 0.35) 0%, transparent 50%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.15),
    0 0 32px rgba(255, 235, 0, 0.28);
  animation: preloader-logo-pulse 2.4s ease-in-out infinite;
}

.preloader__logo-text {
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(30px, 6.5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.preloader__track {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-ios-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 235, 0, 0.12);
}

.preloader__fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 18px rgba(255, 235, 0, 0.65);
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes preloader-grid-drift {
  from { transform: perspective(520px) rotateX(58deg) translateY(-8%) translateX(0); }
  to { transform: perspective(520px) rotateX(58deg) translateY(-8%) translateX(48px); }
}

@keyframes preloader-scan {
  0%, 100% { top: 12%; opacity: 0; }
  8% { opacity: 1; }
  50% { top: 88%; opacity: 1; }
  58% { opacity: 0; }
}

@keyframes preloader-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloader-logo-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 235, 0, 0.15),
      0 0 28px rgba(255, 235, 0, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 235, 0, 0.25),
      0 0 48px rgba(255, 235, 0, 0.42);
  }
}

/* ─── CANVAS ─── */
#constellation {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.94;
}

/* ─── Секции: появление при скролле (лёгкий подъём + краткий «срез») ─── */
@media (prefers-reduced-motion: no-preference) {
  section.page-sr {
    --page-sr-y: 36px;
    opacity: 0;
    transform: translate3d(0, var(--page-sr-y), 0);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  section.page-sr.page-sr--in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}

#cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 28px;
  padding: 18px 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav__logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav__logo:hover {
  opacity: 0.92;
}

.nav__logo-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__logo-mark {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--yellow);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 248, 150, 0.35) 0%, transparent 50%),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.15),
    0 0 28px rgba(255, 235, 0, 0.22);
}

.nav__logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  color: #fff;
}

.nav__logo-neon {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.nav__logo-neon__line {
  display: block;
  font-family: 'Montserrat', Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 0 1px #fff,
    0 0 3px #fff,
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.65),
    0 0 28px rgba(255, 235, 0, 0.45),
    0 0 42px rgba(255, 235, 0, 0.25);
  animation: neon-text-flicker 4.5s ease-in-out infinite;
}

.nav__logo-neon__line:nth-child(2) {
  animation-delay: 0.15s;
}

.nav__links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}

.nav__links--desktop[hidden] {
  display: none !important;
}

.nav__links a {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--yellow);
}

.nav__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.nav__lang-btn {
  display: block;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, background 0.2s;
}

.nav__lang-btn:hover {
  color: #fff;
}

.nav__lang-btn.is-active {
  color: #111;
  background: var(--yellow);
}

.nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-ios-md);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav__icon > svg,
.nav__icon > .nav__phone-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nav__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

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

.nav__icon:hover {
  border-color: var(--yellow);
  background: rgba(255, 235, 0, 0.1);
  color: #fff;
}

.nav__icon--phone {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 235, 0, 0.35);
  color: var(--yellow);
}

.nav__icon--phone:hover {
  border-color: var(--yellow);
  background: rgba(255, 235, 0, 0.12);
  color: var(--yellow);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #000;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 26px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.15s;
}

.nav__cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* Мобилка: одна кнопка «Связаться» с раскрытием */
.nav__contact-menu {
  display: none;
  position: relative;
}

/* жёлтая кнопка с облачком и точками цветов WhatsApp, MAX и Telegram — как кнопка консультанта (01.11.2026) */
.nav__contact-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-ios-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0.05) 100%),
    var(--yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #000;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.nav__contact-ico {
  display: block;
  width: 22px;
  height: 22px;
  transform: translate(0.5px, -0.5px);
}

.nav__contact-toggle:hover {
  filter: brightness(1.05);
}

.nav__contact-menu.is-open .nav__contact-toggle {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(255, 235, 0, 0.28);
}

.nav__contact-menu.is-open {
  z-index: 200;
}

.nav__contact-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 160;
  display: none;
  flex-direction: column;
  gap: 4px;
  width: max-content;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-ios-md);
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.nav__contact-menu.is-open .nav__contact-dropdown {
  display: flex;
}

.nav__contact-dropdown[hidden] {
  display: none !important;
}

.nav__contact-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__contact-option:hover {
  background: rgba(255, 235, 0, 0.12);
  color: var(--yellow);
}

.nav__contact-option svg {
  flex-shrink: 0;
}

/* Бургер и выезжающее меню — только мобилка (см. @media max-width: 960px) */
.nav__burger {
  display: none;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(300px, 86vw);
  height: 100%;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drawer__links a {
  padding: 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer__links a:hover {
  color: var(--yellow);
}

.nav-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.nav-drawer__tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(42, 171, 238, 0.14);
  border: 1px solid rgba(42, 171, 238, 0.45);
  color: #5ec4ff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-drawer__tg:hover {
  background: rgba(42, 171, 238, 0.22);
  border-color: rgba(42, 171, 238, 0.65);
}

.nav-drawer__tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
}

.nav-drawer__tg-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.nav-drawer__tg-text {
  line-height: 1.25;
  text-align: left;
}

.nav-drawer__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-btn);
  color: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-drawer__phone:hover {
  border-color: rgba(255, 235, 0, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.nav-drawer__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--yellow);
}

.nav-drawer__phone-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.nav-drawer__phone-text {
  line-height: 1.25;
  white-space: nowrap;
}

body.nav-open {
  overflow: hidden;
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  right: 31px; /* центр на одной оси с кнопкой консультанта (58 px, right 28) */
  bottom: 90px; /* 21.11.2026: стрелка над кнопкой консультанта (кнопка — угол: bottom 20, 58 px), на всём сайте */
  z-index: 200;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(6, 6, 6, 0.9);
  color: var(--yellow);
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(0.9);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  background: var(--yellow);
  color: #000;
  box-shadow:
    0 0 28px rgba(255, 235, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.45);
}

.scroll-top svg {
  display: block;
}

/* ─── MOBILE LEAD BAR (после hero) ─── */
.mobile-lead-bar {
  display: none;
}

@media (max-width: 960px) {
  .mobile-lead-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
    min-height: 52px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    border: none;
    border-top: 1px solid rgba(255, 235, 0, 0.35);
    background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 48%, var(--yellow-deep) 100%);
    color: #000;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-decoration: none;
    text-align: center;
    box-shadow:
      0 -4px 24px rgba(0, 0, 0, 0.35),
      0 0 32px rgba(255, 235, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-lead-bar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-lead-bar:active {
    filter: brightness(0.96);
  }

  body.has-mobile-lead-bar .scroll-top.is-visible {
    bottom: calc(84px + 52px + 12px + env(safe-area-inset-bottom, 0px)); /* над плашкой заявки и кнопкой консультанта */
  }

  body.modal-open .mobile-lead-bar,
  body.nav-open .mobile-lead-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  padding: 118px 64px 60px 64px;
  max-width: 1580px;
  margin: 0 auto;
  gap: 24px;
}

/* ─── HERO CONTENT (left, bigger) ─── */
.hero__content {
  min-width: 0;
}

/* ─── TITLE ─── */
.hero__title {
  font-size: clamp(46px, 6.8vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
  font-family: 'Arial Black', Arial, sans-serif;
}

.hero__title-line1 {
  display: block;
}

/* second line — force single line */
.hero__title-line2 {
  display: block;
  white-space: nowrap;
  line-height: 1.1;
}

/* glitch on «СДЕЛАЮ» — монохромные помехи */
.hero__glitch {
  position: relative;
  display: inline-block;
}

.hero__glitch::before,
.hero__glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  color: #fff;
}

.hero__glitch.is-glitching {
  animation: glitch-main 0.28s steps(8) both;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.45),
    3px 0 rgba(255, 255, 255, 0.25),
    -3px 0 rgba(255, 255, 255, 0.25);
}

.hero__glitch.is-glitching::before {
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: glitch-ghost-1 0.28s steps(6) both;
  clip-path: inset(6% 0 54% 0);
}

.hero__glitch.is-glitching::after {
  opacity: 0.4;
  color: rgba(255, 255, 255, 0.85);
  mix-blend-mode: overlay;
  animation: glitch-ghost-2 0.28s steps(6) both;
  clip-path: inset(52% 0 4% 0);
}

@keyframes glitch-main {
  0%   { transform: translate(0); opacity: 1; }
  12%  { transform: translate(-3px, 1px); opacity: 0.75; }
  24%  { transform: translate(4px, -1px) skewX(-1.5deg); opacity: 0.9; }
  36%  { transform: translate(-2px, 0); opacity: 0.6; }
  48%  { transform: translate(3px, 2px); opacity: 0.85; }
  60%  { transform: translate(-4px, -1px) skewX(1deg); opacity: 0.7; }
  72%  { transform: translate(2px, 1px); opacity: 0.95; }
  84%  { transform: translate(-1px, -2px); opacity: 0.8; }
  100% { transform: translate(0); opacity: 1; }
}

@keyframes glitch-ghost-1 {
  0%   { transform: translate(0); clip-path: inset(6% 0 54% 0); }
  20%  { transform: translate(-5px, 0); clip-path: inset(0 0 62% 0); }
  40%  { transform: translate(6px, 1px); clip-path: inset(18% 0 48% 0); }
  60%  { transform: translate(-4px, -1px); clip-path: inset(10% 0 58% 0); }
  80%  { transform: translate(5px, 0); clip-path: inset(4% 0 66% 0); }
  100% { transform: translate(0); clip-path: inset(6% 0 54% 0); }
}

@keyframes glitch-ghost-2 {
  0%   { transform: translate(0); clip-path: inset(52% 0 4% 0); }
  20%  { transform: translate(5px, 0); clip-path: inset(58% 0 0 0); }
  40%  { transform: translate(-6px, -1px); clip-path: inset(46% 0 12% 0); }
  60%  { transform: translate(4px, 1px); clip-path: inset(64% 0 2% 0); }
  80%  { transform: translate(-5px, 0); clip-path: inset(50% 0 8% 0); }
  100% { transform: translate(0); clip-path: inset(52% 0 4% 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero:not(.hero--in) .hero__title-line1,
  .hero:not(.hero--in) .hero__highlight,
  .hero:not(.hero--in) .hero__title-rest,
  .hero:not(.hero--in) .hero__feature,
  .hero:not(.hero--in) .hero__meta-item,
  .hero:not(.hero--in) .hero__trophy,
  .hero:not(.hero--in) .hero__cta,
  .hero:not(.hero--in) .money-emoji,
  .hero.hero--in .hero__title-line1,
  .hero.hero--in .hero__highlight,
  .hero.hero--in .hero__title-rest,
  .hero.hero--in .hero__feature,
  .hero.hero--in .hero__meta-item,
  .hero.hero--in .hero__trophy,
  .hero.hero--in .hero__cta,
  .hero.hero--in .money-emoji {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    animation: none;
  }

  .hero__trophy {
    animation: none;
  }

  .preloader,
  .preloader__grid,
  .preloader__scan,
  .preloader__orbit,
  .preloader__logo-mark {
    animation: none;
    transition: none;
  }

  .preloader--hide {
    opacity: 0;
    visibility: hidden;
  }

  .hero__glitch.is-glitching,
  .hero__glitch.is-glitching::before,
  .hero__glitch.is-glitching::after,
  .nav__logo-neon__line,
  .why__hand-canvas {
    animation: none;
  }

  .pricing__header,
  .pricing__item,
  .pricing__marquee-track,
  .pricing__star {
    animation: none;
  }

  .offer__headline,
  .offer__main,
  .offer__badge,
  .offer__badge-text,
  .why,
  .why__panel--left,
  .why__panel--right,
  .why__item,
  .why__code-tag,
  .why__code-plain,
  .why__code-accent,
  .why__code-accent::after,
  .why__code-cursor,
  .why__code-ghost,
  .more__title,
  .more__highlight,
  .more__card,
  .more__icon-img,
  .more__wave-float,
  .more__wave-track,
  .more__reveal,
  .more__reveal-pill,
  .more__reveal-pill::before,
  .more__reveal-pill::after,
  .more__reveal-arrow,
  .reviews__header {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
    margin-top: 0;
  }

  section.page-sr {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.hero__highlight {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  padding: 4px 14px 6px;
  border-radius: var(--radius-ios-sm);
  line-height: 1.08;
}

.hero__title-rest {
  /* keep "САЙТ" right next to the yellow badge */
}

/* ─── FEATURES ─── */
.hero__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}

.hero__feature-text strong {
  color: var(--yellow);
  font-weight: 700;
}

.hero__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-ios-md);
  background: rgba(255,255,255,0.04);
}

.hero__feature-icon--yandex {
  font-size: 11px;
  font-weight: 700;
  color: #fc3f1d;
  background: rgba(252, 63, 29, 0.08);
  border-color: rgba(252, 63, 29, 0.3);
  letter-spacing: -0.5px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
}

.hero__feature-icon--gift {
  border-color: rgba(255, 235, 0, 0.4);
  background: rgba(255, 235, 0, 0.08);
}

/* ─── META (PRICE / СРОК) ─── */
.hero__meta {
  display: flex;
  gap: 48px;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero__meta-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  color: var(--text-muted);
}

.hero__meta-label picture {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.hero__meta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.hero__meta-value {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}

/* ─── RIGHT: trophy + CTA + money ─── */
.hero__aside {
  position: relative;
  min-height: 520px;
  align-self: stretch;
}

.hero__action {
  position: absolute;
  bottom: 10%;
  left: -18%;
  z-index: 5;
  display: inline-block;
}

.money-emoji {
  position: absolute;
  top: -44px;
  right: -28px;
  width: 88px;
  height: 88px;
  margin: 0;
  transform: rotate(22deg);
  z-index: 6;
  pointer-events: none;
  user-select: none;
}

.money-emoji__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero__cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  text-decoration: none;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.3vw, 22px);
  padding: 24px 50px;
  border-radius: var(--radius-btn);
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: 2px solid rgba(255, 245, 120, 0.65);
  box-shadow:
    0 0 28px rgba(255, 235, 0, 0.45),
    0 0 56px rgba(255, 235, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.hero__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 55px rgba(255, 235, 0, 0.7),
    0 0 100px rgba(255, 235, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero__trophy {
  position: absolute;
  top: clamp(64px, 12vh, 120px);
  left: auto;
  right: clamp(-8%, -2vw, 2%);
  width: clamp(330px, 42vw, 560px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  filter: drop-shadow(0 16px 44px rgba(0, 0, 0, 0.38));
}

/* EN: чуть компактнее заголовок, чтобы не заходил под кубок — кубок не трогаем */
html[lang="en"] .hero__content {
  position: relative;
  z-index: 3;
  padding-right: clamp(8px, 1.5vw, 24px);
}

html[lang="en"] .hero__title {
  font-size: clamp(42px, 6.2vw, 76px);
}

html[lang="en"] .hero__title-line2 {
  white-space: normal;
  max-width: 11.5em;
}

/* RU: заголовок не заходит под кубок — кубок не трогаем */
html[lang="ru"] .hero__content {
  position: relative;
  z-index: 3;
  padding-right: clamp(8px, 1.5vw, 24px);
}

html[lang="ru"] .hero__title {
  font-size: clamp(42px, 6.2vw, 76px);
}

html[lang="ru"] .hero__title-line2 {
  white-space: normal;
  max-width: 9.8em;
}

/* Hero: появление при загрузке */
.hero:not(.hero--in) .hero__title-line1,
.hero:not(.hero--in) .hero__highlight,
.hero:not(.hero--in) .hero__title-rest,
.hero:not(.hero--in) .hero__feature,
.hero:not(.hero--in) .hero__meta-item,
.hero:not(.hero--in) .hero__trophy,
.hero:not(.hero--in) .hero__cta,
.hero:not(.hero--in) .money-emoji {
  opacity: 0;
}

.hero:not(.hero--in) .hero__title-line1 {
  transform: translate3d(-18px, 72px, 0);
  filter: blur(12px);
}

.hero:not(.hero--in) .hero__highlight {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(0, 28px, 0);
}

.hero:not(.hero--in) .hero__title-rest {
  transform: translate3d(28px, 0, 0);
}

.hero:not(.hero--in) .hero__feature {
  transform: translate3d(-36px, 24px, 0);
}

.hero:not(.hero--in) .hero__meta-item {
  transform: translate3d(0, 28px, 0);
}

.hero:not(.hero--in) .hero__trophy {
  transform: translate3d(48px, 48px, 0) scale(0.82) rotate(8deg);
  animation: none;
}

.hero:not(.hero--in) .hero__cta {
  transform: translate3d(0, 32px, 0) scale(0.92);
}

.hero:not(.hero--in) .money-emoji {
  transform: translate3d(0, 32px, 0) rotate(12deg) scale(0.85);
}

.hero.hero--in .hero__title-line1 {
  animation: hero-rise-title 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero.hero--in .hero__highlight {
  animation: hero-highlight-in 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero.hero--in .hero__title-rest {
  animation: hero-fade-slide 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both;
}

.hero.hero--in .hero__feature:nth-child(1) {
  animation: hero-rise-feature 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

.hero.hero--in .hero__feature:nth-child(2) {
  animation: hero-rise-feature 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero.hero--in .hero__feature:nth-child(3) {
  animation: hero-rise-feature 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.82s both;
}

.hero.hero--in .hero__meta-item:nth-child(1) {
  animation: hero-rise-meta 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.94s both;
}

.hero.hero--in .hero__meta-item:nth-child(2) {
  animation: hero-rise-meta 0.72s cubic-bezier(0.22, 1, 0.36, 1) 1.06s both;
}

.hero.hero--in .hero__trophy {
  animation:
    hero-trophy-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both,
    float-trophy 4s ease-in-out 1.45s infinite;
}

.hero.hero--in .hero__cta {
  animation: hero-cta-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.12s both;
}

.hero.hero--in .money-emoji {
  animation: hero-money-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.12s both;
}

@keyframes hero-rise-title {
  from {
    opacity: 0;
    transform: translate3d(-18px, 72px, 0);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes hero-rise-feature {
  from {
    opacity: 0;
    transform: translate3d(-36px, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-rise-meta {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-highlight-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-fade-slide {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-trophy-in {
  0% {
    opacity: 0;
    transform: translate3d(48px, 48px, 0) scale(0.82) rotate(8deg);
  }
  55% {
    opacity: 1;
    transform: translate3d(-10px, -10px, 0) scale(1.04) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes hero-money-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0) rotate(12deg) scale(0.85);
  }
  70% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) rotate(26deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(22deg) scale(1);
  }
}

@keyframes hero-cta-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.92);
    box-shadow:
      0 0 0 rgba(255, 235, 0, 0),
      0 4px 16px rgba(0, 0, 0, 0.35);
  }
  70% {
    opacity: 1;
    transform: translate3d(0, -4px, 0) scale(1.02);
    box-shadow:
      0 0 48px rgba(255, 235, 0, 0.55),
      0 8px 24px rgba(0, 0, 0, 0.38);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow:
      0 0 28px rgba(255, 235, 0, 0.45),
      0 0 56px rgba(255, 235, 0, 0.18),
      0 4px 16px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* ─── ANIMATIONS ─── */
@keyframes float-trophy {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

@keyframes neon-text-flicker {
  0%, 18%, 22%, 55%, 58%, 100% {
    opacity: 1;
    text-shadow:
      0 0 1px #fff,
      0 0 3px #fff,
      0 0 8px rgba(255, 255, 255, 0.95),
      0 0 16px rgba(255, 255, 255, 0.65),
      0 0 28px rgba(255, 235, 0, 0.45),
      0 0 42px rgba(255, 235, 0, 0.25);
  }
  20%, 57% {
    opacity: 0.94;
    text-shadow:
      0 0 1px #fff,
      0 0 2px #fff,
      0 0 6px rgba(255, 255, 255, 0.75),
      0 0 12px rgba(255, 255, 255, 0.45),
      0 0 22px rgba(255, 235, 0, 0.3);
  }
}

/* ─── PRICING + REVIEWS: единый тёмный фон ─── */
.pricing,
.reviews {
  background-color: #000;
}

/* ─── PRICING (TARIFFS) ─── */
.pricing {
  position: relative;
  z-index: 2;
  color: var(--text);
  padding: clamp(80px, 9vw, 120px) 64px clamp(88px, 10vw, 128px);
  overflow: hidden;
}


.pricing__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.pricing__star {
  position: absolute;
  font-size: clamp(52px, 7.5vw, 88px);
  line-height: 1;
  color: #fff;
  opacity: 0.92;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.55),
    0 0 48px rgba(255, 235, 0, 0.25);
  transform-origin: center;
  animation: pricing-star-twinkle 3.2s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.pricing__star--tl {
  top: clamp(20px, 3.5vw, 44px);
  left: clamp(16px, 3vw, 56px);
  animation-delay: 0s;
}

.pricing__star--tr {
  top: clamp(20px, 3.5vw, 44px);
  right: clamp(16px, 3vw, 56px);
  animation-delay: 1.4s;
}

@keyframes pricing-star-twinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.75;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  }
  35% {
    transform: scale(1.14) rotate(14deg);
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.85));
  }
  65% {
    transform: scale(0.96) rotate(-8deg);
    opacity: 0.88;
    filter: drop-shadow(0 0 14px rgba(255, 235, 0, 0.45));
  }
}

.pricing__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  transform: translate(-50%, -42%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 40, 40, 0.55) 0%, transparent 68%);
}

.pricing__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing__header {
  position: relative;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
  opacity: 0;
  transform: translateY(20px);
}

.pricing__marquee {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: min(1200px, 100vw);
  margin: 0 auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.pricing__marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(28px, 4vw, 56px);
  padding: 0.04em 0;
  animation: pricing-marquee-left 32s linear infinite;
  will-change: transform;
}

.pricing__marquee-track--reverse {
  margin-top: -0.12em;
  animation-name: pricing-marquee-right;
  animation-duration: 38s;
  opacity: 0.72;
}

.pricing__marquee-text {
  flex-shrink: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(36px, 6.8vw, 82px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  paint-order: stroke fill;
  opacity: 0.55;
}

.pricing__marquee-track--reverse .pricing__marquee-text {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.14);
  text-stroke-color: rgba(255, 255, 255, 0.14);
  opacity: 0.4;
}

@keyframes pricing-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes pricing-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.pricing__title {
  position: relative;
  z-index: 1;
  margin: clamp(-52px, -6.4vw, -30px) 0 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.65);
}

@property --pricing-angle {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

.pricing__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

.pricing__item {
  opacity: 0;
  transform: translateY(28px);
}

.pricing.is-visible .pricing__item {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing.is-visible .pricing__item:nth-child(1) { transition-delay: 0.1s; }
.pricing.is-visible .pricing__item:nth-child(2) { transition-delay: 0.2s; }

.pricing__card {
  --pricing-pad-x: clamp(22px, 2.6vw, 30px);
  --pricing-pad-y: clamp(26px, 3vw, 34px);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pricing-lift: 0px;
  --glare-x: 50%;
  --glare-y: 42%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2px;
  border-radius: 22px;
  border: none;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(120, 120, 120, 0.12) 42%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.42);
  transform: perspective(960px) translateY(var(--pricing-lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.35s ease,
    background 0.45s ease;
}

.pricing__card:hover {
  --pricing-lift: -8px;
  background: conic-gradient(
    from var(--pricing-angle),
    #ffeb00,
    rgba(255, 255, 255, 0.55),
    #3a3a28,
    rgba(255, 235, 0, 0.35),
    #fff9b0,
    #ffeb00
  );
  animation: pricing-border-spin 4.5s linear infinite;
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 0 48px rgba(255, 235, 0, 0.22),
    0 28px 64px rgba(0, 0, 0, 0.5);
}

.pricing__card--featured {
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.45),
    0 0 36px rgba(255, 235, 0, 0.14),
    0 18px 48px rgba(0, 0, 0, 0.45);
}

.pricing__card--featured:hover {
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.75),
    0 0 0 2px rgba(255, 255, 255, 0.14),
    0 0 56px rgba(255, 235, 0, 0.32),
    0 28px 64px rgba(0, 0, 0, 0.52);
}

@keyframes pricing-border-spin {
  to {
    --pricing-angle: 360deg;
  }
}

.pricing__card-head,
.pricing__features,
.pricing__cta {
  position: relative;
  z-index: 2;
}

.pricing__card-surface {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: var(--pricing-pad-y) var(--pricing-pad-x) clamp(24px, 2.8vw, 30px);
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(255, 235, 0, 0.26) 0%, rgba(255, 235, 0, 0.06) 5px, transparent 22px),
    linear-gradient(165deg, #1c1c1c 0%, #101010 48%, #141414 100%);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -28px 48px rgba(0, 0, 0, 0.35),
    inset 0 0 72px rgba(255, 235, 0, 0.03);
}

.pricing__card--featured .pricing__card-surface {
  background:
    linear-gradient(180deg, rgba(255, 235, 0, 0.42) 0%, rgba(255, 235, 0, 0.12) 6px, transparent 26px),
    linear-gradient(165deg, #1f1f12 0%, #121208 55%, #16160f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 80px rgba(255, 235, 0, 0.06),
    inset 0 -32px 56px rgba(0, 0, 0, 0.38);
}

.pricing__card-head {
  position: relative;
  text-align: center;
  padding-bottom: clamp(12px, 1.6vw, 18px);
  margin-bottom: clamp(16px, 2vw, 22px);
  border-bottom: none;
}

/* Компактный разделитель: тонкая линия + точка по центру */
.pricing__card-head::after {
  content: '';
  display: block;
  height: 6px;
  width: min(260px, 88%);
  margin: clamp(10px, 1.4vw, 14px) auto 0;
  background:
    radial-gradient(circle at 50% 50%, var(--yellow) 0 2px, transparent 3px),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 18%,
      rgba(255, 235, 0, 0.55) 50%,
      rgba(255, 255, 255, 0.06) 82%,
      transparent 100%
    );
  background-size:
    100% 100%,
    100% 1px;
  background-position:
    center center,
    center center;
  background-repeat: no-repeat;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(255, 235, 0, 0.28));
}

.pricing__card--featured .pricing__card-head::after {
  filter: drop-shadow(0 0 12px rgba(255, 235, 0, 0.4));
}

.pricing__card-title {
  margin: 0 0 10px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.pricing__card-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.pricing__card-icon {
  display: flex;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 235, 0, 0.25));
}

.pricing__card-title-text {
  max-width: 100%;
}

.pricing__card-sub {
  margin: 0 0 18px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
}

.pricing__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing__price {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.02em;
}

.pricing__price-from {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 0.42em;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.14em;
  vertical-align: 0.12em;
  letter-spacing: 0.02em;
}

.pricing__price-currency {
  margin-left: 0.06em;
  font-weight: 900;
}

.pricing__features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 clamp(24px, 2.8vw, 32px);
  padding: 0;
}

.pricing__features li {
  position: relative;
  padding-left: 28px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 235, 0, 0.55);
  background: rgba(255, 235, 0, 0.1);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 12px rgba(255, 235, 0, 0.08);
}

.pricing__cta {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.2px;
  box-shadow:
    0 0 28px rgba(255, 235, 0, 0.45),
    0 0 56px rgba(255, 235, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.pricing__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 40px rgba(255, 235, 0, 0.6),
    0 0 72px rgba(255, 235, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .pricing__card:hover {
    animation: none;
    --pricing-lift: -4px;
  }
}

.glare-follow {
  --glare-x: 50%;
  --glare-y: 42%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.glare-follow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: radial-gradient(
    ellipse 85% 65% at var(--glare-x) var(--glare-y),
    rgba(255, 255, 255, 0.36) 0%,
    rgba(255, 235, 0, 0.12) 28%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
}

.glare-follow:hover::after {
  opacity: 1;
}

.pricing.is-visible .pricing__header {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── OFFER (CTA) ─── */
.offer {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #000;
  padding: 0 64px;
  margin-top: -1px;
  padding-top: 0;
}

.offer__collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer.is-open {
  padding: clamp(48px, 6vw, 80px) 64px;
}

.offer.is-open .offer__collapse {
  grid-template-rows: 1fr;
}

.offer__collapse > .offer__inner {
  overflow: hidden;
  min-height: 0;
}

.offer__inner {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

.offer__divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid #d8d8d8;
}

.offer__content {
  padding: clamp(40px, 5vw, 64px) 0;
}

.offer__headline {
  margin: 0 0 clamp(36px, 4.5vw, 56px);
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(24px, 2.9vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}

.offer__highlight {
  display: inline;
  background: var(--yellow);
  color: #000;
  padding: 2px 8px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.offer__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.offer__question {
  margin: 0 0 clamp(20px, 2.5vw, 30px);
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.25px;
  text-transform: uppercase;
  color: #000;
}

.offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.offer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.offer__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 13px;
  line-height: 1;
}

.offer__btn--yes {
  background: #3cb878;
  box-shadow: 0 8px 24px rgba(60, 184, 120, 0.28);
}

.offer__btn--no {
  background: #e07a7a;
  box-shadow: 0 8px 24px rgba(224, 122, 122, 0.28);
}

.offer__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

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

.offer__badge {
  flex-shrink: 0;
  display: block;
  width: clamp(140px, 14vw, 196px);
  height: clamp(140px, 14vw, 196px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer__badge:hover {
  transform: scale(1.04);
}

.offer__badge-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.offer__badge-ring {
  fill: var(--yellow);
}

.offer__badge-core {
  fill: #000;
}

.offer__badge-text {
  transform-origin: 100px 100px;
  animation: offer-badge-spin 18s linear infinite;
}

.offer__badge-text text {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  fill: #000;
  text-transform: uppercase;
}

@keyframes offer-badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.offer__headline,
.offer__main,
.offer__badge {
  opacity: 0;
  transform: translateY(24px);
}

.offer.is-visible .offer__headline,
.offer.is-visible .offer__main,
.offer.is-visible .offer__badge {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer.is-visible .offer__main {
  transition-delay: 0.12s;
}

.offer.is-visible .offer__badge {
  transition-delay: 0.22s;
}

/* ─── WHY (2nd screen) ─── */
.why {
  --why-pad-x: clamp(40px, 4.2vw, 56px);
  --why-pad-y: clamp(68px, 7.5vh, 92px);
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 62vh;
  margin-top: -1px;
  margin-bottom: -1px;
  overflow: visible;
  opacity: 0;
  transform: translateY(72px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.why.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why__panel {
  position: relative;
  z-index: 1;
  min-height: 62vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--why-pad-y) var(--why-pad-x);
}

.why__panel--left {
  background: #fff;
  color: #000;
  overflow: visible;
  transform: translateX(-8%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.why__panel--right {
  background: #000;
  color: #fff;
  overflow: visible;
  transform: translateX(8%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.why.is-visible .why__panel--left,
.why.is-visible .why__panel--right {
  transform: translateX(0);
}

.why__content {
  position: relative;
  width: 100%;
  max-width: min(100%, 600px);
}

.why__panel--left .why__content {
  margin-left: clamp(32px, 6vw, 72px);
  margin-right: auto;
}

.why__panel--right .why__content {
  margin-left: 0;
  margin-right: auto;
}

.why__title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  text-align: left;
  --title-y: 0px;
  opacity: 0;
  transform: translate3d(0, var(--title-y), 0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  will-change: transform;
  backface-visibility: hidden;
}

.why__title-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.why.is-visible .why__title {
  opacity: 1;
}

.why__list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5.4vh, 68px);
}

.why__item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.why.is-visible .why__item {
  opacity: 1;
  transform: translateY(0);
}

.why.is-visible .why__item:nth-child(1) { transition-delay: 0.35s; }
.why.is-visible .why__item:nth-child(2) { transition-delay: 0.5s; }
.why.is-visible .why__item:nth-child(3) { transition-delay: 0.65s; }

.why__item-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* «Сайт на чистом коде» — code-эффект */
.why__item-title--code {
  gap: 6px 10px;
  font-family: 'Consolas', 'Courier New', 'Lucida Console', monospace;
}

.why__code-tag {
  font-size: 0.92em;
  font-weight: 700;
  color: rgba(255, 235, 0, 0.45);
  opacity: 0;
  transform: translateX(-10px);
}

.why__code-tag--close {
  transform: translateX(10px);
}

.why__code-tail {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  gap: 0;
  white-space: nowrap;
}

.why__code-body {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

.why__code-plain {
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(10px);
}

.why__code-accent {
  position: relative;
  display: inline-block;
  overflow: visible;
  padding: 2px 8px 4px;
  color: #000;
  font-weight: 700;
  background: var(--yellow);
  border-radius: 4px;
  box-shadow:
    0 0 20px rgba(255, 235, 0, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: scale(0.94);
  clip-path: inset(0 100% 0 0);
}

.why__code-accent.is-scrambling {
  box-shadow:
    0 0 28px rgba(255, 235, 0, 0.7),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.why__code-accent-text {
  position: relative;
  z-index: 1;
}

.why__code-ghosts {
  position: absolute;
  inset: -20px -28px;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.why__code-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  text-shadow:
    0 0 10px rgba(255, 235, 0, 0.9),
    0 0 22px rgba(255, 235, 0, 0.45);
  opacity: 0;
  animation: why-code-ghost-pop 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.why__code-accent::after {
  content: '';
  position: absolute;
  left: -10%;
  top: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 48%,
    transparent 100%
  );
  transform: translateX(-140%);
  pointer-events: none;
}

.why__code-cursor {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--yellow);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(255, 235, 0, 0.8);
  opacity: 0;
  vertical-align: -0.12em;
}

.why.is-visible .why__item:nth-child(2) .why__code-tag {
  animation: why-code-tag-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

.why.is-visible .why__item:nth-child(2) .why__code-tag--close {
  animation-name: why-code-tag-in-close;
}

.why.is-visible .why__item:nth-child(2) .why__code-plain {
  animation: why-code-plain-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

.why.is-visible .why__item:nth-child(2) .why__code-accent {
  animation: why-code-accent-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both;
}

.why.is-visible .why__item:nth-child(2) .why__code-accent.is-decoded::after {
  animation: why-code-shine 2.4s ease-in-out 1.35s infinite;
}

.why.is-visible .why__item:nth-child(2) .why__code-cursor {
  animation:
    why-code-cursor-on 0.01s linear 1.28s forwards,
    why-code-blink 0.85s step-end 1.28s infinite;
}

@keyframes why-code-tag-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
    color: rgba(255, 235, 0, 0.2);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    color: var(--yellow);
    text-shadow: 0 0 14px rgba(255, 235, 0, 0.55);
  }
}

@keyframes why-code-tag-in-close {
  from {
    opacity: 0;
    transform: translateX(12px);
    color: rgba(255, 235, 0, 0.2);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    color: var(--yellow);
    text-shadow: 0 0 14px rgba(255, 235, 0, 0.55);
  }
}

@keyframes why-code-plain-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes why-code-accent-in {
  from {
    opacity: 0;
    transform: scale(0.92);
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes why-code-shine {
  0%, 72%, 100% { transform: translateX(-140%); opacity: 0; }
  8% { opacity: 1; }
  38% { transform: translateX(420%); opacity: 1; }
  48% { opacity: 0; }
}

@keyframes why-code-cursor-on {
  to { opacity: 1; }
}

@keyframes why-code-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes why-code-ghost-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotate(var(--rot, 0deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -28px))) scale(1.15)
      rotate(var(--rot, 0deg));
  }
}

.why__item-text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 100%;
}

.why__item--last {
  position: relative;
  z-index: 1;
}

.why__item--last .why__item-text {
  box-sizing: border-box;
  width: min(840px, calc(50vw - 2 * var(--why-pad-x)));
  max-width: min(840px, calc(50vw - 2 * var(--why-pad-x)));
  padding-right: clamp(48px, 6vw, 88px);
}

.why__item--code {
  position: relative;
  overflow: visible;
}

.why__code-head {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  overflow: visible;
}

.why__item--code .why__item-title--code {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  max-width: 100%;
}

.why__hand {
  position: absolute;
  top: 50%;
  right: clamp(-24px, -3vw, -10px);
  z-index: 6;
  width: clamp(96px, 11vw, 168px);
  height: clamp(132px, 15vw, 228px);
  margin: 0;
  padding: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
  filter:
    drop-shadow(0 8px 28px rgba(255, 235, 0, 0.5))
    drop-shadow(0 14px 40px rgba(0, 0, 0, 0.45));
}

@media (min-width: 961px) {
  .why__item--code .why__hand {
    right: clamp(-56px, -5vw, -32px);
  }
}

.why__hand-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  pointer-events: none;
  outline: none;
}

.why__hand-canvas--error {
  opacity: 0.25;
}

body.why-in-view #constellation {
  opacity: 0.66;
  transition: opacity 0.8s ease;
}

/* ─── MORE (3rd block) ─── */
.more {
  --more-wave-h: clamp(200px, 22vw, 265px);
  position: relative;
  z-index: 2;
  background: #fff;
  color: #000;
  padding: clamp(140px, 16vh, 200px) 64px clamp(48px, 6vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

.more__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

.more__title {
  position: relative;
  z-index: 2;
  margin: 0 auto 40px;
  max-width: 900px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
  text-align: center;
  color: #000;
  opacity: 0;
  transform: translate3d(0, 56px, 0) scale(0.9);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

.more__highlight {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  padding: 2px 10px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transform-origin: left center;
}

.more__grid {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 auto;
  padding: clamp(8px, 1vw, 16px) 0 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 72px);
}

.more__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.5vw, 28px);
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px);
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 72px, 0) scale(0.82) rotate(-2deg);
  filter: blur(14px);
  will-change: transform, opacity, filter;
}

.more__icon {
  width: 100%;
  max-width: clamp(260px, 26vw, 340px);
  min-height: clamp(160px, 16vw, 220px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more__icon-img {
  width: 100%;
  max-width: clamp(260px, 26vw, 340px);
  height: auto;
  max-height: clamp(200px, 20vw, 260px);
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.more__text {
  margin: 0 auto;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: #111;
  max-width: 420px;
}

.more__text strong {
  font-weight: 800;
  color: #000;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 235, 0, 0.72) 62%);
  padding: 0 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.more__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--more-wave-h);
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.more__wave-float {
  width: 100%;
  height: 100%;
  will-change: transform;
  animation: more-wave-float 6s ease-in-out infinite alternate;
}

.more__wave-track {
  display: flex;
  width: 200%;
  height: 100%;
  will-change: transform;
  animation: more-wave-scroll 14s linear infinite;
}

.more__wave-svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

@keyframes more-wave-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes more-wave-float {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -6px, 0); }
}

.more__seam {
  position: relative;
  z-index: 15;
  height: 0;
  margin-top: -36px;
  overflow: visible;
  pointer-events: none;
}

.more__reveal {
  --reveal-pill-h: 48px;
  position: absolute;
  top: -10px;
  right: clamp(20px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--reveal-pill-h);
  height: var(--reveal-pill-h);
  padding: 0;
  border: none;
  background: transparent;
  transform: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

.more__reveal:focus-visible {
  outline: none;
}

.more__reveal:focus-visible .more__reveal-pill {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.more__reveal-pill {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: more-reveal-pulse 1.6s ease-in-out infinite;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.more__reveal-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.more__reveal-pill::before,
.more__reveal-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--yellow);
  pointer-events: none;
}

.more__reveal-pill::before {
  animation: more-reveal-ring 1.6s ease-out infinite;
}

.more__reveal-pill::after {
  animation: more-reveal-ring 1.6s ease-out 0.8s infinite;
}

.more__reveal-arrow {
  display: block;
  width: 22px;
  height: 22px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.more__reveal:hover .more__reveal-pill {
  animation: none;
  transform: translateY(3px);
  border-color: var(--yellow);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 235, 0, 0.2);
}

.more__reveal:hover .more__reveal-pill::before,
.more__reveal:hover .more__reveal-pill::after {
  animation: none;
  opacity: 0;
}

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

.more__reveal:active .more__reveal-pill {
  transform: translateY(2px) scale(0.98);
}

.more__reveal[aria-expanded="true"] .more__reveal-pill {
  animation: none;
}

.more__reveal[aria-expanded="true"] .more__reveal-pill::before,
.more__reveal[aria-expanded="true"] .more__reveal-pill::after {
  animation: none;
  opacity: 0;
}

.more__reveal[aria-expanded="true"] .more__reveal-arrow {
  transform: rotate(180deg);
}

@keyframes more-reveal-pulse {
  0%, 100% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(255, 235, 0, 0);
  }
  50% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.28),
      0 0 32px 6px rgba(255, 235, 0, 0.65);
  }
}

@keyframes more-reveal-ring {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

.more.is-visible .more__title {
  animation: more-title-reveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.more.is-visible .more__highlight {
  animation: more-highlight-pop 0.65s cubic-bezier(0.34, 1.45, 0.64, 1) 0.28s both;
}

.more.is-visible .more__card {
  animation: more-card-reveal 1s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}

.more.is-visible .more__card:nth-child(1) { animation-delay: 0.42s; }
.more.is-visible .more__card:nth-child(2) { animation-delay: 0.62s; }

.more.is-visible .more__card:nth-child(1) .more__icon-img {
  animation: more-icon-pop 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 0.55s both;
}

.more.is-visible .more__card:nth-child(2) .more__icon-img {
  animation: more-icon-pop 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 0.75s both;
}

@keyframes more-title-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(0.9);
    filter: blur(10px);
  }
  65% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -8px, 0) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes more-highlight-pop {
  from {
    opacity: 0.5;
    transform: scaleX(0.15);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes more-card-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 72px, 0) scale(0.82) rotate(-2deg);
    filter: blur(14px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -10px, 0) scale(1.04) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes more-icon-pop {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-8deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.08) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ─── REVIEWS ─── */
.reviews {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 88px 64px 100px;
}

.reviews::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(56px, 7vw, 88px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    transparent 100%
  );
}


.reviews__header {
  position: relative;
  z-index: 4;
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.reviews__badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 18px;
  border-radius: var(--radius-ios-pill);
  border: 1px solid rgba(255, 235, 0, 0.35);
  background: rgba(255, 235, 0, 0.08);
  color: var(--yellow);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.reviews__title {
  margin-bottom: 14px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.4px;
}

.reviews__subtitle {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--text-muted);
}

/* ─── CONTACT (final block) ─── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact {
  position: relative;
  z-index: 2;
  background: var(--dark);
  padding: 0 64px clamp(48px, 6vw, 72px);
}

.contact__wrap {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

.contact__panel {
  background: #f2f2f2;
  border-radius: 40px;
  padding: clamp(36px, 4.5vw, 56px) clamp(32px, 4vw, 52px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.contact__panel--single {
  max-width: 760px;
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(200px, 1.15fr) minmax(300px, 380px);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.contact__title {
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: #000;
}

.contact__title-line {
  display: block;
}

.contact__title-line--accent {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px 5px;
  background: var(--yellow);
  color: #000;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact__phone:hover {
  opacity: 0.85;
  color: #000;
}

.contact__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
}

.contact__phone-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.contact__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #2aabee;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact__tg:hover {
  opacity: 0.85;
  color: #1d96d8;
}

.contact__tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
}

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

.contact__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 32vw, 380px);
  overflow: hidden;
  pointer-events: none;
}

.contact__visual-img {
  width: min(100%, 420px);
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  display: block;
  object-fit: contain;
  object-position: center center;
}

.contact__form {
  position: relative;
  padding: clamp(28px, 3vw, 38px);
  border-radius: 28px;
  background: linear-gradient(165deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 235, 0, 0.14);
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow) 45%, var(--yellow-soft));
}

.contact__form--single {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.contact__form-head {
  margin-bottom: clamp(20px, 2.4vw, 26px);
  padding-bottom: clamp(16px, 2vw, 20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.contact__form-head--modal {
  text-align: center;
}

.contact__form-lead {
  margin: 10px 0 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #666;
}

.contact__single-title {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #000;
}

.contact__single-subtitle {
  margin: 12px 0 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.contact__single-subtitle strong {
  font-weight: 800;
  color: #000;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 235, 0, 0.72) 62%);
  padding: 0 2px;
}

.contact__single-note {
  margin: 10px 0 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #666;
}

.contact__form-title {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  color: #000;
}

.contact__label {
  display: block;
  margin-bottom: 8px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.contact__field {
  display: block;
  margin-bottom: 18px;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 17px;
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: #aaa;
}

.contact__field input:hover,
.contact__field textarea:hover {
  border-color: #d0d0d0;
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--yellow-deep);
  background: #fffef5;
  box-shadow: 0 0 0 3px rgba(255, 235, 0, 0.28);
}

.contact__field textarea {
  min-height: 116px;
  resize: vertical;
}

.contact__phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact__field--phone:hover .contact__phone-wrap {
  border-color: #d0d0d0;
}

.contact__field--phone:focus-within .contact__phone-wrap {
  border-color: var(--yellow-deep);
  background: #fffef5;
  box-shadow: 0 0 0 3px rgba(255, 235, 0, 0.28);
}

.contact__phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 14px 0 16px;
  border-right: 1.5px solid #ececec;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  background: #f7f7f7;
}

.contact__flag {
  font-size: 18px;
  line-height: 1;
}

.contact__phone-input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px 15px 12px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact__phone-input:focus {
  background: transparent !important;
  box-shadow: none !important;
}

.contact__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 18px 24px;
  border: 2px solid rgba(255, 245, 120, 0.65);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 48%, var(--yellow-deep) 100%);
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 900;
  color: #000;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow:
    0 0 24px rgba(255, 235, 0, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact__submit-text {
  display: block;
}

.contact__submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 0 40px rgba(255, 235, 0, 0.5),
    0 10px 28px rgba(0, 0, 0, 0.14);
}

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

.contact__legal {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #888;
  text-align: center;
}

.contact__form:not(.contact-modal__form) .contact__legal {
  text-align: left;
}

.contact__legal a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 235, 0, 0.9);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.contact__legal a:hover {
  color: #000;
}

body.modal-open {
  overflow: hidden;
}

.cheap-modal {
  position: fixed;
  inset: 0;
  z-index: 510;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cheap-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cheap-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(6px);
}

.cheap-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.cheap-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cheap-modal__close:hover {
  background: rgba(0, 0, 0, 0.72);
}

.cheap-modal__figure {
  margin: 0;
}

.cheap-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 620px);
  object-fit: cover;
  object-position: center center;
  border-radius: 20px 20px 0 0;
}

.cheap-modal__caption {
  margin: 0;
  padding: clamp(18px, 2.5vw, 28px) clamp(20px, 3vw, 32px) clamp(22px, 3vw, 32px);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: #111;
  background: var(--yellow);
}

.lead-success-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lead-success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(4px);
}

.lead-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.lead-success-modal__card {
  margin: 0;
  padding: clamp(36px, 4vw, 48px) clamp(28px, 3.5vw, 40px) clamp(32px, 3.5vw, 40px);
  border-radius: 28px;
  background: linear-gradient(165deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  text-align: center;
}

.lead-success-modal__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(255, 235, 0, 0.35);
}

.lead-success-modal__title {
  margin: 0 0 12px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: #000;
}

.lead-success-modal__text {
  margin: 0 0 28px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: #444;
}

.lead-success-modal__btn {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.lead-success-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lead-success-modal__close:hover {
  background: #000;
  transform: scale(1.05);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
}

.contact-modal__form {
  margin: 0;
  padding-top: clamp(36px, 4vw, 44px);
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.contact-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-modal__close:hover {
  background: #000;
  transform: scale(1.05);
}

.contact__panel,
.contact__lead,
.contact__visual,
.contact__form {
  opacity: 0;
  transform: translateY(28px);
}

.contact.is-visible .contact__panel {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact.is-visible .contact__lead,
.contact.is-visible .contact__visual,
.contact.is-visible .contact__form {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact.is-visible .contact__visual {
  transition-delay: 0.1s;
}

.contact.is-visible .contact__form {
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .contact__panel,
  .contact__lead,
  .contact__visual,
  .contact__form {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── FOOTER ─── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(48px, 6vw, 72px) 64px clamp(36px, 4vw, 52px);
}

.footer__inner {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(170px, 1fr) minmax(190px, 1fr) minmax(200px, auto);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 44px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo.nav__logo {
  grid-column: unset;
  justify-self: unset;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer .nav__logo-neon {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--yellow);
}

.footer__nav-title {
  margin: 0 0 2px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__contacts-title {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__phone:hover {
  opacity: 0.88;
  color: var(--yellow);
}

.footer__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(255, 235, 0, 0.35);
}

.footer__phone-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer__phone-text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2aabee;
  transition: opacity 0.2s ease;
}

.footer__tg:hover {
  opacity: 0.88;
}

.footer__tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2aabee;
  color: #fff;
}

.footer__tg-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__tg-text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  background: var(--yellow);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.footer__divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 0 0 clamp(24px, 3vw, 32px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer__copy {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__legal a {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--yellow);
}

.footer__legal a[aria-current="page"] {
  color: var(--yellow);
  pointer-events: none;
}

/* ─── LEGAL PAGES ─── */
.page-legal {
  overflow-x: hidden;
}

.page-legal #constellation,
.page-legal #cursor-trail,
.page-legal .cursor {
  display: none !important;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 64px;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.legal-header__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--yellow);
}

.legal-header__text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.legal-header__back {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.legal-header__back:hover {
  opacity: 0.85;
}

.legal {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 5vw, 64px) 64px clamp(56px, 7vw, 80px);
}

.legal__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #121212 0%, #0a0a0a 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.legal__title {
  margin: 0 0 12px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.3px;
}

.legal__updated {
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}

.legal__content h2 {
  margin: 28px 0 12px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.legal__content h2:first-child {
  margin-top: 0;
}

.legal__content p,
.legal__content li {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.legal__content p {
  margin: 0 0 14px;
}

.legal__content ul,
.legal__content ol {
  margin: 0 0 16px;
  padding-left: 1.35em;
}

.legal__content li {
  margin-bottom: 8px;
}

.legal__content a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__content a:hover {
  opacity: 0.9;
}

.legal__content strong {
  color: #fff;
  font-weight: 700;
}

.page-legal .footer {
  padding-top: 0;
  border-top: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 90px 20px 50px;
  }

  .hero__aside {
    min-height: 320px;
    order: 2;
  }

  .hero__trophy {
    width: clamp(250px, 70vw, 400px);
    left: auto;
    right: -6%;
    top: clamp(32px, 8vw, 56px);
  }

  .hero__action {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    align-items: center;
    width: 100%;
  }

  .money-emoji {
    top: -28px;
    right: -12px;
    transform: rotate(18deg);
  }

  .hero__cta {
    font-size: 16px;
    padding: 20px 32px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(34px, 7.2vw, 52px);
  }

  .pricing {
    padding: 64px 20px 72px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing__card-title-row {
    gap: 8px;
  }

  .pricing__card-icon svg {
    width: 24px;
    height: 24px;
  }

  .pricing__features li {
    padding-left: 26px;
  }

  .offer.is-open {
    padding: 56px 20px 64px;
  }

  .offer:not(.is-open) {
    padding: 0;
  }

  .offer__body {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .offer__badge {
    justify-self: end;
    margin-top: 8px;
  }

  .why {
    grid-template-columns: 1fr;
    transform: translateY(40px);
  }

  .why__panel {
    min-height: auto;
  }

  .why {
    --why-pad-x: 24px;
    --why-pad-y: 56px;
  }

  .why__panel--left {
    transform: translateY(-24px);
  }

  .why__panel--right {
    --why-pad-y: 44px;
    transform: translateY(24px);
  }

  .why__panel--left .why__content {
    margin-left: 0;
    margin-right: 0;
  }

  .why__panel--right .why__content {
    margin-left: 0;
    margin-right: 0;
  }

  .why__item--last .why__item-text {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .why.is-visible .why__panel--left,
  .why.is-visible .why__panel--right {
    transform: translateY(0);
  }

  .why__title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    font-size: clamp(24px, 6vw, 34px);
    max-width: 100%;
    text-align: left;
    transform: translateY(0);
  }

  .why.is-visible .why__title {
    transform: translateY(0);
  }

  .why__item-title {
    font-size: clamp(22px, 5vw, 28px);
  }

  .why__item-text {
    font-size: clamp(15px, 3.8vw, 18px);
  }

  .more {
    --more-wave-h: clamp(64px, 14vw, 96px);
    --more-pad-x: 20px;
    --more-pad-y: clamp(52px, 7vw, 68px);
    padding: var(--more-pad-y) var(--more-pad-x) 0;
    padding-bottom: calc(10px + var(--more-wave-h) * 0.34);
  }

  .why__panel--right {
    padding-bottom: clamp(56px, 8vw, 72px);
  }

  .more__inner {
    padding-bottom: 0;
  }

  .more__title {
    font-size: clamp(24px, 6vw, 34px);
    margin: 0 auto clamp(28px, 4vw, 36px);
  }

  .more__seam {
    margin-top: calc(-1 * var(--more-wave-h) * 0.4);
  }

  .offer:not(.is-open) {
    padding: 0;
    margin-top: -4px;
  }

  .why__title-line {
    white-space: normal;
  }

  .more__grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 32px);
    max-width: 100%;
    padding-top: 0;
  }

  .more__card {
    padding: 0;
  }

  .more__text {
    max-width: none;
  }

  .contact {
    padding: 0 20px 48px;
  }

  .footer {
    padding: 40px 20px 32px;
  }

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

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

  .legal-header {
    padding: 14px 20px;
  }

  .legal {
    padding: 32px 20px 48px;
  }

  .legal__inner {
    padding: 24px 20px;
  }

  .contact__panel {
    border-radius: 28px;
    padding: 32px 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__visual {
    order: 2;
    min-height: 200px;
  }

  .contact__visual-img {
    width: min(88vw, 360px);
    max-height: 420px;
  }

  .contact__form {
    order: 3;
  }
}

/* ПК: только десктопная навигация в шапке */
@media (min-width: 961px) {
  .nav__burger,
  .nav-drawer,
  .nav__contact-menu {
    display: none !important;
  }
}

/* Мобилка: шапка + hero (класс is-mobile-nav ставит JS) */
body.is-mobile-nav .nav__links--desktop,
body.is-mobile-nav .nav__cta--desktop {
  display: none !important;
}

body.is-mobile-nav .nav__burger {
  display: inline-flex !important;
}

body.is-mobile-nav .nav-drawer {
  display: block !important;
}

body:not(.is-mobile-nav) .nav__burger,
body:not(.is-mobile-nav) .nav-drawer {
  display: none !important;
}

/* ─── Мобилка: только шапка и главный экран (≤960px). ПК (≥961px) без изменений ─── */
@media (max-width: 960px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 10px;
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }

  .nav__logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    justify-self: start;
  }

  .nav__links--desktop {
    display: none !important;
  }

  .nav__logo {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: min(100%, calc(100vw - 100px));
  }

  .nav__logo-brand {
    flex-shrink: 0;
    gap: 5px;
  }

  .nav__logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .nav__logo-text {
    font-size: 17px;
  }

  .nav__logo-neon {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
  }

  .nav__logo-neon__line {
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.25;
    white-space: nowrap;
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav__icon--bar {
    display: none !important;
  }

  .nav__contact-menu {
    display: block;
  }

  .nav__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .nav__lang-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  .nav__cta--desktop {
    display: none !important;
  }

  .nav__burger {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-ios-md);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
  }

  .nav-drawer {
    display: block !important;
  }

  .nav__burger-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav__burger.is-open .nav__burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__burger.is-open .nav__burger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.is-open .nav__burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: calc(116px + env(safe-area-inset-top, 0px)) 16px 48px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(34px, 9.5vw, 48px);
    margin-bottom: 28px;
  }

  .hero__title-line2 {
    white-space: normal;
  }

  .hero__features {
    margin-bottom: 28px;
    gap: 14px;
  }

  .hero__feature {
    font-size: 15px;
    gap: 12px;
  }

  .hero__meta {
    gap: 12px 20px;
    flex-wrap: wrap;
  }

  .hero__meta-label {
    gap: 6px;
    font-size: 13px;
  }

  .hero__meta-icon {
    width: 32px;
    height: 32px;
  }

  .hero__meta-value {
    font-size: clamp(20px, 5.6vw, 26px);
  }

  .hero__aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .hero__trophy {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    width: min(68vw, 260px);
    margin: 0 auto;
  }

  .hero__action {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
    max-width: 340px;
    display: flex;
    justify-content: center;
  }

  .hero__cta {
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }

  .money-emoji {
    top: -32px;
    right: -6px;
  }

  /* WHY — вторая секция */
  .why {
    --why-pad-x: 16px;
    --why-pad-y: 40px;
    min-height: auto;
    transform: translateY(28px);
  }

  .why.is-visible {
    transform: translateY(0);
  }

  .why__panel {
    min-height: auto;
    padding: var(--why-pad-y) var(--why-pad-x);
  }

  .why__panel--left,
  .why__panel--right {
    transform: none;
  }

  .why.is-visible .why__panel--left,
  .why.is-visible .why__panel--right {
    transform: none;
  }

  .why__panel--right {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .why__panel--left .why__content,
  .why__panel--right .why__content {
    margin: 0;
    max-width: 100%;
  }

  .why__title {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: clamp(22px, 6.2vw, 30px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    transform: none !important;
    --title-y: 0px !important;
  }

  .why.is-visible .why__title {
    transform: none !important;
  }

  .why__title-line {
    white-space: normal;
  }

  .why__list {
    gap: 28px;
  }

  .why__item-title {
    font-size: clamp(20px, 5.4vw, 26px);
    margin-bottom: 12px;
    gap: 8px;
  }

  .why__panel--right,
  .why__panel--right .why__content,
  .why__item--code,
  .why__code-head {
    overflow: visible;
  }

  .why__code-head {
    margin-bottom: 12px;
  }

  /* Тот же размер строки, что у остальных заголовков; code-стили без изменений */
  .why__item--code .why__item-title--code {
    margin-bottom: 0;
    font-size: clamp(20px, 5.4vw, 26px);
    line-height: 1.2;
    gap: 6px 8px;
    flex-wrap: nowrap;
    align-items: baseline;
    max-width: 100%;
  }

  .why__item--code .why__code-body {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .why__item--code .why__code-tag,
  .why__item--code .why__code-tag--close,
  .why__item--code .why__code-cursor {
    flex-shrink: 0;
  }

  .why__item--code .why__code-cursor {
    align-self: baseline;
    margin-left: 1px;
  }

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

  .why__item--last {
    padding-bottom: 0;
  }

  .why__item--last .why__item-text {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 0;
  }

  .why__item--code .why__hand {
    top: 42%;
    right: clamp(-20px, -5vw, -4px);
    width: clamp(100px, 30vw, 132px);
    height: clamp(136px, 38vw, 176px);
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
  }

  .why__item--code .why__hand-canvas {
    opacity: 1;
    visibility: visible;
  }

  /* MORE — третья секция */
  .more {
    --more-pad-x: 16px;
    --more-pad-y: 56px;
    --more-wave-h: 52px;
    padding: var(--more-pad-y) var(--more-pad-x) 0;
    padding-bottom: calc(8px + var(--more-wave-h) * 0.32);
  }

  .more__inner {
    padding-bottom: 0;
  }

  .more__title {
    margin: 0 auto 24px;
    max-width: 100%;
    font-size: clamp(22px, 6.2vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.3px;
  }

  .offer:not(.is-open) {
    padding: 0;
    margin: -6px 0 0;
  }

  .more__highlight {
    padding: 2px 8px 3px;
  }

  .more__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    padding-top: 0;
  }

  .more__card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    text-align: left;
  }

  .more__icon {
    flex: 0 0 72px;
    width: 72px;
    max-width: 72px;
    min-height: 0;
  }

  .more__icon-img {
    width: 100%;
    max-width: 100%;
    max-height: 72px;
  }

  .more__text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.45;
  }

  .more__seam {
    margin-top: calc(-1 * var(--more-wave-h) * 0.42);
  }

  .more__reveal {
    --reveal-pill-h: 38px;
    top: -2px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .more__reveal-mark {
    font-size: 17px;
  }

  .scroll-top {
    right: 22px; /* центр на одной оси с кнопкой консультанта (58 px, right 16) */
    bottom: 84px; /* 21.11.2026: над кнопкой консультанта (bottom 16, 58 px) */
    width: 46px;
    height: 46px;
  }

  /* Pricing: компактная мобильная вёрстка (ПК без изменений) */
  .pricing {
    padding: 44px 16px 52px;
  }

  .pricing__header {
    margin-bottom: 28px;
  }

  .pricing__star {
    font-size: 36px;
  }

  .pricing__star--tl {
    top: 10px;
    left: 6px;
  }

  .pricing__star--tr {
    top: 10px;
    right: 6px;
  }

  .pricing__marquee-track {
    gap: 18px;
  }

  .pricing__marquee-text {
    font-size: clamp(26px, 8vw, 36px);
    -webkit-text-stroke-width: 1px;
    letter-spacing: 0.04em;
  }

  .pricing__title {
    margin-top: -32px;
    font-size: clamp(24px, 6.4vw, 30px);
    letter-spacing: -0.3px;
  }

  .pricing__grid {
    gap: 18px;
    max-width: 100%;
  }

  .pricing__card {
    --pricing-pad-x: 16px;
    --pricing-pad-y: 18px;
    border-radius: 18px;
  }

  .pricing__card-surface {
    padding-bottom: 14px;
    border-radius: 16px;
  }

  .pricing__card-head {
    padding-bottom: 8px;
    margin-bottom: 10px;
  }

  .pricing__card-head::after {
    height: 4px;
    margin-top: 8px;
    width: min(200px, 92%);
  }

  .pricing__card-title {
    margin-bottom: 6px;
    font-size: 16px;
  }

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

  .pricing__card-title-row {
    gap: 6px;
  }

  .pricing__card-sub {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .pricing__price-wrap {
    gap: 4px;
  }

  .pricing__price {
    font-size: clamp(24px, 7vw, 28px);
  }

  .pricing__features {
    gap: 7px;
    margin-bottom: 14px;
  }

  .pricing__features li {
    padding: 9px 10px 9px 32px;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-wrap: balance;
  }

  .pricing__features li::before {
    left: 10px;
    width: 15px;
    height: 15px;
    font-size: 9px;
    line-height: 14px;
    top: 10px;
    border-radius: 3px;
  }

  .pricing__cta {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* Contact: компактная мобильная вёрстка (ПК без изменений) */
  .contact {
    padding: 0 16px 32px;
  }

  .contact__panel {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .contact__grid {
    gap: 18px;
  }

  .contact__title {
    margin-bottom: 14px;
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.1;
  }

  .contact__title-line--accent {
    margin-top: 4px;
    padding: 2px 8px 4px;
  }

  .contact__channels {
    gap: 8px;
    margin-top: 2px;
  }

  .contact__phone,
  .contact__tg {
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
  }

  .contact__phone-icon,
  .contact__tg-icon {
    width: 34px;
    height: 34px;
  }

  .contact__phone-icon svg,
  .contact__tg-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact__form {
    order: 2;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .contact__form-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .contact__form-title {
    font-size: 18px;
  }

  .contact__form-lead {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
  }

  .contact__field {
    margin-bottom: 12px;
  }

  .contact__field input,
  .contact__field textarea {
    padding: 11px 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .contact__field textarea {
    min-height: 88px;
  }

  .contact__submit {
    padding: 14px 18px;
    font-size: 15px;
  }

  .contact__legal {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 11px;
    line-height: 1.45;
  }

  .contact__visual {
    order: 3;
    min-height: 0;
    margin-top: 8px;
  }

  .contact__visual-img {
    width: min(94vw, 380px);
    max-height: min(58vh, 460px);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .nav__logo-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .nav__logo-text {
    font-size: 15px;
  }

  .nav__icon,
  .nav__burger,
  .nav__contact-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: calc(108px + env(safe-area-inset-top, 0px));
  }

  .nav__logo-neon__line {
    font-size: 10px;
  }

  .hero__title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero__meta-label {
    font-size: 12px;
  }

  .hero__meta-icon {
    width: 28px;
    height: 28px;
  }

  .hero__meta-value {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .why {
    --why-pad-x: 14px;
    --why-pad-y: 32px;
  }

  .why__panel--right {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .why__title {
    font-size: clamp(20px, 6.8vw, 26px);
  }

  .why__list {
    gap: 24px;
  }

  .more {
    --more-pad-y: 44px;
    --more-wave-h: 44px;
    padding-bottom: calc(6px + var(--more-wave-h) * 0.3);
  }

  .more__seam {
    margin-top: calc(-1 * var(--more-wave-h) * 0.44);
  }

  .offer:not(.is-open) {
    margin-top: -6px;
  }

  .why__item--code .why__hand {
    top: 38%;
    right: -14px;
    width: clamp(88px, 28vw, 112px);
    height: clamp(120px, 34vw, 152px);
    transform: translateY(-50%);
  }

  .more__title {
    margin-bottom: 20px;
    font-size: clamp(20px, 6.8vw, 26px);
  }

  .more__grid {
    gap: 16px;
  }

  .more__card {
    gap: 10px;
  }

  .more__icon {
    flex: 0 0 64px;
    width: 64px;
    max-width: 64px;
  }

  .more__icon-img {
    max-height: 64px;
  }

  .more__text {
    font-size: 13px;
    line-height: 1.42;
  }

  .more__reveal {
    --reveal-pill-h: 36px;
  }

  .more__reveal-mark {
    font-size: 16px;
  }

  .more__reveal-mark {
    font-size: 18px;
  }

  .hero__trophy {
    width: min(60vw, 220px);
  }

  .pricing {
    padding: 36px 14px 44px;
  }

  .pricing__header {
    margin-bottom: 22px;
  }

  .pricing__marquee-text {
    font-size: clamp(22px, 7.2vw, 28px);
  }

  .pricing__title {
    margin-top: -26px;
    font-size: clamp(22px, 6vw, 26px);
  }

  .pricing__grid {
    gap: 14px;
  }

  .pricing__card {
    --pricing-pad-x: 14px;
    --pricing-pad-y: 14px;
    border-radius: 16px;
  }

  .pricing__card-surface {
    padding-bottom: 12px;
    border-radius: 14px;
  }

  .pricing__card-head {
    margin-bottom: 8px;
  }

  .pricing__card-title {
    font-size: 15px;
  }

  .pricing__features {
    gap: 6px;
    margin-bottom: 12px;
  }

  .pricing__features li {
    padding: 8px 10px 8px 30px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .pricing__cta {
    padding: 11px 14px;
    font-size: 13px;
  }

  .pricing__features li::before {
    left: 9px;
    top: 9px;
  }

  .contact {
    padding: 0 14px 28px;
  }

  .contact__panel {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .contact__grid {
    gap: 14px;
  }

  .contact__title {
    margin-bottom: 12px;
    font-size: clamp(20px, 6.8vw, 24px);
  }

  .contact__phone,
  .contact__tg {
    font-size: 12px;
  }

  .contact__form {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .contact__form-title {
    font-size: 17px;
  }

  .contact__field textarea {
    min-height: 80px;
  }

  .contact__submit {
    padding: 13px 16px;
    font-size: 14px;
  }

  .contact__visual-img {
    width: min(96vw, 360px);
    max-height: min(52vh, 400px);
  }

  .footer {
    padding-top: 24px;
  }

  .footer__top {
    gap: 16px;
    margin-bottom: 16px;
  }

  .footer__nav a {
    font-size: 13px;
  }

}

/* На тач-устройствах и мобилке — обычный курсор, без трейла */
@media (pointer: coarse), (max-width: 960px) {
  body.has-cursor,
  body.has-cursor * {
    cursor: auto !important;
  }

  #cursor-trail,
  .cursor {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ─── CUSTOM CURSOR ─── */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor {
    cursor: none;
  }

  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor .hero__cta,
  body.has-cursor .more__reveal,
  body.has-cursor .more__reveal-pill,
  body.has-cursor .offer__btn,
  body.has-cursor .offer__badge,
  body.has-cursor .scroll-top,
  body.has-cursor .contact__submit,
  body.has-cursor .contact__tg,
  body.has-cursor .contact__phone,
  body.has-cursor .contact__legal a,
  body.has-cursor .footer a,
  body.has-cursor .footer__cta,
  body.has-cursor .footer__tg,
  body.has-cursor .footer__phone,
  body.has-cursor .nav__icon--phone,
  body.has-cursor .nav__burger,
  body.has-cursor .nav__contact-toggle,
  body.has-cursor .nav__cta--desktop,
  body.has-cursor .nav-drawer__tg,
  body.has-cursor .nav-drawer__phone,
  body.has-cursor .mobile-lead-bar {
    cursor: none;
  }

  .cursor {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
  }

  .cursor__dot,
  .cursor__ring {
    display: none;
  }

}

/* ═══════════════════════════════════════════════════════════════════════════
   2026-09 — новые блоки: MAX и обратный звонок, тариф «Интернет-магазин»,
   кейсы из портфолио, квиз, «Как работаю», FAQ, согласие ПДн, cookie
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── NAV: MAX, «Заказать звонок», мобильная шапка без EN ─── */
@media (min-width: 961px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

.nav__links {
  gap: clamp(18px, 1.9vw, 34px);
}

.nav__links a {
  white-space: nowrap;
}

.nav__icon--max img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.nav__contact-option--cta {
  width: 100%;
  white-space: nowrap;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nav__contact-option img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.nav-drawer__max {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(140, 112, 255, 0.45);
  color: #c4b5ff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-drawer__max:hover {
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(140, 112, 255, 0.7);
}

.nav-drawer__max-icon img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-drawer__cta {
  padding: 15px 18px;
  border: 0;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 235, 0, 0.3);
}

@media (min-width: 961px) and (max-width: 1440px) {
  .nav {
    padding-left: 32px;
    padding-right: 32px;
    column-gap: 16px;
  }

  .nav__links {
    gap: 18px;
  }

  .nav__links a {
    font-size: 15px;
  }

  .nav__actions {
    gap: 10px;
  }

  .nav__cta {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (min-width: 961px) and (max-width: 1200px) {
  .nav__logo-neon {
    display: none;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .nav__actions > .nav__icon--phone {
    display: none;
  }

  .nav__links {
    gap: 14px;
  }
}

@media (max-width: 960px) {
  .nav__actions > .nav__lang {
    display: none;
  }
}

/* ─── PRICING: три тарифа ─── */
.pricing__inner {
  max-width: 1240px;
}

.pricing__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing.is-visible .pricing__item:nth-child(3) { transition-delay: 0.3s; }

@media (min-width: 1101px) {
  .pricing__card-title-row {
    flex-direction: column;
    gap: 8px;
  }
}

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

/* ─── Общие бейджи новых секций ─── */
.quiz__badge,
.steps__badge,
.faq__badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #000;
  color: var(--yellow);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── QUIZ ─── */
.quiz {
  position: relative;
  z-index: 2;
  background: var(--yellow);
  color: #000;
  padding: clamp(80px, 9vw, 120px) 24px clamp(88px, 10vw, 128px);
  overflow: hidden;
}

.quiz__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.55) 0, transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(255, 200, 0, 0.55) 0, transparent 42%),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0 2px, transparent 2px 16px);
}

.quiz__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.quiz__header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.quiz__title {
  margin: 18px auto 14px;
  max-width: 860px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: #000;
}

.quiz__title-accent {
  display: inline-block;
  padding: 2px 14px 6px;
  border-radius: 12px;
  background: #000;
  color: var(--yellow);
  transform: rotate(-1.5deg);
}

.quiz__lead {
  margin: 0 auto;
  max-width: 640px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.72);
}

.quiz__card {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 28px;
  background: #0b0b0b;
  color: #fff;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  isolation: isolate;
}

.quiz__card::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -200px;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 0, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.quiz__top {
  margin-bottom: clamp(22px, 2.6vw, 30px);
}

.quiz__progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.quiz__progress-bar {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 18px rgba(255, 235, 0, 0.6);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.quiz__counter b {
  color: var(--yellow);
}

.quiz__card.is-result .quiz__counter {
  visibility: hidden;
}

.quiz__gift {
  color: rgba(255, 255, 255, 0.78);
}

.quiz__form {
  margin: 0;
}

.quiz__step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quiz__step.is-active {
  display: block;
  animation: quiz-step-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quiz__step.is-active.is-back {
  animation-name: quiz-step-in-back;
}

@keyframes quiz-step-in {
  from { opacity: 0; transform: translate3d(28px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes quiz-step-in-back {
  from { opacity: 0; transform: translate3d(-28px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.quiz__q {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.quiz__hint {
  margin-left: 4px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.quiz__options {
  display: grid;
  gap: 14px;
}

.quiz__options--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quiz__options--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiz__option,
.quiz__chip,
.quiz__via-opt {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.quiz__option input,
.quiz__chip input,
.quiz__via-opt input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quiz__option-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: 20px 18px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(165deg, #171717 0%, #0f0f0f 100%);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quiz__option:hover .quiz__option-body {
  border-color: rgba(255, 235, 0, 0.5);
  transform: translateY(-3px);
}

.quiz__option input:focus-visible + .quiz__option-body,
.quiz__chip input:focus-visible + span,
.quiz__via-opt input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.quiz__option input:checked + .quiz__option-body {
  border-color: var(--yellow);
  background: linear-gradient(165deg, #25230a 0%, #121206 100%);
  box-shadow:
    0 0 0 1px var(--yellow),
    0 12px 32px rgba(255, 235, 0, 0.16);
}

.quiz__option-body::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quiz__option--check .quiz__option-body::after {
  border-radius: 6px;
}

.quiz__option input:checked + .quiz__option-body::after {
  border-color: var(--yellow);
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.quiz__option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 235, 0, 0.28);
  border-radius: 14px;
  background: rgba(255, 235, 0, 0.1);
  color: var(--yellow);
  transition: background 0.2s ease, color 0.2s ease;
}

.quiz__option-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* готовые двухтонные иконки Phosphor (MIT): заливка, а не обводка */
.quiz__option-icon svg.ph {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}

.quiz__option input:checked + .quiz__option-body .quiz__option-icon {
  background: var(--yellow);
  color: #000;
}

.quiz__option-title {
  padding-right: 22px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.quiz__option-note {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.quiz__options--compact .quiz__option-body {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px 44px 14px 14px;
}

.quiz__options--compact .quiz__option-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.quiz__options--compact .quiz__option-body::after {
  top: 50%;
  transform: translateY(-50%);
}

.quiz__options--compact .quiz__option-title {
  padding-right: 0;
  font-size: 15px;
}

.quiz__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz__chip span {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #141414;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quiz__chip:hover span {
  border-color: rgba(255, 235, 0, 0.5);
  transform: translateY(-2px);
}

.quiz__chip input:checked + span {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 235, 0, 0.25);
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: clamp(22px, 2.6vw, 30px);
}

.quiz__back,
.quiz__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.quiz__back {
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.quiz__back:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.quiz__next {
  border: 0;
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  box-shadow: 0 0 24px rgba(255, 235, 0, 0.35);
}

.quiz__next:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 235, 0, 0.5);
}

.quiz__back:disabled,
.quiz__next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.quiz__card.is-result .quiz__next {
  visibility: hidden;
}

.quiz__result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 410px);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.quiz__summary {
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(255, 235, 0, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 235, 0, 0.16) 0%, transparent 60%),
    #141414;
}

.quiz__summary-label {
  margin: 0 0 8px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.quiz__price {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--yellow);
  text-shadow: 0 0 32px rgba(255, 235, 0, 0.35);
  font-variant-numeric: tabular-nums;
}

.quiz__price-from {
  margin-right: 0.08em;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 0.38em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  vertical-align: 0.35em;
  text-shadow: none;
}

.quiz__summary-type {
  margin: 10px 0 18px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.quiz__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}

.quiz__perks li {
  position: relative;
  padding-left: 30px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.quiz__perks li::before {
  content: '✓';
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}

.quiz__summary-note {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.quiz__lead-form {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 22px;
  background: #fff;
  color: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quiz__form-title {
  margin: 0 0 14px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  color: #000;
}

.quiz__via {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.quiz__via-opt {
  flex: 1 1 0;
}

.quiz__via-opt span {
  display: flex;
  justify-content: center;
  padding: 11px 8px;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quiz__via-opt:hover span {
  border-color: #bdbdbd;
}

.quiz__via-opt input:checked + span {
  border-color: #000;
  background: #000;
  color: var(--yellow);
}

.quiz__lead-form .contact__field {
  margin-bottom: 14px;
}

.quiz__submit {
  margin-top: 0;
}

/* Конец квиза (29.10.2026): главное — Telegram с готовыми ответами, MAX вторым, телефон запасным путём */
.quiz__form-lead {
  margin: -4px 0 16px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #555;
}

.quiz__messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz__msg {
  gap: 10px;
  text-decoration: none;
  text-align: center;
}

a.quiz__msg--tg {
  margin-top: 0;
  color: #000;
}

.quiz__msg--tg svg {
  flex: 0 0 auto;
}

.quiz__msg span {
  white-space: nowrap;
}

@media (max-width: 380px) {
  a.quiz__msg--tg {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 14px;
  }
}

.quiz__msg--max {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  transition: border-color 0.2s ease;
}

.quiz__msg--max:hover {
  border-color: #111;
}

.quiz__msg--max img {
  border-radius: 6px;
}

.quiz__copied {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #2e7d32;
}

.quiz__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: #888;
}

.quiz__or::before,
.quiz__or::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  background: #e6e6e6;
}

.quiz__or span {
  flex: 0 1 auto;
  text-align: center;
}

.quiz__lead-form .quiz__submit {
  border-color: #111;
  background: #111;
  color: var(--yellow);
  box-shadow: none;
}

.quiz__lead-form .quiz__submit:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

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

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

@media (max-width: 600px) {
  .quiz {
    padding-left: 12px;
    padding-right: 12px;
  }

  .quiz__card {
    border-radius: 22px;
  }

  .quiz__options {
    gap: 10px;
  }

  .quiz__options--3:not(.quiz__options--compact) {
    grid-template-columns: 1fr;
  }

  .quiz__options--3:not(.quiz__options--compact) .quiz__option-body {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 44px 14px 14px;
  }

  .quiz__options--3:not(.quiz__options--compact) .quiz__option-body::after {
    top: 50%;
    transform: translateY(-50%);
  }

  .quiz__options--3:not(.quiz__options--compact) .quiz__option-title {
    padding-right: 0;
  }

  .quiz__options--3:not(.quiz__options--compact) .quiz__option-note {
    display: none;
  }

  .quiz__options--compact {
    grid-template-columns: 1fr 1fr;
  }

  .quiz__options--compact .quiz__option-body {
    padding: 12px 36px 12px 12px;
    gap: 10px;
  }

  .quiz__options--compact .quiz__option-icon {
    width: 34px;
    height: 34px;
  }

  .quiz__options--compact .quiz__option-body::after {
    right: 10px;
    width: 18px;
    height: 18px;
  }

  .quiz__options--compact .quiz__option-title {
    font-size: 13px;
  }

  .quiz__option-body {
    padding: 16px 14px 14px;
  }

  .quiz__option-title {
    font-size: 15px;
  }

  .quiz__chip span {
    padding: 11px 16px;
    font-size: 14px;
  }

  .quiz__gift {
    display: none;
  }

  .quiz__back,
  .quiz__next {
    padding: 13px 18px;
  }
}

/* ─── FAQ ─── */
.faq {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #000;
  padding: clamp(80px, 9vw, 120px) 24px clamp(88px, 10vw, 128px);
}

.faq__inner {
  max-width: 920px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.faq__title {
  margin: 18px 0 12px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.4px;
  color: #000;
}

.faq__accent {
  display: inline-block;
  padding: 0 12px 4px;
  border-radius: 12px;
  background: var(--yellow);
}

.faq__lead {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.faq__lead a,
.faq__a a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #f6f6f4;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq__item:hover {
  border-color: #dcdcdc;
}

.faq__item[open] {
  border-color: rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.07),
    inset 4px 0 0 var(--yellow);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 800;
  line-height: 1.35;
  color: #000;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::marker {
  content: '';
}

.faq__q:focus-visible {
  outline: 2px solid var(--yellow-deep);
  outline-offset: 2px;
  border-radius: 18px;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--yellow);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon {
  background: var(--yellow);
  transform: rotate(180deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: #000;
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__a {
  padding: 0 22px 22px;
}

.faq__item[open] .faq__a {
  animation: faq-open 0.35s ease both;
}

@keyframes faq-open {
  from { opacity: 0; transform: translate3d(0, -6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.faq__a p {
  margin: 0;
  max-width: 780px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 520px) {
  .faq {
    padding-left: 14px;
    padding-right: 14px;
  }

  .faq__q {
    padding: 16px 16px;
  }

  .faq__a {
    padding: 0 16px 18px;
  }

  .faq__a p {
    font-size: 15px;
  }
}

/* ─── Формы: согласие, ловушка для ботов, ошибки ─── */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 16px;
  cursor: pointer;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  text-align: left;
}

.consent input {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}

.consent__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.consent:hover .consent__box {
  border-color: #9a9a9a;
}

.consent input:checked + .consent__box {
  border-color: #000;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFEB00' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.consent input:focus-visible + .consent__box {
  outline: 2px solid var(--yellow-deep);
  outline-offset: 2px;
}

.consent.is-invalid .consent__box {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}

.consent.is-invalid {
  animation: consent-shake 0.35s ease;
}

@keyframes consent-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.consent__text a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(230, 216, 0, 0.95);
  text-underline-offset: 2px;
}

.contact__field input[aria-invalid='true'],
.contact__field--phone.is-invalid .contact__phone-wrap {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14) !important;
}

.form-error {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #ffd2d2;
  border-radius: 12px;
  background: #fff4f4;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #9b1c1c;
  text-align: left;
}

.form-error[hidden] {
  display: none;
}

.form-error__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.form-error__links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.form-error__links a:hover {
  background: #000;
  color: var(--yellow);
}

/* ─── CONTACT: MAX ─── */
.contact__max {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #6b4dff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact__max:hover {
  opacity: 0.85;
}

.contact__max-icon img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* ─── FOOTER: MAX, реквизиты ─── */
.footer__max-icon {
  overflow: hidden;
  background: transparent !important;
}

.footer__max-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.footer__legal-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__requisites {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── COOKIE ─── */
.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.nav-open .cookie-bar,
body.modal-open .cookie-bar {
  opacity: 0;
  pointer-events: none;
}

.cookie-bar__text {
  margin: 0;
}

.cookie-bar__text a {
  color: var(--yellow);
}

.cookie-bar__btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: #000;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-bar__btn:hover {
  filter: brightness(1.06);
}

@media (max-width: 960px) {
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }

  body.has-mobile-lead-bar .cookie-bar {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-bar {
    gap: 10px;
    padding: 10px 10px 10px 14px;
    font-size: 12px;
  }

  .cookie-bar__btn {
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* ─── Меньше движения ─── */
@media (prefers-reduced-motion: reduce) {
  .quiz__step.is-active,
  .faq__item[open] .faq__a {
    animation: none;
  }
}

/* ═══ Реклама и конверсия (ru4) ═══════════════════════════════════════════════ */

/* Быстрый режим (заход с рекламы или поиска): без прелоадера, короткое появление hero */
html.is-fast .preloader {
  display: none !important;
}

html.is-fast body.is-loading {
  overflow: auto;
}

html.is-fast .hero.hero--in .hero__title-line1,
html.is-fast .hero.hero--in .hero__highlight,
html.is-fast .hero.hero--in .hero__title-rest,
html.is-fast .hero.hero--in .hero__feature,
html.is-fast .hero.hero--in .hero__meta-item,
html.is-fast .hero.hero--in .hero__cta,
html.is-fast .hero.hero--in .money-emoji {
  animation-delay: 0s !important;
  animation-duration: 0.4s !important;
}

html.is-fast .hero.hero--in .hero__trophy {
  animation:
    hero-trophy-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s both,
    float-trophy 4s ease-in-out 0.5s infinite !important;
}

/* Вторая ссылка под главной кнопкой: подбор формата сайта (квиз) */
.hero__sub-cta {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 235, 0, 0.65);
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    opacity 0.5s ease 0.9s;
}

.hero__sub-cta:hover {
  color: var(--yellow);
}

.hero:not(.hero--in) .hero__sub-cta {
  opacity: 0;
}

html.is-fast .hero__sub-cta {
  transition:
    color 0.2s ease,
    opacity 0.4s ease 0.2s;
}

/* Полоса доверия под hero */
.proof {
  position: relative;
  z-index: 1;
  max-width: 1580px;
  margin: 0 auto;
  padding: 8px 64px 56px;
}

.proof__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-ios-md);
  background: rgba(255, 255, 255, 0.035);
}

.proof__num {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--yellow);
}

.proof__text {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 960px) {
  .proof {
    padding: 4px 16px 32px;
  }

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

  .proof__item:last-child {
    grid-column: 1 / -1;
  }

  .proof__item {
    padding: 14px;
    gap: 4px;
  }

  .proof__num {
    font-size: 22px;
  }

  .proof__text {
    font-size: 13px;
  }

  /* Телефон: кнопка заявки сразу под ценой и сроком, кубок ниже — кнопка выше сгиба */
  .hero {
    padding-bottom: 36px;
  }

  .hero__title {
    margin-bottom: 22px;
  }

  .hero__features {
    margin-bottom: 22px;
  }

  .hero__action {
    order: -1;
    margin-top: 0;
    flex-direction: column;
    align-items: center;
  }

  .hero__trophy {
    margin-top: 22px;
  }

  /* Купюра чуть меньше и выше: не закрывает текст кнопки */
  .money-emoji {
    top: -44px;
    right: 2px;
    width: 52px;
    height: 52px;
  }

  /* Пока открыта cookie-плашка — кнопку «наверх» прячем, иначе она налезает на «Понятно» */
  body:has(.cookie-bar.is-visible) .scroll-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ═══ Портфолио и «Как работаю» (ru5) ═════════════════════════════════════════ */

/* Заголовок квиза: плашка «за 1 минуту» не должна цепляться за выносные элементы букв первой строки */
.quiz__title-accent {
  margin-top: 0.1em;
}

/* ─── Портфолио: «Сайты, которые уже работают» (сразу под «Почему я») ─── */
.cases {
  position: relative;
  z-index: 2;
  background: #000;
  color: #fff;
  padding: clamp(72px, 8vw, 112px) 24px clamp(72px, 8vw, 104px);
  overflow: hidden;
}

.cases::before {
  content: '';
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(70vw, 920px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 235, 0, 0.12), transparent 72%);
  pointer-events: none;
}

.cases__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.cases__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: end;
  gap: 20px 56px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.cases__badge {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 16px;
  border: 1px solid rgba(255, 235, 0, 0.55);
  border-radius: 999px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.cases__title {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(34px, 4.8vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: #fff;
}

.cases__accent {
  display: inline-block;
  margin-top: 0.06em;
  padding: 0 0.16em 0.05em;
  background: var(--yellow);
  color: #000;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cases__lead {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.cases__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.cases__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cases__filter b {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  transition: background 0.2s ease, color 0.2s ease;
}

.cases__filter:hover {
  border-color: rgba(255, 235, 0, 0.75);
}

.cases__filter.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.cases__filter.is-active b {
  background: rgba(0, 0, 0, 0.12);
  color: #000;
}

.cases__filter:focus-visible,
.cases__more:focus-visible,
.cases__card:focus-visible,
.cases__cta-btn:focus-visible,
.cases__all:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.cases__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
}

.cases__item[hidden] {
  display: none;
}

@media (min-width: 721px) {
  .cases__item.is-extra {
    display: none;
  }
}

.cases__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease;
}

.cases__card:hover,
.cases__card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 235, 0, 0.55);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(255, 235, 0, 0.1);
}

.cases__shot {
  position: relative;
  display: block;
  aspect-ratio: 8 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

.cases__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cases__card:hover .cases__shot img,
.cases__card:focus-visible .cases__shot img {
  transform: scale(1.045);
}

.cases__kind {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.cases__result {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}

.cases__result svg {
  flex-shrink: 0;
}

.cases__result b {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cases__go {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  opacity: 0;
  transform: translate(-6px, 6px) scale(0.8);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cases__card:hover .cases__go,
.cases__card:focus-visible .cases__go {
  opacity: 1;
  transform: none;
}

.cases__name {
  overflow: hidden;
  margin: 16px 8px 4px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}

.cases__niche {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.9em;
  margin: 0 8px 14px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.cases__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 8px 0;
  padding: 0;
}

.cases__tags li {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.74);
}

/* появление карточек при смене фильтра и по кнопке «Показать ещё» */
@keyframes cases-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cases__grid.is-switching .cases__item,
.cases__item.is-new {
  animation: cases-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

.cases__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 3vw, 40px);
}

.cases__foot[hidden] {
  display: none;
}

.cases__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px 15px 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cases__more b {
  color: var(--yellow);
}

.cases__more:hover {
  border-color: var(--yellow);
  background: rgba(255, 235, 0, 0.08);
  transform: translateY(-2px);
}

/* Переход в полное портфолио: крупное «50+» и веер из работ, которых нет на главной (24.11.2026).
   В покое неподвижно; при наведении веер раскрывается шире. */
.cases__door {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 32px clamp(32px, 4vw, 72px);
  margin-top: clamp(44px, 5vw, 76px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.cases__door-text {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  min-width: 0;
}

.cases__door-num {
  flex: 0 0 auto;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(92px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--yellow);
}

.cases__door-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.cases__door-title {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.12;
  text-wrap: balance;
}

.cases__door-sub {
  max-width: 27em;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}

.cases__door-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 235, 0, 0.6);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.cases__door-link svg {
  transition: transform 0.25s ease;
}

.cases__door:hover .cases__door-link {
  color: var(--yellow);
}

.cases__door:hover .cases__door-link svg {
  transform: translateX(5px);
}

.cases__door:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 8px;
  border-radius: 6px;
}

/* веер: пять снимков внахлёст, центральный сверху */
.cases__door-fan {
  position: relative;
  display: block;
  height: clamp(220px, 18vw, 270px);
}

.cases__door-fan img {
  --d: calc(var(--k) - 2);
  --a: max(var(--d), calc(var(--d) * -1));
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 12px;
  background: #121214;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 50px rgba(0, 0, 0, 0.6);
  z-index: calc(5 - var(--a));
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 26%)) translateY(calc(var(--a) * 7%)) rotate(calc(var(--d) * 5deg));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cases__door:hover .cases__door-fan img {
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 33%)) translateY(calc(var(--a) * 9% - 3%)) rotate(calc(var(--d) * 7deg));
}

@media (prefers-reduced-motion: reduce) {
  .cases__door-fan img,
  .cases__door-link svg {
    transition: none;
  }
}

/* Узкий компьютер: веер плотнее, чтобы крайний снимок не уходил за край экрана */
@media (min-width: 1001px) and (max-width: 1400px) {
  .cases__door-fan img {
    width: 50%;
    transform: translate(-50%, -50%) translateX(calc(var(--d) * 22%)) translateY(calc(var(--a) * 7%)) rotate(calc(var(--d) * 5deg));
  }

  .cases__door:hover .cases__door-fan img {
    transform: translate(-50%, -50%) translateX(calc(var(--d) * 26%)) translateY(calc(var(--a) * 9% - 3%)) rotate(calc(var(--d) * 6deg));
  }
}

/* Планшет: веер над текстом */
@media (max-width: 1000px) {
  .cases__door {
    grid-template-columns: minmax(0, 1fr);
  }

  .cases__door-fan {
    order: -1;
    width: min(100%, 640px);
    margin: 0 auto;
    height: clamp(170px, 34vw, 270px);
  }
}

/* Телефон: поля как у шапки блока, число меньше */
@media (max-width: 720px) {
  .cases__door {
    margin: 30px 16px 0;
    padding-top: 26px;
    gap: 20px;
  }

  .cases__door-fan {
    height: clamp(150px, 44vw, 210px);
  }

  .cases__door-fan img {
    width: 52%;
    border-radius: 9px;
    transform: translate(-50%, -50%) translateX(calc(var(--d) * 21%)) translateY(calc(var(--a) * 6%)) rotate(calc(var(--d) * 4deg));
  }

  .cases__door:hover .cases__door-fan img {
    transform: translate(-50%, -50%) translateX(calc(var(--d) * 21%)) translateY(calc(var(--a) * 6%)) rotate(calc(var(--d) * 4deg));
  }

  .cases__door-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cases__door-num {
    font-size: 76px;
  }

  .cases__door-title {
    font-size: 22px;
  }

  .cases__door-sub {
    font-size: 15px;
  }
}

.cases__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(36px, 4.5vw, 60px);
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 235, 0, 0.14), rgba(255, 255, 255, 0.03) 58%);
}

.cases__cta-title {
  margin: 0 0 6px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.cases__cta-sub {
  max-width: 520px;
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.cases__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 24px;
}

.cases__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 30px;
  border: 2px solid rgba(255, 245, 120, 0.65);
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(255, 235, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cases__cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 0 46px rgba(255, 235, 0, 0.55);
}

.cases__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 235, 0, 0.6);
  color: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cases__all svg {
  transition: transform 0.2s ease;
}

.cases__all:hover {
  color: var(--yellow);
}

.cases__all:hover svg {
  transform: translateX(4px);
}

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

  .cases__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases__cta-actions {
    justify-content: flex-start;
  }
}

/* Телефон: лента карточек листается пальцем, видна кромка следующей карточки */
@media (max-width: 720px) {
  .cases {
    padding: 56px 0 56px;
  }

  .cases__header,
  .cases__cta {
    margin-left: 16px;
    margin-right: 16px;
  }

  .cases__header {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .cases__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cases__filters::-webkit-scrollbar,
  .cases__grid::-webkit-scrollbar {
    display: none;
  }

  .cases__filter {
    padding: 10px 14px 10px 16px;
  }

  .cases__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 16px 20px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .cases__item {
    flex: 0 0 82%;
    max-width: 380px;
    scroll-snap-align: start;
  }

  .cases__go {
    display: none;
  }

  .cases__name {
    font-size: 17px;
  }

  .cases__tags {
    gap: 5px;
  }

  .cases__tags li {
    padding: 4px 9px;
    font-size: 11.5px;
  }

  /* на узкой карточке остаётся не больше двух тегов: так все карточки ленты одной высоты без пустот */
  .cases__tags li:nth-child(n + 3) {
    display: none;
  }

  .cases__foot {
    display: none;
  }

  .cases__cta {
    margin-top: 12px;
    padding: 22px 18px;
  }

  .cases__cta-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

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

  .cases__all {
    align-self: center;
  }
}

/* ─── «Как работаю»: слева заголовок и счётчик, справа шаги, активный следует за прокруткой ─── */
.steps {
  position: relative;
  z-index: 2;
  background: #fff;
  color: #000;
  padding: clamp(80px, 9vw, 128px) 24px clamp(80px, 9vw, 128px);
}

.steps__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.steps__aside {
  align-self: stretch;
}

.steps__sticky {
  position: sticky;
  top: 112px;
}

.steps__title {
  margin: 22px 0 16px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: #000;
}

.steps__accent {
  padding: 0 6px;
  background: linear-gradient(180deg, transparent 58%, var(--yellow) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.steps__lead {
  max-width: 430px;
  margin: 0 0 clamp(26px, 3vw, 40px);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: #555;
}

.steps__meter {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.steps__meter-cur {
  display: inline-block;
  min-width: 1.15em;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(84px, 9vw, 128px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #000;
}

.steps__meter-cur.is-tick {
  animation: steps-tick 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes steps-tick {
  from {
    opacity: 0;
    transform: translateY(0.18em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.steps__meter-total {
  padding-bottom: 4px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #a0a0a0;
  white-space: nowrap;
}

.steps__meter-bar {
  flex: 1 1 auto;
  align-self: flex-end;
  min-width: 40px;
  height: 4px;
  margin: 0 0 9px 8px;
  border-radius: 4px;
  background: #ececec;
  overflow: hidden;
}

.steps__meter-bar i {
  display: block;
  width: var(--p, 16.67%);
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--yellow));
  box-shadow: 0 0 14px rgba(255, 235, 0, 0.8);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 34px;
  border: 2px solid rgba(255, 245, 120, 0.65);
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 0 28px rgba(255, 235, 0, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.steps__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 0 48px rgba(255, 235, 0, 0.6),
    0 14px 32px rgba(0, 0, 0, 0.14);
}

.steps__btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.steps__btn--end {
  display: none;
}

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

.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(78px, 8.4vw, 118px) minmax(0, 1fr) 54px;
  column-gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 42px) 0;
  border-top: 1px solid #e4e4e4;
  opacity: 0.4;
  transition: opacity 0.5s ease, background 0.5s ease;
}

.steps__item:last-child {
  border-bottom: 1px solid #e4e4e4;
}

.steps__item.is-done {
  opacity: 0.66;
}

.steps__item.is-active {
  opacity: 1;
}

/* жёлтая метка слева от активного шага — в промежутке между колонками */
.steps__item::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: calc(-1 * clamp(18px, 3vw, 48px));
  width: 4px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255, 235, 0, 0.7);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps__item.is-active::before {
  transform: scaleY(1);
}

.steps__num {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(50px, 6.2vw, 88px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.steps__item.is-active .steps__num {
  color: var(--yellow);
  transform: translateX(6px);
}

.steps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 4px 0 10px;
}

.steps__name {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 900;
  line-height: 1.15;
  color: #000;
}

.steps__time {
  padding: 7px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #444;
  white-space: nowrap;
}

.steps__time--free {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.steps__text {
  max-width: 540px;
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: #555;
}

.steps__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #000;
  color: var(--yellow);
  transition: background 0.4s ease, color 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.steps__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps__item.is-active .steps__icon {
  background: var(--yellow);
  color: #000;
  transform: rotate(-6deg) scale(1.06);
}

.steps__icon--direct {
  border: 1px solid #e4e4e4;
  background: #fff;
}

.steps__item.is-active .steps__icon--direct {
  background: #fff;
}

.steps__icon--direct img {
  display: block;
  width: 30px;
  height: 30px;
}

/* подарочный шаг («первый экран бесплатно») подсвечиваем жёлтым, когда он активен */
.steps__item--gift.is-active {
  background: linear-gradient(90deg, rgba(255, 235, 0, 0.2), rgba(255, 235, 0, 0) 74%);
}

@media (max-width: 960px) {
  .steps {
    padding: 64px 16px 64px;
  }

  .steps__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .steps__sticky {
    position: static;
  }

  .steps__lead {
    margin-bottom: 0;
  }

  .steps__meter,
  .steps__btn--aside {
    display: none;
  }

  /* На телефоне все шаги читаются сразу, активный только красит цифру */
  .steps__item,
  .steps__item.is-done {
    opacity: 1;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px 0;
  }

  .steps__item::before,
  .steps__icon {
    display: none;
  }

  .steps__item--gift.is-active {
    background: none;
  }

  .steps__num {
    font-size: 42px;
  }

  .steps__item.is-active .steps__num {
    transform: none;
  }

  .steps__head {
    margin-top: 2px;
  }

  .steps__btn--end {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 18px 20px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps__item,
  .steps__item::before,
  .steps__num,
  .steps__icon,
  .steps__meter-bar i,
  .cases__card,
  .cases__shot img,
  .cases__go {
    transition: none;
  }

  .steps__meter-cur.is-tick,
  .cases__grid.is-switching .cases__item,
  .cases__item.is-new {
    animation: none;
  }
}

/* Переносы: строки примерно равной длины, без одинокого слова на последней строке */
.steps__btn > span,
.cases__cta-btn,
.cases__cta-title,
.cases__title,
.steps__title {
  text-wrap: balance;
}

.steps__btn--end > span {
  text-align: center;
}


/* ─── NAV: индикатор «Онлайн» (перенесён со страницы портфолио) ───
   От 1366 px: у кнопок связи «Онлайн» и под ним «отвечу в течение часа» (.nav__on2; 22.11.2026, выбор Дмитрия:
   «Онлайн вариант Б», раньше подпись стояла сразу за слоганом). Уже: только точка на значке G
   (подпись остаётся для скринридеров), иначе она налезает на меню. */
.nav__logo {
  position: relative;
}

.nav__online {
  position: absolute;
  top: 1px;
  left: 34px;
  display: inline-flex;
  align-items: center;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.nav__online-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav__online-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--dark), 0 0 8px #22c55e;
  animation: nav-online-pulse 2s ease-in-out infinite;
}

@keyframes nav-online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

@media (max-width: 960px) {
  .nav__online {
    top: -1px;
    left: 27px;
  }
}

.nav__on2 {
  display: none;
}

@media (min-width: 1366px) {
  .nav__online {
    display: none;
  }

  .nav__on2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-right: 6px;
    font-family: Arial, 'Helvetica Neue', sans-serif;
    line-height: 1.15;
    white-space: nowrap;
  }

  .nav__on2 i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: nav-online-pulse 2s ease-in-out infinite;
  }

  .nav__on2 b {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
  }

  .nav__on2 small {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
  }
}

/* На главной справа ещё переключатель RU/EN: до 1420 px «Онлайн» встаёт вплотную к меню (17 px при 1366)
   и читается как пункт меню — там остаётся точка на знаке G. */
@media (min-width: 1366px) and (max-width: 1419px) {
  .nav--main .nav__online {
    display: inline-flex;
  }

  .nav--main .nav__on2 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__online-dot,
  .nav__on2 i {
    animation: none;
  }
}

/* ─── ABOUT: обо мне и подходе (с портфолио, адаптировано под лендинг) ─── */
.about {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: clamp(72px, 8vw, 112px) 24px clamp(40px, 4.5vw, 64px);
}

.about::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -14%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 235, 0, 0.1), transparent 72%);
  pointer-events: none;
}

.about__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.about__badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 235, 0, 0.55);
  border-radius: 999px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.about__title {
  margin: 20px 0 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #fff;
}

.about__title-line {
  display: block;
}

.about__title-line:first-child {
  margin-bottom: 0.14em;
}

.about__title-line--accent {
  display: inline;
  padding: 0 0.16em 0.06em;
  background: var(--yellow);
  color: #000;
  line-height: 1.3;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about__text {
  margin-top: clamp(24px, 3vw, 36px);
}

.about__lead {
  max-width: 660px;
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  text-wrap: pretty;
}

.about__lead + .about__lead {
  margin-top: 14px;
}

.about__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

.about__photo {
  display: block;
  width: clamp(200px, 19vw, 260px);
  height: clamp(200px, 19vw, 260px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 4px solid #fff;
  background: #d8d8d8;
  box-shadow:
    0 0 0 1px rgba(255, 235, 0, 0.35),
    0 0 64px rgba(255, 235, 0, 0.16),
    0 24px 56px rgba(0, 0, 0, 0.55);
}

.about__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.about__name {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.about__role {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.about__tags li {
  padding: 7px 13px;
  border: 1px solid rgba(255, 235, 0, 0.4);
  border-radius: 999px;
  background: rgba(255, 235, 0, 0.08);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(44px, 5.5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.about__card {
  padding: 24px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease;
}

.about__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 235, 0, 0.55);
  background: linear-gradient(180deg, rgba(255, 235, 0, 0.09), rgba(255, 255, 255, 0.02));
}

.about__card-index {
  display: block;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--yellow);
}

.about__card-title {
  margin: 16px 0 10px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

.about__card-text {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: pretty;
}

/* ─── QUOTE: ключевая мысль ─── */
.quote {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--dark);
  padding: clamp(40px, 5vw, 72px) 24px clamp(64px, 8vw, 112px);
  text-align: center;
}

.quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 235, 0, 0.07), transparent 72%);
  pointer-events: none;
}

.quote__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.quote__mark {
  display: block;
  margin-bottom: 22px;
  font-size: 26px;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.85;
}

.quote__text {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(24px, 3.7vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: #fff;
  text-wrap: balance;
}

.quote__accent {
  color: var(--yellow);
}

.quote__rule {
  display: block;
  width: 100px;
  height: 2px;
  margin: clamp(22px, 3vw, 34px) auto 0;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

/* ─── CONTACT: плашка «Контакт» и текст «что написать» (из контакта портфолио) ─── */
.contact__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #000;
  color: var(--yellow);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__lead .contact__title {
  margin-bottom: clamp(16px, 2vw, 22px);
}

.contact__text {
  max-width: 420px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.65;
  color: #3a3a3a;
  text-wrap: pretty;
}

@media (min-width: 1101px) {
  .about__card-title {
    min-height: 2.4em;
  }
}

/* ─── ≤1100px: карточки «Обо мне» 2×2 ─── */
@media (max-width: 1100px) {
  .about__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .about {
    padding: 60px 16px 36px;
  }

  .about__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .about__person {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  .about__photo {
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    border-width: 3px;
  }

  .about__caption {
    align-items: flex-start;
    margin-top: 0;
  }

  .about__tags {
    justify-content: flex-start;
  }

  .quote {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 600px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .about__card {
    padding: 20px 18px 22px;
  }
}


/* ═══ МОБИЛЬНАЯ ВЕРСИЯ v2 (8 октября 2026): полоса доверия, портфолио, «Делаю больше», тарифы ═══
   Правила стоят в самом конце файла и перекрывают прежние компактные правила для телефона. ПК не меняется. */

/* ── Полоса доверия под первым экраном ── */
@media (min-width: 641px) and (max-width: 960px) {
  .proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof__item:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  /* три факта — одна карточка со строками: слева крупное число, справа пояснение, ровные линии между строками */
  .proof {
    padding: 14px 16px 52px;
  }

  .proof__list {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0;
    padding: 2px 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    background: rgba(14, 14, 14, 0.86);
  }

  .proof__item {
    display: contents;
  }

  .proof__item:last-child {
    grid-column: auto;
  }

  .proof__num,
  .proof__text {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .proof__num {
    padding-right: 22px;
    font-size: 26px;
    white-space: nowrap;
  }

  .proof__text {
    font-size: 15px;
    line-height: 1.35;
    text-wrap: balance;
  }

  .proof__item:not(:first-child) > * {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 380px) {
  .proof__list {
    padding: 0 16px;
  }

  .proof__num {
    padding-right: 14px;
    font-size: 22px;
  }

  .proof__text {
    font-size: 14px;
  }
}

/* ── Портфолио: счётчик ленты (только телефон) ── */
.cases__progress {
  display: none;
}

@media (max-width: 720px) {
  .cases {
    padding: 76px 0 68px;
  }

  .cases__header {
    gap: 16px;
    margin-bottom: 30px;
  }

  .cases__lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .cases__filters {
    margin-bottom: 24px;
    gap: 10px;
  }

  .cases__grid {
    gap: 14px;
    padding: 4px 16px 6px;
    scroll-padding-left: 16px;
  }

  .cases__item {
    flex: 0 0 84%;
    max-width: 360px;
  }

  .cases__card {
    padding: 12px 12px 22px;
    border-radius: 24px;
  }

  /* картинка целиком, подпись типа сайта под ней; жёлтая плашка результата остаётся на картинке */
  .cases__shot {
    display: grid;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    background: none;
  }

  .cases__shot img {
    grid-area: 1 / 1;
    height: auto;
    aspect-ratio: 8 / 5;
    border-radius: 14px;
    background: #111;
  }

  .cases__result {
    grid-area: 1 / 1;
    position: static;
    align-self: end;
    justify-self: start;
    gap: 6px;
    margin: 0 0 10px 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .cases__kind {
    grid-area: 2 / 1;
    position: static;
    margin: 16px 6px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--yellow);
  }

  .cases__name {
    margin: 8px 6px 4px;
    font-size: 19px;
  }

  .cases__niche {
    margin: 0 6px 16px;
    font-size: 14.5px;
  }

  /* теги в один ряд: что не влезло, скрыто, поэтому все карточки ленты одной высоты */
  .cases__tags {
    max-height: 28px;
    margin: auto 6px 0;
    overflow: hidden;
  }

  .cases__tags li {
    padding: 5px 11px;
    font-size: 12px;
  }

  .cases__progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 16px 0;
  }

  .cases__progress-count {
    flex: 0 0 auto;
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
  }

  .cases__progress-count b {
    color: var(--yellow);
  }

  .cases__progress-track {
    position: relative;
    flex: 1 1 auto;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
  }

  .cases__progress-track i {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--yellow);
    transform: scaleX(0.1);
    transform-origin: left center;
    transition: transform 0.2s ease-out;
  }

  .cases__cta {
    margin-top: 32px;
    padding: 28px 20px;
  }

  .cases__cta-title {
    font-size: 24px;
  }

  .cases__cta-sub {
    font-size: 15px;
  }
}

/* ── «Делаю больше, чем конкуренты» ── */
@media (max-width: 720px) {
  .more {
    --more-pad-y: 76px;
  }

  .more__title {
    margin-bottom: 32px;
    font-size: clamp(26px, 7.6vw, 32px);
    line-height: 1.14;
  }

  .more__highlight {
    display: block;
    width: fit-content;
    margin: 0 auto 4px;
    padding: 2px 12px 5px;
  }

  .more__grid {
    gap: 14px;
  }

  .more__card {
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    border-radius: 22px;
    background: #f4f4f4;
  }

  .more__icon {
    flex: 0 0 76px;
    width: 76px;
    max-width: 76px;
  }

  .more__icon-img {
    max-height: 76px;
  }

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

}

/* ── Тарифы ── */
/* переключатель тарифов виден только на телефоне и только когда скрипт включил ленту (.is-pager) */
.pricing__tabs {
  display: none;
}

@media (max-width: 720px) {
  .pricing {
    padding: 68px 16px 80px;
  }

  .pricing__header {
    margin-bottom: 40px;
  }

  .pricing__grid {
    gap: 18px;
  }

  .pricing__card {
    --pricing-pad-x: 20px;
    --pricing-pad-y: 24px;
  }

  .pricing__card-surface {
    padding-bottom: 20px;
  }

  .pricing__card-head {
    padding-bottom: 8px;
    margin-bottom: 14px;
  }

  .pricing__card-title {
    margin-bottom: 8px;
    font-size: 19px;
  }

  .pricing__card-icon svg {
    width: 24px;
    height: 24px;
  }

  .pricing__card-sub {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
  }

  .pricing__price {
    font-size: 34px;
  }

  /* список возможностей: обычный чек-лист, а не стопка рамок */
  .pricing__features {
    gap: 0;
    margin-bottom: 20px;
  }

  .pricing__features li {
    padding: 12px 0 12px 34px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: none;
    font-size: 14.5px;
    line-height: 1.4;
    text-wrap: pretty;
  }

  .pricing__features li:last-child {
    border-bottom: 0;
  }

  .pricing__features li::before {
    left: 0;
    top: 13px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 17px;
  }

  .pricing__cta {
    padding: 16px 18px;
    font-size: 16px;
  }

  /* переключатель: три тарифа с ценами, ползунок едет вслед за пальцем */
  .pricing.is-pager .pricing__tabs {
    --i: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 20px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
  }

  .pricing__tabs-thumb {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 55%, var(--yellow-deep) 100%);
    box-shadow: 0 0 24px rgba(255, 235, 0, 0.35);
    transform: translateX(calc(var(--i, 0) * 100%));
    will-change: transform;
    pointer-events: none;
  }

  .pricing__tab {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 11px 2px 12px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-family: Arial, 'Helvetica Neue', sans-serif;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
  }

  .pricing__tab.is-active {
    color: #000;
  }

  .pricing__tab:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
  }

  .pricing__tab-name {
    max-width: 100%;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .pricing__tab-price {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .pricing__tab-from {
    margin-right: 2px;
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    opacity: 0.8;
  }

  /* лента карточек: все три рядом, свайп, видно край следующей; состав виден целиком, ничего не прячется */
  .pricing.is-pager .pricing__grid {
    position: relative;
    display: flex;
    gap: 14px;
    max-width: none;
    margin: 0 calc(var(--m-gutter, 16px) * -1);
    padding: 14px var(--m-gutter, 16px) 28px;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: flex-start;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--m-gutter, 16px);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* соседняя карточка, обрезанная по высоте ленты, плавно уходит в фон, а не режется ровной линией */
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent 100%);
  }

  .pricing.is-pager .pricing__grid::-webkit-scrollbar {
    display: none;
  }

  .pricing.is-pager .pricing__item {
    display: flex;
    flex: 0 0 min(86%, 380px);
    align-self: flex-start;
    scroll-snap-align: start;
  }

  .pricing.is-pager .pricing__card {
    flex: 1 1 auto;
    height: auto;
    transform: none;
    transform-style: flat;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, box-shadow 0.35s ease;
  }

  /* соседние карточки чуть меньше и тусклее, текущая в полную силу */
  .pricing.is-pager .pricing__item:not(.is-current) .pricing__card {
    opacity: 0.72;
    transform: scale(0.965);
  }

  .pricing.is-pager .pricing__card:hover {
    --pricing-lift: 0px;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .pricing.is-pager .pricing__card,
  .pricing__tab,
  .cases__progress-track i {
    transition: none;
  }
}


/* ═══ ВОЗДУХ НА ТЕЛЕФОНЕ (8 октября 2026, вечер): единые боковые поля и ровный вертикальный ритм ═══
   Поля 20 px (на узких экранах до 380 px — 16 px), разделы дышат одинаково, текст не рвётся «сиротами». */
:root {
  --m-gutter: 20px;
}

@media (max-width: 380px) {
  :root {
    --m-gutter: 16px;
  }
}

/* первый экран на узких телефонах: заголовок масштабируется, жёлтая плашка «ПРОДАЮЩИЙ» не упирается в край экрана,
   слоган в шапке помещается рядом с кнопками */
@media (max-width: 420px) {
  html[lang] .hero__title {
    font-size: clamp(28px, 10.4vw, 42px);
  }
}

@media (max-width: 380px) {
  .nav__logo-neon__line {
    font-size: 9px;
    letter-spacing: 0.1px;
  }
}

@media (max-width: 720px) {
  /* полоса доверия выровнена по первому экрану (его поля 16 px не трогаем: жёлтая плашка заголовка занимает почти всю ширину) */
  .proof {
    padding: 16px 16px 56px;
  }

  /* «Почему стоит заказать сайт именно у меня»: крупнее и просторнее, авокадо стоит справа от заголовка */
  .why {
    --why-pad-x: var(--m-gutter);
    --why-pad-y: 52px;
  }

  .why__panel--right {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .why__title {
    font-size: clamp(22px, 7.2vw, 30px);
    line-height: 1.16;
  }

  .why__title-line {
    max-width: 10.5em;
    text-wrap: balance;
  }

  .why__list {
    gap: 52px;
  }

  .why__item-title {
    font-size: clamp(19px, 6.1vw, 24px);
    line-height: 1.2;
  }

  .why__item--code .why__item-title--code {
    font-size: clamp(19px, 6.1vw, 24px);
    line-height: 1.2;
  }

  /* строка «< Website in custom code >» не переносится, а английский текст длиннее русского: размер ограничен шириной экрана */
  html[lang="en"] .why__item--code .why__item-title--code {
    font-size: min(clamp(19px, 6.1vw, 24px), calc((100vw - 2 * var(--m-gutter)) / 17));
  }

  .why__item-title {
    margin-bottom: 14px;
  }

  .why__code-head {
    margin-bottom: 14px;
  }

  .why__item-text {
    font-size: 17px;
    line-height: 1.6;
  }

  /* авокадо привязан к самому блоку, а не к строке про чистый код: стоит параллельно заголовку, справа от него.
     Для этого у пунктов нет сдвига при появлении (transform делает пункт «точкой отсчёта» для вложенных элементов), остаётся плавное проявление */
  .why__panel--right,
  .why__panel--right .why__content,
  .why__item--code,
  .why__code-head {
    position: static;
  }

  .why__item,
  .why.is-visible .why__item {
    transform: none;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .why__item--code .why__hand {
    top: 22px;
    right: 6px;
    width: clamp(96px, 30vw, 118px);
    height: clamp(128px, 40vw, 158px);
    transform: none;
  }

  /* портфолио */
  .cases {
    padding: 64px 0 72px;
  }

  .cases__header,
  .cases__cta {
    margin-left: var(--m-gutter);
    margin-right: var(--m-gutter);
  }

  .cases__filters {
    padding: 0 var(--m-gutter) 4px;
  }

  .cases__grid {
    padding: 4px var(--m-gutter) 6px;
    scroll-padding-left: var(--m-gutter);
  }

  .cases__progress {
    margin: 16px var(--m-gutter) 0;
  }

  /* «Делаю больше»: плашка про рекламу не наезжает на волну внизу блока */
  .more {
    --more-pad-x: var(--m-gutter);
    padding-bottom: calc(var(--more-wave-h) + 26px);
  }

  .more__grid {
    gap: 16px;
  }

  /* тарифы */
  .pricing {
    padding: 68px var(--m-gutter) 88px;
  }

  /* «Как работаю» */
  .steps {
    padding: 72px var(--m-gutter) 72px;
  }

  /* FAQ */
  .faq {
    padding-left: var(--m-gutter);
    padding-right: var(--m-gutter);
  }

  /* «Обо мне и подходе» и цитата */
  .about {
    padding: 72px var(--m-gutter) 44px;
  }

  .about__lead {
    text-wrap: pretty;
  }

  .quote {
    padding: 48px var(--m-gutter) 72px;
  }

  /* контакт: поля формы остаются широкими, воздух идёт внутри панели и снизу */
  .contact {
    padding: 0 16px 40px;
  }

  .contact__panel {
    padding: 24px 18px 26px;
  }

  .contact__form {
    padding: 20px 16px;
  }
}


/* ═══ ЛЕНТА ШАГОВ «КАК РАБОТАЮ» (8 октября 2026): на телефоне и планшете шаги идут вертикальной лентой ═══
   Кружок с номером на линии: пройденные шаги чёрные, текущий жёлтый с ободком, линия закрашивается вслед за прокруткой
   (переменная --seg у каждого шага ставится скриптом). На компьютере правила не действуют. */
@media (max-width: 960px) {
  .steps__inner {
    gap: 40px;
  }

  .steps__item,
  .steps__item.is-done {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 18px;
    padding: 0 0 40px;
    border: 0;
  }

  .steps__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  /* отрезок линии от кружка этого шага до кружка следующего */
  .steps__item::before {
    display: block;
    top: 56px;
    bottom: 4px;
    left: 25px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, #000 0, #000 calc(var(--seg, 0) * 100%), #dedede calc(var(--seg, 0) * 100%));
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .steps__item:last-child::before {
    display: none;
  }

  .steps__num,
  .steps__item.is-active .steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
    color: #000;
    -webkit-text-stroke: 0;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  }

  .steps__item.is-done .steps__num {
    background: #000;
    color: var(--yellow);
  }

  .steps__item.is-active .steps__num {
    background: var(--yellow);
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(255, 235, 0, 0.38);
  }

  .steps__body {
    padding-top: 12px;
  }

  .steps__head {
    margin: 0 0 12px;
  }

  .steps__name {
    font-size: 21px;
  }

  .steps__text {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .steps__num,
  .steps__item.is-active .steps__num {
    transition: none;
  }
}

/* планшет (721–960 px): заголовок портфолио во всю ширину, авокадо рядом с заголовком «Почему…», а не поверх текста */
@media (min-width: 721px) and (max-width: 960px) {
  .cases__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .cases__lead {
    max-width: 560px;
  }

  .why__panel--right,
  .why__panel--right .why__content,
  .why__item--code,
  .why__code-head {
    position: static;
  }

  .why__item,
  .why.is-visible .why__item {
    transform: none;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .why__item--code .why__hand {
    top: 24px;
    right: 28px;
    width: 112px;
    height: 150px;
    transform: none;
  }
}

/* самые узкие телефоны (320 px): стоят в конце файла, чтобы перекрыть правила выше */
@media (max-width: 340px) {
  .why__item--code .why__hand {
    top: 26px;
    width: 84px;
    height: 112px;
  }

  .pricing__tab-name {
    font-size: 10px;
    letter-spacing: -0.02em;
  }
}

/* ═══ УТП: правки без ограничений и анализ рынка (8 октября) ═══════════════════ */

/* «Делаю больше»: четыре карточки. От 1280 px в один ряд, 961–1279 два на два, ниже прежняя лента строк.
   Правила стоят в своих диапазонах, чтобы не перекрыть адаптацию для планшета и телефона выше по файлу */
@media (min-width: 1280px) {
  .more__grid {
    max-width: 1360px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(20px, 2.2vw, 36px);
  }

  .more__card {
    padding: clamp(16px, 2vw, 28px) clamp(6px, 0.8vw, 14px);
  }

  .more__text {
    max-width: 300px;
  }
}

@media (min-width: 961px) and (max-width: 1279px) {
  .more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    gap: 36px 40px;
    padding-top: clamp(8px, 1vw, 16px);
  }

  .more__card {
    padding: 12px 16px;
  }

  .more__text {
    max-width: 380px;
  }
}

.more.is-visible .more__card:nth-child(3) { animation-delay: 0.82s; }
.more.is-visible .more__card:nth-child(4) { animation-delay: 1.02s; }

.more.is-visible .more__card:nth-child(3) .more__icon-img {
  animation: more-icon-pop 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 0.95s both;
}

.more.is-visible .more__card:nth-child(4) .more__icon-img {
  animation: more-icon-pop 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 1.15s both;
}

/* строки про анализ и правки в тарифах: чуть ярче остальных, чтобы читались при беглом взгляде */
.pricing__features li.pricing__feature--usp {
  color: #fff;
  font-weight: 700;
}

/* подписи в карточках «Делаю больше»: без висящего слова на последней строке */
@media (min-width: 961px) {
  .more__text {
    text-wrap: balance;
  }
}

@media (max-width: 960px) {
  .more__text {
    text-wrap: pretty;
  }
}

/* ═══ «Делаю больше» без плашки про рекламу, заголовки (8 октября, вечер) ═══ */

/* четвёртая карточка: плоский знак Яндекс Директа мельче объёмных иконок, чтобы не казался тяжелее их */
.more__icon-img--direct {
  width: 56%;
  max-height: none;
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.18));
}

/* в строке (планшет, телефон) коробка под знак такая же, как у остальных иконок, сам знак мельче внутри неё;
   тень небольшая: край карточки (overflow: hidden) резал бы большую */
@media (max-width: 960px) {
  .more__icon-img--direct {
    box-sizing: border-box;
    width: 100%;
    padding: 14%;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
  }
}

/* заголовок «Делаю больше, чем конкуренты» на компьютере в одну строку, без висячего «конкуренты» */
@media (min-width: 961px) {
  .more__title {
    max-width: none;
    white-space: nowrap;
  }
}

/* плашки про рекламу под карточками больше нет: нужен запас до жёлтой волны внизу блока (на телефоне свой запас выше) */
@media (min-width: 721px) {
  .more {
    padding-bottom: calc(var(--more-wave-h) * 0.6 + 12px);
  }
}

/* «Почему я» на компьютере (от 1101 px панели стоят рядом): заголовок в две строки, «Почему стоит заказать сайт / именно у меня?».
   Раньше кегль был 44 px при любой ширине, и первая строка не помещалась в белую панель: слово «сайт» упиралось в край или уходило под чёрную.
   Теперь кегль идёт от ширины экрана (3.2vw − 12px): первая строка заканчивается у правой границы содержимого панели, то есть до края остаётся внутренний
   отступ панели (около 56 px), потолок прежний, 44 px (с ~1760 px) */
@media (min-width: 1101px) {
  .why__title {
    font-size: clamp(24px, calc(3.2vw - 12px), 44px);
  }
}

/* «Делаю больше» на компьютере: коробка под иконку одной высоты у всех карточек.
   Раньше у карточки с мелким знаком Директа она была ниже (держалась на min-height), и подпись стояла на 40 px выше остальных;
   у карточки с «Метрикой» из-за другой пропорции картинки подпись тоже выше на несколько пикселей */
@media (min-width: 961px) {
  .more__icon {
    height: clamp(200px, 20vw, 260px);
    min-height: 0;
  }
}

/* ═══ Кнопки не лежат на нижней строке подвала (23.10.2026, пункты 2.4, 3.6, 9.6 «Сайт под ключ») ═══
   Когда страница докручена до конца, жёлтая панель «Получить первый экран бесплатно» закрывала на телефоне и планшете
   «Политику», «Согласие» и «Оферту», а на компьютере стрелка «наверх» лежала на «Публичной оферте».
   На страницах документов (body.page-legal) панели и стрелки нет, поэтому там ничего не меняется */
@media (max-width: 960px) {
  /* панель 52 px у нижнего края экрана: подвал заканчивается над ней */
  body:not(.page-legal) .footer {
    padding-bottom: calc(32px + 52px + env(safe-area-inset-bottom, 0px));
  }
  /* стрелка «наверх» стоит над панелью справа (right 16px, 46 px): последняя строка ссылок не заходит под неё */
  body:not(.page-legal) .footer__legal {
    padding-right: 56px;
  }
}
@media (min-width: 1101px) {
  /* компьютер: стрелка справа внизу (right 28px, 52 px), ссылки нижней строки кончаются левее неё */
  body:not(.page-legal) .footer__bottom {
    padding-right: 36px;
  }
}

/* ═══ ОТЗЫВЫ С АВИТО (v2, 25.10.2026, слова Дмитрия: «нужны не все отзывы, а только несколько», «менее колхозно, более круто») ═══
   Пять отзывов дословно из профиля на Авито (разметку собирает tools/avito-reviews/build.py): главный — крупной типографикой
   с жёлтой кавычкой и выделенной фразой, четыре — карточками одной высоты, сеткой 2 × 2. Рейтинг профиля — одна сдержанная
   строка под заголовком, логотип Авито один раз. Звёзд в карточках нет, подпись над отзывом — тема (сайт или реклама).
   Телефон до 640 px: четыре карточки лентой со свайпом, счётчик и полоса над лентой, ничего не спрятано.
   В покое ничего не движется: подсветка рамки и блик только под курсором. */
.rv-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rv-hl {
  display: inline-block;
  padding: 0 12px 4px;
  border-radius: 12px;
  background: var(--yellow);
  color: #000;
}

/* «на Авито» не разрывается: иначе слово в плашке уходит на строку одно */
.rv-nw {
  white-space: nowrap;
}

@media (min-width: 961px) {
  .reviews__header {
    max-width: 1000px;
  }
}

/* строка рейтинга под заголовком: логотип, 5,0 и звёзды, число оценок, ссылка на профиль */
.rv-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 8px;
  margin: 28px 0 0;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-ios-pill);
  background: rgba(255, 255, 255, 0.03);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.62);
}

.rv-rating > * {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
}

.rv-rating > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.rv-rating__score {
  gap: 9px;
}

.rv-rating__logo {
  flex: none;
  width: 18px;
  height: 18px;
}

.rv-rating__num {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.rv-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--yellow);
}

.rv-star {
  display: block;
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.rv-rating__link {
  gap: 7px;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.rv-rating__link svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.rv-rating__link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (hover: hover) {
  .rv-rating__link:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.rv {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

/* карточка отзыва */
.rv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 32px 34px 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #141414 0%, #0b0b0b 100%);
  transition: border-color 0.25s ease, opacity 0.3s ease;
}

@media (hover: hover) {
  .rv-card:hover {
    border-color: rgba(255, 235, 0, 0.3);
  }
}

.rv-card__kicker {
  display: block;
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.rv-card__text {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.rv-card__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rv-card__name {
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.rv-card__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}

.rv-card__dot {
  opacity: 0.6;
}

/* главный отзыв: слева кавычка и автор, справа текст крупно, фраза из отзыва выделена жёлтым */
.rv-card--feature {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'mark text'
    'who text';
  column-gap: 56px;
  row-gap: 24px;
  margin: 0 0 20px;
  padding: 56px 64px 56px 56px;
  border-radius: 28px;
  border-color: rgba(255, 235, 0, 0.2);
  background:
    radial-gradient(70% 95% at 0% 0%, rgba(255, 235, 0, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #151515 0%, #0a0a0a 100%);
}

.rv-card__mark {
  grid-area: mark;
  display: block;
  width: 84px;
  height: 63px;
  fill: var(--yellow);
}

.rv-card--feature .rv-card__text {
  grid-area: text;
  align-self: center;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.55;
  color: #fff;
}

.rv-card--feature .rv-card__who {
  grid-area: who;
  align-self: end;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rv-card--feature .rv-card__kicker {
  margin-bottom: 6px;
}

.rv-card--feature .rv-card__name {
  font-size: 20px;
}

/* в узкой левой колонке «Авито» и дата друг под другом, без точки: иначе дата отрывается на строку с висящей точкой */
@media (min-width: 961px) {
  .rv-card--feature .rv-card__meta {
    flex-direction: column;
    gap: 3px;
  }

  .rv-card--feature .rv-card__dot {
    display: none;
  }
}

.rv-mark {
  padding: 0 6px 1px;
  border-radius: 6px;
  background: var(--yellow);
  color: #000;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* четыре отзыва: сетка 2 × 2, все карточки одной высоты */
.rv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.rv-lane-head {
  display: none;
}

@media (min-width: 961px) and (max-width: 1180px) {
  .reviews {
    padding-left: 40px;
    padding-right: 40px;
  }

  .rv-card--feature {
    grid-template-columns: 150px minmax(0, 1fr);
    column-gap: 40px;
    padding: 46px 48px 46px 44px;
  }

  .rv-card {
    padding: 28px 28px 24px;
  }

  .rv-card__text {
    font-size: 15px;
  }
}

/* планшет и телефон: главный отзыв столбиком (кавычка, текст, автор) */
@media (max-width: 960px) {
  .reviews {
    padding: 64px var(--m-gutter, 16px) 56px;
  }

  .reviews__header {
    margin-bottom: 28px;
  }

  .reviews__badge {
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .reviews__title {
    margin-bottom: 10px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .reviews__subtitle {
    font-size: 14.5px;
    line-height: 1.45;
  }

  .rv-hl {
    padding: 0 9px 3px;
    border-radius: 9px;
  }

  .rv-rating {
    margin-top: 18px;
  }

  .rv-card--feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      'mark'
      'text'
      'who';
    row-gap: 18px;
    margin-bottom: 14px;
    padding: 30px 26px 24px;
    border-radius: 22px;
  }

  .rv-card__mark {
    width: 48px;
    height: 36px;
  }

  .rv-card--feature .rv-card__text {
    font-size: 18px;
  }

  .rv-card--feature .rv-card__who {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rv-card--feature .rv-card__kicker {
    width: 100%;
    margin-bottom: 2px;
  }

  .rv-card--feature .rv-card__name {
    font-size: 16px;
  }

  .rv-grid {
    gap: 14px;
  }

  .rv-card {
    gap: 14px;
    padding: 24px 22px 20px;
    border-radius: 20px;
  }

  .rv-card__text {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* телефон: четыре отзыва лентой со свайпом, над лентой счётчик и полоса */
@media (max-width: 640px) {
  .rv-rating {
    display: flex;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 6px;
    border-radius: 18px;
    font-size: 13.5px;
  }

  .rv-rating__link {
    flex-basis: 100%;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .rv-rating > .rv-rating__link {
    border-left: 0;
  }

  .rv-card--feature .rv-card__text {
    font-size: 17px;
  }

  .rv-lane-head:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0 12px;
  }

  .rv-lane-head__title {
    margin: 0;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
  }

  .rv-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 170px;
  }

  .rv-progress__count {
    flex: 0 0 auto;
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
  }

  .rv-progress__count b {
    color: var(--yellow);
  }

  .rv-progress__track {
    position: relative;
    flex: 1 1 auto;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
  }

  .rv-progress__track i {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--yellow);
    transform: scaleX(0.25);
    transform-origin: left center;
    transition: transform 0.2s ease-out;
  }

  /* лента: карточки целиком и одной высоты, видно край следующей */
  .rv-grid {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0 calc(var(--m-gutter, 16px) * -1);
    padding: 2px var(--m-gutter, 16px) 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--m-gutter, 16px);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rv-grid::-webkit-scrollbar {
    display: none;
  }

  .rv-grid > .rv-card {
    flex: 0 0 min(86%, 380px);
    scroll-snap-align: start;
  }

  /* соседние карточки чуть тише, текущая в полную силу (класс ставит скрипт ленты) */
  .rv-grid.is-lane > .rv-card:not(.is-current) {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv-card,
  .rv-progress__track i {
    transition: none;
  }
}

/* ═══ ПЕРВЫЙ ЭКРАН: кубок и строка доверия под кнопкой (29.10.2026) ═══════════════════
   Кубок и кнопка стоят как раньше, под кнопкой «5,0 на Авито» и срок ответа.
   Карточку отзыва Николая у кубка Дмитрий убрал 29.10.2026 вечером («убери»).
   В покое ничего не движется: строка появляется вместе с первым экраном. */
/* «5,0 на Авито» и срок ответа под кнопкой */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin: 16px 0 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.74);
}

.hero__trust-rate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}

.hero__trust-rate:hover {
  border-color: rgba(255, 235, 0, 0.6);
}

.hero__trust-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.hero__trust-rate b {
  font-weight: 700;
}

.hero__trust-stars {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--yellow);
}

.hero__trust-reply {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d058;
  box-shadow: 0 0 8px rgba(52, 208, 88, 0.6);
}

/* Появление вместе с первым экраном, дальше стоит на месте */
.hero:not(.hero--in) .hero__trust {
  opacity: 0;
}

.hero.hero--in .hero__trust {
  animation: hero-trust-in 0.6s ease 1.15s both;
}

@keyframes hero-trust-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

html.is-fast .hero.hero--in .hero__trust {
  animation-delay: 0s !important;
  animation-duration: 0.4s !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero:not(.hero--in) .hero__trust,
  .hero.hero--in .hero__trust {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Замер ширины заголовка (main.js, gsFitHeroTitle): сдвиги анимации появления не должны влиять на расчёт */
.hero.is-measuring .hero__title,
.hero.is-measuring .hero__title * {
  transform: none !important;
}

/* ═══ ТАРИФЫ: как платить, что входит в каждый тариф, почему не шаблон, «Сайт + Директ» (29.10.2026) ═══ */
.pterms,
.pvalue,
.pdirect {
  font-family: Arial, 'Helvetica Neue', sans-serif;
}

/* как платить и что входит — одна панель из двух полос */
.pterms {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(165deg, #151515 0%, #0d0d0d 60%, #111 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.pterms__col {
  padding: clamp(24px, 3vw, 40px);
}

.pterms__col + .pterms__col {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pterms__title {
  margin: 0 0 clamp(18px, 2vw, 26px);
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.pterms__pay,
.pterms__incl {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* оплата: три шага в ряд, над каждым полоса — пунктир у бесплатного шага, жёлтая у двух половин */
.pterms__pay {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.pterms__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 4px solid var(--yellow);
}

.pterms__step--free {
  border-top: 4px dashed rgba(255, 235, 0, 0.6);
}

.pterms__sum {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.pterms__step--free .pterms__sum {
  color: var(--yellow);
}

.pterms__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pterms__text > b {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.pterms__text > span {
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

/* что входит: четыре пункта в ряд, иконка слева */
.pterms__incl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px clamp(16px, 2vw, 28px);
}

.pterms__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pterms__icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid rgba(255, 235, 0, 0.35);
  border-radius: 12px;
  background: rgba(255, 235, 0, 0.08);
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* почему 20 000 ₽ — не шаблон */
.pvalue {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: 20px clamp(28px, 4vw, 56px);
  margin-top: 20px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: #0b0b0b;
}

.pvalue__title {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  text-wrap: balance;
}

.pvalue__hl {
  color: var(--yellow);
}

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

.pvalue__row {
  padding: 16px 18px 18px;
  border-radius: 16px;
}

.pvalue__row dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pvalue__row dt::before {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.pvalue__row dd {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.45;
  text-wrap: pretty;
}

.pvalue__row--them {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.pvalue__row--them dt {
  color: rgba(255, 255, 255, 0.5);
}

.pvalue__row--them dt::before {
  content: '✕';
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.pvalue__row--them dd {
  color: rgba(255, 255, 255, 0.58);
}

.pvalue__row--me {
  border: 1px solid rgba(255, 235, 0, 0.4);
  background: rgba(255, 235, 0, 0.06);
}

.pvalue__row--me dt {
  color: var(--yellow);
}

.pvalue__row--me dt::before {
  content: '✓';
  background: var(--yellow);
  color: #000;
}

.pvalue__row--me dd {
  color: #fff;
}

.pvalue__why {
  margin: 16px 0 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

.pvalue__why b {
  color: #fff;
}

/* тариф «Сайт + Директ» — широкая карточка с жёлтой рамкой, как у выделенного тарифа */
.pdirect {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 235, 0, 0.7) 0%, rgba(255, 235, 0, 0.18) 38%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 235, 0, 0.3) 100%);
  box-shadow: 0 0 48px rgba(255, 235, 0, 0.1), 0 18px 48px rgba(0, 0, 0, 0.45);
}

.pdirect__surface {
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 235, 0, 0.32) 0%, rgba(255, 235, 0, 0.08) 6px, transparent 28px),
    linear-gradient(165deg, #1f1f12 0%, #121208 55%, #16160f 100%);
}

.pdirect__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}

.pdirect__tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 235, 0, 0.5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.pdirect__title {
  margin: 14px 0 8px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.pdirect__sub {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.pdirect__cost {
  flex: none;
  text-align: right;
}

.pdirect__price {
  margin: 0;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.pdirect__split {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

/* график: четыре шага по линии времени */
.pdirect__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px clamp(16px, 2.2vw, 32px);
  margin: clamp(28px, 3.4vw, 40px) 0;
  padding: 0;
  list-style: none;
}

.pdirect__steps::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow) 0%, rgba(255, 235, 0, 0.25) 100%);
}

.pdirect__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 30px;
}

.pdirect__step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 235, 0, 0.16), 0 0 16px rgba(255, 235, 0, 0.45);
}

.pdirect__when {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.pdirect__what {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}

.pdirect__how {
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.64);
  text-wrap: pretty;
}

.pdirect__foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 24px clamp(28px, 4vw, 56px);
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.pdirect__quote {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--yellow);
  color: inherit;
  text-decoration: none;
}

.pdirect__quote q {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  quotes: '«' '»';
  transition: color 0.2s ease;
}

html[lang="en"] .pdirect__quote q {
  quotes: '“' '”';
}

.pdirect__who {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.pdirect__quote:hover q {
  color: var(--yellow);
}

.pdirect__quote:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.pdirect__note {
  margin: 0 0 16px;
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

.pdirect__cta {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-btn);
  background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  color: #000;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(255, 235, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.pdirect__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 40px rgba(255, 235, 0, 0.55), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pdirect__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* появление вместе с карточками тарифов */
.pterms,
.pvalue,
.pdirect {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing.is-visible .pterms,
.pricing.is-visible .pvalue,
.pricing.is-visible .pdirect {
  opacity: 1;
  transform: none;
}

.pricing.is-visible .pterms { transition-delay: 0.35s; }
.pricing.is-visible .pvalue { transition-delay: 0.45s; }
.pricing.is-visible .pdirect { transition-delay: 0.55s; }

html.is-fast .pterms,
html.is-fast .pvalue,
html.is-fast .pdirect {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .pterms,
  .pvalue,
  .pdirect {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

  .pdirect__foot {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 860px) {
  .pdirect__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdirect__cost {
    text-align: left;
  }

  /* линия времени встаёт вертикально */
  .pdirect__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pdirect__steps::before {
    top: 7px;
    bottom: 7px;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--yellow) 0%, rgba(255, 235, 0, 0.25) 100%);
  }

  .pdirect__step {
    padding: 0 0 0 34px;
  }

  .pdirect__step::before {
    top: 0;
  }
}

@media (max-width: 720px) {
  .pterms {
    margin-top: 28px;
  }

  .pterms__col {
    padding: 22px 18px;
  }

  /* оплата: шаги друг под другом, полоса слева */
  .pterms__pay {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pterms__step,
  .pterms__step--free {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 2px 0 2px 14px;
    border-top: none;
    border-left: 4px solid var(--yellow);
  }

  .pterms__step--free {
    border-left-style: dashed;
    border-left-color: rgba(255, 235, 0, 0.6);
  }

  .pterms__sum {
    font-size: 26px;
    line-height: 1.15;
  }

  .pterms__incl {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pvalue {
    margin-top: 14px;
    padding: 22px 18px;
  }

  .pvalue__compare {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pdirect {
    margin-top: 28px;
  }

  .pdirect__surface {
    padding: 24px 18px;
  }

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

/* окно заявки: заголовки по теме кнопки */
.contact-modal [data-topic-head][hidden],
.contact-modal [data-topic-default][hidden] {
  display: none;
}

/* ═══ ФОРМЫ: одно поле для связи и выбор «куда ответить» (29.10.2026) ═══
   Вместо имени и телефона: Telegram / MAX / WhatsApp / Звонок и поле «ник или телефон». Подпись и подсказка меняются по выбору. */
.lead-contact {
  margin-bottom: 18px;
}

.lead-contact__title {
  margin: 0 0 8px;
}

.lead-via {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 14px;
  background: #f1f1f1;
}

.lead-via__opt {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.lead-via__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-via__opt span {
  display: block;
  padding: 10px 8px;
  border-radius: 10px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  color: #555;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lead-via__opt:hover span {
  color: #111;
}

.lead-via__opt input:checked + span {
  background: #111;
  color: var(--yellow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.lead-via__opt input:focus-visible + span {
  outline: 2px solid var(--yellow-deep);
  outline-offset: 2px;
}

.lead-contact__field {
  margin-bottom: 8px;
}

.lead-contact [data-for-via] {
  display: none;
}

.lead-contact[data-via='telegram'] [data-for-via~='telegram'],
.lead-contact[data-via='max'] [data-for-via~='max'],
.lead-contact[data-via='whatsapp'] [data-for-via~='whatsapp'],
.lead-contact[data-via='call'] [data-for-via~='call'] {
  display: inline;
}

.lead-contact__hint {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}

.contact__field.is-invalid input {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14) !important;
}

@media (max-width: 380px) {
  .lead-via {
    gap: 2px;
    padding: 3px;
  }

  .lead-via__opt span {
    padding: 10px 5px;
    font-size: 12.5px;
  }
}

/* ═══ WHATSAPP (29.10.2026): меню связи, шторка, блок контактов, конец квиза ═══ */
.nav__contact-option--wa svg {
  flex-shrink: 0;
  color: #25d366;
}

.nav-drawer__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #7ee2a8;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-drawer__wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.7);
}

.nav-drawer__wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}

.contact__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  color: #128c4b;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact__wa:hover {
  opacity: 0.85;
}

.contact__wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}

.quiz__msg--wa {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  transition: border-color 0.2s ease;
}

.quiz__msg--wa svg {
  flex: none;
  color: #25d366;
}

.quiz__msg--wa:hover {
  border-color: #111;
}

/* ═══ КВИЗ: «5 вопросов · без телефона · цена сразу», фото и имя (29.10.2026) ═══ */
.quiz__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.quiz__facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.quiz__facts li::before {
  content: '✓';
  font-size: 12px;
  font-weight: 900;
  color: var(--yellow);
}

.quiz__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.quiz__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 235, 0, 0.7);
}

.quiz__author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
}

.quiz__author-text b {
  font-size: 15px;
  color: #fff;
}

/* окно заявки на телефоне: заголовок ниже крестика, чтобы крестик не наезжал на «заявку» */
@media (max-width: 480px) {
  .contact-modal__form {
    padding-top: 60px;
  }
}

/* Первый экран на планшете (961–1100): кнопка, ссылка и «5,0 на Авито» — столбиком по левому краю, кубок справа */
@media (max-width: 1100px) {
  .hero__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

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

}

/* Телефон: всё по центру — кнопка, «5,0 на Авито», ниже кубок */
@media (max-width: 960px) {
  .hero__action {
    align-items: center;
  }

  .hero__trust {
    justify-content: center;
    gap: 8px 12px;
    font-size: 13.5px;
  }

}

/* ═══ НАПИСАТЬ САМОМУ: WhatsApp / MAX / Telegram с готовым текстом (29.10.2026) ═══
   Дмитрий: «в приоритете человек сам писал… с готовым сообщением, возможность оставить заявку оставить».
   Окно заявки открывается в виде «напишите мне» (data-view="msg"), форма — второй вид (data-view="form"). */
.contact-modal {
  overflow-y: auto;
  overscroll-behavior: contain;
  place-items: start center;
}

.contact-modal__dialog {
  margin-block: auto;
}

.contact-modal__backdrop {
  position: fixed;
}

.contact-modal[data-view='msg'] .cm-form-part,
.contact-modal[data-view='form'] .msgo,
.contact-modal[data-view='msg'] [data-cm-view='form'],
.contact-modal[data-view='form'] [data-cm-view='msg'] {
  display: none !important;
}

.msgo__label {
  display: block;
  margin-bottom: 8px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

/* готовое сообщение — как пузырь в чате: видно, что уйдёт, можно дописать нишу */
.msgo__text {
  display: block;
  width: 100%;
  min-height: 92px;
  margin: 0 0 16px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1.5px solid #dfeedd;
  border-radius: 16px 16px 16px 6px;
  background: #effbe9;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #111;
  resize: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.msgo__text:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.msgo__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msgo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.msgo__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

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

.msgo__btn:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.msgo__btn--wa {
  background: #1a9b52;
}

.msgo__btn--max {
  background: linear-gradient(100deg, #3c6dff 0%, #7b3cff 100%);
}

.msgo__btn--tg {
  background: #1c8fd0;
}

.msgo__ico {
  flex: none;
  width: 24px;
  height: 24px;
  color: #fff;
}

.msgo__ico--max {
  border-radius: 7px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.msgo__hint {
  margin: 10px 0 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: #777;
}

.msgo__hint [data-msgo-hint-done] {
  color: #1a7f45;
  font-weight: 700;
}

.msgo__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 12px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: #999;
}

.msgo__or::before,
.msgo__or::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  background: #e6e6e6;
}

.msgo__to-form {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #111;
  border-radius: 14px;
  background: transparent;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.msgo__to-form:hover {
  background: #111;
  color: var(--yellow);
}

.msgo__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 0;
  border: none;
  background: none;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a7f45;
  cursor: pointer;
}

.msgo__back:hover {
  text-decoration: underline;
}

/* блок контактов: три кнопки мессенджеров вместо ссылок, телефон ниже */
.contact__msg-note {
  margin: 0 0 14px;
  max-width: 420px;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
}

.contact__channels--msg {
  align-items: stretch;
  width: min(100%, 400px);
  gap: 10px;
}

.contact__channels--msg .msgo__btn {
  align-self: stretch;
  justify-content: flex-start;
  padding-left: 20px;
  font-size: 16px;
  color: #fff;
}

.contact__channels--msg .msgo__btn:hover {
  opacity: 1;
  color: #fff;
}

.contact__max-note {
  margin: 0;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: #777;
}

.contact__phone--msg {
  margin-top: 6px;
}

/* подсказка после копирования текста для MAX (шапка, шторка, блок контактов, подвал) */
.msg-toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.msg-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .msgo__btn,
  .msg-toast {
    transition: none;
  }
}

/* ═══ Аудит 21.11.2026 ═══════════════════════════════════════════════════════ */

/* Меню на телефоне не помещалось в экран и не листалось: мессенджеры, телефон и «Оставить заявку» были ниже края и не нажимались.
   Правила с .nav-drawer попадают и в общую шапку остальных страниц (assets/chrome/chrome.css, tools/site_chrome.py). */
.nav-drawer__panel {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-height: 960px) {
  .nav-drawer__panel {
    gap: 14px;
  }
  .nav-drawer__links a {
    padding: 9px 0;
    font-size: 16px;
  }
  .nav-drawer__actions {
    gap: 8px;
  }
  .nav-drawer__tg,
  .nav-drawer__max,
  .nav-drawer__wa,
  .nav-drawer__phone {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .nav-drawer__cta {
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

/* Пока идёт заставка и пока открыто окно заявки, кнопка консультанта не видна (лежала поверх заставки и окна) */
body.is-loading > #gs-consult,
body.modal-open > #gs-consult {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Открыто меню-шторка: стрелка «наверх» и кнопка консультанта (#gs-consult) не ложатся поверх него — закрывали «Написать в MAX».
   Правило попадает и в общую шапку остальных страниц (assets/chrome/chrome.css). */
body.nav-open .scroll-top,
body.nav-open > #gs-consult {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Первый экран на маленьком телефоне (iPhone SE с панелями Safari, 375×548): кнопка заявки была ниже края на 38 px */
@media (max-width: 480px) and (max-height: 620px) {
  .hero {
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
    gap: 16px;
  }
  .hero__title {
    font-size: clamp(30px, 9vw, 40px);
    margin-bottom: 14px;
  }
  .hero__features {
    margin-bottom: 14px;
    gap: 8px;
  }
  .hero__cta {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Кнопка консультанта (#gs-consult) на телефоне появляется вместе с жёлтой панелью заявки:
   пока на экране кнопка первого экрана, консультант не ложится на её правый край */
@media (max-width: 960px) {
  body:not(.has-mobile-lead-bar) > #gs-consult {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* «Уменьшение движения»: «Делаю больше» и строка про чистый код видны сразу, без анимации */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none !important;
  }
  .more__title,
  .more__highlight,
  .more__card,
  .more__icon-img,
  .why__code-tag,
  .why__code-plain,
  .why__code-accent {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* Страховка: без JavaScript или если main.js не отработал за 5 с, у <html> класс gs-safe (ставит и снимает скрипт в <head>):
   заставки нет, страница листается, первый экран и разделы видны сразу, без анимаций появления */
html.gs-safe .preloader {
  display: none !important;
}
html.gs-safe body.is-loading {
  overflow-y: auto !important;
}
html.gs-safe .hero__title-line1,
html.gs-safe .hero__highlight,
html.gs-safe .hero__title-rest,
html.gs-safe .hero__feature,
html.gs-safe .hero__meta-item,
html.gs-safe .hero__cta,
html.gs-safe .hero__sub-cta,
html.gs-safe .hero__trust,
html.gs-safe .hero__trophy,
html.gs-safe .money-emoji,
html.gs-safe section.page-sr,
html.gs-safe .why,
html.gs-safe .why__panel,
html.gs-safe .why__title,
html.gs-safe .why__item,
html.gs-safe .why__code-tag,
html.gs-safe .why__code-plain,
html.gs-safe .why__code-accent,
html.gs-safe .more__title,
html.gs-safe .more__highlight,
html.gs-safe .more__card,
html.gs-safe .more__icon-img,
html.gs-safe .pricing__header,
html.gs-safe .pricing__item,
html.gs-safe .offer__headline,
html.gs-safe .offer__main,
html.gs-safe .offer__badge,
html.gs-safe .contact__panel,
html.gs-safe .contact__lead,
html.gs-safe .contact__visual,
html.gs-safe .contact__form,
html.gs-safe .pterms,
html.gs-safe .pvalue,
html.gs-safe .pdirect {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  animation: none !important;
}

/* ── Портфолио: плашка результата под снимком, в строке с названием (25.11.2026: «закрывает саму страницу») ── */
.cases__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  margin: 16px 8px 4px;
}

.cases__head .cases__name {
  flex: 0 0 auto;
  max-width: 100%;
  margin: 0;
}

.cases__head .cases__result {
  position: static;
  grid-area: auto;
  flex: 0 0 auto;
  align-self: center;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 11.5px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cases__head {
    margin: 8px 6px 4px;
  }

  .cases__head .cases__result {
    gap: 6px;
    font-size: 11px;
  }
}
