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

:root {
  --green-dark:   #1a3a1f;
  --green-mid:    #2d6a34;
  --green-light:  #4caf50;
  --green-pale:   #e8f5e9;
  --accent:       #ff6f00;
  --accent-light: #ff8f00;
  --accent-pale:  #fff3e0;
  --text:         #1a1a1a;
  --text-muted:   #5a6a5b;
  --white:        #ffffff;
  --border:       #d4e8d5;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.16);
  --radius:       14px;
  --radius-sm:    8px;
  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ── УТИЛИТЫ ───────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--green-pale); }
.tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.tag-green {
  background: var(--green-pale);
  color: var(--green-mid);
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,111,0,0.35);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,111,0,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-green {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,106,52,0.35);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ── АНИМАЦИИ ПОЯВЛЕНИЯ ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── ШАПКА / НАВИГАЦИЯ ─────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(26,58,31,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.logo-text { color: var(--white); font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.logo-sub { font-weight: 500; font-size: 0.7rem; opacity: 0.7; display: block; }
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--white); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.phone-icon { 
  display: none; 
  align-items: center; 
  justify-content: center;
  color: var(--white); 
}
.phone-icon svg {
  width: 24px;
  height: 24px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── ГЛАВНЫЙ ЭКРАН ─────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(18,40,20,0.82) 0%, rgba(26,58,31,0.65) 60%, rgba(0,0,0,0.4) 100%),
    url('hero-hogweed.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,111,0,0.18);
  border: 1px solid rgba(255,111,0,0.4);
  color: #ffcc80;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 span { color: #a5d6a7; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-sub strong { color: #ffcc80; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* ── ПОЛОСА ДОВЕРИЯ ────────────────────────── */
.trust-bar {
  background: var(--green-dark);
  padding: 20px 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
  gap: 14px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  justify-self: start;
}
.trust-item .icon {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* ── СЕКЦИЯ ПРОБЛЕМЫ ───────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.problem-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.problem-img img { width: 100%; height: 100%; object-fit: cover; }
.problem-img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(26,58,31,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}
.problem-img-badge strong { display: block; font-size: 1.2rem; color: var(--accent); }
.pain-list { display: flex; flex-direction: column; gap: 18px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.pain-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}
.pain-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.pain-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--green-dark); }
.pain-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ── СЕКЦИЯ РЕШЕНИЯ / УТП ──────────────────── */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.usp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.usp-card:hover {
  border-color: var(--green-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.usp-card:hover::before { opacity: 1; }
.usp-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 8px;
}
.usp-icon-wrap {
  width: 56px; height: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.usp-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.usp-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.usp-card .badge-cert {
  display: inline-block;
  margin-top: auto;
  padding: 4px 10px;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  align-self: flex-start;
}

/* ── СЕКЦИЯ ПРОЦЕССА ───────────────────────── */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 32px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
}
.process-step { padding: 0 16px; text-align: center; }
.process-dot {
  width: 64px; height: 64px;
  background: var(--white);
  border: 3px solid var(--green-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .process-dot {
  background: var(--green-mid);
  transform: scale(1.1);
}
.process-step:hover .process-dot span { filter: brightness(10); }
.process-step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.process-step p { font-size: 0.82rem; color: var(--text-muted); }

/* ── СЕКЦИЯ ЦЕН ────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.price-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-lg);
}
.price-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-popular {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}
.price-features li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ── СЕКЦИЯ ФОРМЫ ──────────────────────────── */
.form-section {
  background:
    linear-gradient(135deg, var(--green-dark) 0%, #0d2210 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.form-copy .tag { background: rgba(255,111,0,0.15); color: #ffcc80; }
.form-copy .section-title { color: var(--white); }
.form-copy .section-subtitle { color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.form-guarantees { display: flex; flex-direction: column; gap: 16px; }
.form-guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.form-guarantee-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.3);
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.contact-form .form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,52,0.12);
}
.form-field textarea { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-consent {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}
.form-consent a { color: var(--green-mid); }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

/* ── ПОДВАЛ ────────────────────────────────── */
footer {
  background: #0d1f10;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── ПЛАВАЮЩАЯ КНОПКА ──────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.floating-cta.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255,111,0,0.45);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── СЕКЦИЯ ТЕХНИКИ (НОВАЯ) ────────────────── */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.equipment-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.equipment-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--border);
}
.equipment-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  padding: 0 16px;
}

/* ── СЕКЦИЯ B2G / ГОСЗАКАЗ ─────────────────── */
.b2g-section {
  background: linear-gradient(135deg, #0b2211 0%, #163320 55%, #0d1f10 100%);
  position: relative;
  overflow: hidden;
}
.b2g-section::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255,111,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.b2g-section .tag { background: rgba(255,111,0,0.18); color: #ffcc80; }
.b2g-section .section-title { color: var(--white); }
.b2g-section .section-subtitle { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.b2g-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.b2g-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.b2g-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.b2g-feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,111,0,0.35);
  transform: translateX(4px);
}
.b2g-feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,111,0,0.14);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.b2g-feature h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.b2g-feature p { font-size: 0.83rem; color: rgba(255,255,255,0.58); line-height: 1.55; }
.b2g-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.b2g-stat-row {
  display: flex;
  gap: 0;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.b2g-stat {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.b2g-stat:last-child { border-right: none; }
.b2g-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--white); line-height: 1; }
.b2g-stat-num span { color: var(--accent); }
.b2g-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── МОДАЛЬНОЕ ОКНО ─────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(5px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--green-pale);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal h3 { font-size: 1.25rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.modal .modal-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.55; }
.modal-success { display: none; text-align: center; padding: 8px 0 16px; }
.modal-success .success-icon {
  width: 64px; height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

/* ── АДАПТИВНОСТЬ ──────────────────────────── */

@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
  .phone-text { display: none; }
  .phone-icon { display: flex; }
  .logo-sub { display: none; } /* Скрываем подпись логотипа, чтобы освободить место */
  .header-inner { gap: 12px; } /* Делаем отступы между элементами чуть плотнее */
  .problem-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .nav-toggle { display: flex; }
  .b2g-grid { grid-template-columns: 1fr; gap: 40px; }
  .equipment-grid { grid-template-columns: 1fr; gap: 40px; }
  .b2g-stat-row { gap: 0; }
  .modal { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .usp-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 12px; }
  .contact-form { padding: 28px 20px; }
  .floating-cta { bottom: 16px; right: 16px; }
}
/* ── ФИКС ШАПКИ ДЛЯ МОБИЛОК ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; } /* Уменьшаем боковые дыры */
  .header-inner { gap: 8px; } /* Сжимаем расстояния между блоками */
  .logo-text { font-size: 0.85rem; }
  .logo-icon { width: 28px; height: 28px; font-size: 0.9rem; }
  .header-cta { gap: 8px; }
  
  /* Перебиваем инлайн-стили кнопки через !important */
  .header-cta .btn { 
    padding: 8px 12px !important; 
    font-size: 0.75rem !important; 
  }
  .phone-icon svg { width: 22px; height: 22px; }
}

/* Для самых узких экранов (старые айфоны и узкие андроиды) */
@media (max-width: 380px) {
  .logo-text { display: none; } /* Режем название, оставляем только лого-листик */
}
