/*
================================================
  shared.css — общие стили для всего сайта
  ОПТИМИЗИРОВАНО для PageSpeed 100:
  - Системные шрифты — ноль запросов к внешним серверам
  - Стили из nav.js (injectNavStyles) перенесены сюда
  - Inline <style> из index.html перенесены сюда
  - Убраны дубликаты правил

  ШРИФТЫ:
  Заголовки H1/H2: Georgia, serif (встроен везде)
  Текст/кнопки:    system-ui stack (SF Pro / Segoe UI / Roboto)
================================================
*/

/* =============================================
   ПЕРЕМЕННЫЕ
============================================= */
:root {
  --blue:       #1756C8;
  --blue-hover: #1247A8;
  --blue-light: #3B82F6;
  --blue-pale:  #EFF6FF;
  --sky:        #DBEAFE;
  --dark:       #0F172A;
  --text:       #334155;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --white:      #FFFFFF;
  --bg-alt:     #F8FAFC;
  --success:    #22C55E;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(23,86,200,0.08);
  --shadow-lg:  0 12px 48px rgba(23,86,200,0.14);
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 64px;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* =============================================
   ТИПОГРАФИКА
============================================= */
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1; color: var(--dark);
  letter-spacing: -0.02em; margin-bottom: 20px;
}
h1 em { color: var(--blue); font-style: normal; }
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--dark); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.75; }

/* =============================================
   ШАПКА
============================================= */
/* Резервируем место чтобы не было CLS при JS-вставке навигации */
#site-nav { min-height: 64px; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px; height: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px; font-weight: 700;
  color: var(--dark); white-space: nowrap; flex-shrink: 0;
}
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted); transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--dark); white-space: nowrap;
}

/* Пульсирующая точка */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: pulse-anim 2s infinite; flex-shrink: 0;
}
@keyframes pulse-anim {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.btn-header {
  background: var(--blue); color: var(--white);
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  transition: background 0.2s; white-space: nowrap;
}
.btn-header:hover { background: var(--blue-hover); }
.burger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--dark);
  line-height: 1; flex-shrink: 0;
  border-radius: 8px; transition: background .15s;
}
.burger:hover { background: var(--bg-alt); }

/* =============================================
   НАВИГАЦИЯ — ДРОПДАУНЫ (перенесено из nav.js)
============================================= */
.nav-drop { position: relative; }

.nav-drop > a {
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-drop > a::after {
  content: "";
  display: inline-block;
  width: 8px; height: 5px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: .5;
  transition: transform .2s;
}
.nav-drop.drop-open > a::after { transform: rotate(180deg); }

.nav-dropdown {
  display: block;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(23,86,200,0.13);
  padding: 20px;
  z-index: 200;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.nav-drop.drop-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown.drop-wide  { min-width: 620px; }
.nav-dropdown.drop-mid   { min-width: 480px; }
.nav-dropdown.drop-areas { min-width: 340px; }

.drop-grid { display: grid; gap: 0; }
.drop-grid.col-3 { grid-template-columns: repeat(3, 1fr); gap: 4px; }
.drop-grid.col-2 { grid-template-columns: repeat(2, 1fr); gap: 4px; }

.drop-section { padding: 4px 0; }
.drop-section-title {
  font-size: 10px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 10px 6px; margin: 0;
}
.drop-section a {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.drop-section a:hover { background: var(--blue-pale); color: var(--blue); }

.drop-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px; margin-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.drop-footer a {
  font-size: 12px; font-weight: 700; color: var(--blue);
  text-decoration: none; transition: opacity .2s;
}
.drop-footer a:hover { opacity: .75; }

.drop-emergency {
  background: #FEF2F2 !important;
  color: #EF4444 !important;
  font-weight: 700 !important;
}
.drop-emergency:hover { background: #FEE2E2 !important; }

.drop-areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

/* =============================================
   МОБИЛЬНОЕ МЕНЮ
============================================= */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }

.mob-section {
  padding: 12px 24px 8px;
  border-bottom: 1px solid var(--border);
}
.mob-section--last { border-bottom: none; }
.mob-heading {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
  padding: 8px 0 4px; margin: 0;
}
.mob-link {
  display: block;
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color .2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--blue); }
.mob-all { color: var(--blue); font-weight: 700; }
.mob-emergency { color: #EF4444 !important; font-weight: 800 !important; }
.mob-tg { color: var(--blue) !important; font-weight: 800 !important; }
/* Подпункты второго уровня в мобильном меню */
.mob-sub {
  display: block;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.15s;
}
.mob-sub:last-child { border-bottom: none; }
.mob-sub:hover { color: var(--blue); }

/* Аварийная ссылка и Telegram в шапке */
.nav-emergency { color: #EF4444 !important; font-weight: 700 !important; }
.nav-emergency:hover { color: #DC2626 !important; }
.nav-tg {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--dark);
  white-space: nowrap; text-decoration: none;
}
.nav-tg:hover { color: var(--blue); }

/* =============================================
   ХЛЕБНЫЕ КРОШКИ
============================================= */
.breadcrumbs {
  padding: 12px 32px; max-width: 1200px; margin: 0 auto;
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .bc-sep { color: var(--border); }
.breadcrumbs .bc-current { color: var(--text); font-weight: 600; }

/* =============================================
   КОНТЕЙНЕР И СЕКЦИИ
============================================= */
.container { max-width: 1200px; margin: 0 auto; }
section { padding: 72px 32px; }
.section-label {
  font-size: 12px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.7; max-width: 560px; }
.bg-pale { background: var(--blue-pale); }
.bg-alt  { background: var(--bg-alt); }
.bg-blue { background: var(--blue); }
.bg-dark { background: var(--dark); }
.text-center { text-align: center; }

/* =============================================
   HERO ВНУТРЕННИХ СТРАНИЦ
============================================= */
.page-hero {
  padding: 40px 32px 56px;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-pale) 100%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--blue);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
.page-hero .page-lead {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 600px; margin-bottom: 32px;
}
.page-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.page-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.page-stats dt { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; color: var(--blue); }
.page-stats dd { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* =============================================
   КНОПКИ
============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 15px;
  font-weight: 700; font-family: inherit;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(23,86,200,0.3); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-pale); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-pale); }

/* =============================================
   HERO ГЛАВНОЙ СТРАНИЦЫ
============================================= */
.hero {
  background: linear-gradient(150deg, #fff 0%, var(--blue-pale) 55%, var(--sky) 100%);
  padding: 64px 32px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(23,86,200,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--blue);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero-lead {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  max-width: 520px; margin-bottom: 12px;
}
.hero-legal {
  font-size: 12px; color: var(--muted); margin-bottom: 32px;
  padding: 10px 14px; background: rgba(23,86,200,0.04);
  border-left: 3px solid var(--blue); border-radius: 0 6px 6px 0;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.trust-item .ti-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* Hero — карточка формы */
.hero-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.hero-card h2 { font-size: 20px !important; margin-bottom: 6px !important; }
.hero-card .hc-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.hf-field { margin-bottom: 12px; }
.hf-field label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text); margin-bottom: 5px; letter-spacing: 0.03em;
}
.hf-field input, .hf-field select, .hf-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.hf-field input:focus, .hf-field select:focus, .hf-field textarea:focus {
  border-color: var(--blue);
}
.hf-field textarea { resize: vertical; min-height: 70px; }
.hf-consent {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 10px 0 14px; font-size: 12px; color: var(--muted);
}
.hf-consent input { margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.hf-consent a { color: var(--blue); }
.hf-submit {
  width: 100%; padding: 13px;
  background: var(--blue); color: white;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.hf-submit:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(23,86,200,0.3); }
.hf-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.hf-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; }
.hf-tg {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 12px; padding: 10px;
  background: #E8F5FD; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: #0088CC;
  text-decoration: none; transition: background 0.2s;
}
.hf-tg:hover { background: #d0edf8; }
.hf-success { display: none; text-align: center; padding: 16px 0; }
.hf-success .check { font-size: 44px; margin-bottom: 8px; }
.hf-success h3 { font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.hf-success p { font-size: 13px; color: var(--muted); }

/* =============================================
   ПРОБЛЕМЫ
============================================= */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.prob-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}
.prob-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.prob-icon { font-size: 32px; margin-bottom: 12px; }
.prob-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--dark); }
.prob-card p { font-size: 13px; line-height: 1.6; }

/* =============================================
   УСЛУГИ
============================================= */
.services-section { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.srv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  transition: all 0.22s;
}
.srv-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.srv-icon { font-size: 28px; margin-bottom: 14px; }
.srv-card h3 { font-size: 16px; margin-bottom: 8px; }
.srv-card p { font-size: 13px; line-height: 1.65; margin-bottom: 14px; }
.srv-link {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 4px;
}
.srv-link:hover { color: var(--blue-hover); }
.services-more { text-align: center; margin-top: 36px; }
.brands-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}
.brands-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.brand-chip {
  padding: 4px 12px; border-radius: 100px;
  background: var(--blue-pale); color: var(--blue);
  font-size: 12px; font-weight: 700;
}

/* =============================================
   АВАРИЙНЫЙ
============================================= */
.emergency-section { background: var(--dark); color: white; }
.emergency-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.emergency-section h2 { color: white; }
.emergency-section .section-label { color: #EF4444; }
.emergency-lead {
  font-size: 17px; color: #94A3B8; line-height: 1.75;
  margin-bottom: 28px;
}
.emrg-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.emrg-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: #CBD5E1;
}
.emrg-list li .el-icon {
  width: 32px; height: 32px; background: rgba(239,68,68,0.15);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.emrg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.emrg-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 20px;
}
.emrg-stat .es-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px; color: #EF4444; font-weight: 700;
}
.emrg-stat .es-label { font-size: 12px; color: #64748B; margin-top: 4px; }
.emrg-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   КАК РАБОТАЕТ СЕРВИС
============================================= */
.process-section { background: var(--blue-pale); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 40px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: white;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 15px; margin-bottom: 8px; }
.step-card p { font-size: 13px; }

/* =============================================
   РАЙОНЫ
============================================= */
.districts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 32px;
}
.district-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--dark);
  text-decoration: none; transition: all 0.2s;
}
.district-link:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.district-link .dl-arr { color: var(--muted); font-size: 12px; }
.district-link--active { border-color: var(--blue); color: var(--blue); }

/* =============================================
   ОТЗЫВЫ
============================================= */
.reviews-section { background: var(--bg-alt); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1.5px solid var(--border);
}
.review-stars { color: #F59E0B; font-size: 15px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-pale); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px;
}
.ra-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.ra-meta { font-size: 12px; color: var(--muted); }

/* =============================================
   О СЕРВИСЕ (SEO-секция)
============================================= */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; align-items: start;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p {
  font-size: 15px; line-height: 1.75; color: var(--muted);
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--dark); }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; position: sticky; top: 80px;
}
.fact-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.fact-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px; font-weight: 700; color: var(--blue);
  line-height: 1;
}
.fact-label { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* =============================================
   FAQ
============================================= */
.faq-section { background: var(--bg-alt); }
.faq-list {
  max-width: 760px; margin: 36px auto 0;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%; background: none; border: none;
  padding: 18px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; text-align: left;
  font-family: inherit;
  font-size: 15px; font-weight: 700; color: var(--dark);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--blue-pale); }
.faq-icon { flex-shrink: 0; font-size: 18px; color: var(--blue); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 20px;
}
.faq-a p { font-size: 14px; color: var(--text); line-height: 1.75; padding-bottom: 18px; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 4px; }

/* =============================================
   ФИНАЛЬНЫЙ CTA
============================================= */
.final-cta {
  background: var(--blue);
  text-align: center; padding: 72px 32px;
}
.final-cta h2 { color: white; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =============================================
   БЛОГ
============================================= */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}
.blog-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-decoration: none; display: block;
  transition: all 0.2s;
}
.blog-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-tag { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.blog-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--dark); line-height: 1.4; }
.blog-card p { font-size: 13px; line-height: 1.65; }
.blog-card .bc-arr { font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 14px; display: block; }

/* =============================================
   ФОРМА (site-form из nav.js)
============================================= */
.form-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  padding: 72px 32px;
}

/* Двухколоночный layout */
.form-section-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}

/* ── Левая колонка: промо-блок ── */
.form-promo { color: white; }
.form-promo h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  color: white; line-height: 1.25; margin: 12px 0 16px;
}
.form-promo-sub { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 32px; }

.form-benefits { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.form-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.form-benefit-icon {
  font-size: 22px; flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.form-benefits li div { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.form-benefits li strong { font-size: 14px; font-weight: 700; color: white; }
.form-benefits li span { font-size: 13px; color: rgba(255,255,255,.55); }

.form-promo-tg { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.form-promo-tg p { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.form-tg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #229ED9; color: white;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  text-decoration: none; transition: opacity .2s;
}
.form-tg-btn:hover { opacity: .85; color: white; }

/* ── Правая колонка: карточка формы ── */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.form-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-card-title { font-weight: 700; font-size: 15px; color: var(--dark); }
.form-online-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #22C55E;
}

/* Поля формы */
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label {
  font-size: 12px; font-weight: 700;
  color: var(--text); letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 6px;
}
.form-label-hint { font-weight: 400; color: var(--muted); font-size: 11px; }
.form-required { color: #EF4444; }
.form-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,86,200,.1);
}
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 80px; }

/* Согласия */
.form-consent-group { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.form-consent {
  display: flex; align-items: flex-start;
  gap: 10px; cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--blue); cursor: pointer;
}
.form-consent span { font-size: 12px; line-height: 1.55; color: var(--muted); }
.form-consent a { color: var(--blue); text-decoration: underline; }

/* Кнопка отправки */
.form-submit-btn {
  width: 100%; padding: 15px;
  font-size: 16px; margin-top: 4px;
  justify-content: center;
}
.form-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

.form-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Блок успеха */
.form-success-card {
  grid-column: 2;
  background: var(--white); border-radius: 20px;
  padding: 48px 32px; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #22C55E; color: white;
  font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px; color: var(--dark); margin-bottom: 12px;
}
.form-success-card p { font-size: 15px; color: var(--muted); }
.form-success-alt { margin-top: 16px !important; }
.form-success-alt a { color: var(--blue); font-weight: 700; }

/* Старые классы (для совместимости с hero-формой на index.html) */
.form-section-inner h2 { color: white; }
.form-sub { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.form-box {
  background: var(--white); border-radius: 20px;
  padding: 36px; text-align: left;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; letter-spacing: 0.03em; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s; outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg textarea { resize: vertical; min-height: 80px; }
.fg-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 6px; }
.fg-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); cursor: pointer; }
.fg-check label { font-size: 13px; line-height: 1.55; color: var(--text); cursor: pointer; }
.fg-check label a { color: var(--blue); text-decoration: underline; }
.btn-submit {
  width: 100%; padding: 15px;
  background: var(--blue); color: white;
  border: none; border-radius: 10px;
  font-size: 16px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.2s; margin-top: 10px;
}
.btn-submit:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(23,86,200,0.3); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success .check { font-size: 48px; margin-bottom: 12px; }
.form-success h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }
.form-success a { color: var(--blue); font-weight: 700; }

/* =============================================
   ФУТЕР
============================================= */
.site-footer { background: var(--dark); padding: 56px 32px 32px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-col--brand { }
.footer-logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px; color: var(--white);
  margin-bottom: 12px; display: inline-block;
  text-decoration: none;
}
.footer-logo span { color: var(--blue-light); }
.footer-desc { font-size: 14px; color: #94A3B8; line-height: 1.65; margin-bottom: 16px; }
.footer-tg {
  display: inline-block;
  background: #229ED9; color: white;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  text-decoration: none; transition: opacity .2s;
  margin-bottom: 16px;
}
.footer-tg:hover { opacity: .85; color: white; }
.footer-tg-btn {
  display: inline-block;
  background: #229ED9; color: white;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  margin-top: 12px; text-decoration: none;
  transition: opacity .2s;
}
.footer-tg-btn:hover { opacity: .88; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.footer-badge {
  font-size: 11px; color: #64748B;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 4px 8px; border-radius: 6px;
}
.footer-langs {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px; margin-top: 12px;
}
.footer-lang {
  font-size: 12px; font-weight: 600;
  color: #94A3B8;
  padding: 3px 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px;
}
.footer-lang-sep { font-size: 12px; color: #334155; }
.footer-heading {
  font-size: 11px; font-weight: 700; color: #64748B;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 13px; color: #94A3B8; text-decoration: none; transition: color .2s; }
.footer-links li a:hover { color: var(--white); }
.footer-districts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 12px; margin-bottom: 10px;
}
.footer-districts a { font-size: 13px; color: #94A3B8; text-decoration: none; transition: color .2s; }
.footer-districts a:hover { color: var(--white); }
.footer-all-link { font-size: 13px; color: var(--blue-light) !important; font-weight: 700; text-decoration: none; }
.footer-all-link:hover { color: var(--white) !important; }
.footer-langs { font-size: 13px; color: #64748B; margin-top: 10px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.footer-legal a { font-size: 13px; color: #94A3B8; text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: #64748B;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #94A3B8; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-phone { font-size: 18px; font-weight: 800; color: var(--white) !important; margin-bottom: 6px; display: block; }
.footer-hours { font-size: 12px; color: #64748B; }
.footer-disclaimer { font-size: 11px; color: #334155; }
.footer-copy { font-size: 12px; color: #475569; }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

/* =============================================
   МОБИЛЬНАЯ КНОПКА
============================================= */
.sticky-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--blue); color: var(--white);
  text-align: center; padding: 16px;
  font-weight: 700; font-size: 15px; z-index: 98;
}

/* =============================================
   БЛОГ — СТАТЬИ
============================================= */
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.article-meta span { font-size: 13px; color: var(--muted); }
.article-tag { background: var(--sky); color: var(--blue); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.cta-inline {
  background: var(--blue-pale); border: 1.5px solid var(--sky);
  border-radius: var(--radius); padding: 28px; margin: 40px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.sidebar { position: sticky; top: 80px; align-self: start; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* =============================================
   АДАПТИВ
============================================= */
@media (max-width: 1100px) {
  .header-inner { padding: 0 24px; }
  section { padding: 56px 24px; }
  .breadcrumbs { padding: 14px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 480px; }
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .emergency-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .districts-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-section-inner { grid-template-columns: 1fr; gap: 36px; }
  .form-success-card { grid-column: 1; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-facts { position: static; }
}

@media (max-width: 768px) {
  body { padding-bottom: 52px; }
  section { padding: 48px 18px; }
  .header-inner { padding: 0 18px; }
  .breadcrumbs { padding: 12px 18px; }
  .nav-links { display: none !important; }
  .nav-drop .nav-dropdown { display: none !important; }
  .nav-phone { display: none; }
  .nav-tg  { display: none; }
  .btn-header { display: none; }
  .burger  { display: flex; }
  .hero { padding: 40px 18px 56px; }
  .hero-btns { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .problems-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .districts-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .emrg-stats { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 56px 18px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .page-hero { padding: 32px 18px 48px; }
  .page-hero-btns { flex-direction: column; }
  .page-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px 16px; }
  .form-section { padding: 48px 18px; }
  .form-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px 18px; }
  .form-promo-tg { display: none; } /* на мобильном убираем — есть кнопка TG в шапке */
  .form-success-card { grid-column: 1; padding: 36px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 40px 18px 24px; }
  .sticky-call { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .content-layout { gap: 32px; }
  .cta-inline { flex-direction: column; text-align: center; }
  .footer-disclaimer { display: none; }
}
