/* ===== Variables & reset (тёмная тема Накрути ПФ) ===== */
:root {
  --color-bg: #0f172a;
  --color-bg-alt: #1e293b;
  --color-bg-card: #1e293b;
  --color-bg-elevated: #334155;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-accent: #38bdf8;
  --color-accent-hover: #7dd3fc;
  --color-accent-light: rgba(56, 189, 248, 0.15);
  --color-cta: #22c55e;
  --color-cta-hover: #4ade80;
  --color-border: #334155;
  --color-border-light: #475569;
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --font: 'Manrope', system-ui, sans-serif;
  --container: min(100% - 2rem, 960px);
  --header-h: 60px;
  --radius: 12px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  min-height: 100vh;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.container { width: var(--container); margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Появление блоков при скролле (только при включённом JS) */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-ready .reveal--delay-1 { transition-delay: 0.08s; }
.reveal-ready .reveal--delay-2 { transition-delay: 0.16s; }
.reveal-ready .reveal--delay-3 { transition-delay: 0.24s; }
.reveal-ready .reveal--delay-4 { transition-delay: 0.32s; }

/* ===== Header & Burger ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  padding: 0.75rem 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.header--scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
main .hero { padding-top: calc(var(--header-h) + 1.5rem); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
@media (min-width: 768px) {
  .header .container { max-width: 1200px; padding-left: 1rem; padding-right: 1rem; }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.25rem;
  color: inherit;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.9; }
.logo:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.logo__img { display: block; height: 56px; width: 56px; }

.tg-icon {
  display: block;
  width: 24px;
  height: 24px;
  transition: opacity var(--transition);
}
a:hover .tg-icon { opacity: 0.85; }

.header__tg {
  display: none;
  padding: 6px;
  line-height: 0;
  text-decoration: none;
}
@media (min-width: 768px) {
  .header__tg { display: inline-block; }
}

.nav__link--tg { padding: 6px; line-height: 0; }
.nav__link--tg .tg-icon { width: 28px; height: 28px; }
@media (min-width: 768px) {
  .nav .nav__link--tg { display: inline-flex; align-items: center; }
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .burger { display: none; }
}

.burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition);
}
@media (max-width: 767px) {
  .nav { background: var(--color-bg-alt); }
  .nav .nav__link { background: var(--color-bg-card); border-color: var(--color-border); color: var(--color-text); }
  .nav .nav__link:hover { color: var(--color-accent); }
  .nav .nav__link--cta { background: var(--color-cta); border-color: var(--color-cta); color: #fff; }
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--color-bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
@media (max-width: 767px) {
  .nav .nav__link {
    padding: 0.85rem 1.25rem;
    justify-content: flex-start;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    font-size: 1rem;
    box-shadow: var(--shadow);
  }
  .nav .nav__link--cta {
    justify-content: center;
    padding: 1rem 1.25rem;
  }
}
.nav--open { transform: translateX(0); }
.nav__scroll {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    padding-top: 0;
    transform: none;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    background: transparent;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 0.5rem;
    overflow: visible;
  }
  .nav__scroll {
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    align-items: center;
  }
  .nav__scroll::-webkit-scrollbar { display: none; }
  /* Пункты меню в стиле Seopapa: текст без кнопок, в одну строку */
  .nav__scroll .nav__link {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-radius: 0;
  }
  .nav__scroll .nav__link:hover {
    background: transparent;
    color: var(--color-accent);
    box-shadow: none;
  }
  .nav .nav__link--cta {
    flex-shrink: 0;
    margin-left: 0.5rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .nav--closed { transform: none; }
  .nav .nav__link--tg { display: none; }
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__link:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-color: var(--color-border-light);
}
@media (min-width: 768px) {
  .nav__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
  }
}

.nav__link--cta {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.nav__link--cta:hover {
  background: var(--color-cta-hover);
  color: #fff;
  border-color: var(--color-cta-hover);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

.nav__link--tg {
  padding: 6px 10px;
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--color-border-light);
  color: var(--color-text);
}
.nav__link--tg:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; border-radius: 16px; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Главный CTA — зелёный (Бесплатный тест / Хочу в ТОП) */
.btn--primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  transform: scale(1.02);
}

/* Золотая CTA (блок бесплатного теста) */
.btn--gold {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--gold:hover {
  background: linear-gradient(135deg, #facc15, #eab308);
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.5);
  transform: scale(1.02);
}

/* Отправка заявки */
.btn--submit {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.hero .btn--submit {
  background: rgba(51, 65, 85, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .btn--submit:hover {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 197, 94, 0.4);
}
.btn--submit:hover {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

/* Telegram */
.btn--tg {
  background: rgba(56, 189, 248, 0.2);
  color: var(--color-text);
  border: 1px solid var(--color-accent);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}
.btn--tg:hover {
  background: var(--color-accent);
  color: #0f172a;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

/* Второстепенный CTA — контур */
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border-light);
  box-shadow: none;
}
.btn--secondary:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-color: var(--color-text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Hero ===== */
.hero {
  padding: 2.5rem 0 3rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Hero — RGB-подсветка вместо видео */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-rgb {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: none; /* видео теперь основной фон, RGB-градиенты скрыты */
}
.hero__rgb-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: hero-rgb-pulse 12s ease-in-out infinite;
  pointer-events: none;
}
.hero__rgb-layer--r {
  width: 80%;
  height: 80%;
  top: -20%;
  left: -10%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 59, 92, 0.7) 0%, rgba(255, 100, 130, 0.3) 40%, transparent 65%);
  animation-delay: 0s;
}
.hero__rgb-layer--g {
  width: 70%;
  height: 70%;
  top: 10%;
  right: -20%;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 255, 136, 0.55) 0%, rgba(74, 222, 128, 0.25) 45%, transparent 70%);
  animation-delay: -4s;
}
.hero__rgb-layer--b {
  width: 75%;
  height: 75%;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(99, 102, 241, 0.6) 0%, rgba(129, 140, 248, 0.25) 45%, transparent 68%);
  animation-delay: -8s;
}
@keyframes hero-rgb-pulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  33% { transform: scale(1.08) translate(2%, -1%); opacity: 0.6; }
  66% { transform: scale(0.95) translate(-1%, 2%); opacity: 0.45; }
}

/* PF — на месте бывшего «ваш сайт», цвет и аура задаются скриптом RGB-подсветки */
.hero__pf-neon {
  --pf-hue: 0;
  margin: 4rem 0 0;
  padding: 0;
  position: relative;
  font-family: var(--font);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: hsl(var(--pf-hue), 90%, 82%);
  -webkit-text-stroke: 1px hsla(var(--pf-hue), 96%, 90%, 0.95);
  text-shadow:
    0 0 8px hsl(var(--pf-hue), 96%, 82%),
    0 0 18px hsla(var(--pf-hue), 92%, 72%, 0.9),
    0 0 32px hsla(var(--pf-hue), 86%, 65%, 0.75);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  display: block;
  text-align: center;
  transition:
    color 0.14s ease,
    text-shadow 0.14s ease,
    -webkit-text-stroke 0.14s ease;
  animation: hero-pf-pulse 6s ease-in-out infinite;
}
.hero__pf-neon::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.75rem;
  width: min(44vw, 340px);
  height: min(16vw, 110px);
  background:
    radial-gradient(ellipse at 50% 110%,
      hsla(var(--pf-hue), 95%, 70%, 0.65) 0%,
      hsla(var(--pf-hue), 95%, 60%, 0.35) 32%,
      transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
}
@keyframes hero-pf-pulse {
  0%, 100% {
    text-shadow:
      0 0 8px hsl(var(--pf-hue), 96%, 82%),
      0 0 18px hsla(var(--pf-hue), 92%, 72%, 0.9),
      0 0 32px hsla(var(--pf-hue), 86%, 65%, 0.75);
    transform: translateY(0);
  }
  50% {
    text-shadow:
      0 0 10px hsl(var(--pf-hue), 98%, 86%),
      0 0 26px hsla(var(--pf-hue), 96%, 76%, 0.95),
      0 0 40px hsla(var(--pf-hue), 90%, 68%, 0.8);
    transform: translateY(-2px);
  }
}
@media (min-width: 640px) {
  .hero__pf-neon { margin-top: 5rem; }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: none;
}
.hero__video.hero__video--hidden {
  opacity: 0;
  pointer-events: none;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.28) 40%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
}
.hero__bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero__bg-shape,
.hero__bg-glow {
  position: absolute;
  z-index: 2;
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  filter: blur(12px);
  opacity: 0.28;
  animation: hero-bg-drift 20s ease-in-out infinite;
  pointer-events: none;
}
.hero__bg-shape--1 {
  width: 70%;
  height: 70%;
  top: -15%;
  left: -10%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 59, 92, 0.2) 0%, transparent 60%);
  animation-delay: 0s;
}
.hero__bg-shape--2 {
  width: 55%;
  height: 60%;
  top: 15%;
  right: -15%;
  background: radial-gradient(ellipse 50% 60% at 30% 40%, rgba(0, 255, 136, 0.18) 0%, transparent 65%);
  animation-delay: -5s;
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
}
.hero__bg-shape--3 {
  width: 50%;
  height: 50%;
  bottom: -5%;
  left: -5%;
  background: radial-gradient(ellipse 60% 50% at 60% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 65%);
  animation-delay: -10s;
  border-radius: 60% 40% 40% 60% / 50% 50% 50% 50%;
}
.hero__bg-glow--1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(129, 140, 248, 0.08) 0%, transparent 50%);
  filter: blur(16px);
  opacity: 0.32;
  animation: none;
}
@keyframes hero-bg-drift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(2%, -1%) scale(1.02) rotate(1deg); }
  66% { transform: translate(-1%, 2%) scale(0.98) rotate(-1deg); }
}

.hero__inner { text-align: center; max-width: 640px; margin: 0 auto; position: relative; z-index: 3; }

/* Первое, что бросается в глаза — рост позиций */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4ade80;
  animation: hero-badge-pulse 2.5s ease-in-out infinite;
}
.hero__badge-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234ade80' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7h8m0 0v8m0-8l-8 8-4-4-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes hero-badge-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { opacity: 0.95; box-shadow: 0 0 12px 2px rgba(34, 197, 94, 0.2); }
}

/* Подложка для заголовка — текст хорошо читается на любом фоне */
.hero__headline-backing {
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hero__headline-backing .hero__title { margin-bottom: 0.75rem; }
.hero__headline-backing .hero__subtitle { margin-bottom: 0; }

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.hero__title-icon {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: center/contain no-repeat;
}
.hero__title-icon--yandex {
  width: 48px;
  height: 48px;
  background-image: url("../img/yandex-icon.svg");
  box-shadow: 0 2px 12px rgba(252, 63, 29, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.hero__title-icon--yandex:hover {
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(252, 63, 29, 0.75), 0 0 14px rgba(252, 63, 29, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  filter: drop-shadow(0 0 8px rgba(252, 63, 29, 0.6));
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero__stats {
  margin: 1rem 0 0;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 500;
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
  margin: 1.5rem auto 0;
  text-align: left;
}
.lead-form--hero .lead-form__input { margin: 0; }
.lead-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  color: var(--color-text);
}
.lead-form--hero .lead-form__input,
.lead-form--cta .lead-form__input {
  background: rgba(30, 41, 59, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.lead-form__input::placeholder { color: var(--color-text-muted); }
.lead-form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.lead-form__message {
  margin: 0;
  font-size: 0.9rem;
}
.lead-form__message[data-success="true"] { color: var(--color-success); }
.lead-form__message[data-success="false"] { color: #f87171; }

/* ===== Section title ===== */
.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 4vw, 1.95rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.section-title .section-title__emoji {
  display: inline-block;
  margin-right: 0.35em;
  vertical-align: middle;
}

/* Заголовок и стикер «Отзывы» — свечение */
.section-title--reviews {
  text-shadow: 0 0 24px rgba(244, 114, 182, 0.6), 0 0 12px rgba(236, 72, 153, 0.4), 0 0 4px rgba(255, 255, 255, 0.3);
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}
.section-title--reviews:hover {
  text-shadow: 0 0 32px rgba(244, 114, 182, 0.85), 0 0 16px rgba(236, 72, 153, 0.6), 0 0 8px rgba(255, 255, 255, 0.4);
  transform: scale(1.02);
}

/* ===== Section backgrounds — двигающиеся картинки по подтемам ===== */
.section-with-bg {
  position: relative;
  overflow: hidden;
}
.section-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(56, 189, 248, 0.4) 30%, rgba(167, 139, 250, 0.35) 50%, rgba(244, 114, 182, 0.4) 70%, transparent 95%);
  z-index: 1;
  pointer-events: none;
}
.section-with-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(244, 114, 182, 0.25) 30%, rgba(56, 189, 248, 0.2) 50%, rgba(34, 197, 94, 0.25) 70%, transparent 95%);
  z-index: 1;
  pointer-events: none;
}
#advantages.section-with-bg::before { opacity: 0.2; }
.section-with-bg .container {
  position: relative;
  z-index: 1;
}
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section-bg__shape,
.section-bg__glow {
  position: absolute;
  border-radius: 30% 70% 60% 40% / 50% 50% 50% 50%;
  filter: blur(22px);
  opacity: 1;
  animation: section-bg-float 18s ease-in-out infinite;
}
.section-bg__shape--1 {
  width: 55%;
  height: 50%;
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}
.section-bg__shape--2 {
  width: 45%;
  height: 55%;
  bottom: -15%;
  right: -10%;
  border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
  animation-delay: -6s;
}
.section-bg__shape--3 {
  width: 40%;
  height: 45%;
  top: 35%;
  right: 5%;
  border-radius: 40% 60% 60% 40% / 60% 40% 50% 50%;
  animation-delay: -12s;
}
.section-bg__glow {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  filter: blur(32px);
  opacity: 0.85;
  animation: section-bg-pulse 12s ease-in-out infinite;
}
/* Цветовые темы: синий, оранж, розовый, голубой — усиленная видимость */
.section-bg--blue .section-bg__shape--1 {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(56, 189, 248, 0.65) 0%, rgba(30, 41, 59, 0.4) 45%, transparent 68%);
}
.section-bg--blue .section-bg__shape--2 {
  background: radial-gradient(ellipse 50% 60% at 40% 50%, rgba(14, 165, 233, 0.55) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 72%);
}
.section-bg--blue .section-bg__shape--3 {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.5) 0%, rgba(56, 189, 248, 0.2) 45%, transparent 75%);
}
.section-bg--blue .section-bg__glow--1 {
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(56, 189, 248, 0.35) 0%, rgba(14, 165, 233, 0.12) 45%, transparent 60%);
}
.section-bg--orange .section-bg__shape--1 {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(251, 146, 60, 0.7) 0%, rgba(234, 88, 12, 0.4) 35%, transparent 68%);
}
.section-bg--orange .section-bg__shape--2 {
  background: radial-gradient(ellipse 50% 60% at 30% 60%, rgba(234, 88, 12, 0.6) 0%, rgba(30, 41, 59, 0.35) 45%, transparent 68%);
}
.section-bg--orange .section-bg__shape--3 {
  background: linear-gradient(160deg, rgba(251, 146, 60, 0.55) 0%, rgba(234, 88, 12, 0.25) 40%, transparent 70%);
}
.section-bg--orange .section-bg__glow--1 {
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(234, 88, 12, 0.4) 0%, rgba(251, 146, 60, 0.15) 45%, transparent 60%);
}
.section-bg--pink .section-bg__shape--1 {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(236, 72, 153, 0.65) 0%, rgba(219, 39, 119, 0.35) 40%, transparent 68%);
}
.section-bg--pink .section-bg__shape--2 {
  background: radial-gradient(ellipse 50% 60% at 60% 40%, rgba(244, 114, 182, 0.55) 0%, rgba(30, 41, 59, 0.3) 50%, transparent 70%);
}
.section-bg--pink .section-bg__shape--3 {
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.5) 0%, rgba(244, 114, 182, 0.2) 45%, transparent 72%);
}
.section-bg--pink .section-bg__glow--1 {
  background: radial-gradient(ellipse 70% 60% at 40% 50%, rgba(236, 72, 153, 0.35) 0%, transparent 55%);
}
.section-bg--cyan .section-bg__shape--1 {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(34, 211, 238, 0.65) 0%, rgba(6, 182, 212, 0.35) 40%, transparent 68%);
}
.section-bg--cyan .section-bg__shape--2 {
  background: radial-gradient(ellipse 50% 60% at 40% 50%, rgba(22, 163, 184, 0.55) 0%, rgba(30, 41, 59, 0.3) 52%, transparent 72%);
}
.section-bg--cyan .section-bg__shape--3 {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.5) 0%, rgba(22, 163, 184, 0.2) 45%, transparent 72%);
}
.section-bg--cyan .section-bg__glow--1 {
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(34, 211, 238, 0.35) 0%, transparent 55%);
}
@keyframes section-bg-float {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(3%, -2%) scale(1.03) rotate(2deg); }
  50% { transform: translate(-2%, 3%) scale(0.97) rotate(-1deg); }
  75% { transform: translate(2%, 2%) scale(1.02) rotate(1deg); }
}
@keyframes section-bg-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.05); }
}

/* ===== Advantages (cards) ===== */
.advantages { padding: 3rem 0; background: var(--color-bg-alt); }
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .advantages__grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card--accent-blue::before { background: linear-gradient(90deg, #38bdf8, transparent); }
.card--accent-amber::before { background: linear-gradient(90deg, #f59e0b, transparent); }
.card--accent-red::before { background: linear-gradient(90deg, #ef4444, transparent); }
.card--accent-green::before { background: linear-gradient(90deg, #22c55e, transparent); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: var(--color-border-light);
}
.card--accent-blue:hover { border-color: rgba(56,189,248,0.4); box-shadow: 0 8px 28px rgba(56,189,248,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.card--accent-amber:hover { border-color: rgba(245,158,11,0.4); box-shadow: 0 8px 28px rgba(245,158,11,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.card--accent-red:hover { border-color: rgba(239,68,68,0.4); box-shadow: 0 8px 28px rgba(239,68,68,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.card--accent-green:hover { border-color: rgba(34,197,94,0.4); box-shadow: 0 8px 28px rgba(34,197,94,0.15), 0 4px 12px rgba(0,0,0,0.3); }
.card__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* Иконки карточек — у каждого пункта свой цвет */
.card__icon--shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2338bdf8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.187-.382-3.404z'/%3E%3C/svg%3E"); }
.card__icon--rocket { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f59e0b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E"); }
.card__icon--cycle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ef4444'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15'/%3E%3C/svg%3E"); }
.card__icon--wallet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322c55e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E"); }
.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}
.card__title .card__emoji { margin-right: 0.25em; }
.card__text { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.55; }

/* ===== Comparison ===== */
.comparison { padding: 3rem 0; background: var(--color-bg); }
.comparison__visual {
  text-align: center;
  margin-bottom: 1.5rem;
}
.comparison__img {
  max-width: 100%;
  width: min(320px, 90vw);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
@media (min-width: 640px) {
  .comparison__img { width: min(400px, 90vw); }
}
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .comparison__grid { grid-template-columns: 1fr 1fr; }
}

.comparison__col {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--color-bg-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.comparison__col--minus { border-left: 4px solid var(--color-danger); }
.comparison__col--plus {
  background: linear-gradient(var(--color-bg-card), var(--color-bg-card)) padding-box, linear-gradient(180deg, #22c55e, #38bdf8) border-box;
  border: 2px solid transparent;
}
.comparison__col-title { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 700; color: var(--color-text); }
.comparison__col-title .comparison__emoji { margin-right: 0.3em; }
.comparison__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--color-text-muted);
}
.comparison__list li {
  margin-bottom: 0.6rem;
  padding-left: 1.75rem;
  position: relative;
}
.comparison__list li:last-child { margin-bottom: 0; }
.comparison__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 16px;
  height: 16px;
  background: center/contain no-repeat;
}
.comparison__col--minus .comparison__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%23ef4444' stroke-width='1.5'/%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' stroke='%23ef4444' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.comparison__col--plus .comparison__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%2322c55e' stroke-width='1.5'/%3E%3Cpath d='M5 8l2.5 2.5L11 6' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.comparison__lead {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* ===== Rent ===== */
.rent { padding: 3rem 0; background: var(--color-bg-alt); }
.rent__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--color-text-muted);
}

.rent__cta {
  margin: 0 0 2.5rem;
  text-align: center;
}
.btn--rent-rgb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f9fafb;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.75);
  background: linear-gradient(135deg, #f97316, #22c55e, #38bdf8, #a855f7);
  background-size: 220% 220%;
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.5),
    0 0 40px rgba(129, 140, 248, 0.4);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-position 0.3s ease;
  animation: rent-rgb-flow 8s linear infinite;
}
.btn--rent-rgb::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.6), transparent 55%),
              radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.6), transparent 55%),
              radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.7), transparent 60%);
  opacity: 0.6;
  z-index: -1;
  filter: blur(10px);
}
.btn--rent-rgb:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.7),
    0 0 50px rgba(129, 140, 248, 0.6);
  background-position: 100% 0%;
}
.btn--rent-rgb:active {
  transform: translateY(0) scale(0.99);
  box-shadow:
    0 0 18px rgba(56, 189, 248, 0.6),
    0 0 30px rgba(129, 140, 248, 0.5);
}
@keyframes rent-rgb-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rent__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .rent__steps { grid-template-columns: repeat(4, 1fr); }
}

.rent__step {
  text-align: center;
  padding: 1rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  position: relative;
}
@media (min-width: 640px) {
  .rent__step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.4;
  }
}
.rent__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  border: 2px solid var(--color-border-light);
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.rent__step-num--1 { border-color: rgba(56,189,248,0.5); color: #38bdf8; }
.rent__step-num--2 { border-color: rgba(167,139,250,0.5); color: #a78bfa; }
.rent__step-num--3 { border-color: rgba(244,114,182,0.5); color: #f472b6; }
.rent__step-num--4 { border-color: rgba(34,197,94,0.5); color: #22c55e; }
.rent__step { transition: border-color 0.2s, transform 0.2s; }
.rent__step:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.rent__step:hover .rent__step-num--1 { box-shadow: 0 0 12px rgba(56,189,248,0.3); }
.rent__step:hover .rent__step-num--2 { box-shadow: 0 0 12px rgba(167,139,250,0.3); }
.rent__step:hover .rent__step-num--3 { box-shadow: 0 0 12px rgba(244,114,182,0.3); }
.rent__step:hover .rent__step-num--4 { box-shadow: 0 0 12px rgba(34,197,94,0.3); }
.rent__step-text { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--color-text); }

.rent__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .rent__benefits { grid-template-columns: repeat(3, 1fr); }
}

.rent__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.rent__benefit-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.rent__benefit:hover .rent__benefit-icon {
  transform: scale(1.15);
}
.rent__benefit:hover .rent__benefit-icon--money {
  filter: drop-shadow(0 0 14px rgba(74, 222, 128, 0.9)) drop-shadow(0 0 6px rgba(74, 222, 128, 0.6));
}
.rent__benefit:hover .rent__benefit-icon--speed {
  filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.9)) drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
}
.rent__benefit:hover .rent__benefit-icon--safe {
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.9)) drop-shadow(0 0 6px rgba(34, 211, 238, 0.6));
}
.rent__benefit-icon--money { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234ade80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E"); }
.rent__benefit-icon--speed { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fbbf24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 10V3L4 14h7v7l9-11h-7z'/%3E%3C/svg%3E"); }
.rent__benefit-icon--safe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322d3ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.187-.382-3.404z'/%3E%3C/svg%3E"); }
.rent__benefit p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }

/* ===== Pricing ===== */
.pricing { padding: 3rem 0; background: var(--color-bg); }
.pricing .container { max-width: min(100% - 2rem, 640px); }
.pricing__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.pricing__tables {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 auto 1.5rem;
  max-width: 100%;
}
.pricing__table-wrap {
  overflow: hidden;
  overflow-x: auto;
  max-width: 100%;
  border-radius: 16px 16px 0 0;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-bottom: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.pricing__table-wrap .pricing__table tbody tr:last-child td {
  border-radius: 0 0 16px 16px;
}
.pricing__custom-block {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0%, rgba(56, 189, 248, 0.12) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-top: 2px solid rgba(34, 211, 238, 0.4);
  border-radius: 0 0 16px 16px;
  padding: 1rem 1.25rem 1rem 1.5rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.pricing__custom-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-accent), #22d3ee);
  border-radius: 0 4px 4px 0;
}
.pricing__custom-text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: left;
}

.pricing__table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: var(--color-text);
}
.pricing__table th,
.pricing__table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}
.pricing__table td:first-child { text-align: left; }
.pricing__table td:last-child { text-align: right; }
.pricing__table thead th {
  background: rgba(51, 65, 85, 0.8);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  border-radius: 16px 16px 0 0;
  text-align: center;
}
.pricing__table thead th:first-child { border-radius: 16px 0 0 0; }
.pricing__table thead th:last-child { border-radius: 0 16px 0 0; }

.pricing__head-cell {
  text-align: center;
  vertical-align: middle;
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease;
}
.pricing__head-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}
.pricing__head-inner::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: center/contain no-repeat;
}
.pricing__head-cell--budget .pricing__head-inner::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23facc15' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
}
.pricing__head-cell--cpc .pricing__head-inner::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2338bdf8' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l6.5 16 1.7-5.3L17.5 17 19 15.5l-4.3-5.3L20 8 4 3z'/%3E%3C/svg%3E");
}
.pricing__head-cell:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(51, 65, 85, 0.95);
}
.pricing__table td { color: var(--color-text-muted); }
.pricing__table td:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--color-text);
}
.pricing__table tbody tr:not(.pricing__table-row--custom) {
  transition: background 0.2s ease, transform 0.2s ease;
}
.pricing__table tbody tr:not(.pricing__table-row--custom):hover {
  background: rgba(51, 65, 85, 0.45);
}
.pricing__table tr:last-child td { border-bottom: none; }
.pricing__row--best {
  background: rgba(34,197,94,0.08);
}
.pricing__row--best td {
  color: var(--color-text) !important;
  font-weight: 600;
  border-bottom-color: rgba(34,197,94,0.25);
}
.pricing__row--best td:first-child {
  border-left: 3px solid #22c55e;
}
.pricing__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #0f172a;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.pricing__note {
  margin: 1.5rem auto 1.75rem;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.55;
}
.pricing .btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
  padding: 1.1rem 2.25rem;
  font-size: 1.2rem;
  border-radius: 16px;
  transition: box-shadow 0.25s ease;
}
.pricing .btn:hover {
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.45);
}

/* ===== Free test ===== */
.free-test { padding: 3rem 0; text-align: center; background: var(--color-bg-alt); }
.free-test__text {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
}
.free-test__visual {
  margin: 0 auto 1.5rem;
  text-align: center;
}
.free-test__img {
  display: inline-block;
  max-width: min(480px, 92vw);
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .free-test__img { max-width: 560px; }
}

/* ===== Наш канал (Telegram) ===== */
.channel {
  padding: 3rem 0;
  background: var(--color-bg);
}
.section-title--channel {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.section-title__sticker--channel {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  vertical-align: middle;
}
.channel__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.1rem;
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .channel__content {
    padding: 2.1rem 2.25rem 2.4rem;
  }
}
.channel__visual {
  text-align: center;
  margin-bottom: 0.75rem;
}
.channel__screenshot {
  max-width: min(420px, 100%);
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
}
.channel__info p {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}
.channel__info p:last-child {
  margin-bottom: 1.5rem;
}
.channel__cta {
  text-align: center;
}
.channel__btn {
  min-width: 220px;
}
/* Кнопка в стиле Telegram: голубой фон, белый текст и иконка */
.btn--tg-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0088cc;
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 136, 204, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn--tg-channel:hover {
  background: #0077b5;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.45);
  transform: scale(1.02);
}
.btn--tg-channel .btn__tg-icon {
  filter: brightness(0) invert(1);
}

/* ===== Наши кейсы (в стиле nakrutipf) ===== */
.our-cases { padding: 3rem 0; background: var(--color-bg); }
.our-cases .container { max-width: min(100% - 2rem, 1200px); }
.our-cases__title { margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.our-cases__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .our-cases__layout {
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
  }
}
/* Карусель кейсов: один слайд, стрелки по бокам */
.our-cases__carousel-wrap { position: relative; }
.our-cases__carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-height: 320px;
}
@media (min-width: 640px) {
  .our-cases__carousel { min-height: 420px; }
}
@media (min-width: 900px) {
  .our-cases__carousel { min-height: 480px; }
}
.our-cases__track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}
.our-cases__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.our-cases__slide .our-cases__img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  vertical-align: top;
  border: none;
  border-radius: 0;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: var(--color-bg-alt);
}
@media (min-width: 640px) {
  .our-cases__slide .our-cases__img { min-height: 420px; }
}
@media (min-width: 900px) {
  .our-cases__slide .our-cases__img { min-height: 480px; }
}
.our-cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.our-cases__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}
.our-cases__arrow:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.our-cases__arrow--prev { left: 12px; }
.our-cases__arrow--next { right: 12px; }
.our-cases__arrow-icon {
  width: 24px;
  height: 24px;
  background: no-repeat center/contain;
}
.our-cases__arrow--prev .our-cases__arrow-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f8fafc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
.our-cases__arrow--next .our-cases__arrow-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f8fafc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}
.our-cases__counter {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}
.our-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .our-cases__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.our-cases__cell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.our-cases__cell .our-cases__img {
  display: block;
  border: none;
}
.our-cases__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}
.our-cases__img {
  cursor: zoom-in;
}
.our-cases__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 140px;
  padding: 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}
.our-cases__placeholder-icon {
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322c55e'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.our-cases__placeholder-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
}
.our-cases__card {
  padding: 1.75rem;
  background: linear-gradient(145deg, #1a1f2e 0%, #0f1419 100%);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.our-cases__feature {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.our-cases__feature:last-child { margin-bottom: 0; }
.our-cases__feature:hover { border-color: rgba(255,255,255,0.1); transform: translateX(3px); }
.our-cases__ficon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.our-cases__ficon svg { display: block; width: 26px; height: 26px; }
.our-cases__ficon--blue { background: rgba(56,189,248,0.12); box-shadow: 0 2px 10px rgba(56,189,248,0.2); }
.our-cases__ficon--purple { background: rgba(167,139,250,0.12); box-shadow: 0 2px 10px rgba(167,139,250,0.2); }
.our-cases__ficon--green { background: rgba(34,197,94,0.12); box-shadow: 0 2px 10px rgba(34,197,94,0.2); }
.our-cases__feature:hover .our-cases__ficon--blue {
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(56,189,248,0.6), 0 0 14px rgba(56,189,248,0.4);
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.5));
}
.our-cases__feature:hover .our-cases__ficon--purple {
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(167,139,250,0.6), 0 0 14px rgba(167,139,250,0.4);
  filter: drop-shadow(0 0 10px rgba(167,139,250,0.5));
}
.our-cases__feature:hover .our-cases__ficon--green {
  transform: scale(1.15);
  box-shadow: 0 0 28px rgba(34,197,94,0.6), 0 0 14px rgba(34,197,94,0.4);
  filter: drop-shadow(0 0 10px rgba(34,197,94,0.5));
}
.our-cases__heading {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.our-cases__text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* ===== Cases & Reviews ===== */
.cases-reviews { padding: 3rem 0; background: var(--color-bg); }
.cases-reviews__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
/* Скрываем визуальный кейс-график и карточку «До/После» по запросу */
.cases-reviews__visual,
.cases-reviews__grid {
  display: none;
}
/* Блок: ПФ в Яндексе — стрелка роста и позиции 15 → 10 → 5 → 1 */
.pf-rocket {
  width: 100%;
  max-width: 480px;
}
.pf-rocket__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pf-rocket__yandex {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: default;
}
.pf-rocket__yandex:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 12px rgba(252, 63, 29, 0.85)) drop-shadow(0 0 6px rgba(252, 63, 29, 0.6));
}
.pf-rocket__caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}
.pf-rocket__arrow-wrap {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(180deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}
.pf-rocket__arrow {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  overflow: visible;
}
.pf-rocket__lightning-gif {
  width: 100%;
  height: 100%;
  max-width: 160px;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.pf-rocket__diagram-arrow {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}
.pf-rocket__diagram-path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: pf-arrow-draw 2.5s ease-out 0.5s forwards;
  shape-rendering: geometricPrecision;
}
.pf-rocket__diagram-gif {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.pf-rocket__arrow-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: pf-arrow-draw 4s ease-in-out infinite;
  shape-rendering: geometricPrecision;
}
.pf-rocket__sticker {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  animation: pf-arrow-head-in 4s ease-in-out infinite;
  font-size: 2.5rem;
  line-height: 1;
}
.pf-rocket__sticker img,
.pf-rocket__sticker svg {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}
@keyframes pf-arrow-draw {
  0% { stroke-dashoffset: 300; opacity: 0.3; }
  15% { stroke-dashoffset: 0; opacity: 1; }
  75% { stroke-dashoffset: 0; opacity: 1; }
  90% { stroke-dashoffset: 300; opacity: 0.3; }
  100% { stroke-dashoffset: 300; opacity: 0.3; }
}
@keyframes pf-arrow-head-in {
  0%, 20% { opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}
.pf-rocket__bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0 0.25rem;
  animation: pf-bars-visible 4s ease-in-out infinite;
}
.pf-rocket__bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}
.pf-rocket__bar {
  width: 100%;
  max-width: 44px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
  animation: pf-bar-grow 4s ease-in-out infinite;
  transform-origin: bottom;
}
.pf-rocket__bar-wrap--15 .pf-rocket__bar { height: 20px; }
.pf-rocket__bar-wrap--10 .pf-rocket__bar { height: 36px; }
.pf-rocket__bar-wrap--5 .pf-rocket__bar { height: 52px; background: linear-gradient(180deg, rgba(34, 197, 94, 0.6) 0%, #22c55e 100%); }
.pf-rocket__bar-wrap--1 .pf-rocket__bar { height: 72px; background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%); box-shadow: 0 0 12px rgba(34, 197, 94, 0.4); border: 2px solid rgba(250, 204, 21, 0.6); }
.pf-rocket__bar-wrap--1 {
  position: relative;
}
.pf-rocket__crown {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  animation: pf-bars-visible 4s ease-in-out infinite;
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}
.pf-rocket__crown svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
@keyframes pf-bars-visible {
  0%, 20% { opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  75% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes pf-bar-grow {
  0%, 20% { transform: scaleY(0); opacity: 0; }
  25% { transform: scaleY(0); opacity: 1; }
  50% { transform: scaleY(1); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  75% { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}
.pf-rocket__bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}
.pf-rocket__bar-wrap--1 .pf-rocket__bar-label { color: #86efac; font-size: 1rem; text-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.chart-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.chart-mini__bar {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: #fff;
}
.chart-mini__bar--before {
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
}
.chart-mini__bar--after {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.chart-mini__arrow {
  width: 28px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322c55e' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.cases-reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .cases-reviews__grid { max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 479px) {
  .chart-mini { flex-wrap: wrap; justify-content: center; }
}

.case-card {
  padding: 1.25rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
}
.case-card--after { border-color: var(--color-success); background: rgba(34, 197, 94, 0.1); }
.case-card__label { margin: 0 0 0.25rem; font-size: 0.85rem; color: var(--color-text-muted); }
.case-card__value { margin: 0; font-weight: 600; font-size: 1.1rem; color: var(--color-text); }

.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .reviews { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

.review {
  position: relative;
  margin: 0;
  padding: 1.75rem 1.5rem 1.5rem 1.75rem;
  background: var(--color-bg-card);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review__quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  line-height: 1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}
.review__quote--1,
.review__quote--2 {
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.review__stars {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #facc15;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 3px rgba(250,204,21,0.3));
}
.review__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}
.review__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.review__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--color-bg-elevated);
}
.review__author {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ===== CTA ===== */
.cta { padding: 3rem 0; text-align: center; background: var(--color-bg-alt); }
.cta__text { margin: 0 0 1rem; color: var(--color-text-muted); }
.cta__tg { margin-bottom: 1.5rem; }
.lead-form--cta { margin: 0 auto; }

/* ===== Footer ===== */
.footer {
  position: relative;
  padding: 2rem 0;
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.4;
  pointer-events: none;
}
.footer__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: -1.25rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.footer__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer__nav a:hover { color: var(--color-accent); }
.footer__logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.footer__logo:hover { opacity: 0.9; }
.footer__logo-img {
  display: block;
  height: 72px;
  width: 72px;
}
.footer__tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: #fff;
  text-decoration: none;
}
.footer__tg .tg-icon { width: 22px; height: 22px; filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1500%) hue-rotate(180deg); }
.footer__tg:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer__tg:hover .tg-icon { filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1500%) hue-rotate(180deg) brightness(1.1); }
.footer__copy { width: 100%; margin: 0; font-size: 0.9rem; text-align: center; }
@media (max-width: 767px) {
  .footer__inner { flex-direction: column; justify-content: center; }
  .footer__left { order: 1; }
  .footer__nav { order: 2; }
  .footer__inner .btn { order: 3; }
  .footer__copy { order: 4; }
}

/* ===== FAQ Accordion ===== */
.faq { padding: 3rem 0; background: var(--color-bg); }
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq__item[open] {
  border-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; content: ''; }
.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s ease;
}
.faq__item[open] .faq__question::after {
  transform: rotate(180deg);
}
.faq__item[open] .faq__question {
  color: var(--color-accent);
}
.faq__question:hover {
  color: var(--color-accent-hover);
}
.faq__answer {
  padding: 0 1.25rem 1.1rem;
  animation: faq-fade-in 0.25s ease;
}
.faq__answer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  right: 1.6rem;
  bottom: 5.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.scroll-top:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}
.scroll-top:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.scroll-top[hidden] { display: none !important; }
.scroll-top__icon {
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10l7-7m0 0l7 7m-7-7v18'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Body scroll lock when menu open ===== */
body.menu-open { overflow: hidden; }

/* ===== Lightbox for cases ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] {
  display: none !important;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  max-height: min(90vh, 800px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.16), #020617);
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #020617;
}
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.75), rgba(15, 23, 42, 0.95));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}
.lightbox__close::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e5e7eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M6 18L18 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lightbox__close:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4), 0 18px 40px rgba(15, 23, 42, 0.95);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}
.lightbox__arrow:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.lightbox__arrow--prev { left: 12px; }
.lightbox__arrow--next { right: 12px; }
.lightbox__arrow::before {
  content: '';
  width: 24px;
  height: 24px;
  background: no-repeat center/contain;
}
.lightbox__arrow--prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f8fafc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
.lightbox__arrow--next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f8fafc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}
.lightbox--single .lightbox__arrow,
.lightbox--single .lightbox__counter { display: none; }

.lightbox__counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  z-index: 3;
}

body.lightbox-open {
  overflow: hidden;
}

.tg-fab {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.25) 0%, transparent 50%),
    radial-gradient(circle at 65% 75%, rgba(0,60,120,0.4) 0%, transparent 50%),
    linear-gradient(135deg, #3fbbf7 0%, #229ed9 40%, #1a7eb8 70%, #155d8c 100%);
  box-shadow:
    0 8px 32px rgba(34,158,217,0.45),
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -2px 6px rgba(0,50,100,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: tg-fab-pulse 3s ease-in-out infinite;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.tg-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(56,189,248,0.35);
  animation: tg-fab-ring 3s ease-in-out infinite;
  pointer-events: none;
}
.tg-fab::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  border: 1.5px solid rgba(56,189,248,0.15);
  animation: tg-fab-ring 3s ease-in-out infinite 0.4s;
  pointer-events: none;
}
.tg-fab__icon {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.tg-fab img { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.tg-fab:hover {
  transform: scale(1.12);
  box-shadow:
    0 8px 40px rgba(34,158,217,0.6),
    0 0 24px rgba(56,189,248,0.35),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 6px rgba(0,50,100,0.3);
  filter: brightness(1.1);
  animation: none;
}
.tg-fab:hover::before,
.tg-fab:hover::after {
  animation: none;
  opacity: 0;
}
.tg-fab:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 4px 16px rgba(34,158,217,0.35),
    0 1px 4px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
@keyframes tg-fab-pulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(34,158,217,0.45),
      0 2px 8px rgba(0,0,0,0.3),
      inset 0 1px 0 rgba(255,255,255,0.25),
      inset 0 -2px 6px rgba(0,50,100,0.3);
  }
  50% {
    box-shadow:
      0 8px 40px rgba(34,158,217,0.6),
      0 0 20px rgba(56,189,248,0.3),
      0 2px 8px rgba(0,0,0,0.3),
      inset 0 1px 0 rgba(255,255,255,0.25),
      inset 0 -2px 6px rgba(0,50,100,0.3);
  }
}
@keyframes tg-fab-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0; }
}

/* ===== Partners Logo Strip ===== */
/* partners section removed */
