@layer design-system, reset, base, utilities, components, layout, overrides;
@import "https://unpkg.com/open-props" layer(design-system);

/* ==========================================================================
   КРИТИЧЕСКИЕ СТИЛИ ШАПКИ ДЛЯ ПРЕДОТВРАЩЕНИЯ МЕЛЬКАНИЯ (FOUC 0ms)
   ========================================================================== */
.bld-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 76px !important;
  z-index: 1000 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.bld-curtain {
  display: none;
}
.bld-curtain.is-open {
  display: block !important;
}

/* ==========================================================================
   CSS VARIABLES (В ТОЧНОСТИ ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
:root {
  --blue: #2563eb;
  --purple: #6d28d9;
  --purple-light: #c084fc;
  --purple-hover: #7c3aed;
  --bg: #f8fafc;
  --section-1: #eef2ff;
  --section-2: #f5f3ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --green: #10b981;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   ЕДИНЫЙ СТИЛЬ ДЛЯ h2 (ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
h2, .section-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px 0;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.section-head {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  display: block;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ГОРИЗОНТАЛЬНАЯ ШАПКА СЕКЦИИ: ТЕКСТ СЛЕВА + ОДНА БОЛЬШАЯ СВГ ИКОНКА СПРАВА */
.section-head-split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
}

.section-head-text {
  flex: 1;
  min-width: 0;
  max-width: 880px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.section-head-text .eyebrow {
  margin-bottom: 12px;
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
}

.section-head-text h2,
.section-head-text .section-title {
  margin: 0 0 16px 0;
  text-align: left;
  display: block;
  width: 100%;
}

.section-head-text .section-desc {
  margin: 0;
  text-align: left;
  width: 100%;
}

/* ОДНА БОЛЬШАЯ ИКОНКА: БЕЗ ФОНА, БЕЗ ТЕНИ, НА ВСЮ ВЫСОТУ ТЕКСТОВОЙ ЧАСТИ */
.section-head-single-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.section-head-single-icon svg {
  height: 100%;
  max-height: 165px;
  min-height: 130px;
  width: auto;
  aspect-ratio: 1 / 1;
  display: block;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-head-single-icon:hover svg {
  transform: scale(1.06);
}

/* ==========================================================================
   СИСТЕМА ПЛАВНОГО ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (SCROLL REVEAL - 60 FPS)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transition: opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1), transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Направления смещения при появлении */
.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal-down {
  transform: translate3d(0, -28px, 0);
}

.reveal-left {
  transform: translate3d(-46px, 0, 0);
}

.reveal-right {
  transform: translate3d(46px, 0, 0);
}

.reveal-scale {
  transform: scale(0.86);
}

/* Состояние после появления */
.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Шапка и первый экран (Hero) всегда видимы сразу: 0 задержки, без белого экрана */
.bld-header,
.hero .reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Каскадные задержки (Stagger) */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* Поддержка пользователей с ограниченной анимацией */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   КНОПКИ (ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.btn-primary {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  text-decoration: none;
  color: #fff;
  padding: 20px 48px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(124, 58, 237, 0.6);
  color: #fff;
}

.btn-secondary {
  padding: 18px 36px;
  border-radius: 14px;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  backdrop-filter: blur(12px);
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  color: #fff;
}

/* ==========================================================================
   HEADER (ШАПКА)
   ========================================================================== */
/* ==========================================================================
   HEADER (НОВАЯ ШАПКА BUILD MARKETING - УНИКАЛЬНЫЙ ПРЕФИКС .bld- БЕЗ КОНФЛИКТОВ)
   ========================================================================== */
.bld-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid #e2e8f0;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: box-shadow 0.3s ease;
}

/* Контейнер навигации: ширина в точности как у hero (max-width: 1440px, padding: 0) */
.bld-header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 1480px) {
  .bld-header-inner,
  .hero-content-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .bld-header-inner,
  .hero-content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Логотип */
.bld-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  color: #0f172a;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.bld-logo img {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.bld-logo-accent {
  color: #2563eb;
  font-weight: 900;
}

/* Десктоп-навигация: актуальные категории */
.bld-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bld-nav-link {
  color: #0f172a !important;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
  opacity: 1 !important;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.bld-nav-link:hover {
  color: #2563eb !important;
}

/* Плавное градиентное подчеркивание при наведении */
.bld-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.bld-nav-link:hover::after {
  width: 100%;
}

/* Действия в шапке (Кнопка + бургер) */
.bld-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Кнопка действия (Обратный звонок Matomba) */
.bld-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff !important;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.32);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.bld-btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
  opacity: 0.96;
  color: #ffffff !important;
}

.bld-btn-call::after {
  display: none !important;
}

.bld-btn-text {
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
  display: inline-block;
}

/* Мобильный бургер */
.bld-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1020;
}

.bld-burger-line {
  width: 100%;
  height: 2.5px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.bld-burger:hover .bld-burger-line {
  background: #2563eb;
}

/* Мобильная шторка (Curtain / Drawer) */
.bld-curtain {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.bld-curtain.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.bld-curtain-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000000 !important;
  cursor: pointer;
}

.bld-curtain.is-open .bld-curtain-overlay {
  opacity: 1 !important;
}

.bld-curtain-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 86% !important;
  max-width: 360px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 24px 22px 30px !important;
  box-sizing: border-box !important;
  z-index: 1000001 !important;
}

.bld-curtain.is-open .bld-curtain-panel {
  transform: translateX(0) !important;
}

.bld-curtain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.bld-curtain-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bld-curtain-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.bld-curtain-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.bld-curtain-link {
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bld-curtain-link:hover,
.bld-curtain-link:active {
  background: #f1f5f9;
  color: #2563eb;
  padding-left: 18px;
}

.bld-curtain-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bld-curtain-footer .bld-btn-call {
  width: 100%;
}

.bld-curtain-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bld-curtain-phone,
.bld-curtain-email {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bld-curtain-phone:hover,
.bld-curtain-email:hover {
  color: #2563eb;
}

@media (max-width: 1100px) {
  .bld-nav {
    display: none !important;
  }
  .bld-burger {
    display: flex !important;
  }
}

/* ==========================================================================
   1. HERO (В ТОЧНОСТИ СО СКОШЕННЫМИ ПОЛОСАМИ #stripes ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 13vh 0 80px;
  overflow: visible;
  isolation: isolate;
}

#stripes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: skewY(-12deg);
  transform-origin: 0;
  background: linear-gradient(150deg, #53f 15%, #05d5ff 70%, #a6ffcb 94%);
}

#stripes span {
  position: absolute;
  height: 40px;
}

#stripes :nth-child(1) {
  width: 50%;
  left: 50%;
  top: 40px;
  background: #4c29ff;
}

#stripes :nth-child(2) {
  width: 14%;
  right: 0;
  bottom: 40px;
  background: #2be7ff;
}

#stripes :nth-child(3) {
  width: 25%;
  bottom: 0;
  right: 0;
  background: #a1ffc8;
}

@media (min-width: 670px) {
  #stripes span {
    height: 150px;
  }
  #stripes :nth-child(1) {
    top: 0;
  }
  #stripes :nth-child(2) {
    width: 16.66667%;
    top: 300px;
    bottom: auto;
    background: #0dcfff;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    right: auto;
    background: #11bdff;
  }
}

@media (min-width: 880px) {
  #stripes span {
    height: 190px;
  }
  #stripes :nth-child(1) {
    width: 33.33333%;
    left: -16.66666%;
    background: #53f;
  }
  #stripes :nth-child(2) {
    width: 33.33333%;
    top: 0;
    left: 16.66666%;
    right: auto;
    background: #4553ff;
  }
  #stripes :nth-child(3) {
    width: 33.33333%;
    left: 49.99999%;
    bottom: auto;
    background: #4f40ff;
  }
  #stripes :nth-child(4) {
    width: 33.33333%;
    top: 380px;
    right: -16.66666%;
    background: #25ddf5;
  }
  #stripes :nth-child(5) {
    width: 33.33333%;
    bottom: 0;
    background: #1fa2ff;
  }
}

.hero-content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  margin-top: 2vh;
  flex-shrink: 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.hero-content .h1 {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin: 0 0 18px;
  letter-spacing: -1.5px;
}

.hero-content p {
  font-size: 19px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  margin: 0 0 28px;
  line-height: 1.55;
}

.ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 26px;
}

.ctas .btn-primary {
  padding: 14px 26px;
  font-size: 15px;
  white-space: nowrap;
}

.ctas .btn-secondary {
  padding: 13px 22px;
  font-size: 15px;
  white-space: nowrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 13px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-stat-pill span.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9f9f1;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ВИЗУАЛ ВЕРТИКАЛЬНОЙ КАРТЫ С МЕТКАМИ И ВЕРТИКАЛЬНЫМИ ЦИФРАМИ 1 7 0 + ГОРОДОВ В HERO */
.hero-image {
  flex-shrink: 0;
  width: 650px;
  position: relative;
  margin-top: 1vh;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}

.map-card-styled {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.map-viewport {
  height: 650px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.map-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(16, 24, 40, 0.45));
}

.region-pin {
  position: absolute;
  background: #fff;
  padding: 9px 15px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  animation: float 3s ease-in-out infinite;
  display: flex;
  align-items: center;
}

.region-pin:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--blue);
}

.r1 { top: 18%; left: 14%; animation-delay: 0s; }
.r2 { top: 38%; left: 36%; animation-delay: 0.8s; }
.r3 { top: 58%; right: 12%; animation-delay: 1.6s; }
.r4 { bottom: 16%; left: 24%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ЦИФРЫ 1 7 0 + И СЛОВО "ГОРОДОВ" ПО ПРАВОЙ СТОРОНЕ ВЕРТИКАЛЬНО */
.hero-vertical-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  margin-top: 16px;
  flex-shrink: 0;
  width: 60px;
  user-select: none;
}

.hero-vertical-digits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-vertical-digits span {
  font-size: 80px;
  font-weight: 900;
  line-height: .82;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 255, 255, 0.25);
  letter-spacing: -3px;
  display: block;
}

.hero-vertical-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
}

.hero-vertical-word span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  display: block;
}

/* ==========================================================================
   2. СЕКЦИЯ ПРОБЛЕМА
   ========================================================================== */
section {
  padding: 120px 6%;
}

.container-boxed {
  max-width: 1440px;
  margin: 0 auto;
}

.problem {
  background: #ffffff;
}

.profile-hero {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1440px;
  margin: 0 auto;
}

.profile-photo-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
}

.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
  border: 4px solid #ffffff;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0 6px;
  text-align: center;
}

.profile-role {
  font-size: 17px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.social-links {
  height: 30px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
}

.btn-contact {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
  transition: all 0.4s;
  width: 100%;
  max-width: 280px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.profile-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-intro .section-head {
  margin-bottom: 28px;
  max-width: 100%;
}

.profile-intro .section-head h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 16px;
}

.profile-intro .section-head .section-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.15), 0 8px 22px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.stat-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--purple);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
}

.stat-desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.55;
}

/* ==========================================================================
   3. СЕКЦИЯ СИСТЕМА (В СТИЛЕ .channels-section С СОЧНЫМ ГРАДИЕНТОМ)
   ========================================================================== */
.system-channels-section {
  position: relative;
  padding: 130px 6% 100px;
  background: linear-gradient(
    135deg,
    #91f9d1 0%,
    #12d8fa 25%,
    #1ca4ff 50%,
    #4553ff 75%,
    #5533ff 100%
  );
  isolation: isolate;
  overflow: hidden;
}

.system-channels-section h2.section-title {
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
}

.system-channels-section .section-head-single-icon svg {
  color: #ffffff;
  stroke: #ffffff;
}

.system-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.flow-card-styled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.flow-card-styled:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.flow-card-styled:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.flow-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.15));
  color: var(--purple);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 20px;
}

.flow-card-styled h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.flow-card-styled p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ==========================================================================
   4. ЖИВОЕ ДЕМО (ВКЛАДКИ ГОРОДОВ В СТИЛЕ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.demo-section-main {
  background: var(--section-1);
  padding: 120px 6%;
}

.demo-box-styled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.demo-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: nowrap;
}

.demo-top-title-box {
  flex-shrink: 0;
  max-width: 380px;
}

.demo-top-title-box strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1.25;
}

.demo-top-title-box p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

.demo-tabs-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

.city-pill-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.city-pill-btn .tab-pin-icon {
  color: #7c3aed;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.city-pill-btn:hover {
  border-color: var(--purple-hover);
  color: var(--purple);
  transform: translateY(-2px);
}

.city-pill-btn:hover .tab-pin-icon {
  transform: scale(1.15);
}

.city-pill-btn.active {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.city-pill-btn.active .tab-pin-icon {
  color: #ffffff;
}

.browser-window-styled {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  height: 620px;
  display: flex;
  flex-direction: column;
}

/* РАЗДЕЛЕНИЕ НА 2 КОЛОНКИ: ВЫДАЧА СЛЕВА + СКРИНШОТ САЙТА СПРАВА */
.demo-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  flex: 1;
  height: calc(620px - 45px);
  min-height: 0;
  overflow: hidden;
}

.serp-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.site-screenshot-pane {
  background: #0f172a;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.site-preview-header {
  padding: 10px 18px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.site-preview-browser-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.site-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.site-preview-badge {
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.site-screenshot-viewport {
  display: none;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: #090d16;
  animation: serpFadeIn 0.25s ease forwards;
}

.site-screenshot-viewport.active {
  display: block;
}

.site-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.site-screenshot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.45) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  pointer-events: none;
}

.site-glass-card {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  animation: serpFadeIn 0.3s ease;
  pointer-events: auto;
}

.site-glass-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.site-glass-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.25;
}

.site-glass-card p {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 0;
}

.site-glass-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-glass-pill {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.btn-sm-action {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-sm-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.45);
}

@media (max-width: 1100px) {
  .demo-top-bar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .demo-top-title-box {
    max-width: 100%;
  }
  .demo-tabs-pills {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 992px) {
  .browser-window-styled {
    height: auto;
  }
  .demo-split-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .serp-pane {
    height: 500px;
  }
  .site-screenshot-pane {
    height: 380px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

.browser-window-bar {
  padding: 12px 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.browser-dots-group {
  display: flex;
  gap: 6px;
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.b-red { background: #ef4444; }
.b-yellow { background: #f59e0b; }
.b-green { background: #10b981; }

.browser-url-styled {
  margin-left: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ШАПКА ПОИСКОВИКА ВНУТРИ БРАУЗЕРА */
.serp-engine-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 28px 0;
  flex-shrink: 0;
}

.serp-search-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.serp-engine-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  user-select: none;
}

.serp-logo-badge {
  background: linear-gradient(135deg, #fc3f1d, #e11d48);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(252, 63, 29, 0.3);
}

.serp-search-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #ffcc00;
  border-radius: 12px;
  padding: 0 4px 0 16px;
  height: 44px;
  box-shadow: 0 3px 12px rgba(255, 204, 0, 0.18);
  transition: all 0.2s ease;
}

.serp-search-input-box:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.serp-search-input-box input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #1e293b;
  font-family: inherit;
}

.serp-search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 6px;
}

.serp-action-icon {
  font-size: 14px;
  color: #94a3b8;
  cursor: default;
}

.serp-search-btn {
  background: #fc3f1d;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.serp-search-btn:hover {
  background: #e02d0d;
}

.serp-engine-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 2px;
}

.serp-nav-tabs-group {
  display: flex;
  gap: 20px;
}

.serp-nav-tab {
  padding: 8px 2px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.serp-nav-tab.active {
  color: #0f172a;
  border-bottom-color: #fc3f1d;
  font-weight: 700;
}

.serp-geo-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.serp-geo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

/* КОНТЕЙНЕР РЕЗУЛЬТАТОВ С ВЕРТИКАЛЬНЫМ СКРОЛЛОМ */
.serp-results-scrollpane {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px 36px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.serp-results-scrollpane::-webkit-scrollbar {
  width: 7px;
}
.serp-results-scrollpane::-webkit-scrollbar-track {
  background: #f8fafc;
}
.serp-results-scrollpane::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.serp-results-scrollpane::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.serp-stats-row {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.serp-query-block {
  display: none;
  animation: serpFadeIn 0.25s ease forwards;
}

.serp-query-block.active {
  display: block;
}

@keyframes serpFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* КАРТОЧКА СНИППЕТА */
.serp-snippet-card {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.serp-snippet-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ОСОБЫЙ СТИЛЬ ДЛЯ ТОП-1 (НАШ МУЛЬТИРЕГИОНАЛЬНЫЙ САЙТ) */
.serp-snippet-card.top1-champion {
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  border: 1.5px solid #d8b4fe;
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08);
}

.serp-top1-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}

.serp-site-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  flex-wrap: wrap;
}

.serp-favicon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #f1f5f9;
  flex-shrink: 0;
}

.serp-brand-name {
  font-weight: 700;
  color: #1e293b;
}

.serp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-weight: 700;
  font-size: 11.5px;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
}

.serp-breadcrumbs {
  color: #64748b;
  font-size: 12px;
}

.serp-breadcrumbs strong {
  color: #7c3aed;
  font-weight: 800;
}

.serp-title-link {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1a0dab;
  line-height: 1.35;
  margin: 6px 0 6px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.serp-title-link:hover {
  text-decoration: underline;
  color: #4338ca;
}

.serp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.serp-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.serp-rating-score {
  font-weight: 800;
  color: #0f172a;
}

.serp-review-count {
  color: #64748b;
}

.serp-snippet-desc {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 12px;
}

.serp-snippet-desc strong {
  color: #0f172a;
  font-weight: 700;
}

/* БЫСТРЫЕ ССЫЛКИ С ОПИСАНИЕМ (SITELINKS) */
.serp-sitelinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0;
}

.serp-sitelink-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.serp-sitelink-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a0dab;
  text-decoration: none;
}

.serp-sitelink-title:hover {
  text-decoration: underline;
}

.serp-sitelink-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

/* ПЛАШКИ ЦЕН И ПАРАМЕТРОВ */
.serp-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.serp-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.serp-chip.accent {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
}

/* КОНТАКТЫ И АДРЕС ОРГАНИЗАЦИИ */
.serp-contacts-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #475569;
  margin-top: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.serp-contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* КАРТОЧКА КАРТ (GEO-SNIPPET) */
.serp-geo-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.serp-geo-badge {
  font-size: 11px;
  font-weight: 800;
  color: #fc3f1d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.serp-geo-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.serp-geo-info {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.45;
}

.serp-geo-buttons {
  display: flex;
  gap: 8px;
}

.serp-geo-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.serp-geo-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

@media (max-width: 768px) {
  .browser-window-styled {
    height: 520px;
  }
  .serp-engine-header {
    padding: 12px 14px 0;
  }
  .serp-results-scrollpane {
    padding: 14px 14px 24px;
  }
  .serp-sitelinks-grid {
    grid-template-columns: 1fr;
  }
  .serp-nav-tabs-group {
    gap: 12px;
  }
}

/* ==========================================================================
   5. 20 НИШ ДЛЯ ТЕСТА (ВКЛАДКИ В СТИЛЕ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.niches-section-main {
  background: #ffffff;
  padding: 100px 6% 80px;
}

/* ДВУХКОЛОНОЧНЫЙ МАКЕТ С ЗАКРЕПЛЁННОЙ КОЛОНКОЙ СЛЕВА */
.niches-layout-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

/* СЛЕВА: ЗАКРЕПЛЁННАЯ КОЛОНКА С ТАБАМИ */
.niches-sidebar-sticky {
  width: 300px;
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.niche-sidebar-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.niche-sidebar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}

.niche-cat-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.niche-cat-pill-eyebrow {
  color: var(--purple);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
}

.niche-cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

/* БЛОК С ТЕКСТОМ ВКЛАДКИ И ПРИМЕРАМИ РЕГИОНАЛЬНОГО СПРОСА */
.niche-tab-intro-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.niche-tab-intro-text {
  min-width: 0;
}

.niche-tab-intro-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.niche-tab-intro-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.niche-tab-intro-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ПРАВАЯ ЧАСТЬ ШАПКИ: ПРИМЕРЫ СПРОСА (ВМЕСТО СТРЕЛКИ) */
.niche-tab-demand-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.niche-demand-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.niche-demand-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.2px;
}

.niche-demand-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* ВЕРТИКАЛЬНЫЕ ТАБЫ */
.niche-vertical-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.niche-tab-button-vertical {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.niche-tab-button-vertical:hover {
  background: #ffffff;
  border-color: var(--purple-light);
  color: var(--purple);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.niche-tab-button-vertical.active {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transform: translateX(4px);
}

.niche-tab-button-vertical .tab-badge {
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}

.niche-tab-button-vertical.active .tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ТОЧКА ДЛЯ БЛОКА ПРИМЕРОВ СПРОСА */
.niche-hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* СПРАВА: КОЛОНКА С СЕТКОЙ КАРТОЧЕК */
.niches-content-right {
  flex: 1;
  min-width: 0;
}

.niche-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
  align-items: start;
}

/* ГОРИЗОНТАЛЬНАЯ ПРЯМОУГОЛЬНАЯ КАРТОЧКА (КАРТИНКА СЛЕВА, ТЕКСТ СПРАВА) */
/* ГОРИЗОНТАЛЬНАЯ ПРЯМОУГОЛЬНАЯ КАРТОЧКА (50% КАРТИНКА СЛЕВА, 50% ТЕКСТ СПРАВА) */
.niche-card-horizontal {
  display: flex;
  flex-direction: row;
  height: 142px;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #f5f3ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: nicheCardEnter 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.niche-card-horizontal:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(192, 132, 252, 0.7);
}

/* КАРТИНКА СЛЕВА: РОВНО 50% ДЛИНЫ КАРТОЧКИ (БЕЗ ПЛАШКИ ПОВЕРХ КАРТИНКИ) */
.niche-card-thumb-wrap {
  width: 50%;
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #f1f5f9;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.niche-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.niche-card-horizontal:hover .niche-card-thumb-img {
  transform: scale(1.08);
}

/* ТЕЛО КАРТОЧКИ СПРАВА: 50% ДЛИНЫ КАРТОЧКИ */
.niche-card-body-wrap {
  width: 50%;
  flex: 0 0 50%;
  min-width: 0;
  padding: 12px 14px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

/* ВЕРХНЯЯ ЧАСТЬ ТЕЛА КАРТОЧКИ */
.niche-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.niche-card-category-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2.5px 7px;
  border-radius: 6px;
  line-height: 1;
  white-space: nowrap;
}

.niche-card-action-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

/* ЗАГОЛОВОК НИШИ */
.niche-card-title-styled {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 4px 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* НИЖНЯЯ ИНФОРМАЦИЯ: ТЕГИ/ЗАПРОСЫ ВНИЗУ */
.niche-card-bottom-info {
  margin-top: auto;
}

.niche-card-bottom-info h4 {
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 4px 0 !important;
  }

.niche-card-bottom-info .niche-card-tags {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ФОНЫ И АКЦЕНТЫ КАРТОЧЕК ПО ЦВЕТАМ ДИЗАЙНА */
/* 0. Строительство — свежий зеленый акцент из общего дизайна */
.niche-card-horizontal[data-category="build"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #dcfce7 100%);
  border-color: #bbf7d0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="build"]:hover {
  border-color: #86efac;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(16, 185, 129, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="build"] .niche-card-category-badge {
  background: var(--green, #10b981);
  color: #ffffff;
}
.niche-card-horizontal[data-category="build"] .niche-card-action-arrow {
  color: #047857;
  border-color: #bbf7d0;
  background: #ffffff;
}
.niche-card-horizontal[data-category="build"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #34d399, #10b981);
  color: #ffffff;
  border-color: transparent;
}

/* Стилизованный блок-плейсхолдер превью (когда картинка еще не задана) */
.niche-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.16) 100%);
  color: #059669;
  font-weight: 800;
  transition: all 0.35s ease;
  user-select: none;
}

.niche-card-horizontal:hover .niche-thumb-placeholder {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(52, 211, 153, 0.24) 100%);
  transform: scale(1.05);
}

.niche-thumb-icon {
  font-size: 26px;
  line-height: 1;
}

.niche-thumb-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  opacity: 0.75;
}

/* 1. Спецтехника — синий градиент (--blue / #2563eb / #eef2ff) */
.niche-card-horizontal[data-category="tech"] {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 50%, #dbeafe 100%);
  border-color: #bfdbfe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="tech"]:hover {
  border-color: #60a5fa;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(37, 99, 235, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="tech"] .niche-card-category-badge {
  background: #2563eb;
  color: #ffffff;
}
.niche-card-horizontal[data-category="tech"] .niche-card-action-arrow {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #ffffff;
}
.niche-card-horizontal[data-category="tech"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  color: #ffffff;
  border-color: transparent;
}

/* 2. Отопление и климат — фиолетовый градиент (--purple / #7c3aed / #f5f3ff) */
.niche-card-horizontal[data-category="heat"] {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 50%, #ede9fe 100%);
  border-color: #ddd6fe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="heat"]:hover {
  border-color: #c084fc;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(124, 58, 237, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="heat"] .niche-card-category-badge {
  background: #7c3aed;
  color: #ffffff;
}
.niche-card-horizontal[data-category="heat"] .niche-card-action-arrow {
  color: #6d28d9;
  border-color: #ddd6fe;
  background: #ffffff;
}
.niche-card-horizontal[data-category="heat"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #ffffff;
  border-color: transparent;
}

/* 3. Промышленное оборудование — лазурно-голубой градиент (#0284c7 / #06b6d4 / #e0f2fe) */
.niche-card-horizontal[data-category="equipment"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  border-color: #bae6fd;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(2, 132, 199, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="equipment"]:hover {
  border-color: #38bdf8;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(2, 132, 199, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="equipment"] .niche-card-category-badge {
  background: #0284c7;
  color: #ffffff;
}
.niche-card-horizontal[data-category="equipment"] .niche-card-action-arrow {
  color: #0369a1;
  border-color: #bae6fd;
  background: #ffffff;
}
.niche-card-horizontal[data-category="equipment"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #38bdf8, #0284c7);
  color: #ffffff;
  border-color: transparent;
}

/* 4. Производственные услуги — изумрудно-мятный градиент (--green / #10b981 / #d1fae5) */
.niche-card-horizontal[data-category="services"] {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 50%, #d1fae5 100%);
  border-color: #a7f3d0;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="services"]:hover {
  border-color: #34d399;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(16, 185, 129, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="services"] .niche-card-category-badge {
  background: #059669;
  color: #ffffff;
}
.niche-card-horizontal[data-category="services"] .niche-card-action-arrow {
  color: #047857;
  border-color: #a7f3d0;
  background: #ffffff;
}
.niche-card-horizontal[data-category="services"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #34d399, #059669);
  color: #ffffff;
  border-color: transparent;
}

/* 5. Безопасность и сезонные — теплый янтарно-золотой градиент (#d97706 / #f59e0b / #fef3c7) */
.niche-card-horizontal[data-category="safety"] {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 50%, #fef3c7 100%);
  border-color: #fde68a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 8px 20px rgba(217, 119, 6, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}
.niche-card-horizontal[data-category="safety"]:hover {
  border-color: #fbbf24;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16), 0 12px 30px rgba(217, 119, 6, 0.22), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.niche-card-horizontal[data-category="safety"] .niche-card-category-badge {
  background: #d97706;
  color: #ffffff;
}
.niche-card-horizontal[data-category="safety"] .niche-card-action-arrow {
  color: #b45309;
  border-color: #fde68a;
  background: #ffffff;
}
.niche-card-horizontal[data-category="safety"]:hover .niche-card-action-arrow {
  background: linear-gradient(90deg, #fbbf24, #d97706);
  color: #ffffff;
  border-color: transparent;
}

/* СОВРЕМЕННАЯ ПЛАВНАЯ АНИМАЦИЯ ПОЯВЛЕНИЯ КАРТОЧЕК */
@keyframes nicheCardEnter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bannerFadeIn {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content-animating {
  animation: bannerFadeIn 0.32s ease forwards;
}

/* ==========================================================================
   6. ПРЕИМУЩЕСТВА (ПЕРЕРАБОТКА ПО ТИПУ .problem С ЗЕРКАЛЬНЫМ МАКЕТОМ)
   ========================================================================== */
.benefits-section-main {
  background: var(--section-1);
  padding: 120px 6%;
  position: relative;
  overflow: hidden;
}

.benefits-hero-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ЛЕВАЯ КОЛОНКА: ШАПКА И СЕТКА ПРЕИМУЩЕСТВ */
.benefits-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.benefits-content-col .section-head {
  margin-bottom: 32px;
  max-width: 100%;
  text-align: left;
}

.benefits-content-col .section-head h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin: 10px 0 16px;
}

.benefits-content-col .section-head .section-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* ОБЁРТКА КАРТОЧЕК С ПРОШИВАЮЩЕЙ ШТРИХПУНКТИРНОЙ ЛИНИЕЙ */
.benefits-flow-wrapper {
  position: relative;
  width: 100%;
}

/* SVG ШТРИХПУНКТИРНАЯ ЛИНИЯ ПОЗАДИ КАРТОЧЕК */
.benefits-stitch-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.benefits-stitch-path {
  animation: stitchDashFlow 6s linear infinite;
}

@keyframes stitchDashFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -40;
  }
}

.benefits-stitch-arrow {
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

/* СЕТКА КАРТОЧЕК 2x2 */
.benefits-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* БАЗОВЫЙ СТИЛЬ КАРТОЧКИ С ПРЕИМУЩЕСТВОМ */
.benefit-card-stitch {
  position: relative;
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border: 1.5px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card-stitch:hover {
  transform: translateY(-6px);
}

/* НОМЕР ШАГА В ВЕРХНЕМ ПРАВОМ УГЛУ КАРТОЧКИ */
.benefit-card-step-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* БОЛЬШАЯ SVG ИКОНКА СЛЕВА */
.benefit-icon-svg-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.benefit-card-stitch:hover .benefit-icon-svg-box {
  transform: scale(1.08) rotate(3deg);
}

.benefit-icon-svg-box svg {
  width: 30px;
  height: 30px;
}

/* ТЕКСТОВАЯ ЧАСТЬ КАРТОЧКИ СПРАВА ОТ ИКОНКИ */
.benefit-card-body {
  flex: 1;
  min-width: 0;
}

.benefit-card-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

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

/* ЦВЕТОВЫЕ ГРАДИЕНТЫ ИЗ ЦВЕТОВ ПРОЕКТА */
/* 1. Больше регионов (Синий / Индиго) */
.b-card-blue {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.9) 60%, rgba(219, 234, 254, 0.8) 100%);
  border-color: #bfdbfe;
}
.b-card-blue:hover {
  border-color: #3b82f6;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.16);
}
.b-card-blue .benefit-icon-svg-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.b-card-blue .benefit-card-step-badge {
  color: #2563eb;
}

/* 2. Больше поискового спроса (Фиолетовый / Пурпурный) */
.b-card-purple {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.9) 60%, rgba(243, 232, 255, 0.8) 100%);
  border-color: #e9d5ff;
}
.b-card-purple:hover {
  border-color: #a855f7;
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.16);
}
.b-card-purple .benefit-icon-svg-box {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}
.b-card-purple .benefit-card-step-badge {
  color: #7c3aed;
}

/* 3. Единая система (Лазурный / Циановый) */
.b-card-cyan {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 250, 0.9) 60%, rgba(207, 250, 254, 0.8) 100%);
  border-color: #a5f3fc;
}
.b-card-cyan:hover {
  border-color: #06b6d4;
  box-shadow: 0 18px 45px rgba(6, 182, 212, 0.16);
}
.b-card-cyan .benefit-icon-svg-box {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  color: #0284c7;
  border: 1px solid #a5f3fc;
}
.b-card-cyan .benefit-card-step-badge {
  color: #0284c7;
}

/* 4. Единая аналитика (Изумрудный / Мятный) */
.b-card-green {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.9) 60%, rgba(220, 252, 231, 0.8) 100%);
  border-color: #bbf7d0;
}
.b-card-green:hover {
  border-color: #10b981;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.16);
}
.b-card-green .benefit-icon-svg-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #059669;
  border: 1px solid #bbf7d0;
}
.b-card-green .benefit-card-step-badge {
  color: #059669;
}

/* ПРАВАЯ КОЛОНКА (ЗЕРКАЛЬНЫЙ АНАЛОГ ЛЕВОЙ ИЗ .problem) */
.benefits-sidebar-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
}

.benefits-sidebar-col .profile-photo-wrapper {
  width: 280px;
}

.benefit-promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.promo-pill {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--purple);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   7. КОМУ ПОДХОДИТ (В СТИЛЕ "КАК БУДЕТ ПРОХОДИТЬ РАБОТА (ЭТАПЫ)")
   ========================================================================== */
.who-section-main.process-section {
  width: 100%;
  padding: 120px 6%;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.who-process-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.who-process-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.who-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.who-process-grid .process-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 38px 28px 84px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09), 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.who-process-grid .process-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(124, 58, 237, 0.18), 0 10px 25px rgba(15, 23, 42, 0.08);
  border-color: var(--purple-light);
}

.who-process-grid .process-content {
  position: relative;
  z-index: 1;
  height: 100%;
}

.who-card-top-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 11px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.who-process-grid .process-step-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.who-process-grid .process-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.who-process-grid .process-number {
  position: absolute;
  right: 18px;
  bottom: 8px;
  font-size: 130px;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.08);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -4px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.who-process-grid .process-card:hover .process-number {
  transform: scale(1.06) translateY(-4px);
  color: rgba(124, 58, 237, 0.16);
}

/* НИЖНИЙ БАННЕР */
.who-bottom-banner-styled {
  margin: 50px auto 0;
  align-self: center;
  padding: 24px 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border: 1.5px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.10), 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}

.who-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.who-banner-text strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.who-banner-text span {
  font-size: 14.5px;
  color: var(--muted);
}

.btn-who-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.btn-who-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
  color: #ffffff;
}

/* ==========================================================================
   8. СТОИМОСТЬ (ТАРИФЫ)
   ========================================================================== */
.pricing-section-main {
  background: var(--section-1);
  padding: 120px 6%;
}

.price-grid-styled {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Карточка - контейнер с радиусом и тремя цветовыми зонами */
.price-card-styled {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  position: relative;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.price-card-styled:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.price-card-styled.featured {
  border: 2px solid #7c3aed;
  box-shadow: 0 22px 60px rgba(124, 58, 237, 0.18);
  transform: translateY(-6px);
}

.price-card-styled.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 80px rgba(124, 58, 237, 0.28);
}

.price-tag-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  background: linear-gradient(135deg, #9333ea, #6366f1);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.35);
  z-index: 2;
}

/* -------------------------------------------------------------
   ЗОНА 1: ШАПКА КАРТОЧКИ (HEADER ZONE)
   ------------------------------------------------------------- */
.price-card-header {
  padding: 34px 30px 24px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.card-plan-starter .price-card-header {
  background: linear-gradient(150deg, #f8fafc 0%, #edf4fc 100%);
  border-bottom-color: #dbeafe;
}

.card-plan-optimal .price-card-header {
  background: linear-gradient(150deg, #faf7ff 0%, #f3ebff 100%);
  border-bottom-color: #eedeff;
}

.card-plan-federal .price-card-header {
  background: linear-gradient(150deg, #f8fbff 0%, #eaf4fd 100%);
  border-bottom-color: #d8eafd;
}

.price-card-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}

.price-sub-styled {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
  min-height: 38px;
  line-height: 1.4;
}

/* ВЫДЕЛЕНИЕ СТОИМОСТИ (PRICE HIGHLIGHT BOX) */
.price-highlight-box {
  margin-top: 18px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.card-plan-starter .price-highlight-box {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.card-plan-optimal .price-highlight-box {
  border-color: #c084fc;
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.12);
}

.card-plan-federal .price-highlight-box {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.price-card-styled:hover .price-highlight-box {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);
}

.price-highlight-amount {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-plan-optimal .price-highlight-amount {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-highlight-curr {
  font-size: 24px;
  font-weight: 800;
}

.price-period-pill {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.card-plan-optimal .price-period-pill {
  color: #7c3aed;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
}

/* -------------------------------------------------------------
   ЗОНА 2: ТЕЛО КАРТОЧКИ (BODY ZONE)
   ------------------------------------------------------------- */
.price-card-body {
  background: #ffffff;
  padding: 26px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.price-table-styled {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.price-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.price-row-item:last-child {
  border-bottom: none;
}

.price-row-item span:first-child {
  color: var(--muted);
  font-weight: 500;
}

.price-row-item strong {
  text-align: right;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

/* -------------------------------------------------------------
   ЗОНА 3: ПОДВАЛ КАРТОЧКИ (FOOTER ZONE)
   ------------------------------------------------------------- */
.price-card-footer {
  padding: 24px 30px 28px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-plan-optimal .price-card-footer {
  background: #faf7ff;
  border-top-color: #eedeff;
}

.price-note-styled {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  min-height: 38px;
}

.price-btn-action {
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.25s;
  display: inline-block;
  text-decoration: none;
}

.card-plan-starter .price-btn-action,
.card-plan-federal .price-btn-action {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: var(--text);
}

.card-plan-starter .price-btn-action:hover,
.card-plan-federal .price-btn-action:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
   НИЖНИЙ БАННЕР С УСЛОВИЯМИ ДИРЕКТА И % (FOOTER NOTE BANNER)
   ------------------------------------------------------------- */
.pricing-footer-banner {
  margin-top: 38px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.pricing-footer-banner:hover {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.pricing-banner-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.pricing-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-banner-icon.direct-icon {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.pricing-banner-icon.percent-icon {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}

.pricing-banner-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricing-banner-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.pricing-banner-desc {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
}

.pricing-banner-desc strong {
  color: var(--text);
  font-weight: 700;
}

.pricing-banner-sep {
  width: 1px;
  height: 38px;
  background: #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-footer-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
    gap: 18px;
  }
  .pricing-banner-sep {
    width: 100%;
    height: 1px;
  }
}

/* ==========================================================================
   9. КАЛЬКУЛЯТОР-КОНФИГУРАТОР
   ========================================================================== */
.calculator-section-main {
  position: relative;
  padding: 120px 6%;
  background: linear-gradient(
    135deg,
    #91f9d1 0%,
    #12d8fa 25%,
    #1ca4ff 50%,
    #4553ff 75%,
    #5533ff 100%
  );
  isolation: isolate;
  overflow: hidden;
}

.calculator-box-styled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  padding: 54px 50px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.calculator-box-styled::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(37, 99, 235, 0.02) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Левая колонка конфигуратора */
.calc-left-col {
  display: flex;
  flex-direction: column;
}

.calc-box-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 14px;
  letter-spacing: -0.5px;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.calc-box-desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 26px;
}

/* Быстрые пресеты городов */
.calc-presets-row {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.calc-preset-pill {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calc-preset-pill .preset-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.25s;
}

.calc-preset-pill:hover {
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-2px);
}

.calc-preset-pill.active {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.calc-preset-pill.active .preset-pill-dot {
  background: #ffffff;
}

/* Слайдер масштаба */
.calc-slider-wrapper {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.slider-lead-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.slider-badge-val {
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  border: 1px solid #e2e8f0;
}

.slider-num-val {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.slider-txt-val {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.calc-slider-track-wrap {
  position: relative;
  padding: 8px 0;
}

input[type=range].calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  display: block;
}

input[type=range].calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

input[type=range].calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

input[type=range].calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.calc-slider-scale .scale-mid {
  color: #7c3aed;
  font-weight: 700;
}

/* Инфо-плашка соответствия тарифу */
.calc-tariff-badge-box {
  margin-top: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
}

.tariff-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

/* Правая колонка с 3 результатами */
.calc-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-results-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.results-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
}

.results-badge {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #dbeafe;
}

/* Карточки 3-х результатов */
.calc-result-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.calc-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.calc-result-card.featured {
  border-color: #c084fc;
  background: linear-gradient(150deg, #ffffff 0%, #faf6fe 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.calc-result-card.featured:hover {
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.2);
}

.calc-res-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-res-icon-wrap.r-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.calc-res-icon-wrap.r-purple {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}

.calc-res-icon-wrap.r-cyan {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #ccfbf1;
}

.calc-res-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.calc-res-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.calc-res-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.calc-res-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 30px;
}

.calc-res-tag.tag-purple {
  color: #7c3aed;
  background: #ede9fe;
}

.calc-res-amount-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}

.calc-res-price {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.8px;
  line-height: 1.1;
  transition: all 0.2s;
}

.calc-res-price.price-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-res-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.calc-res-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.calc-cta-btn {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  margin-top: 6px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

/* ==========================================================================
   10. КЕЙСЫ (.cases-section bg-blue ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.cases-section {
  padding: 130px 6% 100px;
  background: var(--section-1);
}

.cases-section h2.section-title {
  display: inline-block;
  margin-bottom: 16px;
  text-align: left;
}

.cases-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.channel-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;
  overflow: hidden;
  display: block;
}

.case-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.case-card:hover .case-title {
  color: var(--purple, #7c3aed);
}

.case-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img {
  transform: scale(1.06);
}

.case-info {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.case-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.case-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-name {
  font-weight: 600;
  font-size: 11px;
  color: #1e293b;
}

.case-btn {
  background: linear-gradient(90deg, #c084fc, #7c3aed);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
  pointer-events: none;
}

.case-card:hover .case-btn {
  opacity: 1;
  visibility: visible;
}

.case-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
  line-height: 1.28;
  flex-grow: 1;
  transition: color 0.2s ease;
}

.case-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 10px;
}

.case-stats span {
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* ==========================================================================
   11. СЕКЦИЯ КОНТАКТЫ / CTA (.contact-section ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
.contact-section {
  padding: 120px 6% 110px;
  background: #ffffff;
  color: #0f172a;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 100px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  width: fit-content;
}

.contact-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #3b82f6 35%,
    #06b6d4 65%,
    #5eead4 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subtitle {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 28px;
  color: #475569;
}

.contact-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Правая интерактивная карточка связи */
.contact-action-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.contact-action-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(147, 51, 234, 0.07) 50%, transparent 75%);
  pointer-events: none;
}

.contact-action-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.contact-action-lead {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.contact-action-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.contact-status-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 5px 13px;
  border-radius: 100px;
}

.contact-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.contact-cta-buttons-row {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 15px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff !important;
  box-sizing: border-box;
}

.contact-cta-btn.tg {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 60%, #158bc4 100%);
  box-shadow: 0 10px 25px rgba(34, 158, 217, 0.35);
}

.contact-cta-btn.tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(34, 158, 217, 0.5);
  background: linear-gradient(135deg, #38bdf8 0%, #229ED9 60%, #178ec8 100%);
}

.contact-cta-btn.wa {
  background: linear-gradient(135deg, #9528eb 0%, #794bcab5 60%, #9338e0 100%);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.contact-cta-btn.wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #34d399 0%, #1ebe5d 60%, #139789 100%);
}

.contact-phone-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.contact-phone-cta:hover {
  border-color: #2563eb;
  background: #f0f7ff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.contact-phone-cta svg {
  color: #2563eb;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.08);
  padding: 8px;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
}

.contact-phone-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.contact-phone-cta-text span:first-child {
  font-size: 14.5px;
  color: #0f172a;
}

.contact-phone-cta-text strong {
  font-weight: 700;
  color: #2563eb;
}

.contact-phone-sub {
  font-size: 12.5px;
  color: #64748b;
}

.contact-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #475569;
  font-weight: 500;
}

.contact-trust-item .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-expert-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.contact-expert-avatar-mini {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #3b82f6;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-expert-note-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.45;
}

.contact-expert-note-text strong {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 700;
}

/* ==========================================================================
   ПОДВАЛ (FOOTER) - ПРЕМИУМ ДИЗАЙН MULTIREGION
   ========================================================================== */
.site-footer {
  position: relative;
  background: #090d16;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-accent {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 35%, #06b6d4 70%, #10b981 100%);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px 5% 24px;
  box-sizing: border-box;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.1fr 1.35fr;
  gap: 36px;
  margin-bottom: 24px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Колонка 1: Бренд и миссия */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
  width: fit-content;
}

.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-desc {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 100px;
  color: #34d399;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: footerPulse 2s infinite ease-in-out;
}

@keyframes footerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.footer-badges-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #cbd5e1;
}

.footer-badge-item .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Заголовки колонок */
.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.2px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 2px;
}

/* Списки навигации и решений */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links-list li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  transform: translateX(5px);
}

.footer-link-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-price-tag {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  margin-left: auto;
}

/* Карточка прямого контакта эксперта */
.footer-expert-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer-expert-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-expert-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.footer-expert-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-expert-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
}

.footer-expert-role {
  color: #64748b;
  font-size: 12.5px;
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone-link:hover {
  color: #38bdf8;
}

.footer-hours {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  color: #ffffff;
}

.footer-social-btn.tg {
  background: rgba(37, 162, 227, 0.15);
  border: 1px solid rgba(37, 162, 227, 0.35);
  color: #38bdf8;
}

.footer-social-btn.tg:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.footer-social-btn.wa {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #7b3bed;
}

.footer-social-btn.wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.footer-action-cta {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.footer-action-cta:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Баннер географии охвата городов */
.footer-geo-strip {
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-geo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 22px;
  flex-shrink: 0;
}

.footer-geo-content {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-geo-content strong {
  color: #f1f5f9;
}

/* Нижняя строка копирайта и ссылок */
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.footer__bottom-item {
  display: inline-flex;
  align-items: center;
}

.footer-bottom p,
.footer__bottom-item p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 13px;
}

.footer-developer-credit a,
.footer__bottom-item a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-developer-credit a:hover,
.footer__bottom-item a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #cbd5e1;
}

.md-line-dotted {
  cursor: pointer;
  border-bottom: 1px dotted rgba(148, 163, 184, 0.6);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.md-line-dotted:hover {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.footer-engine-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (ИЗ ОСНОВНОГО ДИЗАЙНА)
   ========================================================================== */
@media (max-width: 1280px) {
  .niches-sidebar-sticky { width: 280px; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-content-wrapper, .problem-grid, .calculator-box-styled, .contact-container {
    grid-template-columns: 1fr;
  }
  .profile-hero, .benefits-hero-wrapper { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
  .profile-intro, .benefits-content-col { width: 100%; }
  .profile-intro .section-head, .benefits-content-col .section-head { text-align: center; margin-left: auto; margin-right: auto; }
  .benefits-sidebar-col { width: 100%; align-items: center; }
  .niches-layout-wrapper { flex-direction: column; gap: 30px; }
  .niches-sidebar-sticky { width: 100%; position: static; }
  .niche-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content-wrapper { flex-direction: column; align-items: center; text-align: center; }
  .hero-image { width: 100%; max-width: 480px; margin-top: 40px; }
  .ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .system-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-card-styled:not(:last-child):after { display: none; }
  .benefit-grid-styled, .price-grid-styled { grid-template-columns: 1fr; }
  .who-grid-styled, .who-process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .who-bottom-banner-styled { flex-direction: column; text-align: center; gap: 18px; padding: 24px; }
  .price-card-styled.featured { transform: none; }
  .site-preview-grid { grid-template-columns: 1fr; }
  .site-image-box { height: 260px; }
  .calculator-box-styled { padding: 40px 24px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head-single-icon { align-self: flex-start; }
  .section-head-single-icon svg { max-height: 90px; min-height: 70px; }
  .footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ==========================================================================
   MOBILE ADAPTATION (FIXES FOR SMALL SCREENS & MOBILE DEVICES)
   ТОЛЬКО ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ — ДЕСКТОП НЕ ЗАТРАГИВАЕТСЯ
   ========================================================================== */

@media (max-width: 768px) {
  /* Защита от горизонтального скролла */
  html, body {
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  /* --- ОБЩИЕ НАСТРОЙКИ СЕТКИ И ОТСТУПОВ --- */
  section {
    padding: 54px 5% !important;
  }

  .container-boxed, 
  .hero-content-wrapper,
  .profile-hero,
  .benefits-hero-wrapper,
  .who-process-container,
  .contact-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* Типографика: заголовки и описания */
  h2, .section-title, .who-process-title, .calc-box-title, .contact-title {
    font-size: 26px !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
  }

  .section-desc, 
  .profile-intro .section-head .section-desc, 
  .benefits-content-col .section-head .section-desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .eyebrow {
    font-size: 11.5px !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
  }

  .section-head, .section-head.center {
    margin-bottom: 32px !important;
  }

  .section-head-split {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 30px !important;
  }

  .section-head-single-icon {
    align-self: flex-start !important;
  }

  .section-head-single-icon svg {
    max-height: 70px !important;
    min-height: 52px !important;
  }

  /* --- 1. ШАПКА (HEADER) — ФИКС РАЗМЕРА ЭЛЕМЕНТОВ И ГАМБУРГЕРА --- */
  .bld-header {
    height: 60px !important;
  }

  .bld-header-inner {
    height: 60px !important;
    padding: 0 12px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Логотип: уменьшен, не выталкивает гамбургер */
  .bld-logo {
    height: 32px !important;
    font-size: 16px !important;
    gap: 6px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  
  .bld-logo img {
    max-height: 30px !important;
    height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Блок действий: кнопка + гамбургер */
  .bld-actions {
    gap: 8px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Кнопка в шапке: компактный вид с сохранением читаемости */
  .bld-btn-call {
    padding: 7px 12px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25) !important;
    flex-shrink: 0 !important;
  }

  .bld-btn-text {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  /* Гамбургер: строго виден, не вылетает за экран */
  .bld-burger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important;
    height: 18px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .bld-burger-line {
    width: 100% !important;
    height: 2.2px !important;
    background: #0f172a !important;
    border-radius: 2px !important;
    display: block !important;
  }

  /* --- HERO SECTION --- */
  .hero {
    padding-top: 80px !important;
    min-height: auto !important;
    padding-bottom: 44px !important;
  }

  .hero-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  /* Картинка карты на самый верх, над текстом */
  .hero-image {
    order: -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .hero-content {
    order: 2 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
  }

  .hero-content .h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 14px !important;
  }

  .hero-content p, .hero-p {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 22px !important;
  }

  .hero-badge-pill {
    margin: 0 auto 14px !important;
    font-size: 12px !important;
    padding: 6px 13px !important;
  }

  .ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  .ctas .btn-primary, 
  .ctas .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
  }

  .hero-stats {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .hero-stat-pill {
    font-size: 12px !important;
    padding: 6px 11px !important;
    border-radius: 10px !important;
  }

  .map-card-styled {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }
  
  .map-viewport {
    height: 270px !important;
    border-radius: 14px !important;
  }

  .region-pin {
    font-size: 10.5px !important;
    padding: 5px 10px !important;
  }

  .hero-vertical-numbers {
    flex-direction: row !important;
    width: auto !important;
    margin-top: 10px !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-vertical-digits {
    flex-direction: row !important;
    gap: 3px !important;
    align-items: center !important;
  }
  
  .hero-vertical-digits span {
    font-size: 34px !important;
    line-height: 1 !important;
  }
  
  .hero-vertical-word {
    display: flex !important;
    flex-direction: row !important;
    gap: 1px !important;
  }

  .hero-vertical-word span {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  /* --- ПРОФИЛЬ / ПРОБЛЕМА --- */
  .profile-hero {
    flex-direction: column !important;
    gap: 26px !important;
    text-align: center !important;
  }

  .profile-photo-wrapper {
    width: 100% !important;
    align-items: center !important;
  }

  .profile-photo {
    width: 160px !important;
    height: 160px !important;
    margin: 0 auto !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* --- СИСТЕМА (CHANNELS) --- */
  .system-flow-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .flow-card-styled:not(:last-child):after {
    display: none !important;
  }

  /* --- ДЕМО (BROWSER WINDOW) --- */
  .demo-section-main {
    padding: 50px 4% !important;
  }

  .demo-box-styled {
    padding: 16px 12px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  }
  
  .demo-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .demo-top-title-box {
    max-width: 100% !important;
  }

  .demo-top-title-box strong {
    font-size: 15.5px !important;
    line-height: 1.25 !important;
  }

  .demo-top-title-box p {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    margin-top: 3px !important;
  }
  
  .demo-tabs-pills {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding: 2px 2px 8px !important;
    scrollbar-width: none !important;
  }

  .demo-tabs-pills::-webkit-scrollbar {
    display: none !important;
  }

  .city-pill-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 7px 13px !important;
    font-size: 12px !important;
    border-radius: 50px !important;
    gap: 5px !important;
  }

  .city-pill-btn .tab-pin-icon {
    width: 12px !important;
    height: 12px !important;
  }

  .browser-window-styled {
    height: auto !important;
    border-radius: 16px !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
  }

  .browser-window-bar {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .browser-dots-group {
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .b-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .browser-url-styled {
    margin-left: 2px !important;
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  .browser-url-styled svg {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
  }

  .browser-url-styled span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
  }

  .browser-badge-styled {
    font-size: 11px !important;
    padding: 4px 10px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .demo-split-grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Левая колонка: выдача */
  .serp-pane {
    height: 420px !important;
    min-height: 420px !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--line) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;
  }

  .serp-engine-header {
    padding: 12px 12px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
  }

  .serp-search-bar-row {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .serp-logo-badge {
    width: 30px !important;
    height: 30px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .serp-search-input-box {
    height: 36px !important;
    padding: 0 4px 0 10px !important;
    border-radius: 10px !important;
    border-width: 1.5px !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  .serp-search-input-box input {
    font-size: 12px !important;
    min-width: 0 !important;
  }

  .serp-search-actions {
    display: none !important;
  }

  .serp-search-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }

  .serp-engine-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 10px !important;
    padding-top: 0 !important;
    scrollbar-width: none !important;
  }

  .serp-engine-nav::-webkit-scrollbar {
    display: none !important;
  }

  .serp-nav-tabs-group {
    display: flex !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
  }

  .serp-nav-tab {
    padding: 6px 2px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .serp-geo-chip {
    padding: 3px 8px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }

  .serp-results-scrollpane {
    padding: 12px 12px 24px !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 !important;
  }

  .serp-stats-row {
    font-size: 11px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .serp-snippet-card {
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
  }

  .serp-snippet-card.top1-champion {
    padding: 14px 12px !important;
    margin-bottom: 18px !important;
    border-radius: 14px !important;
  }

  .serp-top1-banner-badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
  }

  .serp-site-meta-line {
    font-size: 11px !important;
    gap: 6px !important;
  }

  .serp-favicon {
    width: 18px !important;
    height: 18px !important;
    font-size: 10.5px !important;
    border-radius: 5px !important;
  }

  .serp-brand-name {
    font-size: 11.5px !important;
  }

  .serp-verified-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .serp-breadcrumbs {
    font-size: 10.5px !important;
    word-break: break-all !important;
  }

  .serp-title-link {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 6px 0 5px !important;
  }

  .serp-rating-row {
    font-size: 11px !important;
    gap: 5px !important;
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
  }

  .serp-snippet-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
  }

  .serp-sitelinks-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px 10px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }

  .serp-sitelink-title {
    font-size: 12px !important;
  }

  .serp-sitelink-desc {
    font-size: 10.5px !important;
  }

  .serp-chips-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 8px 0 !important;
  }

  .serp-chip {
    font-size: 10.5px !important;
    padding: 3px 7px !important;
  }

  .serp-contacts-line {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    font-size: 11px !important;
    margin-top: 8px !important;
    padding-top: 6px !important;
  }

  .serp-contact-item {
    font-size: 11px !important;
    gap: 4px !important;
  }

  .serp-geo-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
  }

  .serp-geo-badge {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  .serp-geo-title {
    font-size: 13.5px !important;
    margin-bottom: 3px !important;
  }

  .serp-geo-info {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }

  .serp-geo-buttons {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .serp-geo-btn {
    font-size: 11px !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
  }

  /* Правая колонка: скриншот сайта */
  .site-screenshot-pane {
    height: 320px !important;
    min-height: 320px !important;
    border-left: none !important;
    border-top: 2px solid var(--line) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .site-preview-header {
    padding: 8px 12px !important;
    flex-shrink: 0 !important;
  }

  .site-preview-browser-tab {
    font-size: 11px !important;
    max-width: 180px !important;
    gap: 6px !important;
  }

  .site-preview-badge {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }

  .site-screenshot-viewport {
    display: none !important;
    position: relative !important;
    width: 100% !important;
    flex: 1 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .site-screenshot-viewport.active {
    display: block !important;
  }

  .site-screenshot-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .site-screenshot-overlay {
    padding: 12px !important;
    inset: 0 !important;
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 25%, rgba(15, 23, 42, 0.45) 100%) !important;
    pointer-events: none !important;
  }

  .site-glass-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    pointer-events: auto !important;
  }

  .site-glass-badge {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .site-glass-card h3 {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .site-glass-card p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .site-glass-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .site-glass-pill {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
    max-width: 130px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .btn-sm-action {
    font-size: 11px !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    width: auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  /* --- НИШИ (TABS & CARDS) --- */
  .niches-layout-wrapper {
    flex-direction: column !important;
    gap: 18px !important;
  }

  .niches-sidebar-sticky {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    margin-bottom: 12px !important;
  }

  .niche-vertical-tabs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .niche-tab-button-vertical {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  .niches-content-right {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Карточки по 2 в ряд на мобильных экранах — идут первыми сразу под табами */
  .niche-cards-grid {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  .niche-card-horizontal {
    height: auto !important;
    flex-direction: column !important;
    border-radius: 14px !important;
  }

  .niche-card-thumb-wrap {
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 105px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .niche-card-body-wrap {
    width: 100% !important;
    flex: 1 1 auto !important;
    padding: 10px 10px 12px !important;
  }

  .niche-card-category-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .niche-card-action-arrow {
    font-size: 11px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .niche-card-bottom-info h4 {
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    margin: 4px 0 2px !important;
  }

  .niche-card-tags {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  /* Текстовая часть вкладки (.niche-tab-intro-text) смещена вниз под картинки-карточки */
  .niche-tab-intro-banner {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 18px !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
    background: #ffffff !important;
    border-radius: 18px !important;
  }

  .niche-tab-intro-text {
    order: 1 !important;
  }

  .niche-tab-intro-title {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }

  .niche-tab-intro-desc {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  .niche-tab-demand-box {
    order: 2 !important;
    padding: 14px !important;
  }

  .niche-demand-text {
    font-size: 12.5px !important;
  }

  /* --- ПРЕИМУЩЕСТВА --- */
  .benefits-hero-wrapper {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .benefits-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .benefit-card-stitch {
    padding: 18px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  
  .benefits-sidebar-col {
    width: 100% !important;
  }

  /* --- КОМУ ПОДХОДИТ --- */
  .who-process-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .who-bottom-banner-styled {
    flex-direction: column !important;
    text-align: center !important;
    padding: 18px !important;
    gap: 14px !important;
  }

  /* --- ТАРИФЫ (PRICING) --- */
  .price-grid-styled {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .price-highlight-amount {
    font-size: 28px !important;
  }

  .pricing-footer-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 18px !important;
  }
  
  .pricing-banner-sep {
    display: none !important;
  }

  /* --- КАЛЬКУЛЯТОР --- */
  .calculator-box-styled {
    grid-template-columns: 1fr !important;
    padding: 22px 14px !important;
    gap: 24px !important;
  }

  .calc-presets-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .calc-preset-chip {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
  }

  /* --- КЕЙСЫ --- */
  .cases-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .case-btn {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* --- КОНТАКТЫ --- */
  .contact-section {
    padding: 54px 5% !important;
  }

  .contact-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .contact-cta-buttons-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .contact-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .contact-phone-cta {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .contact-action-card,
  .contact-features-card {
    padding: 22px 16px !important;
  }

  /* --- FOOTER --- */
  .footer-container {
    padding: 30px 5% 18px !important;
  }

  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center !important;
  }
  
  .footer-col-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .footer-links-list li a {
    justify-content: center !important;
  }
  
  .footer-logo {
    margin: 0 auto 14px !important;
  }
  
  .footer-status-pill,
  .footer-badges-list {
    align-items: center !important;
    margin: 0 auto 18px !important;
  }

  .footer-expert-box {
    align-items: center !important;
    text-align: center !important;
    padding: 18px !important;
  }
  
  .footer-expert-header {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .footer-social-row {
    justify-content: center !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .footer-developer-credit,
  .footer-legal-links,
  .footer__bottom-item {
    justify-content: center !important;
  }

  .footer-geo-strip {
    flex-direction: column !important;
    text-align: center !important;
    padding: 16px !important;
  }
}

/* --- КОМПАКТНЫЕ МОБИЛЬНЫЕ (до 480px, iPhone 12/13/14/15, Android) --- */
@media (max-width: 480px) {
  .bld-header {
    height: 56px !important;
  }

  .bld-header-inner {
    height: 56px !important;
    padding: 0 10px !important;
  }

  .bld-logo {
    height: 28px !important;
  }

  .bld-logo img {
    max-height: 26px !important;
    height: 26px !important;
  }

  .bld-actions {
    gap: 6px !important;
  }

  .bld-btn-call {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    border-radius: 7px !important;
  }

  .bld-btn-text {
    font-size: 11.5px !important;
  }

  .bld-burger {
    display: flex !important;
    width: 24px !important;
    height: 16px !important;
  }

  .hero {
    padding-top: 76px !important;
    padding-bottom: 40px !important;
  }

  .hero-content .h1 {
    font-size: 25px !important;
  }

  .map-viewport {
    height: 240px !important;
  }

  .hero-vertical-digits span {
    font-size: 30px !important;
  }

  /* --- ДЕМО (480px) --- */
  .demo-section-main {
    padding: 40px 3% !important;
  }

  .demo-box-styled {
    padding: 12px 10px !important;
    border-radius: 16px !important;
  }

  .browser-window-bar {
    padding: 8px 10px !important;
    gap: 6px !important;
  }

  .browser-url-styled {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
  }

  .browser-badge-styled {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .serp-pane {
    height: 390px !important;
    min-height: 390px !important;
  }

  .site-screenshot-pane {
    height: 290px !important;
    min-height: 290px !important;
  }

  .site-screenshot-overlay {
    padding: 10px !important;
  }

  .site-glass-card {
    padding: 8px 10px !important;
  }

  .site-glass-pill {
    max-width: 110px !important;
    font-size: 10px !important;
    padding: 3px 6px !important;
  }

  .btn-sm-action {
    font-size: 10.5px !important;
    padding: 4px 8px !important;
  }

  .niche-cards-grid {
    gap: 8px !important;
  }
  .niche-card-thumb-wrap {
    height: 90px !important;
  }
  .niche-card-body-wrap {
    padding: 8px 8px 10px !important;
  }
  .niche-card-bottom-info h4 {
    font-size: 12.5px !important;
  }
  .niche-card-tags {
    font-size: 9.5px !important;
  }
}

/* --- ЭКСТРА МАЛЕНЬКИЕ ЭКРАНЫ (iPhone SE 1-го пок., 320px–360px) --- */
@media (max-width: 360px) {
  .bld-header {
    height: 52px !important;
  }

  .bld-header-inner {
    height: 52px !important;
    padding: 0 8px !important;
  }

  .bld-logo {
    height: 24px !important;
  }

  .bld-logo img {
    max-height: 22px !important;
    height: 22px !important;
  }

  .bld-actions {
    gap: 5px !important;
  }

  /* Кнопка на 320px остаётся видна, но становится ультракомпактной */
  .bld-btn-call {
    padding: 5px 8px !important;
    font-size: 10.5px !important;
    border-radius: 6px !important;
    letter-spacing: -0.2px !important;
  }

  .bld-btn-text {
    font-size: 10.5px !important;
  }

  .bld-burger {
    display: flex !important;
    width: 22px !important;
    height: 15px !important;
  }

  .hero {
    padding-top: 68px !important;
  }

  .hero-content .h1 {
    font-size: 22px !important;
  }

  h2, .section-title, .who-process-title, .calc-box-title, .contact-title {
    font-size: 22px !important;
  }

  .hero-vertical-digits span {
    font-size: 26px !important;
  }

  .hero-vertical-word span {
    font-size: 11px !important;
  }

  .niche-cards-grid {
    gap: 6px !important;
  }
  .niche-card-thumb-wrap {
    height: 78px !important;
  }
  .niche-card-body-wrap {
    padding: 6px 6px 8px !important;
  }
  .niche-card-bottom-info h4 {
    font-size: 11px !important;
  }
  .niche-card-tags {
    font-size: 8.5px !important;
  }

  /* --- ДЕМО (360px и меньше) --- */
  .demo-section-main {
    padding: 32px 2% !important;
  }

  .demo-box-styled {
    padding: 10px 6px !important;
    border-radius: 14px !important;
  }

  .demo-top-title-box strong {
    font-size: 14px !important;
  }

  .city-pill-btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  .browser-badge-styled {
    display: none !important;
  }

  .browser-url-styled {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }

  .serp-pane {
    height: 360px !important;
    min-height: 360px !important;
  }

  .serp-engine-header {
    padding: 8px 8px 0 !important;
  }

  .serp-logo-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
  }

  .serp-search-input-box {
    height: 32px !important;
    padding: 0 3px 0 8px !important;
  }

  .serp-search-input-box input {
    font-size: 11px !important;
  }

  .serp-search-btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }

  .serp-results-scrollpane {
    padding: 10px 8px 18px !important;
  }

  .serp-snippet-card.top1-champion {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }

  .serp-title-link {
    font-size: 13px !important;
  }

  .site-screenshot-pane {
    height: 260px !important;
    min-height: 260px !important;
  }

  .site-preview-browser-tab {
    max-width: 140px !important;
    font-size: 10px !important;
  }

  .site-screenshot-overlay {
    padding: 8px !important;
  }

  .site-glass-card {
    padding: 8px 8px !important;
  }

  .site-glass-card h3 {
    font-size: 12px !important;
  }

  .site-glass-card p {
    display: none !important;
  }

  .site-glass-pill {
    max-width: 95px !important;
    font-size: 9.5px !important;
  }

  .btn-sm-action {
    font-size: 10px !important;
    padding: 4px 7px !important;
  }
}



/* =========================
   SEO PROCESS
   ========================= */

.seo-process-section {
  width: 100%;
  padding: 110px 6%;
  background: #ffffff;
  box-sizing: border-box;
}

.seo-process-head {
  align-items: center;
}

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

.seo-process-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.seo-process-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.seo-process-number {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.seo-process-card h3 {
  margin: 2px 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.seo-process-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}


/* =========================
   SEO REGIONS
   ========================= */

.seo-regions-section {
  width: 100%;
  padding: 110px 6%;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  box-sizing: border-box;
}

.seo-regions-section .section-head {
  max-width: 900px;
}

.seo-regions-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: stretch;
}

.seo-region-main {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(15, 23, 42, .05);
}

.seo-region-intro {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.seo-region-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eef2ff;
  color: #2563eb;
  font-size: 26px;
  font-weight: 700;
}

.seo-region-intro h3 {
  margin: 0 0 9px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.seo-region-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.seo-city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.seo-city-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3f0;
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
}

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

.seo-federal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  transition: transform .25s ease, box-shadow .25s ease;
}

.seo-federal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.seo-federal-number {
  display: block;
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.seo-federal-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
}

.seo-federal-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.seo-regions-note {
  margin-top: 18px;
  padding: 20px 24px;
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .04);
}

.seo-regions-note strong {
  color: var(--text);
}


/* =========================
   ADAPTIVE
   ========================= */

@media (max-width: 1100px) {
  .seo-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-regions-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .seo-process-section,
  .seo-regions-section {
    padding: 75px 16px;
  }

  .seo-process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-process-card {
    min-height: auto;
    padding: 22px;
    border-radius: 16px;
  }

  .seo-process-card h3 {
    font-size: 18px;
  }

  .seo-process-card p {
    font-size: 15px;
  }

  .seo-regions-layout {
    gap: 14px;
  }

  .seo-region-main {
    padding: 22px;
    border-radius: 17px;
  }

  .seo-region-intro h3 {
    font-size: 20px;
  }

  .seo-region-intro p {
    font-size: 15px;
  }

  .seo-federal-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-federal-card {
    padding: 20px;
  }

  .seo-regions-note {
    padding: 17px 18px;
  }

  .seo-process-section .section-head-single-icon,
  .seo-regions-section .section-head-single-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .seo-process-section,
  .seo-regions-section {
    padding: 60px 12px;
  }

  .seo-process-card {
    gap: 13px;
    padding: 18px;
  }

  .seo-process-number {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 12px;
  }

  .seo-process-card h3 {
    font-size: 17px;
  }

  .seo-process-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .seo-region-main {
    padding: 18px;
  }

  .seo-region-intro {
    gap: 12px;
  }

  .seo-region-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .seo-city-tags {
    gap: 7px;
  }

  .seo-city-tags span {
    font-size: 13px;
    min-height: 34px;
    padding: 6px 10px;
  }

  .seo-federal-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-process-card,
  .seo-federal-card {
    transition: none;
  }
}



/* =========================
   FAQ
   ========================= */

.faq-section {
    width: 100%;
    padding: 120px 6%;
    background:rgb(213, 227, 255);
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.faq-header {
/*     max-width: 760px;
    margin: 0 auto 50px;
    text-align: center; */
}

.faq-label {
    display: block;
    width: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6e8ec;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #666b75;
}

.faq-header h2 {
  max-width: 680px;
    margin: 0 0 18px;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111318;
}

.faq-header p {
  max-width: 680px;
     /*  margin: 0 auto; */
margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.65;
    color: #6b707a;
}


/* FAQ list */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    margin: 0;
    border: 1px solid #e3e5e9;
    border-radius: 16px;
    background: #ffffff;

    overflow: hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.faq-item:hover {
    border-color: #d5d8de;
}

.faq-item[open] {
    border-color: #d7dae0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}


/* Question */

.faq-item summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 76px;
    padding: 22px 26px;

    box-sizing: border-box;

    cursor: pointer;
    list-style: none;

    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #17191e;

    user-select: none;
}

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

.faq-item summary::marker {
    display: none;
}


/* Plus / minus */

.faq-icon {
    position: relative;

    flex: 0 0 34px;
    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: #f1f2f4;
}

.faq-icon::before,
.faq-icon::after {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 13px;
    height: 2px;

    border-radius: 2px;
    background: #25282e;

    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* Answer */

.faq-answer {
    padding: 0 26px 25px;
}

.faq-answer p {
    max-width: 820px;
    margin: 0;

    font-size: 16px;
    line-height: 1.7;
    color: #626873;
}


/* =========================
   Adaptive
   ========================= */

@media (max-width: 767px) {

    .faq-section {
        padding: 70px 16px;
    }

    .faq-header {
        margin-bottom: 32px;
    }

    .faq-header h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .faq-header p {
        font-size: 15px;
        line-height: 1.55;
    }

    .faq-label {
        margin-bottom: 13px;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 13px;
    }

    .faq-item summary {
        min-height: 68px;
        padding: 18px 17px;

        gap: 18px;

        font-size: 16px;
        line-height: 1.4;
    }

    .faq-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .faq-icon::before,
    .faq-icon::after {
        width: 11px;
    }

    .faq-answer {
        padding: 0 17px 20px;
    }

    .faq-answer p {
        font-size: 15px;
        line-height: 1.65;
    }
}


@media (max-width: 420px) {

    .faq-section {
        padding: 55px 12px;
    }

    .faq-header h2 {
        font-size: 27px;
    }

    .faq-item summary {
        padding: 16px 14px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 14px 18px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .faq-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }
}


/* Accessibility */

.faq-item summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

