/* =============================================
   ПревышенийНет.рф — style.css
   Концепция: тёмная тема, акцент #00C2FF
   Шрифт: Inter (Google Fonts)
   Mobile-first, breakpoints: 768px, 1024px, 1280px
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base:      #0f1923;
  --bg-dark:      #0a1118;
  --bg-card:      #162030;
  --bg-card-alt:  #111c28;
  --accent:       #00C2FF;
  --accent-dim:   rgba(0, 194, 255, 0.12);
  --accent-border:rgba(0, 194, 255, 0.25);
  --text-white:   #e8eef6;
  --text-muted:   #5a7a90;
  --text-dim:     #2e4455;
  --text-sub:     #7799aa;
  --border:       rgba(255,255,255,0.06);
  --border-mid:   rgba(255,255,255,0.10);
  --red:          #e25555;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --max-w:        1200px;
  --section-py:   52px;
  --section-py-sm:36px;
  --transition:   0.2s ease;
  --nav-height:   72px;
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 72px; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

/* ── UTILITY ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

.section { padding: var(--section-py-sm) 0; }
@media (min-width: 768px) { .section { padding: var(--section-py) 0; } }

.section--dark     { background: var(--bg-dark); }
.section--base     { background: var(--bg-base); }
.section--card     { background: var(--bg-card-alt); }

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.2;
}
.section-title--left { text-align: left; }

.accent { color: var(--accent); }

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  padding: 14px 28px;
  cursor: pointer;
}
.btn:hover  { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #0a1118;
  border: none;
}
.btn--outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.6); }

.btn--sm { font-size: 13px; padding: 10px 20px; }
.btn--lg { font-size: 16px; padding: 16px 36px; }
.btn--full { width: 100%; }

/* ── NAVIGATION ───────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 17, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .nav__inner { padding: 0 32px; } }
@media (min-width: 1024px) { .nav__inner { padding: 0 48px; } }

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: none;
  list-style: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__lk {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__lk:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (min-width: 768px) { .nav__lk { display: block; } }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
@media (min-width: 1024px) { .nav__burger { display: none; } }

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10, 17, 24, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.nav__mobile.is-open { display: flex; }

.nav__mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a:hover { color: var(--accent); }
.nav__mobile .btn { margin-top: 12px; }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,17,24,0.4) 0%,
    rgba(10,17,24,0.2) 40%,
    rgba(10,17,24,0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
}

.hero__title {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  color: #9abfcc;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__sub p { margin-bottom: 2px; }

/* hero__br — убран, больше не нужен */
.hero__br { display: none; }

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__qualifier {
  font-size: 12px;
  color: #4a6a7a;
  letter-spacing: 0.02em;
}
.hero__qualifier span { margin: 0 6px; opacity: 0.6; }

/* ── PROBLEM ──────────────────────────────── */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .problem__grid { grid-template-columns: repeat(3, 1fr); }
}

.problem__card {
  background: #162a3a;
  border: 1px solid rgba(0,194,255,0.12);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.problem__card:hover {
  background: #1a3040;
  border-color: rgba(0,194,255,0.35);
  border-left-color: var(--accent);
  box-shadow: 0 0 20px rgba(0,194,255,0.08), 0 0 0 1px rgba(0,194,255,0.12);
}

.problem__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--accent);
}

.problem__card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.problem__card-text {
  font-size: 14px;
  color: #8aabb8;
  line-height: 1.7;
}

/* ── HOW IT WORKS ─────────────────────────── */
.how__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .how__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.how__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.how__step:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-alt);
  box-shadow: 0 0 20px rgba(0,194,255,0.08), 0 0 0 1px rgba(0,194,255,0.1);
}

.how__step--featured {
  background: #0d1e2e;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md) !important;
  z-index: 2;
  padding: 28px 24px;
  box-shadow: 0 0 28px rgba(0,194,255,0.1), 0 0 0 1px rgba(0,194,255,0.15);
}
.how__step--featured:hover {
  border-color: rgba(0,194,255,0.6);
  background: #0a1a28;
  box-shadow: 0 0 36px rgba(0,194,255,0.18), 0 0 0 1px rgba(0,194,255,0.25);
}

.how__step-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.how__step--featured .how__step-num { color: var(--accent); }

.how__step-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--text-muted);
  display: block;
}
.how__step--featured .how__step-icon { color: var(--accent); }

.how__step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.how__step-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── ADVANTAGES ───────────────────────────── */
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px)  { .advantages__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .advantages__grid { grid-template-columns: repeat(3, 1fr); } }

.advantages__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition), background var(--transition);
}
.advantages__card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-alt);
  box-shadow: 0 0 20px rgba(0,194,255,0.08), 0 0 0 1px rgba(0,194,255,0.1);
}

.advantages__card-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}
.advantages__card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.advantages__card-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

.advantages__footnotes {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.advantages__footnotes p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── STATS ────────────────────────────── */
.stats { background: var(--bg-dark); }

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 480px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item {
  background: var(--bg-card);
  padding: 16px 20px;
  text-align: center;
}
@media (min-width: 480px) {
  .stats__item { padding: 24px 20px; }
}
@media (min-width: 768px) {
  .stats__item { padding: 36px 24px; }
}

.stats__num {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  word-break: keep-all;
  white-space: nowrap;
}
.stats__label {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ── GPS INTEGRATIONS ─────────────────────── */
/* ── GPS MARQUEE ──────────────────────────── */
.gps__wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gps__nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-sub);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1;
  padding: 0;
}
.gps__nav:hover { color: var(--accent); border-color: var(--accent-border); }

.gps__marquee {
  flex: 1;
  overflow: hidden;
  cursor: none;
}

.gps__track {
  display: flex;
  gap: 10px;
  width: max-content;
  user-select: none;
}

.gps__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 28px 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}
.gps__pill:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  box-shadow: 0 0 16px rgba(0,194,255,0.08);
}
.gps__pill-name { display: block; }
.gps__pill-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  opacity: 0.35;
  transition: opacity var(--transition);
  color: currentColor;
  flex-shrink: 0;
}
.gps__pill:hover .gps__pill-icon { opacity: 1; }

/* Мобильная — 2 строки по 5, горизонтальный свайп */
.gps__mobile {
  display: none;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 24px;
  max-width: 100%;
}
.gps__mobile::-webkit-scrollbar { display: none; }

.gps__mobile-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  width: max-content;
}

@media (max-width: 767px) {
  .gps__wrapper { display: none; }
  .gps__mobile  { display: block; }
}

.gps__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.gps__note a { color: var(--accent); }
.gps__note a:hover { text-decoration: underline; }

/* ── VIOLATIONS (примеры) ─────────────────── */

/* Десктоп — 4 в ряд */
.violations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Планшет — 2 в ряд */
@media (max-width: 1023px) {
  .violations__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Мобильный — горизонтальный свайп */
@media (max-width: 599px) {
  .violations__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 4px;
  }
  .violations__grid::-webkit-scrollbar { display: none; }
  .violations__card {
    flex: 0 0 72vw;
    max-width: 280px;
  }
}

.violations__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.violations__card:hover { border-color: var(--accent-border); }

.violations__map {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.violations__data {
  padding: 16px;
}
.violations__car {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.violations__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-sub);
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.violations__row:last-child { border-bottom: none; }
.violations__row-label { flex-shrink: 0; }
.violations__row-val { text-align: right; color: var(--text-white); }
.violations__row-val--red { color: var(--red); font-weight: 700; }

.violations__address {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}

/* ── LK DEMO ──────────────────────────────── */
.lk__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 1023px) {
  .lk__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Мобильный — одна строка, горизонтальный свайп */
@media (max-width: 767px) {
  .lk__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 4px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .lk__grid::-webkit-scrollbar { display: none; }
  .lk__thumb {
    flex: 0 0 72vw;
    max-width: 280px;
    aspect-ratio: 16/10;
  }
}

.lk__thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16/10;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lk__thumb:hover {
  border-color: var(--accent-border);
  box-shadow: 0 0 20px rgba(0,194,255,0.1);
}
.lk__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.lk__thumb:hover img { transform: scale(1.03); }

.lk__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,194,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.lk__thumb:hover .lk__thumb-overlay { opacity: 1; }

.lk__cta { text-align: center; }

/* ── PRICING ──────────────────────────────── */
.pricing { background: var(--bg-dark); }

.pricing__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.pricing__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.pricing__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
}
.pricing__item svg { color: var(--accent); flex-shrink: 0; }

.pricing__price {
  margin-bottom: 8px;
}
.pricing__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pricing__num {
  font-size: clamp(52px, 10vw, 80px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -3px;
}
.pricing__per {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.pricing__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ── COVERAGE MAP ─────────────────────────── */
.coverage__inner { text-align: center; }
.coverage__sub {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .coverage__sub { white-space: nowrap; }
}

.coverage__map-wrap {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--accent-border);
  box-shadow: 0 0 0 1px rgba(0,194,255,0.06), 0 8px 40px rgba(0,0,0,0.4);
}
.coverage__map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  filter: sepia(0.2) saturate(0.65) brightness(0.82);
  transition: filter 0.4s ease;
}
.coverage__map-wrap:hover iframe { filter: none; }

@media (max-width: 767px) {
  .coverage__map-wrap { height: 360px; }
  .coverage__map-wrap iframe { filter: none; }
}

/* ── HOW TO START ─────────────────────────── */
.start__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .start__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.start__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.start__step:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-alt);
  box-shadow: 0 0 20px rgba(0,194,255,0.08), 0 0 0 1px rgba(0,194,255,0.1);
}

.start__num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
  color: rgba(0,194,255,0.15);
}

.start__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}
.start__text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.65;
}

.start__footnote {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── FAQ ──────────────────────────────────── */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item.is-open { border-color: var(--accent-border); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  background: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }

.faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), transform var(--transition);
  color: var(--text-dim);
}
.faq__item.is-open .faq__icon {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}
.faq__item.is-open .faq__answer { max-height: 400px; }

.faq__answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq__answer-inner a { color: var(--accent); }
.faq__answer-inner a:hover { text-decoration: underline; }

/* ── FORM ─────────────────────────────────── */
.form-section { background: var(--bg-base); }
.form-section--dark { background: var(--bg-dark); }

.form-section__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}
.form-section__sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.form-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .form-section__inner { grid-template-columns: 1fr 1fr; }
}

/* Битрикс24 embed wrapper */
.form-b24-wrap {
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(0,194,255,0.4);
}

/* Скрываем плашку Битрикс24 */
.form-b24-wrap .b24-form-sign { display: none !important; }

/* ── Стилизация формы Битрикс24 ───────────── */

/* Фон формы — в тон тёмной секции */
.b24-form-wrapper,
.b24-form-wrapper.b24-form-default {
  background: var(--bg-dark) !important;
  border-radius: var(--radius-lg) !important;
}
.b24-form-header,
.b24-form-content,
.b24-form-body {
  background: transparent !important;
}

/* Заголовок формы */
.b24-form-header-title {
  color: var(--text-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Поля ввода */
.b24-form-control,
.b24-form-control-container input,
.b24-form-control-container textarea {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-mid) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  transition: border-color 0.2s ease !important;
}
.b24-form-control:focus,
.b24-form-control-container input:focus,
.b24-form-control-container textarea:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0,194,255,0.12) !important;
}

/* Placeholder */
.b24-form-control::placeholder,
.b24-form-control-container input::placeholder,
.b24-form-control-container textarea::placeholder {
  color: var(--text-muted) !important;
}

/* Метки полей */
.b24-form-control-label,
.b24-form-field-label {
  color: var(--text-sub) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

/* Кнопка отправки */
.b24-form-btn-container .b24-form-btn,
.b24-form-btn-block button,
.b24-form-btn {
  background: #0099CC !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  transition: opacity 0.2s ease !important;
}
.b24-form-btn-container .b24-form-btn:hover,
.b24-form-btn-block button:hover {
  opacity: 0.88 !important;
}

/* Текст согласия и чекбокс */
.b24-form-field-agreement,
.b24-form-field-agreement-link {
  color: var(--text-muted) !important;
  font-size: 12px !important;
}
.b24-form-field-agreement-link a {
  color: var(--accent) !important;
}

/* Убираем лишние фоны и тени */
.b24-form-wrapper-shadow { box-shadow: none !important; }
.b24-form-sign { display: none !important; }

.form-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.form-contacts__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-contacts__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-sub);
}
.form-contacts__item svg { color: var(--accent); flex-shrink: 0; }
.form-contacts__item a { color: var(--text-white); transition: color var(--transition); }
.form-contacts__item a:hover { color: var(--accent); }

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: #070d13;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__logo { display: flex; align-items: center; }
.footer__logo img { height: 32px; width: auto; }

.footer__legal {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}
.footer__legal a { color: var(--accent); }
.footer__legal a:hover { text-decoration: underline; }

.footer__kenejda {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.footer__kenejda-label {
  font-size: 11px;
  color: var(--text-dim);
}
.footer__kenejda-logo {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── LIGHTBOX ─────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  color: white;
  font-size: 28px;
  line-height: 1;
  padding: 8px;
}

/* ── ANIMATIONS ───────────────────────────── */
/* Анимации активны только когда JS загружен (класс js-loaded на <html>) */
.js-loaded .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-loaded .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.js-loaded .fade-up-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-loaded .fade-up-stagger.is-visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:0.05s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:0.10s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:0.15s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:0.20s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:0.25s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:0.30s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(7)  { opacity:1; transform:none; transition-delay:0.35s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(8)  { opacity:1; transform:none; transition-delay:0.40s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(9)  { opacity:1; transform:none; transition-delay:0.45s; }
.js-loaded .fade-up-stagger.is-visible > *:nth-child(10) { opacity:1; transform:none; transition-delay:0.50s; }

/* ── ПРОГРЕСС-БАР СКРОЛЛА ─────────────────── */
.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 6px rgba(0,194,255,0.5);
}

.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn {
  width: 100%;
  font-size: 15px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(0,194,255,0.25);
}
@media (max-width: 767px) {
  .sticky-cta { display: block; }
}



/* ── SCROLL TO TOP ────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition);
  z-index: 500;
  cursor: pointer;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent-dim); color: var(--accent); }