/* ==========================================================================
   CLEAN-NN.RU («ЕВРОЧИСТКА») — КОНЦЕПТ В: ВОЗДУШНЫЙ NEO-CLEAN
   Готовая продакшн-стилистика без внешних блокируемых CDN (Beget-ready)
   ========================================================================== */

:root {
  --bg-page: #EEF6FF;
  --bg-page-soft: #F6FAFF;
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-navy: #0F233C;
  --bg-navy-deep: #09182B;

  --text-main: #0F233C;
  --text-body: #3B506B;
  --text-muted: #647892;

  --brand-blue: #0277BD;
  --brand-blue-hover: #015F99;
  --brand-blue-soft: #E1F2FE;

  --brand-emerald: #14B884;
  --brand-emerald-hover: #0EA273;
  --brand-emerald-soft: #E3F9F1;

  --brand-amber-soft: #FEF5E4;
  --brand-amber-text: #9A5B08;

  --border-light: rgba(15, 35, 60, 0.08);
  --border-card: rgba(2, 119, 189, 0.11);

  --shadow-header: 0 12px 34px -10px rgba(15, 35, 60, 0.09);
  --shadow-card: 0 16px 40px -16px rgba(15, 35, 60, 0.08);
  --shadow-card-hover: 0 24px 48px -14px rgba(2, 119, 189, 0.16);
  --shadow-modal: 0 30px 70px -15px rgba(9, 24, 43, 0.35);

  --radius-pill: 9999px;
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #EAF4FF 0%, #F3F8FF 45%, #EAF4FF 100%);
  color: var(--text-main);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. ПАРЯЩАЯ КАПСУЛЬНАЯ ШАПКА (FLOATING PILL HEADER)
   ========================================================================== */
.header-wrap {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 16px;
  margin-top: 14px;
}

.site-header {
  max-width: var(--container);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-header);
  padding: 11px 16px 11px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1F5FE 0%, #D7F8EC 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo strong {
  color: var(--text-main);
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand-emerald);
}

/* Выпадающее меню Услуги */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  width: 310px;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid var(--border-card);
  box-shadow: 0 22px 48px -12px rgba(15, 35, 60, 0.18);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-page);
  color: var(--brand-blue);
}

.nav-dropdown-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--brand-emerald-soft);
  color: #097956;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--text-main);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--brand-blue);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-blue {
  background: var(--brand-blue);
  color: #FFFFFF;
  padding: 11px 22px;
  font-size: 14px;
  box-shadow: 0 8px 20px -6px rgba(2, 119, 189, 0.45);
}

.btn-blue:hover {
  background: var(--brand-blue-hover);
  color: #FFFFFF;
}

.btn-emerald {
  background: var(--brand-emerald);
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 15.5px;
  box-shadow: 0 12px 26px -6px rgba(20, 184, 132, 0.5);
}

.btn-emerald:hover {
  background: var(--brand-emerald-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--brand-blue);
  border: 1.5px solid rgba(2, 119, 189, 0.25);
  padding: 12px 24px;
  font-size: 14.5px;
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.burger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-page);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Мобильное меню */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(9, 24, 43, 0.48);
  backdrop-filter: blur(5px);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-panel {
  position: absolute;
  right: 12px;
  top: 12px;
  bottom: 12px;
  width: min(360px, calc(100vw - 24px));
  background: #FFFFFF;
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.mobile-nav-list a {
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.mobile-nav-list a:hover {
  background: var(--bg-page);
  color: var(--brand-blue);
}

.mobile-sub-links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: grid;
  gap: 4px;
}

.mobile-sub-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-body);
  padding: 7px 14px;
}

/* ==========================================================================
   2. HERO БАННЕР NEO-CLEAN (С ПЛАВАЮЩИМИ КАРТОЧКАМИ СТАТИСТИКИ)
   ========================================================================== */
.hero-section {
  padding: 22px 0 28px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 52px 34px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.93) 42%,
    rgba(246, 250, 255, 0.58) 70%,
    rgba(246, 250, 255, 0.16) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.09;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.45;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 800;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--text-body);
  max-width: 320px;
  line-height: 1.35;
}

/* 4 плавающие стеклянные карточки цифр внизу Hero */
.hero-stats-row {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin-left: auto;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 26px -10px rgba(15, 35, 60, 0.14);
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-val {
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  color: var(--text-main);
}

.stat-lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
}

/* Компактный Hero для внутренних страниц */
.page-hero {
  padding: 20px 0 24px;
}

.page-hero-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F2F8FF 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumbs a:hover {
  color: var(--brand-blue);
}

/* ==========================================================================
   3. ТРИ ГЛАВНЫЕ ФОТО-КАРТОЧКИ НАПРАВЛЕНИЙ (КАК НА КОНЦЕПТЕ В)
   ========================================================================== */
.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-sub {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 640px;
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-page);
  margin-bottom: 20px;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-card:hover .feature-img-wrap img {
  transform: scale(1.04);
}

.feature-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
}

.feature-chip.emerald {
  background: var(--brand-emerald);
  color: #FFFFFF;
}

.feature-body {
  padding: 0 8px;
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-main);
}

.feature-body p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.5;
}

.sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.sub-pills a {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  color: var(--brand-blue);
}

.sub-pills a:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.feature-footer {
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
}

.link-arrow:hover {
  gap: 10px;
}

/* ==========================================================================
   4. БЛОК БЕСПЛАТНОЙ АРЕНДЫ КОВРОВ + ПРЕИМУЩЕСТВА (ВЫНЕСЕНО ИЗ АККОРДЕОНА)
   ========================================================================== */
.promo-banner {
  background: linear-gradient(125deg, #0D3559 0%, #0277BD 60%, #14B884 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.promo-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.18;
  font-weight: 800;
}

.promo-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
}

.promo-steps {
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.promo-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.promo-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 4 карточки преимуществ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--bg-page);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

/* ==========================================================================
   5. КАТАЛОГ ВСЕХ УСЛУГ + НАШИ ОБЪЕКТЫ (ГАЛЕРЕЯ) + ТАБЛИЦЫ ЦЕН
   ========================================================================== */
.catalog-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

.catalog-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.catalog-box h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--bg-page-soft);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.18s ease;
}

.catalog-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateX(3px);
}

/* Наши объекты */
.objects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.object-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.object-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.object-card:hover img {
  transform: scale(1.04);
}

.object-caption {
  padding: 14px 18px;
  background: #FFFFFF;
}

.object-caption strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
}

.object-caption span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Таблицы цен */
.price-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.price-table th {
  text-align: left;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--bg-page-soft);
  border-bottom: 1px solid var(--border-light);
}

.price-table th:first-child { border-top-left-radius: 12px; }
.price-table th:last-child { border-top-right-radius: 12px; }

.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  color: var(--text-main);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background: #F9FCFF;
}

.price-badge {
  font-weight: 800;
  color: var(--brand-blue);
}

/* Тарифные 3 карточки для внутренних страниц услуг */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tier-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-box.featured {
  border: 2px solid var(--brand-emerald);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FBF8 100%);
}

.tier-area {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.tier-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

/* Отзывы */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-body);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   6. ОТКРЫТАЯ ФОРМА ВЫЗОВА МЕНЕДЖЕРА + SEO-АККОРДЕОН
   ========================================================================== */
.lead-section-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.input-field {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid #D6E4F2;
  background: #F8FBFF;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.input-field:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.consent-row a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.form-status {
  display: none;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: var(--brand-emerald-soft);
  color: #06694B;
}

.form-status.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
}

/* Аккордеон */
.accordion-list {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 800;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.acc-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-page);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.accordion-item[open] .acc-plus {
  transform: rotate(45deg);
  background: var(--brand-blue);
  color: #FFFFFF;
}

.accordion-body {
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.accordion-body p {
  margin: 0 0 12px;
}

.accordion-body ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

/* ==========================================================================
   7. ПОДВАЛ + МОДАЛЬНОЕ ОКНО (ИСПРАВЛЕННЫЙ ПОПАП С ПЛОТНОЙ КАРТОЧКОЙ!)
   ========================================================================== */
.site-footer {
  margin-top: 40px;
  background: var(--bg-navy);
  color: #CBD8E8;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  font-size: 14px;
}

.footer-sitemap a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: #8BA2BE;
}

/* Чистый модальный попап */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(9, 24, 43, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  color: var(--text-main);
  width: 100%;
  max-width: 470px;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-modal);
  position: relative;
  animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-page);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
}

/* Лайтбокс для объектов */
.lightbox-img {
  max-width: min(920px, 92vw);
  max-height: 82vh;
  border-radius: 22px;
  box-shadow: var(--shadow-modal);
}

/* Honeypot */
.hp-wrap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   8. АДАПТИВНОСТЬ (ПЛАНШЕТЫ И МОБИЛЬНЫЕ ТЕЛЕФОНЫ)
   ========================================================================== */
@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: inline-flex;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
  .tri-grid,
  .tiers-grid,
  .reviews-grid,
  .objects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promo-banner,
  .catalog-split,
  .lead-section-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-wrap {
    padding: 0 10px;
    top: 10px;
    margin-top: 10px;
  }
  .site-header {
    padding: 8px 10px 8px 14px;
    gap: 8px;
  }
  .brand-logo {
    font-size: 15.5px;
    gap: 8px;
  }
  .brand-logo-icon {
    width: 32px;
    height: 32px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-phone {
    display: none;
  }
  .site-header .btn-blue {
    padding: 8px 12px;
    font-size: 12px;
  }
  .burger-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .hero-card {
    padding: 28px 22px 22px;
    min-height: auto;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.91) 68%,
      rgba(246, 250, 255, 0.82) 100%
    );
  }
  .hero-stats-row,
  .tri-grid,
  .benefits-grid,
  .catalog-links-grid,
  .objects-grid,
  .tiers-grid,
  .reviews-grid,
  .form-grid,
  .footer-sitemap {
    grid-template-columns: 1fr;
  }
  .page-hero-box,
  .promo-banner,
  .lead-section-box {
    padding: 24px 20px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    font-size: 14px;
    gap: 6px;
  }
  .brand-logo-icon {
    width: 28px;
    height: 28px;
  }
  .site-header .btn-blue {
    padding: 7px 9px;
    font-size: 11px;
  }
}
