
/* ==========================================================================
   КОМПЬЮТЕРНЫЙ СЕРВИС В ВОРОНЕЖЕ — СОВРЕМЕННАЯ ДИЗАЙН-СИСТЕМА (2026)
   Фокус: Высокое доверие, инженерная надежность, максимальная конверсия
   ========================================================================== */

:root {
  /* Фирменная палитра инженерного сервиса */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-dark: #0f172a;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.18);

  /* Конверсионные акценты */
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.25);
  
  /* Статусные цвета */
  --success: #10b981;
  --success-dark: #047857;
  --danger: #ef4444;

  /* Нейтральные и фоновые оттенки */
  --dark-bg: #0b1329;
  --dark-surface: #111e38;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --border-focus: #93c5fd;

  /* Геометрия и глубина */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-700);
  background-color: var(--light-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   ВЕРХНЯЯ СЛУЖЕБНАЯ СТРОКА И ШАПКА САЙТА (HEADER)
   ========================================================================== */

.header-top {
  background: linear-gradient(90deg, #070d1e 0%, #0f1a36 100%);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header-main {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: max-content;
}
.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 16px -2px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.brand-subtitle {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.nav-desktop a {
  color: var(--slate-700);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-desktop a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}
.nav-desktop a.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: max-content;
}
.phone-link {
  display: flex;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
}
.phone-number {
  font-size: 19px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.3px;
  transition: var(--transition);
}
.phone-link:hover .phone-number {
  color: var(--primary);
}
.phone-label {
  font-size: 11.5px;
  color: var(--success-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
}
.phone-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   КНОПКИ (BUTTONS & CTAs)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px 0 rgba(245, 158, 11, 0.4);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px 0 rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
  border-radius: 8px;
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН (HERO SECTION)
   ========================================================================== */

.hero {
  background: radial-gradient(circle at 80% 20%, #1e3a8a 0%, #0a1128 55%, #050914 100%);
  color: #ffffff;
  padding: 70px 0 85px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #93c5fd;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.8px;
}
.hero-lead {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #e2e8f0;
}
.hero-feature-icon {
  width: 26px;
  height: 26px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ФОРМА НА ПЕРВОМ ЭКРАНЕ (DISPATCHER CARD)
   ========================================================================== */

.hero-card-form {
  background: #ffffff;
  color: var(--slate-900);
  padding: 34px 30px;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
}
.hero-card-form h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--slate-900);
  letter-spacing: -0.3px;
}
.hero-card-form p {
  font-size: 13.5px;
  color: var(--slate-500);
  margin-bottom: 22px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--slate-900);
  transition: var(--transition);
  background-color: #f8fafc;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-privacy-note {
  font-size: 11.5px;
  color: var(--slate-500);
  line-height: 1.45;
  margin-top: 12px;
  text-align: center;
}
.form-privacy-note a {
  color: var(--slate-600);
  text-decoration: underline;
}

/* ==========================================================================
   СЕКЦИИ И КАРТОЧКИ УСЛУГ (SERVICES & SYMPTOMS)
   ========================================================================== */

.section {
  padding: 75px 0;
}
.section-light {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.24;
  margin-bottom: 14px;
  letter-spacing: -0.6px;
}
.section-subtitle {
  font-size: 16.5px;
  color: var(--slate-500);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}
.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-card-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-900);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}
.service-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-link:hover {
  gap: 9px;
}

/* Сетка симптомов неисправностей */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.symptom-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.symptom-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  border-left-color: var(--accent-hover);
}
.symptom-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.symptom-card p {
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Этапы работ (Process Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-size: 32px;
  font-weight: 900;
  color: #bfdbfe;
  line-height: 1;
  margin-bottom: 14px;
  font-feature-settings: "tnum";
}
.step-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 13.5px;
  color: var(--slate-500);
  line-height: 1.55;
}

/* ==========================================================================
   ТАБЛИЦА ЦЕН, АККОРДЕОНЫ И CTA БАННЕР
   ========================================================================== */

.price-table-wrap {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
  box-shadow: var(--shadow);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}
.price-table th {
  background: #f1f5f9;
  padding: 16px 22px;
  font-weight: 800;
  color: var(--slate-900);
  border-bottom: 2px solid var(--border);
}
.price-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--slate-700);
}
.price-table tr:hover td {
  background: #f8fafc;
}
.price-val {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: #cbd5e1;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--primary);
  font-weight: 500;
  transition: transform 0.25s ease;
}
.faq-item.active .faq-question::after {
  content: "−";
  color: var(--accent);
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.65;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}
.faq-item.active .faq-answer {
  display: block;
}

.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  margin: 50px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h3 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: -0.4px;
}
.cta-banner p {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ==========================================================================
   ПОДВАЛ (FOOTER)
   ========================================================================== */

.footer {
  background: #060b18;
  color: #94a3b8;
  padding: 70px 0 25px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}
.footer-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #60a5fa;
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 28px;
  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: 12.5px;
}

/* ==========================================================================
   МОБИЛЬНАЯ ПЛАВАЮЩАЯ ПАНЕЛЬ И МОДАЛЬНЫЕ ОКНА
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 18px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.mobile-sticky-call {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 13px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.mobile-sticky-req {
  flex: 1;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 13px;
  border-radius: 10px;
  text-align: center;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11, 19, 41, 0.82);
  backdrop-filter: blur(6px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--slate-500);
  cursor: pointer;
}

/* Alert Notification */
.form-alert {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 12px;
}
.form-alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li+li::before {
  content: "/";
  color: var(--slate-500);
  margin-right: 8px;
}
.breadcrumbs a {
  color: var(--slate-500);
}
.breadcrumbs a:hover {
  color: var(--primary);
}

/* Prose / Longform Text in Landing Pages */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  max-width: 900px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 36px 0 16px;
  letter-spacing: -0.3px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 24px 0 12px;
}
.prose p {
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 0 0 20px 24px;
}
.prose li {
  margin-bottom: 8px;
}
.prose-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}



/* ==========================================================================
   DROPDOWN MENU (ДЕСКТОП)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item-dropdown > a::after {
  content: "▼";
  font-size: 10px;
  color: var(--slate-500);
  transition: transform 0.2s ease;
}
.nav-item-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: 0;
}
.dropdown-menu a:hover, .dropdown-menu a.active {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 20px; /* Интерактивный эффект сдвига */
}

/* ==========================================================================
   МОБИЛЬНОЕ МЕНЮ (MOBILE MENU)
   ========================================================================== */
.mobile-btn { display: none; }
.mobile-menu {
  display: none; /* Скрыто по умолчанию на всех экранах */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
}
.mobile-menu-drawer {
  background: #ffffff;
  width: 85%; max-width: 320px; height: 100%;
  padding: 24px 20px; overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
}
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  background: none; border: none; font-size: 28px;
  cursor: pointer; color: var(--slate-500);
}
.mobile-nav-links {
  list-style: none; display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 28px;
}
.mobile-nav-links a {
  font-size: 16px; font-weight: 600; color: var(--slate-900);
  display: block; padding: 6px 0;
}
.mobile-drawer-contacts {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
  .nav-desktop, .header-cta { display: none; }
  .mobile-btn { display: block; background: none; border: none; font-size: 26px; color: var(--slate-900); cursor: pointer; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hero { padding: 45px 0 60px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .hero-features { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 74px; }
  .brand-subtitle { display: none; }
}
