/* ==========================================================================
   RUSSIAN ROBOTICS — СТИЛИ ЛЕНДИНГА "САЙТ И ФИРМЕННЫЙ СТИЛЬ ЗА 0 РУБЛЕЙ"
   Программа софинансирования для субъектов МСП Краснодарского края
   ========================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Цветовая палитра Russian Robotics */
  --color-primary: #ea5658;
  --color-primary-hover: #d74345;
  --color-primary-active: #c33638;
  --color-primary-light: #fff0f1;
  --color-primary-border: rgba(234, 86, 88, 0.25);

  --color-tg: #229ED9;
  --color-tg-hover: #1b88bd;
  --color-max: #1e2124;
  --color-max-hover: #2b3035;

  --color-dark: #151719;
  --color-dark-surface: #1e2124;
  --color-text-main: #1f2427;
  --color-text-muted: #5e6670;
  --color-text-light: #8e97a4;

  --color-bg-light: #f7f9fc;
  --color-bg-white: #ffffff;
  --color-bg-gray: #f0f3f7;
  --color-border: #e2e7ee;
  --color-border-light: #edf1f6;

  --color-blue-state: #005ca6;
  --color-blue-bg: #eef6ff;
  --color-blue-text: #0b5fa5;

  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;

  /* Скругления и тени */
  --radius-pill: 1000px;
  --radius-card: 20px;
  --radius-card-sm: 14px;
  --radius-button: 1000px;
  --radius-input: 12px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-cta: 0 8px 24px rgba(234, 86, 88, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Сброс и базовые настройки */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Контейнеры */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
}

.container-lead {
  max-width: 900px;
}

/* Бейджи и теги */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.badge-primary {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.badge-state {
  background: var(--color-blue-bg);
  color: var(--color-blue-text);
  border: 1px solid rgba(0, 92, 166, 0.2);
}

.badge-live {
  position: relative;
  padding-left: 24px;
}

.badge-live::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(234, 86, 88, 0.7);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 86, 88, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(234, 86, 88, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(234, 86, 88, 0);
  }
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234, 86, 88, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-gray);
  border-color: #cbd5e1;
}

/* Специальные кнопки мессенджеров (TG и MAX на 1 месте) */
.btn-tg {
  background: var(--color-tg);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.btn-tg:hover {
  background: var(--color-tg-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(34, 158, 217, 0.45);
}

.btn-max {
  background: var(--color-max);
  color: #ffffff;
  border: 1px solid #33383f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-max:hover {
  background: var(--color-max-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: #1a2332;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-pill {
  background: rgba(234, 86, 88, 0.2);
  color: #ff8e90;
  border: 1px solid rgba(234, 86, 88, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 12px;
}

.top-bar-link:hover {
  color: #ffffff;
}

.top-bar-phone {
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.top-bar-phone:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  height: 68px;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding: 4px 0;
}

.header-nav-link:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background: radial-gradient(circle at 10% 20%, rgba(234, 86, 88, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 92, 166, 0.04) 0%, transparent 40%),
    var(--color-bg-white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title .highlight-red {
  color: var(--color-primary);
  display: inline-block;
}

.hero-subtitle {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 34px;
}

.hero-subtitle strong {
  color: var(--color-dark);
  font-weight: 600;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-dark);
}

.hero-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
}

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

/* Визуал Hero */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 23, 25, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  aspect-ratio: 4 / 3;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-badge-top {
  top: 18px;
  right: -10px;
}

.floating-badge-bottom {
  bottom: 18px;
  left: -10px;
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge-icon.blue {
  background: var(--color-blue-bg);
  color: var(--color-blue-state);
}

.floating-badge-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.floating-badge-desc {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ТРАСТ БАР
   ========================================================================= */
.trust-bar {
  padding: 20px 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-dark);
  font-size: 13.5px;
  font-weight: 600;
}

/* ==========================================================================
   СЕКЦИИ
   ========================================================================== */
.section {
  padding: 40px 0;
}

.section-gray {
  background: var(--color-bg-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-tag {
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   КОМПАКТНЫЕ КАРТОЧКИ: САЙТ И БРЕНДБУК
   ========================================================================== */
.compact-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.compact-service-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: all var(--transition-normal);
}

.compact-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(234, 86, 88, 0.3);
}

.compact-service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.compact-service-head>div {
  min-width: 0;
  flex: 1;
}

.feature-pill {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
}

.compact-service-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.25;
  word-wrap: break-word;
}

.compact-zero-badge {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

.compact-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 140px;
  max-height: 240px;
  background: #edf2f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.compact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.compact-service-card:hover .compact-img {
  transform: scale(1.03);
}

.compact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  flex: 1;
}

.compact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-text-main);
  line-height: 1.45;
  word-break: break-word;
}

.check-dot {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 3px;
  line-height: 1;
}

.compact-card-actions {
  margin-top: auto;
}

.services-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ==========================================================================
   УСЛОВИЯ (КОМПАКТНЫЙ СПИСОК)
   ========================================================================== */
.conditions-compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.condition-compact-item {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition-fast);
}

.condition-compact-item:hover {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.condition-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}

.condition-compact-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.condition-compact-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   БЛОК СВЯЗИ: МЕССЕНДЖЕРЫ НА 1 МЕСТЕ
   ========================================================================== */
.lead-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
}

.lead-box {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.messenger-priority-box {
  text-align: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #f5f3ff 100%);
  border: 1px solid rgba(0, 92, 166, 0.1);
  border-radius: var(--radius-card-sm);
  padding: 30px 24px;
  margin-bottom: 28px;
}

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

.form-divider {
  position: relative;
  text-align: center;
  margin: 24px 0 20px;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
  z-index: 1;
}

.form-divider span {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

/* Упрощенная форма */
.simple-lead-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.simple-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr auto;
  gap: 12px;
  align-items: stretch;
}

.simple-form-row.two-fields {
  grid-template-columns: 1fr 1fr 220px;
  gap: 12px;
  align-items: stretch;
}

.simple-form-field {
  min-width: 0;
}

.simple-form-field .form-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  font-size: 15px;
  color: var(--color-dark);
  background: var(--color-bg-light);
  outline: none;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.simple-form-field .form-input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.simple-form-btn-wrap {
  min-width: 0;
}

.simple-form-btn-wrap .btn {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  text-align: left;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label a:hover {
  color: var(--color-primary-hover);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  font-size: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 22px 18px;
}

/* ==========================================================================
   КОНТАКТЫ И ФУТЕР
   ========================================================================== */
.contacts-section {
  padding: 50px 0;
  background: var(--color-bg-light);
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.footer {
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  padding: 24px 0;
  font-size: 12px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-card);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-dark);
}

.modal-close:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.modal-success {
  text-align: center;
}

.modal-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
  border: 2px solid var(--color-success-border);
}

/* ==========================================================================
   БЛОК СТАТИСТИКИ
   ========================================================================== */
.stats-bar {
  padding: 36px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

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

.stat-item {
  position: relative;
  padding: 8px 0;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==========================================================================
   КАК ЭТО РАБОТАЕТ (ШАГИ)
   ========================================================================== */
.steps-section {
  padding: 56px 0;
  background: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step-card {
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: var(--radius-card-sm);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(234, 86, 88, 0.3);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   БЕЙДЖ СРОЧНОСТИ
   ========================================================================== */
.badge-urgency {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1px solid rgba(194, 65, 12, 0.2);
  font-weight: 700;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 960px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .compact-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 860px) {

  .simple-form-row,
  .simple-form-row.two-fields {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .simple-form-btn-wrap .btn {
    width: 100%;
    height: 52px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .top-bar-contacts {
    display: none;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .compact-service-card {
    padding: 22px 18px;
  }

  .compact-service-title {
    font-size: 20px;
  }

  .compact-zero-badge {
    font-size: 18px;
    padding: 4px 10px;
  }

  .lead-box {
    padding: 24px 18px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 25px;
  }

  .floating-badge {
    display: none;
  }

  .messenger-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .messenger-cta-row .btn {
    width: 100%;
  }

  .services-cta-wrap {
    flex-direction: column;
    width: 100%;
  }

  .services-cta-wrap .btn {
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-num {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .compact-service-card {
    padding: 18px 14px;
  }

  .compact-service-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .compact-zero-badge {
    align-self: flex-start;
    font-size: 16px;
    padding: 3px 8px;
  }

  .compact-service-title {
    font-size: 18px;
  }

  .compact-list li {
    font-size: 13.5px;
  }

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

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

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .lead-box {
    padding: 20px 14px;
  }
}