/* ================================
   Design Tokens / Root Variables
   ================================ */

:root {
  /* Цвета */
  --bg-main: #03040a;
  --bg-card: rgba(10, 16, 32, 0.96);
  --border-soft: rgba(148, 163, 184, 0.55);

  --accent: #facc15;
  --accent2: #38bdf8;
  --accent3: #e879f9;
  --danger: #fb7185;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  /* Радиусы */
  --radius-lg: 22px;
  --radius-md: 18px;

  /* Тени */
  --shadow-strong: 0 26px 100px rgba(15, 23, 42, 0.95);

  /* Layout */
  --page-max-width: 1200px;
  --page-padding-x: 16px;
  --page-padding-y: 18px;
}

/* ================================
   Base Reset
   ================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  font-size: 16px;
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% -10%, rgba(88, 28, 135, 0.6), transparent 55%),
    radial-gradient(circle at 90% 110%, rgba(37, 99, 235, 0.6), transparent 55%),
    linear-gradient(180deg, #020617, #020617 40%, #030712);
  background-color: #020617; /* fallback */
  overflow-x: hidden;
}

/* Базовые ссылки (без подчёркивания по умолчанию) */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Общий контейнер страницы */
.page {
  max-width: var(--page-max-width);
  margin: 0 auto;
  
}

/* ================================
   Typography
   ================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
}

/* Главный заголовок (например, hero) */
h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Заголовки секций */
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Базовый текст */
p {
  font-size: 1rem; /* 16px от html */
  opacity: 0.9;
  margin-bottom: 1rem;
}

/* Мелкий текст / подписи */
.small,
.section-label {
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Подзаголовки / описания секций */
.section-sub,
.hero-subtitle {
  font-size: 0.9375rem; /* 15px */
  color: var(--text-muted);
  line-height: 1.7;
}

/* Мелкий UI-текст: навигация, статусы, чипы */
.nav,
.hero-stats,
.hero-chip,
.price-chip,
.faq-q,
.faq-a {
  font-size: 0.8125rem; /* 13px */
}

/* Кнопки */
button,
.btn-primary,
.btn-ghost {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Чуть крупнее цифры/метрики */
.hero-stat-value,
.price-main,
.case-metric {
  font-size: 1.1rem;
}

/* На мобилке чуть поправим иерархию */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-sub,
  .hero-subtitle {
    font-size: 0.9375rem;
  }
}

/* ================================
   Background FX / Futuristic Grid
   ================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.22;
  z-index: -5;
  animation: gridMove 28s linear infinite;
  will-change: transform;
}

@keyframes gridMove {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-40px, -60px, 0); }
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: -6;
}

.bg-orb.yellow {
  background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.85), transparent 60%);
  top: -140px;
  left: -120px;
}

.bg-orb.cyan {
  background: radial-gradient(circle at 70% 70%, rgba(56, 189, 248, 0.95), transparent 60%);
  bottom: -160px;
  right: -130px;
}

.hud-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 189, 248, 0.09) 1px, transparent 1px);
  background-size: 4px 200px, 100% 6px;
  opacity: 0.06;
  mix-blend-mode: screen;
  z-index: -4;
  animation: hudSlide 10s linear infinite;
  will-change: transform;
}

@keyframes hudSlide {
  from { transform: translateY(0); }
  to   { transform: translateY(-200px); }
}

.cursor-lens {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 35%),
    rgba(248, 250, 252, 0.2),
    transparent 55%
  );
  mix-blend-mode: screen;
  transition: background 0.08s ease-out;
}

/* ================================
   Accessibility & Mobile Tweaks
   ================================ */

/* Отключаем анимации, если у пользователя стоит "уменьшить движение" */
@media (prefers-reduced-motion: reduce) {
  .bg-grid,
  .hud-lines {
    animation: none;
  }

  .cursor-lens {
    transition: none;
  }
}

/* Чуть приглушаем фон на маленьких экранах, чтобы не "рябило" */
@media (max-width: 768px) {
  .bg-grid {
    opacity: 0.16;
  }

  .hud-lines {
    opacity: 0.04;
  }

  .bg-orb {
    filter: blur(20px);
    opacity: 0.8;
  }
}


/* ============================================
   HYPERFLOW — HEADER
   ============================================ */

.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;

  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.95),
    rgba(3, 7, 18, 0.82),
    rgba(3, 7, 18, 0.5)
  );
  backdrop-filter: blur(22px);

  border-bottom: 1px solid rgba(56, 189, 248, 0.32);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.35),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* BRAND */

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(38,188,248,0.35))
    drop-shadow(0 0 18px rgba(232,121,249,0.2))
    drop-shadow(0 0 22px rgba(250,204,21,0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--text-main);
    opacity: 0.96;
    max-width: 250px;
}
.brand-title strong {
    font-size: 17px;
    
}
.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* NAVIGATION DESKTOP */

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  color: rgba(250, 204, 21, 0.9);
  padding: 4px 0;
  transition: color 0.22s ease;
}

.nav-links a:hover {
  color: var(--accent2);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  border-radius: 6px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA */

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;

  color: #020617;
  background: linear-gradient(90deg, var(--accent), var(--accent2));

  box-shadow:
    0 0 16px rgba(250,204,21,0.4),
    0 0 26px rgba(56,189,248,0.32);

  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 22px rgba(250,204,21,0.75),
    0 0 32px rgba(56,189,248,0.5);
}

/* ============================================
   BURGER (мобилка)
   ============================================ */

.burger {
  display: none; /* на десктопе скрыт */
  position: relative;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease, bottom 0.22s ease;
}

.burger span:nth-child(1) {
  top: 2px;
}

.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger span:nth-child(3) {
  bottom: 2px;
}

/* Состояние открытого бургера */
.header.header--nav-open .burger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header.header--nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.header.header--nav-open .burger span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ============================================
   MOBILE LAYOUT
   ============================================ */

@media (max-width: 900px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  .brand-subtitle {
    font-size: 13px;
  }

  /* Показываем бургер */
  .burger {
    display: block;
  }

  /* Нав в мобилке превращаем в дропдаун */
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    padding: 12px 16px 16px;

    background: radial-gradient(circle at 10% -10%, rgba(88, 28, 135, 0.6), transparent 55%), radial-gradient(circle at 90% 110%, rgba(37, 99, 235, 0.6), transparent 55%), linear-gradient(180deg, #020617, #020617 40%, #030712);
    background-color: #020617;
    border-bottom: 1px solid rgba(56,189,248,0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.85);

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 0.28s ease,
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  /* когда открыт */
  .header.header--nav-open .nav {
    max-height: 320px; /* достаточно для всех ссылок */
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 11px;
    padding: 10px 14px;
  }
}
/* Прячем подпись в лого на мобильных, чтобы не мельтешило */
@media (max-width: 640px) {
  .brand-subtitle {
    display: none;
  }
}



/* =========================================
   HERO — видео + футуристический график
   ========================================= */

.hero {
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  min-height: min(680px, 95vh);
  color: var(--text-main);
  overflow: hidden;
}

/* плавный переход к следующему блоку */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    #120c2b 80%,
    #150d35 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- ВИДЕО-ФОН ---------- */

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.1) brightness(0.72);
  transform: scale(1.02);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
}


/* на мобилке видео отключаем, оставляем базовый фон */
@media (max-width: 900px) {
.hero {
    min-height: auto;
  }
}

/* ---------- ВНУТРЕННЯЯ СЕТКА ---------- */

.hero-inner {
  position: relative;
  z-index: 1;

  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 96px var(--page-padding-x) 80px;

  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.hero-left,
.hero-right {
  min-width: 0;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 80px 20px 68px;
    gap: 36px;
  }

  .hero-left {
    text-align: center;
    margin: 0 auto;
  }

  .hero-right {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 45px 16px 56px;
  }
}

/* ---------- ЛЕВАЯ ЧАСТЬ (ТЕКСТЫ) ---------- */

.hero-left {
  max-width: 640px;
}

/* бейдж над заголовком */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;

  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);

  font-size: 0.8rem;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.95);
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 16px;
  max-width: 580px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- КНОПКИ ---------- */

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: linear-gradient(90deg, var(--accent), var(--accent3), var(--accent2));
  color: #020617;

  box-shadow:
    0 0 18px rgba(255,0,200,0.42),
    0 0 40px rgba(56,189,248,0.5);

  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
  box-shadow:
    0 0 26px rgba(255,0,200,0.9),
    0 0 55px rgba(56,189,248,0.8);
}

.btn-ghost {
  border: none;
  background: none;
  cursor: pointer;

  padding: 8px 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0f0f1;

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent2), transparent);
  opacity: 0.7;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.btn-ghost:hover {
  color: var(--accent2);
}

.btn-ghost:hover::after {
  width: 52px;
  opacity: 1;
}

/* кнопки в столбик на мобилке */
@media (max-width: 960px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- МЕТРИКИ И ЧИПЫ ---------- */

.hero-stats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
text-align: center;
}

.hero-stat {
  min-width: 130px;
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-label {
  margin-top: 2px;
}

.hero-strip {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  font-size: 0.8rem;
  color: rgba(56, 189, 248, 0.9);
}

@media (max-width: 960px) {
  .hero-stats,
  .hero-strip {
    justify-content: center;
  }
}

/* =========================================
   ПРАВАЯ ЧАСТЬ — ФУТУРИСТИЧЕСКИЙ ГРАФИК
   ========================================= */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-graph-card {
  position: relative;
  width: 400px;
  max-width: 100%;
  padding: 18px 18px 16px;
  border-radius: 26px;

  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(250,204,21,0.25), transparent 60%),
    rgba(10,16,32,0.96);

  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

/* Заголовок + pill */

.hero-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-graph-title {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-graph-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bbf7d0;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(34,197,94,0.8);
  box-shadow: 0 0 14px rgba(34,197,94,0.6);
}

/* Сам график */

.hero-graph-shell {
  position: relative;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 0 100%, rgba(15,23,42,0.9), rgba(15,23,42,1));
  margin-bottom: 14px;
}

.hero-graph-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(148,163,184,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.1) 1px, transparent 1px);
  background-size: 100% 24px, 32px 100%;
  opacity: 0.4;
}

/* SVG-линия */

.hero-graph-svg {
  position: absolute;
  inset: 10px 12px 12px;
  width: calc(100% - 24px);
  height: calc(100% - 22px);
}

.hero-graph-path {
  fill: none;
  stroke: url(#heroLineGradient);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  filter:
    drop-shadow(0 0 12px rgba(56,189,248,0.75))
    drop-shadow(0 0 24px rgba(232,121,249,0.8));
  animation: heroGraphDraw 3.8s ease-out infinite alternate;
}

@keyframes heroGraphDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Glow под линией */

.hero-graph-glow {
  position: absolute;
  left: 8%;
  right: 4%;
  bottom: 4%;
  height: 45%;
  background:
    radial-gradient(circle at 80% 0, rgba(56,189,248,0.55), transparent 60%),
    radial-gradient(circle at 20% 0, rgba(232,121,249,0.45), transparent 60%);
  filter: blur(14px);
  opacity: 0.8;
  mix-blend-mode: screen;
}

/* Чипы с цифрами */

.hero-graph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-graph-chip {
  flex: 1 1 0;
  min-width: 110px;

  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(31,41,55,0.9);

  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.chip-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent2);
  text-align: center;
}

.chip-value--green {
  color: #4ade80;
  text-align: center;
}

.chip-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* Адаптив правого блока */

@media (max-width: 960px) {
  .hero-right {
    justify-content: center;
  }

  .hero-graph-card {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .hero-graph-shell {
    height: 150px;
  }

  .hero-graph-chips {
    flex-direction: column;
  }

  .hero-graph-chip {
    width: 100%;
  }
}
/* Мобилка: прячем "Мало заявок" и чипы "Преміальний сайт / Google Ads / GA4" */
@media (max-width: 900px) {
  .hero-badge {
    display: none;
  }

  .hero-strip {
    display: none;
  }
.hero-title {
    margin-top: 0px;
    
}
}


.hero-video-overlay {
  background: rgba(0,0,0,0.28);
  pointer-events: none;
 
}



/* =========================================
   BASE SECTION (общий стиль блоков)
   ========================================= */

.section {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 45px var(--page-padding-x) 30px;
}

.section + .section {
  border-top: 1px solid var(--accent);
}

/* подпись секции */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.9);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-muted);
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent2), transparent);
  box-shadow: 0 0 10px rgba(56,189,248,0.8);
}

/* заголовок секции */

.section-title {
  margin-top: 18px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* подзаголовок */

.section-sub {
  margin-top: 14px;
  max-width: 720px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* подпись внизу секции */

.pain-note {
  margin-top: 28px;
  max-width: 720px;
  font-size: 0.92rem;
  color: var(--text-muted);
text-align: center;
    margin: 30px auto;
}

.pain-note strong {
  color: var(--danger);
  font-weight: 700;
}

/* =========================================
   PAIN — ПРОБЛЕМА (section-pain)
   ========================================= */

.section-pain {
  position: relative;
  border-top-color: rgba(248,113,113,0.8);
}

/* подпись "Проблема" с красным маркером */
.section-pain .section-label::before {
  background: radial-gradient(circle, var(--danger), transparent);
  box-shadow: 0 0 10px rgba(248,113,113,0.9);
}

/* заголовок с тёплым градиентом */
.section-pain .section-title {
  background: linear-gradient(90deg, #fb7185, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* тонкая линия под заголовком */
.section-pain .section-title::after {
  content: "";
  display: block;
  margin-top: 14px;
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, rgba(248,250,252,0));
  opacity: 0.9;
}

/* текст под заголовком немного светлее */
.section-pain .section-sub {
  color: rgba(226,232,240,0.82);
}

/* ====== СЕТКА КАРТОЧЕК ====== */

.pain-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ====== КАРТОЧКА ПРОБЛЕМЫ ====== */

.pain-item {
  position: relative;
  padding: 18px 18px 16px 22px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,0.98));
  border: 1px solid rgba(51,65,85,0.95);
  box-shadow:
    0 16px 40px rgba(15,23,42,0.75),
    0 0 0 1px rgba(15,23,42,0.9);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

/* цветная полоска слева */

.pain-item-accent-bar {
  position: absolute;
  left: 0;
  top: -10%;
  bottom: -10%;
  width: 3px;
  background: linear-gradient(
    180deg,
    #fb7185,
    #fb923c,
    #facc15
  );
  opacity: 0.95;
}

/* мягкий glow внутри (подсветка при hover на десктопе) */

.pain-item::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(248,250,252,0.12), transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* заголовок проблемы */

.pain-item-title {
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fca5a5;
}

/* линия под заголовком (десктоп) */

.pain-item-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, rgba(248,250,252,0));
  opacity: 0.9;
}

/* текст */

.pain-item-text {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* hover — только для десктопа */

@media (hover: hover) and (pointer: fine) {
  .pain-item:hover {
    transform: translateY(-2px);
    border-color: rgba(248,113,113,0.9);
    background:
      radial-gradient(circle at 0 0, rgba(248,113,113,0.24), rgba(15,23,42,0.98));
    box-shadow:
      0 20px 55px rgba(15,23,42,0.95),
      0 0 0 1px rgba(248,113,113,0.55);
  }

  .pain-item:hover::after {
    opacity: 1;
  }
}

/* =========================================
   АККОРДЕОН ДЛЯ МОБИЛКИ
   ========================================= */

/* header аккордеона (кнопка) */

.pain-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: default; /* десктоп */
}

/* иконка + / × */

.pain-accordion-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  opacity: 0;          /* скрыта на десктопе */
  transform: scale(0.9);
}

.pain-accordion-icon::before,
.pain-accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(248,250,252,0.7);
  transform-origin: center;
}

.pain-accordion-icon::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

.pain-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* тело аккордеона — базово всегда видно (десктоп) */

.pain-accordion-body {
  display: block;
  margin-top: 10px;
}

/* ===== Мобильное поведение ===== */

@media (max-width: 900px) {
  .pain-item {
    padding: 16px 16px 14px 20px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15,23,42,0.65);
  }

  .pain-accordion-header {
    cursor: pointer;
  }

  .pain-accordion-icon {
    opacity: 0.7;
  }

  /* на мобилке работаем через display — максимально быстрый вариант */
  .pain-accordion-body {
    display: none;
    margin-top: 6px;
  }

  .pain-accordion.is-open .pain-accordion-body {
    display: block;
  }

  /* анимация иконки: + → × */
  .pain-accordion.is-open .pain-accordion-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .pain-accordion.is-open .pain-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* чуть компактнее текст */
  .pain-item-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* убираем линию под заголовком, чтобы не мусорила в строке с иконкой */
  .pain-item-title::after {
    display: none;
  }
}

/* на десктопе аккордеон всегда открыт */
@media (min-width: 901px) {
  .pain-accordion-body {
    display: block !important;
  }

  .pain-accordion-icon {
    display: none;
  }
}



/* ==== OFFER / PACKAGE ==== */

/* жёлтый маркер у подписи */
.section-offer .section-label::before {
  background: radial-gradient(circle, var(--accent), transparent);
  box-shadow: 0 0 10px rgba(250,204,21,0.9);
}

/* заголовок с тёплым градиентом */
.section-offer .section-title {
  background: linear-gradient(90deg, #facc15, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-offer .section-title::after {
  content: "";
  display: block;
  margin-top: 14px;
  width: 150px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, rgba(248,250,252,0));
  opacity: 0.9;
}

.section-offer .section-sub {
  color: rgba(226,232,240,0.86);
}

/* Лейаут: две колонки */

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 26px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .offer-layout {
    grid-template-columns: 1fr;
  }

  /* На мобилке сначала прайс, потом текст — проще для восприятия */
  .price-panel {
    order: -1;
  }
}

/* Левая панель */

.offer-panel {
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 0 0, rgba(250,204,21,0.22), transparent 60%),
    rgba(10,16,32,0.98);
  border: 1px solid rgba(250,204,21,0.7);
  box-shadow: var(--shadow-strong);
  font-size: 0.88rem;
}

.offer-lead {
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: rgba(226,232,240,0.96);
}

.offer-lead strong {
  color: var(--accent);
}

/* ключевой список — крупнее, без воды */

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

.offer-list--key li {
  margin-bottom: 3px;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  padding-left: 14px;
}

.offer-list--key li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #facc15, transparent);
  box-shadow: 0 0 6px rgba(250,204,21,0.8);
}

.offer-list--key strong {
  color: rgba(248,250,252,0.98);
}

.offer-note {
  margin-top: 50px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
text-align: center;
}

/* ПРАВАЯ ПАНЕЛЬ — ЦЕНА */

.price-panel {
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(56,189,248,0.35), transparent 60%),
    rgba(15,23,42,0.98);
  border: 1px solid rgba(56,189,248,0.7);
  font-size: 0.85rem;
  box-shadow: var(--shadow-strong);
}

.price-main {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.price-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
justify-content: center;
}

.price-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 0.75rem;
  color: rgba(226,232,240,0.9);
  background: rgba(15,23,42,0.96);
}

.price-benefits {
  margin-bottom: 10px;
}

.price-benefits-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148,163,184,0.95);
  margin-bottom: 6px;
}

.price-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.price-benefits-list li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
}

.price-benefits-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(148,163,184,0.9);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* Мобилка: слегка укрупняем, чтобы легче читалось */

@media (max-width: 900px) {
  .section-offer {
    padding-top: 56px;
  }

  .offer-panel,
  .price-panel {
    padding: 16px 14px 14px;
  }

  .offer-panel {
    font-size: 0.9rem;
  }

  .price-panel {
    font-size: 0.86rem;
  }

  .price-main {
    font-size: 1.6rem;
  }
}
.price-panel-premium {
  text-align: center;
  padding: 26px 22px 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(250,204,21,0.4), transparent 60%),
    rgba(15,23,42,0.98);
  border: 1px solid rgba(250,204,21,0.85);
  box-shadow: 0 0 32px rgba(250,204,21,0.25);
}

.price-big {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #facc15;
  text-shadow: 0 0 28px rgba(250,204,21,0.6);
}

.price-label {
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(226,232,240,0.9);
  letter-spacing: 0.06em;
}

.price-feel {
  font-size: 0.95rem;
  color: rgba(226,232,240,0.9);
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .offer-list li:nth-child(n+4) {
    display: none;
  }
  .offer-list.open li {
    display: block;
  }

  .offer-mobile-toggle {
    margin-top: 14px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid rgba(250,204,21,0.4);
    background: rgba(15,23,42,0.9);
    color: #facc15;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
  }
}
/* Ховаємо частину списку на мобілці */
@media (max-width: 900px) {
  .offer-list {
    max-height: 140px; /* видно 2–3 пункти */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .offer-list.open {
    max-height: 1000px; /* відкритий стан */
  }

  .offer-mobile-toggle {
    margin-top: 12px;
    padding: 8px 14px;
    width: 100%;
    font-size: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.5);
    background: rgba(15,23,42,0.85);
    color: #e2e8f0;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
  }

  .offer-mobile-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

/* на десктопі кнопка не показується */
@media (min-width: 901px) {
  .offer-mobile-toggle {
    display: none;
  }
}
.offer-icons {
  margin: 30px 0 10px;
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0.9;
}

.offer-icon img {
  height: 32px;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(56,189,248,0.4));
  opacity: 0.85;
  transition: opacity .25s ease, transform .25s ease;
}

.offer-icon img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1) invert(1) drop-shadow(0 0 14px rgba(232,121,249,0.65));
}

@media (max-width: 900px) {
  .offer-icons {
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .offer-icon img {
    height: 28px;
  }
}
.offer-intro {
  margin: 24px 0 10px;
}

.offer-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 22px;
}

.offer-lead strong {
  color: var(--accent);
}

.offer-icons {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0.9;
justify-content: center;
}

.offer-icon img {
  height: 32px;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(56,189,248,0.4));
  opacity: 0.85;
  transition: opacity .25s ease, transform .25s ease;
}

.offer-icon img:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: brightness(1) invert(1) drop-shadow(0 0 14px rgba(232,121,249,0.65));
}

/* MOBILE */
@media (max-width: 900px) {
  .offer-intro {
    text-align: center;
  }

  .offer-icons {
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
  }

  .offer-icon img {
    height: 28px;
  }
}
.offer-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.offer-left {
  display: flex;
    flex-direction: row;
    gap: 20px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* ПРАВАЯ КАРТОЧКА */
.offer-right {
  display: flex;
  justify-content: flex-end;
}

.offer-premium-card {
  width: 100%;
  max-width: 380px;
  padding: 26px;
  border-radius: 26px;

  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(250,204,21,0.25), transparent 60%),
    rgba(10,16,32,0.96);

  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: var(--shadow-strong);
}

/* Элементы карточки */
.opc-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.opc-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 10px 0 16px;
}

.opc-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.opc-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.opc-list li {
  color: #cdd4d9;
  margin-bottom: 6px;
  position: relative;
}

.opc-list li::before {
  content: "•";
  color: var(--accent2);
  margin-right: 6px;
}

.opc-price {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* МОБИЛКА */
@media (max-width: 900px) {
  .offer-layout {
    grid-template-columns: 1fr;
  }

  .offer-right {
    justify-content: center;
  }

  .offer-premium-card {
    max-width: 100%;
  }
.offer-left {
    display: flex;
    flex-direction: column;
}
}
.price-video-wrap {
  position: relative;
  margin-top: 32px;
  border-radius: 28px;
  overflow: hidden;
  padding: 36px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

/* видео подложка */
.price-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42; /* можно менять 0.25–0.55 */
  filter: blur(4px);
  transform: scale(1.05);
}

/* прозрачный градиент для читабельности */
.price-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 18, 0.75), rgba(4, 6, 18, 0.95)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(255, 193, 7, 0.22), transparent 55%);
  mix-blend-mode: soft-light;
}

/* карточка цены поверх видео */
.price-panel-premium {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
}

/* адаптив */
@media (max-width: 900px) {
  .price-video-wrap {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .price-bg-video {
    opacity: 0.35;
    filter: blur(5px);
  }
}
.price-video-wrap {
  position: relative;
  margin: 56px auto 0;          /* центрируем и даём воздуха сверху */
  max-width: 1160px;            /* чтобы не растягивалось на весь экран */
  border-radius: 32px;
  overflow: hidden;
  padding: 40px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7); /* мягкая тень блока */
}

/* видео подложка */
.price-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;                /* можно играть 0.3–0.45 под конкретное видео */
  filter: blur(5px);
  transform: scale(1.06);
}

/* градиент поверх видео, чтобы текст читался всегда */
.price-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(255, 193, 7, 0.24), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 22, 0.85), rgba(5, 7, 22, 0.97));
  mix-blend-mode: soft-light;
}

/* карточка цены */
.price-panel-premium {
  position: relative;
  z-index: 2;
  max-width: 540px;
  width: 100%;
  border-radius: 26px;
  background: radial-gradient(circle at 0% 0%, rgba(255, 238, 88, 0.12), transparent 60%),
              #050815;
  box-shadow:
    0 0 0 1px rgba(255, 213, 79, 0.45),
    0 18px 60px rgba(0, 0, 0, 0.85);
}

/* адаптив */
@media (max-width: 900px) {
  .price-video-wrap {
    margin-top: 40px;
    padding: 26px 16px;
    border-radius: 24px;
  }

  .price-panel-premium {
    border-radius: 20px;
  }

  .price-bg-video {
    opacity: 0.32;
    filter: blur(6px);
  }
}

/* если пользователь отключил анимации — не мучаем его видео */
@media (prefers-reduced-motion: reduce) {
  .price-bg-video {
    display: none;
  }
}


/* ==== PACKAGE DETAILS ==== */
.package-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .package-premium {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* карточка будущего */
.package-future {
  text-align: center;
  padding: 32px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(120, 191, 255, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255, 214, 102, 0.15), transparent 60%),
    rgba(5, 7, 22, 0.92);
  border: 1px solid rgba(120, 191, 255, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
}

/* номер */
.package-index {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffe082, #ffd54f);
  color: #000;
}

/* заголовок */
.package-future h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* короткое описание */
.package-short {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(229, 235, 255, 0.9);
}
/* стартовое состояние */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(.19,1,.22,1),
    filter 1.2s ease;
  filter: blur(8px);
}

/* активное состояние */
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* лёгкое сияние при появлении */
.reveal.visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 226, 120, 0.14), transparent 70%);
  opacity: 0;
  animation: glow 2.4s ease-out forwards;
}

@keyframes glow {
  0%   { opacity: 0.7; }
  100% { opacity: 0; }
}
/* ===== MAGIC FUTURE CARDS (3 LEVEL COLOR FLOW) ===== */

.package-card:nth-child(1) {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 216, 98, 0.26), transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(255, 150, 58, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(75, 60, 20, 0.65), rgba(10, 10, 20, 0.92));
  border: 1px solid rgba(255, 215, 110, 0.45);
  box-shadow: 0 14px 40px rgba(255, 193, 80, 0.25);
}

.package-card:nth-child(2) {
  background:
    radial-gradient(circle at 0% 10%, rgba(105, 180, 255, 0.22), transparent 70%),
    radial-gradient(circle at 80% 100%, rgba(255, 172, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(30, 35, 60, 0.7), rgba(12, 14, 30, 0.94));
  border: 1px solid rgba(170, 200, 255, 0.35);
  box-shadow: 0 14px 40px rgba(120, 160, 255, 0.25);
}

.package-card:nth-child(3) {
  background:
    radial-gradient(circle at 0% 0%, rgba(90, 180, 255, 0.25), transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(71, 231, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10, 25, 55, 0.7), rgba(5, 12, 28, 0.95));
  border: 1px solid rgba(140, 220, 255, 0.45);
  box-shadow: 0 14px 40px rgba(90, 200, 255, 0.25);
}
.reveal.visible {
  animation: holo-pulse 2.6s ease-out forwards;
}

@keyframes holo-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 230, 120, 0.0),
      inset 0 0 0 0 rgba(255, 230, 120, 0.0);
  }
  25% {
    box-shadow:
      0 0 24px 6px rgba(255, 230, 120, 0.25),
      inset 0 0 18px rgba(255, 230, 120, 0.22);
  }
  100% {
    box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.65),
      inset 0 0 0 rgba(255, 230, 120, 0);
  }
}
.package-card {
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(255, 205, 100, 0.18),
      rgba(120, 190, 255, 0.14),
      rgba(90, 255, 230, 0.18),
      rgba(255, 150, 255, 0.16)
    );
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity 1.4s ease;
}

.reveal.visible::before {
  opacity: 0.55;
  animation: holo-shift 5s ease-in-out infinite alternate;
}

@keyframes holo-shift {
  0% {
    transform: translate3d(-15%, -10%, 0) scale(1.1);
  }
  100% {
    transform: translate3d(15%, 10%, 0) scale(1.08);
  }
}
.package-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
  transform: rotate(15deg);
  opacity: 0;
}

.reveal.visible::after {
  opacity: 0.4;
  animation: shimmer 2.8s ease-out forwards;
}

@keyframes shimmer {
  0% {
    transform: translateY(-80%) rotate(15deg);
  }
  100% {
    transform: translateY(20%) rotate(15deg);
  }
}
/* ===== GRID ===== */
.package-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .package-premium {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ===== CARD ===== */
.package-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 22px;
  text-align: left;
  overflow: hidden;
}

/* ===== HEADER: INDEX + TITLE ===== */
.package-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.package-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 32px;
  height: 32px;
  border-radius: 999px;

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;

  background: rgba(10, 14, 25, 0.9);
  color: #ffe082;
  border: 1px solid rgba(255, 230, 150, 0.85);

  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 224, 130, 0.28);
}

.package-head h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

/* ===== TEXT ===== */
.package-short {
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(229, 235, 255, 0.88);
}

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  .package-card {
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .package-index {
    min-width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }

  .package-head h3 {
    font-size: 0.95rem;
  }

  .package-short {
    font-size: 0.88rem;
  }
}
#package .section-label::before {
  background: #fff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.7),
    0 0 12px rgba(255, 255, 255, 0.45);
}

/* А вот общий стиль оставляем синим, как раньше */
.section-label::before {
  background: #5ecbff;
  box-shadow: 0 0 10px #5ecbff;
}



/* ==== FORMATS (NICHES) ==== */
/* ==== FORMATS BLUE THEME ==== */

#formats {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  background:
    radial-gradient(circle at 50% 10%, rgba(80,130,255,0.13), transparent 70%);
}

#formats .section-label {
  color: #7bc9ff;
}

#formats .section-label::before {
  background: #7bc9ff;
  box-shadow:
    0 0 6px rgba(120, 200, 255, 0.9),
    0 0 14px rgba(120, 200, 255, 0.55);
}

#formats .section-title {
color: #7bc9ff;
  text-shadow: 0 0 12px rgba(120, 190, 255, 0.35);
}

/* GRID */
.formats-shell {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 32px;
align-items: center;
}

@media (max-width: 960px) {
  .formats-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* TABS */
.formats-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formats-tab {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(120, 190, 255, 0.35);
  background: rgba(5, 9, 20, 0.85);
  color: #d4e9ff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: 0.22s ease;
}

.formats-tab--active {
  border-color: #7bc9ff;
  background: radial-gradient(circle at 0 0, rgba(120, 190, 255, 0.3), transparent 55%),
              rgba(8, 12, 28, 0.95);
  color: #f0f8ff;
  box-shadow: 0 0 18px rgba(120, 200, 255, 0.4);
}

/* PANELS WRAPPER */
.formats-panels {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(140, 210, 255, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(120,190,255,0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255,214,160,0.16), transparent 55%),
    rgba(5, 8, 24, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* PANELS */
.formats-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
}

.formats-panel--active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* INTERNAL */
.formats-tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160, 200, 255, 0.6);
  background: rgba(8, 14, 32, 0.9);
  color: #dceaff;
  font-size: .7rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.formats-panel-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #e8f2ff;
}

.formats-panel-text {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(226, 235, 255, 0.9);
  margin-bottom: 16px;
}

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

.formats-list li {
  padding-left: 16px;
  margin-bottom: 6px;
  color: rgba(208, 220, 255, 0.9);
  font-size: .92rem;
  position: relative;
}

.formats-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7bd1ff, #ffe082);
}


/* ==== CASES — PINK / PURPLE BLOCK ==== */

#cases {
  border-top: 1px solid rgba(232, 121, 249, 0.9);
}

#cases .section-label {
  color: #ffb6ff;
}

#cases .section-label::before {
  background: #ff9cf5;
  box-shadow:
    0 0 6px rgba(255, 156, 245, 0.9),
    0 0 14px rgba(255, 156, 245, 0.6);
}

#cases .section-title {
  color: #ffe9ff;
  text-shadow: 0 0 16px rgba(255, 170, 255, 0.45);
}

#cases .section-sub {
  color: rgba(250, 225, 255, 0.85);
}

/* оболочка секции */

.cases-wrapper {
  margin-top: 32px;
  position: relative;
}

/* трек для 3D-позиціонування (desktop) */

.cases-track {
  position: relative;
  height: 340px;
  max-width: 100%;
  margin: 0 auto 24px;
  perspective: 1200px;

  /* без горизонтального скроллбара */
  scrollbar-width: none;
}
.cases-track::-webkit-scrollbar {
  display: none;
}

/* базовая карточка */

.case-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(320px, 80vw);
  height: 260px;
  transform: translateX(-50%);
  transition:
    transform 0.55s cubic-bezier(.19,1,.22,1),
    opacity 0.45s ease,
    filter 0.45s ease;
  opacity: 0;
  pointer-events: none;
}

/* стеклянная подложка */

.case-glass {
  height: 100%;
  border-radius: 24px;
  padding: 7px 24px 36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 160, 255, 0.16), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(130, 170, 255, 0.18), transparent 55%),
    rgba(10, 6, 30, 0.96);
  border: 1px solid rgba(230, 150, 255, 0.55);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.8),
    inset 0 0 40px rgba(255, 255, 255, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* логотип */

.case-logo-wrap {
  margin-bottom: 10px;
display: flex;
    justify-content: center;
}

.case-logo {
      max-width: 145px;
    max-height: 94px;
    width: auto;
    height: auto;
    opacity: 0.95;
border-radius: 10px;
}

/* текстовые элементы */

.case-tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(205, 220, 255, 0.9);
  margin-bottom: 6px;
}

.case-name {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.case-short {
  font-size: 0.9rem;
  color: rgba(244, 227, 255, 0.9);
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-metric {
  margin-top: auto;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ff9cf5;
  text-shadow:
    0 0 10px rgba(255, 156, 245, 0.7),
    0 0 18px rgba(255, 156, 245, 0.5);
}

/* кнопка "Детальніше" */

.case-more {
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ff63d8, #7f7dff);
  color: #060313;
  cursor: pointer;
  box-shadow:
    0 0 14px rgba(255, 120, 230, 0.7),
    0 0 30px rgba(127, 125, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.case-more:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 0 20px rgba(255, 140, 240, 0.9),
    0 0 40px rgba(127, 125, 255, 0.8);
}

/* позиции (3D-карусель) */

.case-card.case-pos-0 {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateZ(60px) scale(1);
  filter: none;
  z-index: 3;
}

.case-card.case-pos--1 {
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(calc(-50% - 220px))
             translateZ(-60px)
             scale(0.88)
             rotateY(14deg);
  filter: blur(1px);
  z-index: 2;
}

.case-card.case-pos-1 {
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(calc(-50% + 220px))
             translateZ(-60px)
             scale(0.88)
             rotateY(-14deg);
  filter: blur(1px);
  z-index: 2;
}

.case-card.case-pos-far {
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
}

/* навигация (desktop) */

.cases-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cases-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 255, 0.6);
  background: rgba(20, 10, 40, 0.95);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.cases-arrow:hover {
  background: rgba(255, 190, 255, 0.18);
}

.cases-counter {
  font-size: 0.85rem;
  color: rgba(245, 220, 255, 0.95);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cases-divider {
  margin: 0 4px;
}

/* подсказка свайпа — по умолчанию скрыта */

.cases-hint {
  display: none;
}

/* ==== MOBILE (<= 900px) ==== */

@media (max-width: 900px) {
  .cases-track {
    height: auto;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    perspective: none;
  }

  .case-card {
    position: static;
    flex: 0 0 82vw;
    height: 240px;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    filter: none !important;
  }

  .case-glass {
    padding: 18px 16px;
  }

  .case-short {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .case-metric {
    margin-top: auto;
    margin-bottom: 8px;
  }

  /* скрываем стрелки */
  .cases-nav {
    display: none !important;
  }

  /* показываем подсказку свайпа */
  .cases-hint {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 220, 255, 0.55);
    letter-spacing: 0.08em;
    animation: fadeScroll 3s infinite;
    pointer-events: none;
  }

  @keyframes fadeScroll {
    0%   { opacity: 0; transform: translateY(2px); }
    20%  { opacity: 1; transform: translateY(0); }
    40%  { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-2px); }
  }
}

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

/* базовое состояние */

.case-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* открыта */

.case-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* затемнение фона */

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 180, 255, 0.12), transparent 55%),
    rgba(3, 4, 14, 0.92);
  backdrop-filter: blur(14px);
}

/* диалог */

.case-modal-dialog {
  position: relative;
  width: min(520px, 92vw);
  border-radius: 24px;
  padding: 22px 22px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 221, 255, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(120, 190, 255, 0.18), transparent 60%),
    rgba(10, 8, 26, 0.96);
  border: 1px solid rgba(255, 190, 255, 0.5);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  z-index: 1;
}

/* шапка модалки */

.case-modal-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.case-modal-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(20, 12, 40, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-modal-logo {
  max-width: 70%;
  max-height: 70%;
}

.case-modal-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(230, 220, 255, 0.8);
  margin-bottom: 2px;
}

.case-modal-title {
  font-size: 1.2rem;
  color: #ffffff;
}

/* контент модалки */

.case-modal-body {
  font-size: 0.95rem;
  color: rgba(230, 230, 255, 0.9);
  line-height: 1.6;
}

.case-modal-what {
  margin-bottom: 10px;
}

.case-modal-list {
  margin: 0 0 10px;
  padding-left: 18px;
}

.case-modal-list li {
  margin-bottom: 4px;
}
.case-modal-list li::marker {
  color: #ffb6ff;
}

.case-modal-result {
  margin-top: 4px;
  font-weight: 500;
  color: #ffd7ff;
}

/* кнопка закрытия */

.case-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 255, 0.7);
  background: rgba(14, 10, 32, 0.9);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.case-modal-close:hover {
  background: rgba(255, 220, 255, 0.15);
}

/* глобально — без горизонтального скролла страницы */

html,
body {
  overflow-x: hidden;
}



/* ==== MODAL (CASES) ==== */

/* базовое состояние */
.case-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* открыта */
.case-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* backdrop */
.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 180, 255, 0.12), transparent 55%),
    rgba(3, 4, 14, 0.92);
  backdrop-filter: blur(14px);
}

/* dialog */
.case-modal-dialog {
  position: relative;
  width: min(520px, 92vw);
  border-radius: 24px;
  padding: 22px 22px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 221, 255, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(120, 190, 255, 0.18), transparent 60%),
    rgba(10, 8, 26, 0.96);
  border: 1px solid rgba(255, 190, 255, 0.5);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  z-index: 1;
}

/* header */
.case-modal-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.case-modal-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(20, 12, 40, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-modal-logo {
  max-width: 70%;
  max-height: 70%;
}

.case-modal-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(230, 220, 255, 0.8);
  margin-bottom: 2px;
}

.case-modal-title {
  font-size: 1.2rem;
  color: #ffffff;
}

/* body */
.case-modal-body {
  font-size: 0.95rem;
  color: rgba(230, 230, 255, 0.9);
  line-height: 1.6;
}

.case-modal-what {
  margin-bottom: 10px;
}

.case-modal-list {
  margin: 0 0 10px;
  padding-left: 18px;
}

.case-modal-list li {
  margin-bottom: 4px;
}

.case-modal-list li::marker {
  color: #ffb6ff;
}

.case-modal-result {
  margin-top: 4px;
  font-weight: 500;
  color: #ffd7ff;
}

/* close button */
.case-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 255, 0.7);
  background: rgba(14, 10, 32, 0.9);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.case-modal-close:hover {
  background: rgba(255, 220, 255, 0.15);
}



/* ==== GLOBAL HORIZONTAL SCROLL FIX (опционально) ==== */
/* можешь убрать, если где-то нужен горизонтальный скролл */
html,
body {
  overflow-x: hidden;
}
/* Базово: высота авто */
.case-card {
  height: 350px;
}
.case-logo_custom, .case-logo_ship{
  transform: scale(1.25);
  transform-origin: center;
}
.case-logo_viktor, .case-logo_nes, .case-logo_dream{
  transform: scale(2.25);
  transform-origin: center;
}
.case-logo_fam {
  transform: scale(2.25);
  transform-origin: center;
  filter: brightness(0) invert(1);
}
.case-logo_gps{
transform: scale(1.25);
  transform-origin: center;
margin-bottom: 10px;
    margin-top: 12px;
}
.case-logo_top{
background-color: white;
}
.case-logo_ham {
    transform: scale(1.55);
    transform-origin: center;
}
.case-logo_sta{
  transform: scale(1.25);
  transform-origin: center;
  filter: brightness(0) invert(1);
}



/* ==== PROCESS (TIMELINE) ==== */
/* ===== PROCESS SECTION — HYPERFLOW V3 ===== */

.section-process {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

/* Лёгкий общий glow секции */
.section-process::before {
  content: "";
  position: absolute;
  inset: -140px -40px auto;
  background:
    radial-gradient(circle at 10% 0, rgba(0, 220, 255, 0.17), transparent 60%),
    radial-gradient(circle at 90% 0, rgba(190, 120, 255, 0.2), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

/* Заголовок блока */
.section-process .section-title {
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.25;
  margin: 6px 0 10px;
  color: #ffffff;
}

.section-process .section-sub {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(225, 235, 255, 0.9);
  max-width: 60rem;
}

/* ===== LAYOUT ===== */

.process-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* ===== LEFT COLUMN — SUMMARY ===== */

.process-summary {
  padding: 20px 18px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 180, 255, 0.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(180, 120, 255, 0.18), transparent 60%),
    rgba(5, 8, 26, 0.96);
  border: 1px solid rgba(140, 190, 255, 0.25);
  box-shadow:
    0 0 24px rgba(10, 80, 200, 0.45),
    0 0 70px rgba(2, 4, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out;
}

.process-summary-title {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #f5f7ff;
}

.process-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.process-summary-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(215, 225, 255, 0.9);
  margin-bottom: 6px;
}

.process-summary-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d2ff, #c700ff);
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

.process-summary-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: rgba(190, 205, 255, 0.9);
  padding-top: 10px;
  border-top: 1px solid rgba(120, 180, 255, 0.32);
}

.process-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #031021;
  background: linear-gradient(135deg, #00e0ff, #ffe45c);
}

/* Hover summary — только на десктопе */
@media (min-width: 1024px) {
  .process-summary:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 220, 255, 0.95);
    box-shadow:
      0 0 28px rgba(0, 220, 255, 0.6),
      0 0 80px rgba(3, 4, 18, 1);
  }
}

/* ===== RIGHT COLUMN — TIMELINE ===== */

.process-timeline {
  position: relative;
  padding-left: 30px;
  z-index: 1;
}

/* Вертикальная линия */
.process-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(0, 210, 255, 0.8),
    rgba(160, 120, 255, 0.92)
  );
  opacity: 0.55;
}

/* Фоновая сетка за таймлайном — только desktop */
@media (min-width: 1024px) {
  .process-timeline::after {
    content: "";
    position: absolute;
    inset: -24px 0 -24px 38px;
    background-image:
      linear-gradient(
        to right,
        rgba(70, 90, 140, 0.2) 1px,
        transparent 1px
      ),
      linear-gradient(
        to bottom,
        rgba(70, 90, 140, 0.2) 1px,
        transparent 1px
      );
    background-size: 40px 40px;
    opacity: 0.26;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(circle at top, black, transparent 74%);
    -webkit-mask-image: radial-gradient(circle at top, black, transparent 74%);
  }
}

/* ===== STEP ITEM ===== */

.process-item {
  position: relative;
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
  transition-delay: var(--process-delay, 0ms);
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Левая часть — точка */
.process-line {
  position: relative;
  width: 18px;
  flex-shrink: 0;
}

.process-dot {
  position: absolute;
  left: 1px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #00e0ff);
  box-shadow:
    0 0 0 3px rgba(0, 224, 255, 0.3),
    0 0 16px rgba(0, 224, 255, 0.9);
}

/* Пульс вокруг точки, только когда шаг виден */
.process-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1px solid rgba(0, 220, 255, 0.7);
  opacity: 0;
}

.process-item.is-visible .process-dot::after {
  animation: process-pulse 1.8s ease-out infinite;
}

@keyframes process-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Карточка контента шага */
.process-content {
  position: relative;
  flex: 1 1 auto;
  padding: 12px 16px 12px;
  border-radius: 16px;
  background: rgba(7, 11, 34, 0.96);
  border: 1px solid rgba(135, 190, 255, 0.22);
  box-shadow:
    0 0 20px rgba(34, 120, 255, 0.25),
    0 0 40px rgba(4, 6, 20, 0.96);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease-out,
    box-shadow 0.35s ease-out,
    border-color 0.35s ease-out;
}

/* Призрачный номер шага */
.process-content::after {
  content: "01"; /* переопределяем ниже для каждого шага */
  position: absolute;
  right: 10px;
  bottom: -6px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(140, 170, 240, 0.08);
  pointer-events: none;
}

/* Номера по шагам */
.process-item:nth-child(1) .process-content::after { content: "01"; }
.process-item:nth-child(2) .process-content::after { content: "02"; }
.process-item:nth-child(3) .process-content::after { content: "03"; }
.process-item:nth-child(4) .process-content::after { content: "04"; }
.process-item:nth-child(5) .process-content::after { content: "05"; }
.process-item:nth-child(6) .process-content::after { content: "06"; }

/* Hover эффекты на десктопе */
@media (min-width: 1024px) {
  .process-item:nth-child(2n) .process-content {
    transform: translateX(4px);
  }

  .process-item:hover .process-content {
    transform: translateX(10px) translateY(-2px) scale(1.01);
    border-color: rgba(0, 220, 255, 0.95);
    box-shadow:
      0 0 24px rgba(0, 220, 255, 0.6),
      0 0 52px rgba(4, 6, 20, 1);
  }
}

/* Метаданные шага */
.process-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.process-step-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.process-step-index {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(170, 205, 255, 0.95);
}

.process-step-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(6, 14, 30, 0.98);
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.95), rgba(190, 150, 255, 0.95));
  box-shadow:
    0 0 12px rgba(0, 200, 255, 0.65),
    0 0 22px rgba(3, 4, 18, 0.9);
}

.process-step-time {
  font-size: 11.5px;
  color: rgba(190, 205, 255, 0.85);
}

/* Заголовок шага и текст */
.process-item-title {
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.35;
  margin: 0 0 4px;
  color: #f9faff;
}

.process-content > p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(215, 225, 255, 0.95);
  margin: 0 0 6px;
}

/* Список внутри шага */
.process-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-item-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(195, 210, 255, 0.92);
  margin-bottom: 4px;
}

.process-item-list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  font-size: 12px;
  color: rgba(0, 220, 255, 0.98);
}

/* ===== ADAPTIVE ===== */

@media (max-width: 960px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-timeline {
    padding-left: 22px;
  }

  .process-timeline::before {
    left: 7px;
  }

  .process-timeline::after {
    display: none;
  }

  .process-line {
    width: 16px;
  }

  .process-dot {
    left: 0;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 640px) {
  .section-process {
    margin-top: 44px;
  }

  .section-process .section-sub {
    font-size: 15px;
  }

  .process-summary {
    padding: 16px 14px 14px;
  }

  .process-summary-title {
    font-size: 16px;
  }

  .process-summary-list li {
    font-size: 14.5px;
  }

  .process-timeline {
    padding-left: 18px;
  }

  .process-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .process-content {
    padding: 10px 12px 11px;
  }

  .process-item-title {
    font-size: 16.5px;
  }

  .process-content > p {
    font-size: 13.5px;
  }

  .process-item-list li {
    font-size: 13px;
  }

  .process-step-meta {
    gap: 6px;
  }
}


/* ==== TEAM ==== */

#team {
  border-top-color: rgba(34, 197, 94, 0.85);
}

#team .section-title {
  color: #4ade80;
}

/* Окно слайдера */
.team-slider {
  margin-top: 28px;
  overflow: hidden;
  position: relative;
}

/* Лента */
.team-track {
  display: flex;
  align-items: stretch;
  gap: 18px;              /* РАССТОЯНИЕ между карточками */
  padding: 4px 0;
}

/* Карточка */
.team-card {
  box-sizing: border-box;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), transparent 60%),
    rgba(7, 12, 26, 0.98);
  border: 1px solid rgba(34, 197, 94, 0.85);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 18px 40px rgba(0, 0, 0, 0.85);

  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
}

/* Верх карточки */
.team-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.9);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.team-exp {
  font-size: 13px;
  font-weight: 500;
  color: #fde68a;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
}

.team-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.96);
}

/* Ширина карточек по брейкпоинтам */
@media (min-width: 1200px) {
  .team-card {
    flex: 0 0 calc((100% - 2 * 18px) / 3);  /* 3 карты в ряд с gap */
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .team-card {
    flex: 0 0 calc((100% - 18px) / 2);      /* 2 карты в ряд */
  }
}

@media (max-width: 767px) {
  .team-card {
    flex: 0 0 100%;                         /* 1 карта */
  }

  .team-card {
    padding: 16px 14px 14px;
  }

  .team-photo {
    width: 56px;
    height: 56px;
  }

  .team-text {
    font-size: 13.5px;
  }
}



/* ==== FAQ ==== */
#faq {
  border-top-color: rgba(148,163,184,0.9);
  padding-bottom: 44px;
}

#faq .section-title {
  color: #e5e7eb;
}

/* контейнер FAQ */
.faq-shell {
  max-width: 900px;
}

/* список */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}

/* элемент FAQ */
.faq-item {
  border-bottom: 1px solid rgba(148,163,184,0.25);
  padding: 6px 0 4px;
}

/* кнопка-вопрос */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
}

/* кружочек ? */
.faq-q-badge {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(250,204,21,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 10px;
  background: rgba(250,204,21,0.06);
}

/* текст вопроса */
.faq-q-text {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent2);
  letter-spacing: -0.01em;
  text-align: left;
}

/* плюсик справа */
.faq-q-toggle {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}

.faq-q-toggle::before,
.faq-q-toggle::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 10px;
  height: 1.4px;
  background: rgba(148,163,184,0.9);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.faq-q-toggle::before {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-q-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* при открытии превращаем + в – */
.faq-item.open .faq-q-toggle::after {
  opacity: 0;
}

/* ответ — базово скрыт (для мобилки и планшета) */
.faq-a {
  margin-left: 28px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1.7;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

/* когда открыт */
.faq-item.open .faq-a {
  max-height: 600px; /* запас, чтобы текст не обрезало */
  opacity: 1;
  transform: translateY(0);
}

/* ===== DESKTOP / LARGE — всегда раскрыто, без кликов ===== */
@media (min-width: 900px) {
  .faq-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 60px;
    margin-top: 36px;
  }

  .faq-item {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .faq-q {
    padding: 0;
    cursor: default;     /* клик не нужен на десктопе */
  }

  .faq-q-toggle {
    display: none;       /* плюсик убираем */
  }

  .faq-a {
    max-height: none !important;
    opacity: 1 !important;
    transform: none;
    margin-left: 32px;
    margin-top: 2px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.75;
  }
}




/* ==== CONTACT ==== */
#contact {
  border-top-color: rgba(56,189,248,0.9);
}

#contact .section-title {
  color: var(--accent2);
}

.contact-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  background:
    url("../img/contact-bg.jpg") center/cover no-repeat,
    linear-gradient(180deg, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.75);
  box-shadow: 0 26px 90px rgba(15,23,42,0.98);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: flex-start;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

/* лёгкий хайлайт поверх фона */
.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 0, rgba(56,189,248,0.22), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(250,204,21,0.16), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field {
  border-radius: 14px;
  border: 1px solid rgba(56,189,248,0.35);
  background: radial-gradient(circle at 0 0, rgba(15,23,42,0.96), rgba(15,23,42,0.99));
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 14px;
  transition: 0.25s ease;
}

.field::placeholder {
  color: rgba(148,163,184,0.9);
}

.field:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.6),
    0 0 26px rgba(56,189,248,0.45);
  background: rgba(15,23,42,0.96);
}

.field.field-has-error {
  border-color: rgba(248,113,113,0.95);
  box-shadow:
    0 0 0 1px rgba(248,113,113,0.65),
    0 0 16px rgba(248,113,113,0.35);
}

.field-error {
  min-height: 14px;
  font-size: 11px;
  color: #fca5a5;
}

textarea.field {
  min-height: 112px;
  resize: vertical;
}

#contact .btn-primary {
  margin-top: 6px;
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 14px;
}

/* статус под кнопкой */
.form-status {
  margin-top: 6px;
  min-height: 16px;
  font-size: 12px;
  color: #bbf7d0; /* зелёный успех */
}

.form-status--error {
  color: #fecaca;
}

.contact-note {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.6;
}

.contact-note strong {
  color: var(--accent);
}
/* ---------- CONTACT: правый текстовый блок (цвета НЕ трогаем) ---------- */

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center; /* центрируем форму и текст по высоте */
}

/* текстовый блок справа */
.contact-note {
  max-width: 440px;
  margin: 0 auto;

  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem); /* крупнее, адаптивно */
  line-height: 1.7;

  /* цвета остаются как были — ты их задаёшь в HTML/CSS */
}

/* заголовок (Що ви отримаєте:) */
.contact-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 600;
  /* цвет не меняем */
}

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .contact-note {
    max-width: 100%;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-note strong {
    font-size: 1.08rem;
  }
}

/* ================================
   QUICK BAR — базовая стилизация (десктоп)
   ================================ */

.quick-bar {
  position: fixed;
  right: 24px;
  bottom: 118px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none; /* контейнер прозрачен, кликаются только кнопки */
  opacity: 1;
  transition: opacity 0.22s ease;
}

.quick-bar--hidden {
  opacity: 0;
  pointer-events: none;
}

/* подпись (на десктопе скрыта) */
.quick-bar__caption {
  display: none;
}

/* Десктопные круглые кнопки */
.quick-bar__btn {
  pointer-events: auto;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 0,
      rgba(56, 189, 248, 0.18),
      rgba(15, 23, 42, 0.98)
    );
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 1),
    0 0 20px rgba(15, 23, 42, 0.9);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.quick-bar__btn:hover,
.quick-bar__btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(248, 250, 252, 0.9);
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 1),
    0 0 26px rgba(56, 189, 248, 0.7);
}

.quick-bar__icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 0,
      rgba(248, 250, 252, 0.15),
      rgba(15, 23, 42, 0.98)
    );
  box-shadow: 0 0 14px rgba(148, 163, 184, 0.85);
}

.quick-bar__icon i {
  font-size: 16px;
}

.quick-bar__text {
  display: none; /* текст на десктопе скрываем */
}

/* Цвета иконок */
.quick-bar__btn--email .quick-bar__icon {
  background: radial-gradient(circle at 30% 0, rgba(250, 204, 21, 0.35), rgba(15, 23, 42, 0.98));
  color: #fefce8;
}

.quick-bar__btn--telegram .quick-bar__icon {
  background: radial-gradient(circle at 30% 0, rgba(56, 189, 248, 0.5), rgba(15, 23, 42, 0.98));
  color: #e0f7ff;
}

.quick-bar__btn--phone .quick-bar__icon {
  background: radial-gradient(circle at 30% 0, rgba(45, 212, 191, 0.5), rgba(15, 23, 42, 0.98));
  color: #ecfdf5;
}

/* Тултипы десктоп */
@media (min-width: 1024px) {
  .quick-bar__btn::after {
    content: attr(data-label);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.98);
    color: #e5f0ff;
    border: 1px solid rgba(148, 163, 184, 0.7);
    opacity: 0;
    transition: 0.18s ease;
  }

  .quick-bar__btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}


/* ================================
   SCROLL TO TOP (десктоп)
   ================================ */

.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 30px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background:
    radial-gradient(circle at 30% 0,
      rgba(248, 250, 252, 0.18),
      rgba(15, 23, 42, 0.98)
    );
  color: #e5f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 1),
    0 0 20px rgba(148, 163, 184, 0.9);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: 0.22s ease;
}

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


/* ================================
   МОБИЛКА — две отдельные кнопки с единым градиентом
   ================================ */

@media (max-width: 1023px) {

  /* сама панель */
  .quick-bar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;

    width: min(420px, calc(100% - 24px)); /* ВЛЕЗАЕТ НА ЛЮБОЙ ШИРИНЕ */
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;

    pointer-events: auto;
  }

  .quick-bar__caption {
    display: none;
  }

  /* сами кнопки */
  .quick-bar__btn {
    flex: 1 1 0;
    min-width: 0;

    height: 40px;
    padding: 0 14px;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    font-size: 13px;
    font-weight: 600;
    color: #f9fafb;
    text-decoration: none;

    border: 1px solid rgba(15,23,42,0.65);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);

    background-size: 200% 100%;
  }

  .quick-bar__icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.25);
    box-shadow: none;
  }

  .quick-bar__icon i {
    font-size: 13px;
  }

  .quick-bar__text {
    display: inline-block;
    white-space: nowrap;
  }

  /* ЛЕВАЯ кнопка — Telegram: начало градиента */
  .quick-bar__btn--telegram {
    background-image: linear-gradient(
      90deg,
      #0ea5e9,  /* синий */
      #38bdf8,  /* голубой */
      #22c55e   /* зелёный */
    );
    background-position: 0% 50%;
  }

  /* ПРАВАЯ — Позвонити: конец того же градиента */
  .quick-bar__btn--phone {
    background-image: linear-gradient(
      90deg,
      #0ea5e9,
      #38bdf8,
      #22c55e
    );
    background-position: 100% 50%;
  }

  /* email скрываем */
  .quick-bar__btn--email {
    display: none;
  }

  /* тултипы и скролл-ап скрываем */
  .quick-bar__btn::after,
  .scroll-top-btn {
    display: none;
  }
}
@media (max-width: 1023px) {

  .quick-bar__icon {
    width: auto !important;        /* не фиксируем размер */
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;  /* УБИРАЕМ круг */
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .quick-bar__icon i {
    font-size: 16px !important;
    color: #fff !important;
  }
}
/* ================================
   МОБИЛКА — две кнопки
   ================================ */
@media (max-width: 1023px) {

  .quick-bar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;

    width: min(420px, calc(100% - 24px));
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;

    pointer-events: auto;
  }

  .quick-bar__caption {
    display: none;
  }

  .quick-bar__btn {
    flex: 1 1 0;
    min-width: 0;

    height: 40px;
    padding: 0 18px;              /* чуть больше воздуха для обеих */
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    font-size: 13px;
    font-weight: 600;
    color: #f9fafb;
    text-decoration: none;
  }

  /* иконка без своего кружка, чтобы не сжимала градиент */
  .quick-bar__icon {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .quick-bar__icon i {
    font-size: 15px;
  }

  .quick-bar__text {
    display: inline-block;
    white-space: nowrap;
  }

 

  /* email скрываем */
  .quick-bar__btn--email {
    display: none;
  }

  /* тултипы и scroll-top скрываем */
  .quick-bar__btn::after,
  .scroll-top-btn {
    display: none;
  }
}
/* ====== МОБИЛЬНЫЙ ФИКС: полностью отключаем клики при скрытии ====== */
@media (max-width: 1023px) {
  .quick-bar.quick-bar--hidden,
  .quick-bar.quick-bar--hidden * {
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translateY(100%) !important;
  }
}




/* =====================================
   FOOTER — FULL WIDTH BACKGROUND WRAP
   ===================================== */

.footer-full-bg {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  margin-top: 80px;

  background: linear-gradient(
    180deg,
    rgba(12, 16, 28, 0.85) 0%,
    rgba(4, 7, 14, 0.95) 100%
  );
  border-top: 1px solid rgba(120, 140, 160, 0.25);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 -12px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Сам футер — контент по центру */
.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px;

  text-align: center;
  color: rgba(226, 232, 240, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

/* Верхняя часть: копирайт + навигация */
.footer-main {
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Левый блок */
.footer-copy {
  font-weight: 500;
  color: rgba(248, 250, 252, 0.92);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.06);
}

.footer-copy span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.65;
}

/* Навигация */
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent2, #38bdf8);
  opacity: 1;
}

/* SEO-текст */
.footer-seo {
  max-width: 900px;
  margin: 20px auto 0;
  font-size: 13px;
  color: rgba(203, 213, 225, 0.55);
  line-height: 1.7;
  text-align: center;
}

/* =====================================
   MOBILE
   ===================================== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px;
    font-size: 13px;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-nav {
    justify-content: center;
    gap: 14px 18px;
  }

  .footer-copy span {
    font-size: 12px;
  }

  .footer-seo {
    font-size: 12.5px;
    line-height: 1.65;
    margin-top: 14px;
    padding: 0 10px;
  }
}
/* =====================================
   ASSIST POPUP — базовая стилизация
   ===================================== */

.assist-popup {
  position: fixed;
  inset: 0;
  z-index: 120; /* выше quick-bar и скролл-апа */
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.assist-popup--visible {
  display: flex;
  pointer-events: auto;
}

.assist-popup__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.14), transparent 55%),
              rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.assist-popup--visible .assist-popup__backdrop {
  opacity: 1;
}

.assist-popup__dialog {
  position: relative;
  max-width: 420px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.25), transparent 60%),
    rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.95),
    0 0 26px rgba(56, 189, 248, 0.35);
  color: #e5e7eb;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.assist-popup--visible .assist-popup__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.assist-popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.assist-popup__close:hover {
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
}

.assist-popup__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(30, 64, 175, 0.75);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.7);
  margin-bottom: 8px;
}

.assist-popup__title {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 26px 8px 0;
  color: #f9fafb;
}

.assist-popup__text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(209, 213, 219, 0.82);
  margin-bottom: 14px;
}

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

.assist-popup__btn {
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}

/* Primary */
.assist-popup__btn--primary {
  background-image: linear-gradient(90deg, #0ea5e9, #38bdf8, #22c55e);
  color: #f9fafb;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
}

.assist-popup__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.95);
}

/* Ghost */
.assist-popup__btn--ghost {
  background: rgba(15, 23, 42, 0.9);
  color: rgba(209, 213, 219, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
}

.assist-popup__btn--ghost:hover {
  background: rgba(15, 23, 42, 0.98);
}

/* =====================================
   MOBILE — снизу как панель
   ===================================== */

@media (max-width: 720px) {
  .assist-popup {
    align-items: flex-end;
  }

  .assist-popup__dialog {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 18px 18px 0 0;
    padding: 16px 16px 14px;
    box-shadow:
      0 -4px 26px rgba(15, 23, 42, 0.95),
      0 0 18px rgba(15, 23, 42, 0.9);
  }

  .assist-popup__title {
    font-size: 16px;
    margin-right: 30px;
  }

  .assist-popup__text {
    font-size: 12.5px;
  }

  .assist-popup__actions {
    flex-direction: column;
  }

  .assist-popup__btn {
    width: 100%;
  }

  .assist-popup__backdrop {
    background: rgba(15, 23, 42, 0.75);
  }
}

/* === PAIN — десктоп / планшет === */

.section-pain {
  position: relative;
}

.pain-heading-wrap {
  position: relative;
  padding-top: 80px;
  padding-left: 260px; /* место под персонажа слева */
}

/* персонаж */
.pain-character {
  position: absolute;
  left: 0;
  top: -40px;
  width: 260px;             /* подгони под свою картинку */
  pointer-events: none;
  z-index: 4;
}

/* бейдж "Проблема" — лежит у него в руках */
.section-pain .section-label {
  position: absolute;
  left: 95px;               /* горизонтально под пальцы */
  top: 115px;               /* вертикально под пальцы */
  margin: 0;
  padding: 10px 26px;
  border-radius: 999px;
  z-index: 3;

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

/* текстовый блок над фоном */
.section-pain .section-title,
.section-pain .section-sub {
  position: relative;
  z-index: 1;
}
/* === PAIN — десктоп / планшет === */
.section-pain {
  position: relative;
}

.pain-heading-wrap {
  position: relative;
  padding-top: 140px;   /* больше воздуха сверху */
  padding-left: 320px;  /* ширина персонажа со смещением */
}

/* персонаж */
.pain-character {
  position: absolute;
  left: 40px;           /* подгон по скрину */
  top: -20px;           /* чуть выше */
  width: 275px;         /* реальный размер на скрине */
  pointer-events: none;
  z-index: 4;
}

/* бейдж */
.section-pain .section-label {
position: absolute;
    left: 95px;
    top: 197px;
    margin: 0;
    padding: 12px 30px;
    border-radius: 999px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* текст */
.section-pain .section-title,
.section-pain .section-sub {
  position: relative;
  z-index: 5;
}
/* === PAIN — мобильный до 770px === */

@media (max-width: 770px) {
  .pain-heading-wrap {
    padding-left: 0;
    padding-top: 180px;      /* даём место над заголовком под персонажа + бейдж */
    text-align: center;
  }

  .pain-character {
    left: 50%;
    top: -40px;
    transform: translateX(-50%);
    width: 220px;            /* на мобилке чуть поменьше */
  }

  .section-pain .section-label {
    left: 50%;
    top: 156px;
    transform: translate(-50%, -50%);
    margin: 0;
z-index: 3;
  }

  .section-pain .section-title,
  .section-pain .section-sub {
    text-align: center;
  }
}

.section-offer .section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* светящаяся точка слева от "Рішення" */
.section-offer .section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffe58f 0%, #fbbf24 40%, transparent 70%);
  box-shadow:
    0 0 6px rgba(251, 191, 36, 0.9),
    0 0 18px rgba(251, 191, 36, 0.6);
  animation: offer-pulse 2.2s ease-in-out infinite;
}

@keyframes offer-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.25); opacity: 0.6; }
  100% { transform: scale(1);   opacity: 1; }
}
/* Контейнер под иконку */
.offer-icon-wrap {
  position: absolute;
  left: 120px;     /* регулируй положение */
  top: 40px;
  z-index: 0;      /* под текст */
  pointer-events: none;
  opacity: 0.18;   /* лёгкая видимость */
}

/* сама иконка */
.offer-icon-big {
  width: 506px;     /* размер */
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 204, 0, 0.6));
  user-select: none;
}

/* чтобы текст всегда был поверх */
.section-offer > *:not(.offer-icon-wrap) {
  position: relative;
  z-index: 2;
}

/* мобильная адаптация */
@media (max-width: 770px) {
  .offer-icon-wrap {
    left: 50%;
    top: -37px;
    transform: translateX(-50%);
    opacity: 0.12;
  }

  .offer-icon-big {
    width: 300px;
  }
}
@media (min-width: 770px) {
.offer-icon-wrap {
  left: 50%;     /* регулируй положение */
}
  }