/* =========================================
   RESET & BASE
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  background: #050505;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* =========================================
   COMMERCE HEADER
========================================= */

.commerce-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 20px 0;
  transition: all 0.3s ease;
}

/* При скролле можно чуть усилить */
.commerce-header.scrolled {
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(12px);
  padding: 12px 0;
}

.commerce-header-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* LOGO */
.commerce-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.commerce-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

/* На мобилках уменьшаем логотип до 24px */
@media (max-width: 768px) {
  .commerce-logo-img {
    height: 24px;
  }
}

/* NAVIGATION */
.commerce-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.commerce-nav a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.commerce-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #95c11f;
  transition: 0.25s ease;
}

.commerce-nav a:hover {
  color: #95c11f;
}

.commerce-nav a:hover::after {
  width: 100%;
}

/* Кнопка в навигации (если нужна) */
.nav-cta {
  padding: 8px 20px;
  border-radius: 40px;
  background: #95c11f;
  color: #111 !important;
  font-weight: 800;
  transition: 0.3s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(149,193,31,.3);
  color: #000 !important;
}

/* ПРАВАЯ ЧАСТЬ (телефон + бургер) */
.commerce-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* PHONE — с нормальной иконкой */
.commerce-phone {
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.commerce-phone svg {
  width: 18px;
  height: 18px;
  stroke: #95c11f;
}

.commerce-phone span {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.commerce-phone:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

/* БУРГЕР-МЕНЮ (скрыт на десктопе) */
.commerce-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.commerce-burger span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: .3s ease;
}

/* =========================================
   MOBILE HEADER (≤768px)
========================================= */

@media (max-width: 768px) {
  .commerce-header {
    padding: 14px 0;
  }

  .commerce-header-inner {
    width: calc(100% - 24px);
    gap: 16px;
  }

  /* Бургер виден */
  .commerce-burger {
    display: flex;
  }

  /* Навигация — выезжающее меню */
  .commerce-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(10,11,9,.96);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: .3s ease;
  }

  .commerce-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .commerce-nav a {
    padding: 14px 18px;
    border-radius: 14px;
    white-space: normal;
    font-size: 16px;
  }

  .commerce-nav a:hover {
    background: rgba(149,193,31,.15);
    color: #95c11f;
  }

  .commerce-nav a::after {
    display: none;
  }

  /* Телефон на мобилке — только иконка, номер скрыт */
  .commerce-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .commerce-phone span {
    display: none;
  }

  .commerce-phone svg {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  /* Анимация бургера */
  .commerce-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .commerce-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .commerce-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {
  .commerce-header-inner {
    width: calc(100% - 16px);
  }

  .commerce-nav {
    top: 64px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }

  .commerce-nav a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .commerce-logo-img {
    height: 20px;
  }
}

/* FAB-КНОПКА ДЛЯ МОБИЛОК (если нужна) */
.mobile-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: linear-gradient(180deg, #a8c83a, #7da30c);
  color: #111;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: none;
}

@media (max-width: 768px) {
  .mobile-fab {
    display: block;
  }
}
/* =========================================
   COMMERCE HERO — АГРЕССИВНЫЙ КОММЕРЦИЯ
========================================= */

.commerce-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

/* background image с анимацией */

.commerce-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://stkarniz.ru/wp-content/uploads/2026/05/ChatGPT-Image-28-мая-2026-г.-13_54_54.png");
  background-size: cover;
  background-position: center right;
  z-index: 1;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.commerce-hero:hover .commerce-hero-bg {
  transform: scale(1.05);
}

/* cinematic overlay — очень тёмный */

.commerce-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(7, 7, 7, 0.94) 0%,
    rgba(7, 7, 7, 0.88) 32%,
    rgba(7, 7, 7, 0.42) 58%,
    rgba(7, 7, 7, 0.06) 100%
  );
}

.commerce-hero-inner {
  position: relative;
  z-index: 3;

  width: min(1440px, calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;

  display: flex;
  align-items: center;
}

.commerce-hero-content {
  width: min(720px, 100%);
  padding: 137px 0 80px;
}

/* заголовок — агрессивный, с болью */

.commerce-hero h1 {
  margin: 0 0 78px;
display: inline-block;
    transform: scaleY(1.3);
  font-size: clamp(52px, 9vw, 110px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.06em;
letter-spacing: 0;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

.commerce-hero h1 strong {
  display: block;
  margin-top: 18px;

  font-size: 0.55em;
  line-height: 0.95;
  letter-spacing: 0;

  color: #a3d639;
  text-shadow: 0 0 12px rgba(163, 214, 57, 0.32);
}

/* benefits — иконки вместо цифр */

.commerce-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;

  margin-bottom: 42px;
}

.commerce-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.commerce-benefit svg {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  color: #a3d639;
}

.commerce-benefit p {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

/* price box — premium glass + glow */

.commerce-price-box {
  width: min(640px, 100%);

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;

  margin-bottom: 32px;
  padding: 24px 32px;

  border: 1px solid rgba(163, 214, 57, 0.58);
  border-radius: 20px;

  background: rgba(20, 20, 20, 0.46);
  backdrop-filter: blur(22px);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.commerce-price-box span {
  display: block;

  font-size: 16px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.78);
}

.commerce-price-box strong {
  display: block;
 white-space: nowrap;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.06em;

  color: #a3d639;
  text-shadow: 0 0 8px rgba(163, 214, 57, 0.32);
}

.commerce-price-box p {
  align-self: center;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

/* buttons — главный CTA доминирует */

.commerce-hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 16px;
}

.commerce-btn {
  height: 68px;
  padding: 0 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border-radius: 14px;

  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;

  text-decoration: none;

  transition: all 0.25s ease;
  cursor: pointer;
}

/* WhatsApp-style главная кнопка */

.commerce-btn-primary {
  height: 68px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 15px;
  text-decoration: none;
  background: linear-gradient(180deg, #a8c83a 0%, #7da30c 100%);
  color: #111;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(125,163,12,0.34), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.commerce-btn-primary svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.commerce-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 28px 70px rgba(125,163,12,0.46), inset 0 1px 0 rgba(255,255,255,0.34);
}

/* вторичная кнопка — ghost, менее заметная */

.commerce-btn-secondary {
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.commerce-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================
   TABLET HERO
========================================= */

@media (max-width: 991px) {
  .commerce-hero-bg {
    background-position: 65% center;
  }

  .commerce-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.92) 0%,
      rgba(7, 7, 7, 0.72) 46%,
      rgba(7, 7, 7, 0.94) 100%
    );
  }

  .commerce-hero-inner {
    width: calc(100% - 40px);
    align-items: flex-end;
  }

  .commerce-hero-content {
    padding: 120px 0 54px;
  }

  .commerce-hero h1 {
    font-size: clamp(48px, 12vw, 84px);
  }

  .commerce-hero-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commerce-price-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 24px;
  }
}

/* =========================================
   MOBILE HERO
========================================= */

@media (max-width: 640px) {
  .commerce-hero {
    min-height: 100svh;
  }

  .commerce-hero-bg {
    background-position: 55% center;
  }

  .commerce-hero-inner {
    width: calc(100% - 24px);
  }

  .commerce-hero-content {
    padding: 100px 0 40px;
  }

  .commerce-hero h1 {
    margin-bottom: 32px;
    font-size: clamp(44px, 15vw, 68px);
    line-height: 1;
  }

  .commerce-hero h1 strong {
    margin-top: 12px;
    font-size: 0.52em;
  }

  .commerce-benefit p {
    font-size: 14px;
  }

  .commerce-price-box {
    margin-bottom: 28px;
    padding: 16px 20px;
  }

  .commerce-price-box strong {
    font-size: 42px;
  }

  .commerce-price-box p {
    font-size: 17px;
  }

  .commerce-hero-actions {
    gap: 12px;
    flex-direction: column;
  }

  .commerce-btn {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }
}

/* =========================================
   PROBLEMS SECTION — контент сверху
========================================= */

.pain-section {
    position: relative;
    background: #0d0d0d;
    padding: 140px 0;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(135, 189, 32, 0.08), transparent 38%);
    pointer-events: none;
}

.pain-head {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto 70px;
}

.pain-label {
    display: inline-block;
    margin-bottom: 30px;
    color: #95c11f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pain-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.pain-top h2 {
    max-width: 920px;
    color: #ffffff;
    font-size: clamp(52px, 6vw, 92px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.pain-top h2 strong {
    display: block;
    color: #95c11f;
    font-weight: 900;
}

.pain-top p {
    max-width: 320px;
    padding-left: 34px;
    border-left: 1px solid rgba(149, 193, 31, 0.4);
    color: rgba(255,255,255,0.82);
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
}

/* GRID */

.pain-grid {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
}

.pain-column {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* CARD */

.pain-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #151515;
}

.pain-card img,
.pain-card .pain-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.pain-card:hover img,
.pain-card:hover .pain-img-placeholder {
    transform: scale(1.04);
}

/* Оверлей — усилен сверху для читаемости текста */
.pain-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 45%, rgba(0,0,0,0.12) 100%);
}

/* КОНТЕНТ СВЕРХУ */
.pain-content {
    position: absolute;
    left: 42px;
    right: 42px;
    top: 42px;
    z-index: 2;
}

.pain-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
    border: 2px solid rgba(149, 193, 31, 0.55);
    color: #95c11f;
    font-size: 34px;
    backdrop-filter: blur(10px);
}

.pain-content h3 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(34px, 3vw, 58px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.pain-content p {
    max-width: 420px;
    color: rgba(255,255,255,0.78);
    font-size: 24px;
    line-height: 1.5;
}

/* SIZES */
.pain-card-large {
    min-height: 920px;
}

.pain-card-small {
    min-height: 447px;
}

/* =========================================
   PROBLEMS MOBILE
========================================= */

@media (max-width: 991px) {
    .pain-section {
        padding: 100px 0;
    }
    .pain-head,
    .pain-grid {
        width: calc(100% - 32px);
    }
    .pain-top {
        flex-direction: column;
        gap: 36px;
    }
    .pain-grid {
        grid-template-columns: 1fr;
    }
    .pain-card-large,
    .pain-card-small {
        min-height: 520px;
    }
    .pain-content {
        left: 26px;
        right: 26px;
        top: 26px;
    }
    .pain-content h3 {
        font-size: 42px;
    }
    .pain-content p,
    .pain-top p {
        font-size: 18px;
    }
    .pain-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.16) 100%);
    }
}

@media (max-width: 540px) {
    .pain-section {
        padding: 84px 0;
    }
    .pain-head,
    .pain-grid {
        width: calc(100% - 20px);
    }
    .pain-top h2 {
        font-size: 48px;
    }
    .pain-top p {
        padding-left: 18px;
    }
    .pain-card-large,
    .pain-card-small {
        min-height: 420px;
        border-radius: 24px;
    }
    .pain-content {
        left: 20px;
        right: 20px;
        top: 20px;
    }
    .pain-content h3 {
        font-size: 34px;
    }
    .pain-content p {
        font-size: 16px;
    }
    .pain-icon {
        width: 56px;
        height: 56px;
        font-size: 26px;
        margin-bottom: 20px;
    }
}

/* =========================================
   SYSTEM SCENARIOS SECTION — исправленный layout
========================================= */

.scenario-section {
  position: relative;
  padding: 140px 0;
  background: #090a08;
  color: #fff;
  overflow: hidden;
}

.scenario-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(149, 193, 31, 0.12), transparent 34%),
    radial-gradient(circle at 10% 80%, rgba(255, 170, 70, 0.08), transparent 36%);
  pointer-events: none;
}

.scenario-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

/* ВЕРХНИЙ РЯД: заголовок + Blackout — 1fr 1fr */

.scenario-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: stretch;
}

/* ЛЕВАЯ ЧАСТЬ — заголовок */

.scenario-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scenario-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;

  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #95c11f;
}

.scenario-label::before {
  content: "";
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: #95c11f;
}

.scenario-head h2 {
  margin: 0 0 24px 0;

  font-size: clamp(52px, 5vw, 84px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;

  color: #fff;
}

.scenario-head h2 strong {
  display: block;
  margin-top: 16px;
  color: #95c11f;
}

.scenario-lead {
  max-width: 480px;
  padding-left: 34px;
  border-left: 1px solid rgba(149, 193, 31, 0.5);

  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

/* ПРАВАЯ ЧАСТЬ — карточка Blackout */

.scenario-card-blackout {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  min-height: 480px;
}

.scenario-card-blackout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.scenario-card-blackout:hover img {
  transform: scale(1.07);
}

/* НИЖНИЙ РЯД — три квадратные карточки */

.scenario-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  aspect-ratio: 1 / 1; /* квадратные карточки */
}

.scenario-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.scenario-card:hover img {
  transform: scale(1.07);
}

/* Общие стили для карточек */

.scenario-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.06) 0%,
      rgba(0,0,0,0.32) 48%,
      rgba(0,0,0,0.86) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0,0,0,0.44) 0%,
      rgba(0,0,0,0.02) 100%
    );
}

.scenario-card-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
}

.scenario-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 2px solid rgba(149, 193, 31, 0.68);
  background: rgba(8,10,8,0.32);
  backdrop-filter: blur(12px);

  color: #95c11f;
  font-size: 28px;
  line-height: 1;
}

.scenario-card span {
  display: block;
  margin-bottom: 12px;

  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;

  color: #fff;
}

.scenario-card h3 {
  max-width: 520px;

  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
}

/* =========================================
   SYSTEM TABLET
========================================= */

@media (max-width: 991px) {
  .scenario-section {
    padding: 100px 0;
  }

  .scenario-inner {
    width: calc(100% - 32px);
  }

  .scenario-row-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .scenario-head h2 {
    font-size: clamp(48px, 11vw, 76px);
  }

  .scenario-lead {
    max-width: 100%;
    font-size: 18px;
  }

  .scenario-row-bottom {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* =========================================
   SYSTEM MOBILE
========================================= */

@media (max-width: 640px) {
  .scenario-section {
    padding: 84px 0;
  }

  .scenario-inner {
    width: calc(100% - 20px);
  }

  .scenario-label {
    margin-bottom: 26px;
    font-size: 11px;
    gap: 12px;
  }

  .scenario-label::before {
    width: 42px;
  }

  .scenario-head h2 {
    font-size: 44px;
    letter-spacing: -0.055em;
    margin-bottom: 20px;
  }

  .scenario-lead {
    padding-left: 18px;
    font-size: 16px;
  }

  .scenario-row-top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .scenario-card-blackout {
    min-height: 380px;
  }

  .scenario-row-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scenario-card {
    aspect-ratio: auto;
    min-height: 380px;
  }

  .scenario-card-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .scenario-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    font-size: 24px;
  }

  .scenario-card span {
    font-size: 32px;
  }

  .scenario-card h3 {
    font-size: 17px;
  }
}
/* Специальный класс для зелёного текста в заголовках — уменьшенный шрифт */
.scenario-head h2 strong,
.pain-top h2 strong {
  font-size: 0.55em;
  display: block;
  margin-top: 12px;
  letter-spacing: 0;
}
/* Градиентный бордер для всех карточек */

.commerce-price-box,
.pain-card,
.scenario-card,
.scenario-card-blackout {
  position: relative;
  border: none;
}

.commerce-price-box::before,
.pain-card::before,
.scenario-card::before,
.scenario-card-blackout::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #4e412d, rgba(78, 65, 45, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* =========================================
   УБИРАЕМ ЗАТЕМНЕНИЕ СО ВСЕХ ОВЕРЛЕЕВ
========================================= */

/* Оверлей в секции проблем — полностью прозрачный */
.pain-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

/* Оверлей в секции систем — полностью прозрачный */
.scenario-card-shade {
  position: absolute;
  inset: 0;
  background: transparent;
}
/* =========================================
   ФИКС БОРДЕРА ДЛЯ ВСЕХ КАРТОЧЕК — ОБЫЧНЫЙ border
========================================= */

/* Убираем градиентный бордер через ::before */
.commerce-price-box::before,
.pain-card::before,
.scenario-card::before,
.scenario-card-blackout::before {
  display: none !important;
}

/* Ставим обычный border для всех карточек */
.commerce-price-box,
.pain-card,
.scenario-card,
.scenario-card-blackout {
  border: 1px solid #4e412d !important;
  position: relative;
}

/* Убедимся, что картинки не перекрывают бордер */
.pain-card img,
.pain-card .pain-img-placeholder,
.scenario-card img,
.scenario-card-blackout img {
  border-radius: inherit;
}
/* =========================================
   SERVICE FLOW SECTION (ПРОЦЕСС РАБОТЫ)
========================================= */

.service-flow {
  position: relative;
  padding: 140px 0;
  background: #090a08;
  color: #fff;
  overflow: hidden;
}

.service-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(149, 193, 31, 0.1), transparent 34%),
    radial-gradient(circle at 90% 75%, rgba(255, 166, 70, 0.08), transparent 36%);
  pointer-events: none;
}

.service-flow-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

.service-flow-head {
  max-width: 980px;
  margin-bottom: 56px;
}

.service-flow-label {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #95c11f;
}

.service-flow-head h2 {
  margin: 0 0 28px;
  font-size: clamp(58px, 7vw, 112px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.service-flow-head h2 strong {
  display: block;
  color: #95c11f;
}

.service-flow-head p {
  max-width: 560px;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}

.service-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-step-card {
  position: relative;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

.service-step-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-step-card:hover img {
  transform: scale(1.06);
}

.service-step-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.06) 0%,
      rgba(0,0,0,0.42) 48%,
      rgba(0,0,0,0.92) 100%
    );
}

.service-step-content {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 32px;
  z-index: 2;
}

.step-number {
  display: block;
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #95c11f;
}

.service-step-content h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.service-step-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
}

.service-flow-cta {
  margin-top: 34px;
  padding: 32px 36px;
  border-radius: 28px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(149,193,31,0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.service-flow-cta h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-flow-cta p {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
}

.service-flow-btn {
  min-width: 240px;
  height: 62px;
  padding: 0 30px;
  border-radius: 16px;
  background: linear-gradient(180deg, #95c11f, #5f8f00);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(95, 143, 0, 0.36);
  transition: 0.3s ease;
}

.service-flow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(95, 143, 0, 0.48);
}
.service-flow-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* На мобилках — колонка */
@media (max-width: 767px) {
  .service-flow-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .service-flow-btn,
  .service-flow-btn-secondary {
    width: 100%;
  }
}

.service-flow-btn-secondary {
  min-width: 180px;
  height: 62px;
  padding: 0 30px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  transition: 0.3s ease;
  
  /* Стиль как у commerce-btn-secondary */
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(149, 193, 31, 0.6);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.service-flow-btn-secondary:hover {
  background: rgba(149, 193, 31, 0.15);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(149, 193, 31, 0.9);
}
@media (max-width: 1100px) {
  .service-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-step-card {
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .service-flow {
    padding: 90px 0;
  }
  .service-flow-inner {
    width: calc(100% - 24px);
  }
  .service-flow-head h2 {
    font-size: 44px;
  }
  .service-flow-head p {
    font-size: 17px;
  }
  .service-flow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-step-card {
    min-height: 430px;
    border-radius: 24px;
  }
  .service-step-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .step-number {
    font-size: 38px;
  }
  .service-flow-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
  .service-flow-btn {
    width: 100%;
  }
}

/* =========================================
   ФИКС БОРДЕРА ДЛЯ ВСЕХ КАРТОЧЕК — ОБЫЧНЫЙ border #4e412d
========================================= */

/* Убираем градиентный бордер через ::before */
.commerce-price-box::before,
.pain-card::before,
.scenario-card::before,
.scenario-card-blackout::before,
.service-step-card::before {
  display: none !important;
}

/* Ставим обычный border для всех карточек */
.commerce-price-box,
.pain-card,
.scenario-card,
.scenario-card-blackout,
.service-step-card {
  border: 1px solid #4e412d !important;
  position: relative;
}

/* Убедимся, что картинки не перекрывают бордер */
.pain-card img,
.pain-card .pain-img-placeholder,
.scenario-card img,
.scenario-card-blackout img,
.service-step-card img {
  border-radius: inherit;
}

/* Оверлей — прозрачный везде */
.pain-overlay,
.scenario-card-shade,
.service-step-overlay {
  background: transparent !important;
}
/* Зелёная линия слева от текста, как в других блоках */
.service-flow-head p {
  max-width: 560px;
  padding-left: 34px;
  border-left: 1px solid #95c11f;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}
.service-flow-head h2 span,
.service-flow-head h2 strong {
  white-space: nowrap; /* запрещает перенос на новую строку */
}

.service-flow-head h2 span {
  font-size: 0.55em;
  display: block;
  letter-spacing: -1px;
  line-height: 1.4; /* достаточно большое межстрочное расстояние */
  margin-bottom: 8px; /* дополнительный отступ снизу */
}

.service-flow-head h2 strong {
  display: block;
  color: #95c11f;
  font-size: 1em;
  letter-spacing: -0.07em;
  line-height: 0.6;
}

/* На мобилках разрешаем перенос, чтобы не вылезало за экран */
@media (max-width: 767px) {
  .service-flow-head h2 span,
  .service-flow-head h2 strong {
    white-space: normal;
    line-height: 0.9;
  }
  
  .service-flow-head h2 span {
    margin-bottom: 4px;
  }
}
/* =========================================
   TRANSFORMATION SECTION — КАРТОЧКА НА ВСЮ ШИРИНУ
========================================= */

.transform-section {
  position: relative;
  padding: 140px 0;
  background: #090a08;
  color: #fff;
  overflow: hidden;
}

.transform-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(149, 193, 31, 0.09), transparent 32%),
    radial-gradient(circle at 12% 70%, rgba(255, 165, 70, 0.08), transparent 38%);
  pointer-events: none;
}

.transform-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

/* ГЛАВНАЯ КАРТОЧКА НА ВСЮ ШИРИНУ */

.transform-hero-card {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin-bottom: 34px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid #4e412d;
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

.transform-hero-card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.transform-hero-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-hero-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(7, 7, 7, 0.92) 0%,
    rgba(7, 7, 7, 0.72) 40%,
    rgba(7, 7, 7, 0.28) 100%
  );
}

.transform-hero-card-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 64px 48px;
}

/* Лейбл — единый стандарт (13px, 0.14em) */
.transform-label {
  display: inline-block;
  margin-bottom: 30px;
  color: #95c11f;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Заголовок h2 — единый стандарт (как в hero) */
.transform-hero-card-content h2 {
  margin: 0 0 42px;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: #fff;
}

/* Описание с зелёной полоской слева — единый стандарт */
.transform-description {
  padding-left: 34px;
  border-left: 1px solid #95c11f;
}

.transform-description p {
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}

/* BEFORE / AFTER */

.before-after {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 34px;
  background: #151515;
  border: 1px solid #4e412d;
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

.ba-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.ba-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.34) 62%, rgba(0,0,0,0.72) 100%);
}

.ba-before img {
  filter: brightness(1.18) saturate(0.86);
}

.ba-after img {
  filter: brightness(0.92) saturate(1.08);
}

.ba-card span {
  position: absolute;
  left: 34px;
  top: 30px;
  z-index: 2;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ba-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8,10,8,0.7);
  border: 1px solid rgba(149,193,31,0.75);
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 34px rgba(149,193,31,0.24);
}

.ba-divider span {
  font-size: 46px;
  line-height: 1;
  transform: translateY(-2px);
}

/* ГРИД С КАРТОЧКАМИ */

.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.transform-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  background: #151515;
  border: 1px solid #4e412d;
  box-shadow: 0 24px 70px rgba(0,0,0,0.3);
}

.transform-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.transform-card:hover img {
  transform: scale(1.06);
}

.transform-card-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.transform-card-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 2;
}

.transform-card-content h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.transform-card-content p {
  margin: 0;
  max-width: 360px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255,255,255,0.66);
}

.transform-card-content::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 28px;
  background: #95c11f;
  border-radius: 999px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
  .transform-section {
    padding: 100px 0;
  }

  .transform-inner {
    width: calc(100% - 32px);
  }

  .transform-hero-card {
    min-height: 480px;
  }

  .transform-hero-card-content {
    padding: 40px 32px;
    max-width: 100%;
  }

  .transform-hero-card-content h2 {
    font-size: clamp(52px, 10vw, 84px);
  }

  .transform-description p {
    font-size: 20px;
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .transform-card {
    min-height: 440px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {
  .transform-section {
    padding: 84px 0;
  }

  .transform-inner {
    width: calc(100% - 20px);
  }

  .transform-hero-card {
    min-height: 520px;
    border-radius: 24px;
  }

  .transform-hero-card-content {
    padding: 32px 24px;
  }

  .transform-label {
    font-size: 12px;
    margin-bottom: 24px;
  }

  .transform-hero-card-content h2 {
    margin-bottom: 24px;
    font-size: 48px;
    letter-spacing: -0.06em;
  }

  .transform-description {
    padding-left: 18px;
  }

  .transform-description p {
    font-size: 18px;
  }

  .before-after {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .ba-card {
    min-height: 320px;
  }

  .ba-divider {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
  }

  .ba-divider span {
    font-size: 36px;
    transform: rotate(90deg);
  }

  .ba-card span {
    left: 24px;
    top: 24px;
    font-size: 18px;
  }

  .transform-card {
    min-height: 420px;
    border-radius: 24px;
  }

  .transform-card-content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .transform-card-content h3 {
    font-size: 24px;
  }

  .transform-card-content p {
    font-size: 16px;
  }
}
.transform-hero-card {
  border: none !important;
}
/* На мобилке сдвигаем фоновое изображение к правому краю */
@media (max-width: 640px) {
  .transform-hero-card-bg img {
    object-position: right center;
  }
}
/* =========================================
   FINAL CTA — С ОБНОВЛЁННЫМ ЗАГРУЗЧИКОМ ФОТО
========================================= */

.final-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  color: #fff;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://stkarniz.ru/wp-content/uploads/2026/05/4567457.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* ГРАДИЕНТНЫЙ ОВЕРЛЕЙ — СЛЕВА ТЁМНЫЙ, СПРАВА СВЕТЛЫЙ */
.final-cta-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(7, 8, 6, 0.92) 0%,
    rgba(7, 8, 6, 0.68) 35%,
    rgba(7, 8, 6, 0.24) 70%,
    rgba(7, 8, 6, 0.06) 100%
  );
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 3;
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 80px;
  align-items: start;
}

/* ЛЕВАЯ ЧАСТЬ — КОНТЕНТ */
.final-cta-content {
  max-width: 760px;
  padding-top: 0;
  margin-top: 0;
}

.final-cta-label {
  display: inline-block;
  margin: 0 0 30px 0;
  color: #95c11f;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.final-cta-content h2 {
  margin: 0 0 32px 0;
  font-size: clamp(54px, 6vw, 104px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.final-cta-content h2 strong {
  display: block;
  color: #95c11f;
  font-weight: 900;
  font-size: 0.55em;
  letter-spacing: 0;
  margin-top: 12px;
}

.final-cta-content p {
  max-width: 560px;
  margin: 0;
  padding-left: 34px;
  border-left: 1px solid #95c11f;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

/* ПРАВАЯ ЧАСТЬ — ФОРМА */
.final-cta-form {
  position: relative;
  padding: 42px;
  margin-top: 0;
  border-radius: 30px;
  background: rgba(10, 11, 9, 0.58);
  border: 1px solid #4e412d;
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 34px 110px rgba(0,0,0,0.48), 0 0 70px rgba(149,193,31,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ПОЛЯ ФОРМЫ */
.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1;
  color: rgba(255,255,255,0.84);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,0.045);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.form-field input {
  height: 58px;
  padding: 0 18px;
}

.form-field textarea {
  min-height: 116px;
  padding: 18px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.32);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(149,193,31,0.62);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px rgba(149,193,31,0.08);
}

/* ЗАГРУЗЧИК ФОТО (КАК В МОДАЛКЕ) */
.upload-box {
  min-height: 140px;
  padding: 26px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.035);
  text-align: center;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.upload-box:hover {
  border-color: rgba(149,193,31,0.72);
  background: rgba(149,193,31,0.055);
  transform: translateY(-1px);
}

.upload-box input {
  display: none;
}

.upload-icon {
  margin-bottom: 14px;
  font-size: 32px;
  color: #95c11f;
}

.upload-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.upload-box strong {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.upload-box small {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
}

/* ПРЕВЬЮ ФОТО В ФОРМЕ */
.final-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.final-preview-item {
  position: relative;
  width: 100px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.final-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-preview-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.final-preview-remove:hover {
  background: #ff4444;
  transform: scale(1.05);
}

/* КНОПКА ОТПРАВКИ */
.final-cta-btn {
  width: 100%;
  height: 68px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  background: linear-gradient(180deg, #a8c83a 0%, #7da30c 100%);
  color: #111;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(125,163,12,0.34), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.final-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 28px 70px rgba(125,163,12,0.46), inset 0 1px 0 rgba(255,255,255,0.34);
}

.form-note {
  max-width: 420px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.42);
}

/* =========================================
   ТАБЛЕТЫ
========================================= */
@media (max-width: 991px) {
  .final-cta {
    padding: 100px 0;
  }

  .final-cta-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 46px;
    align-items: center;
  }

  .final-cta-content h2 {
    font-size: clamp(46px, 11vw, 76px);
  }

  .final-cta-content p {
    font-size: 18px;
  }

  .final-cta-shade {
    background: linear-gradient(
      180deg,
      rgba(7, 8, 6, 0.92) 0%,
      rgba(7, 8, 6, 0.68) 35%,
      rgba(7, 8, 6, 0.24) 70%,
      rgba(7, 8, 6, 0.06) 100%
    );
  }
}

/* =========================================
   ТЕЛЕФОНЫ
========================================= */
@media (max-width: 540px) {
  .final-cta {
    padding: 84px 0;
  }

  .final-cta-inner {
    width: calc(100% - 20px);
    gap: 34px;
  }

  .final-cta-label {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .final-cta-content h2 {
    margin-bottom: 22px;
    font-size: 42px;
    letter-spacing: -0.055em;
  }

  .final-cta-content p {
    padding-left: 18px;
    font-size: 16px;
  }

  .final-cta-form {
    padding: 22px;
    border-radius: 24px;
  }

  .form-field {
    margin-bottom: 18px;
  }

  .form-field input {
    height: 54px;
  }

  .upload-box {
    min-height: 126px;
    padding: 22px;
  }

  .final-cta-btn {
    height: 60px;
    font-size: 14px;
  }

  .form-note {
    font-size: 13px;
  }
}
/* =========================================
   FOOTER
========================================= */

.commerce-footer {
  position: relative;
  background: #060705;
  color: #fff;
  border-top: 1px solid #4e412d;
}

.commerce-footer-inner {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0 50px;
  
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 50px;
}

/* LOGO В ПОДВАЛЕ */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.footer-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #86c70c, #4f8a00);
  position: relative;
  box-shadow: 0 12px 30px rgba(95, 160, 0, 0.28);
}

.footer-logo-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  width: 24px;
  height: 4px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 0 #fff, 0 18px 0 #fff;
}

.footer-logo strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-logo small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.62);
}

.footer-tm {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

/* КОЛОНКИ ПОДВАЛА */

.footer-col h4 {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #95c11f;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
}

.footer-nav-links a:hover {
  color: #95c11f;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-phone:hover {
  color: #95c11f;
}

.footer-region {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 8px;
}

/* СОЦСЕТИ */

.footer-social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: #95c11f;
  border-color: #95c11f;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* BOTTOM */

.footer-bottom {
  border-top: 1px solid rgba(78, 65, 45, 0.5);
  padding: 24px 0;
}

.footer-bottom-inner {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  margin: 0;
}

/* =========================================
   FOOTER TABLET
========================================= */

@media (max-width: 991px) {
  .commerce-footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 50px 0 40px;
  }

  .footer-bottom-inner {
    width: calc(100% - 32px);
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================
   FOOTER MOBILE
========================================= */

@media (max-width: 640px) {
  .commerce-footer-inner {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-contacts {
    align-items: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-bottom-inner {
    width: calc(100% - 24px);
  }
}
/* =========================================
   MODAL
========================================= */

.window-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
}

.window-modal.active {
  display: block;
}

.window-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.window-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px;
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  background: rgba(9,10,9,.84);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  color: #fff;
  box-shadow: 0 40px 120px rgba(0,0,0,.65), 0 0 80px rgba(149,193,31,.08);
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
}

.window-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.window-modal-close:hover {
  background: rgba(255,255,255,.15);
  transform: rotate(90deg);
}

/* LEFT */

.window-modal-left {
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.window-modal-left h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.055em;
}

.window-modal-left h2 span {
  color: #95c11f;
}

.modal-line {
  width: 78px;
  height: 2px;
  margin: 32px 0;
  background: #95c11f;
}

.modal-lead {
  max-width: 520px;
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
}

.modal-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-benefits div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: center;
}

.modal-benefits span {
  color: #95c11f;
  font-size: 28px;
}

.modal-benefits p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}

.modal-status {
  margin-top: 48px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.modal-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #95c11f;
}

/* FORM */

.window-modal-form {
  display: flex;
  flex-direction: column;
}

.window-modal-form h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.window-modal-form > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(255,255,255,.58);
}

.modal-upload {
  min-height: 140px;
  margin-bottom: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  text-align: center;
  transition: .25s ease;
}

.modal-upload:hover {
  border-color: rgba(149,193,31,.8);
  background: rgba(149,193,31,.06);
}

.modal-upload input {
  display: none;
}

.upload-camera {
  margin-bottom: 10px;
  color: #95c11f;
}

.upload-camera svg {
  width: 36px;
  height: 36px;
  display: block;
}

.modal-upload strong {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 500;
}

.modal-upload small {
  font-size: 12px;
  color: rgba(255,255,255,.46);
}

/* PREVIEW */

.modal-preview {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.modal-preview img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
}

/* INPUTS */

.modal-input {
  display: block;
  margin-bottom: 16px;
}

.modal-input input,
.modal-input textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}

.modal-input input {
  height: 52px;
  padding: 0 16px;
}

.modal-input textarea {
  min-height: 80px;
  padding: 14px;
  resize: vertical;
}

.modal-input input::placeholder,
.modal-input textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.modal-input input:focus,
.modal-input textarea:focus {
  border-color: rgba(149,193,31,.75);
  box-shadow: 0 0 0 4px rgba(149,193,31,.08);
}

.modal-submit {
  width: 100%;
  height: 56px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, #b4d243, #87aa14);
  color: #111;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  transition: .25s ease;
}

.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(149,193,31,.34);
}

.modal-policy {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255,255,255,.46);
  text-align: center;
}

/* =========================================
   ПЛАНШЕТЫ И БОЛЬШИЕ ТЕЛЕФОНЫ
========================================= */

@media (max-width: 900px) {
  .window-modal {
    align-items: flex-start;
    padding: 10px 0 40px;
  }

  .window-modal-dialog {
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 72px 22px 28px;
    max-height: none;
    overflow: visible;
    gap: 32px;
  }

  .window-modal-left {
    padding-right: 0;
    border-right: none;
  }

  .window-modal-left h2 {
    font-size: 32px;
  }

  .modal-lead {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .modal-benefits {
    gap: 18px;
  }

  .modal-benefits div {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }

  .modal-benefits span {
    font-size: 24px;
  }

  .modal-benefits p {
    font-size: 14px;
  }

  .modal-status {
    margin-top: 32px;
  }
}

/* =========================================
   НЕБОЛЬШИЕ ТЕЛЕФОНЫ (540PX И МЕНЬШЕ)
========================================= */

@media (max-width: 540px) {
  .window-modal-dialog {
    padding: 70px 18px 24px;
    gap: 24px;
  }

  .window-modal-left h2 {
    font-size: 26px;
  }

  .modal-line {
    margin: 20px 0;
  }

  .modal-lead {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Скрываем benefits на маленьких телефонах */
  .modal-benefits {
    display: none;
  }

  .modal-status {
    margin-top: 20px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .modal-status span {
    width: 8px;
    height: 8px;
  }

  .window-modal-form h3 {
    font-size: 20px;
  }

  .window-modal-form > p {
    font-size: 13px;
  }

  .modal-upload {
    min-height: 110px;
    padding: 14px;
  }

  .upload-camera svg {
    width: 28px;
    height: 28px;
  }

  .modal-upload strong {
    font-size: 14px;
  }

  .modal-upload small {
    font-size: 10px;
  }

  .modal-input input {
    height: 46px;
    font-size: 14px;
  }

  .modal-input textarea {
    min-height: 70px;
    font-size: 14px;
  }

  .modal-submit {
    height: 50px;
    font-size: 15px;
  }

  .window-modal-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

/* =========================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ (380PX И МЕНЬШЕ)
========================================= */

@media (max-width: 380px) {
  .window-modal-dialog {
    padding: 65px 14px 20px;
  }

  .window-modal-left h2 {
    font-size: 22px;
  }

  .modal-lead {
    font-size: 13px;
  }

  .modal-status {
    font-size: 10px;
    padding: 8px 12px;
  }

  .window-modal-form h3 {
    font-size: 18px;
  }

  .modal-submit {
    height: 46px;
    font-size: 14px;
  }
}
/* PREVIEW ITEM */
.preview-item {
  position: relative;
  width: 124px;
  height: 86px;
  flex-shrink: 0;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
}

.remove-photo {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.8);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.remove-photo:hover {
  background: #ff4444;
  transform: scale(1.05);
}
/* =========================================
   БУРГЕР-МЕНЮ (МОБИЛЬНАЯ ВЕРСИЯ)
========================================= */

.commerce-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.commerce-burger span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: .3s ease;
}

@media (max-width: 768px) {
  .commerce-burger {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .commerce-nav {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(10,11,9,.95);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: .3s ease;
  }

  .commerce-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .commerce-nav a {
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: .2s ease;
  }

  .commerce-nav a:hover {
    background: rgba(149,193,31,.15);
    color: #95c11f;
  }

  /* Анимация бургера */
  .commerce-burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .commerce-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .commerce-burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Для совсем маленьких экранов */
@media (max-width: 480px) {
  .commerce-nav {
    top: 72px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }

  .commerce-nav a {
    padding: 12px 16px;
    font-size: 15px;
  }
}
/* =========================================
   CONSULT MODAL — ИСХОДНАЯ ВЕРСИЯ
========================================= */

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
}

.consult-modal.active {
  display: block;
}

.consult-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.consult-dialog {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 48px 40px;
  background: rgba(9,10,9,.94);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  box-shadow: 0 40px 120px rgba(0,0,0,.66), 0 0 80px rgba(149,193,31,.08);
  backdrop-filter: blur(34px) saturate(160%);
  -webkit-backdrop-filter: blur(34px) saturate(160%);
}

.consult-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.consult-close:hover {
  background: rgba(255,255,255,.15);
  transform: rotate(90deg);
}

.consult-dialog h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.06em;
}

.consult-dialog h2 span {
  color: #95c11f;
}

.consult-line {
  width: 70px;
  height: 2px;
  margin: 28px 0;
  background: #95c11f;
}

.consult-lead {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
}

.consult-label {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #95c11f;
}

/* OPTIONS */
.consult-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.consult-option {
  position: relative;
  min-height: 56px;
  padding: 0 48px 0 18px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .25s ease;
}

.consult-option:hover {
  border-color: rgba(149,193,31,.48);
  background: rgba(149,193,31,.055);
}

.consult-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consult-option span {
  font-size: 15px;
  line-height: 1.25;
  color: rgba(255,255,255,.82);
}

.consult-option::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 5px;
  border: 1px solid rgba(149,193,31,.7);
}

.consult-option:has(input:checked) {
  border-color: rgba(149,193,31,.8);
  background: rgba(149,193,31,.11);
}

.consult-option:has(input:checked)::after {
  background: #95c11f;
}

.consult-option:has(input:checked)::before {
  content: "✓";
  position: absolute;
  right: 22px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

/* FIELDS */
.consult-field {
  margin-bottom: 14px;
}

.consult-field input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  outline: none;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: .25s ease;
}

.consult-field input::placeholder {
  color: rgba(255,255,255,.42);
}

.consult-field input:focus {
  border-color: rgba(149,193,31,.75);
  box-shadow: 0 0 0 3px rgba(149,193,31,.08);
}

.consult-submit {
  width: 100%;
  height: 58px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, #b4d243, #87aa14);
  color: #111;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  transition: .25s ease;
}

.consult-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(149,193,31,.3);
}

.consult-status {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

.consult-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #95c11f;
}

/* МОБИЛКА */
@media (max-width: 640px) {
  .consult-modal {
    padding: 10px 0;
  }

  .consult-dialog {
    width: calc(100% - 24px);
    padding: 60px 22px 30px;
    border-radius: 26px;
  }

  .consult-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .consult-dialog h2 {
    font-size: 32px;
  }

  .consult-lead {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .consult-option {
    min-height: 48px;
    padding: 0 42px 0 14px;
  }

  .consult-option span {
    font-size: 14px;
  }

  .consult-field input {
    height: 48px;
  }

  .consult-submit {
    height: 52px;
  }
}
/* Маска телефона — единый стиль */
.phone-mask {
  font-family: monospace;
  letter-spacing: 0.5px;
}
/* =========================================
   SUCCESS MODAL (УНИВЕРСАЛЬНАЯ)
========================================= */

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-modal.active {
  display: flex;
}

.success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(20px);
}

.success-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 32px));
  padding: 56px;
  text-align: center;
  border-radius: 32px;
  background: rgba(10,11,9,.9);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(30px);
  animation: successFadeIn 0.3s ease;
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #95c11f;
  color: #111;
  font-size: 42px;
  font-weight: 800;
}

.success-dialog h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
}

.success-dialog p {
  margin: 0 auto 32px;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
}

.success-status {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #95c11f;
  font-size: 14px;
}

.success-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #95c11f;
  display: inline-block;
}

.success-btn {
  width: 100%;
  height: 64px;
  border: none;
  border-radius: 14px;
  background: #95c11f;
  color: #111;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.success-btn:hover {
  transform: translateY(-2px);
  background: #a8d62e;
  box-shadow: 0 10px 30px rgba(149,193,31,0.3);
}

@media (max-width: 540px) {
  .success-dialog {
    padding: 40px 24px;
  }
  .success-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  .success-dialog h2 {
    font-size: 28px;
  }
  .success-dialog p {
    font-size: 15px;
  }
  .success-btn {
    height: 54px;
    font-size: 15px;
  }
}