/* ============================================================
   ПОЛНЫЙ CSS ДЛЯ САЙТА ВЕБ-САЙТ.РУС
   Версия: 2.0 (исправленная)
   Автор: Виктор Кирея
   ============================================================ */

/* ===== ПЕРЕМЕННЫЕ (ЦВЕТА, ТЕНИ, СКРУГЛЕНИЯ) ===== */
:root {
  --primary: #0f4c81;
  --primary-light: #1a6bb3;
  --primary-dark: #0a3559;
  --accent: #f5b041;
  --accent-light: #f7c56e;
  --bg-light: #f8faff;
  --bg-gray: #f0f2f7;
  --text-dark: #1e2a3a;
  --text-gray: #4a5a6e;
  --text-light: #7a8a9e;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== СБРОС И БАЗОВЫЕ НАСТРОЙКИ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* ============================================================
   ХЕДЕР (ВЕРХНЕЕ МЕНЮ)
   ============================================================ */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

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

/* --- Логотип --- */
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

/* --- Навигационное меню --- */
.nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: block;
  white-space: nowrap;
}

.nav-menu > li > a:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-menu > li > a.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
}

.nav-menu > li > a.btn-nav:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.25);
}

/* --- Убираем лишний значок у пунктов с дропдауном --- */
.dropdown-toggle::after {
  display: none;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Стрелка только на десктопе */
@media (min-width: 769px) {
  .dropdown-toggle::before {
    content: '▾';
    font-size: 10px;
    opacity: 0.4;
    transition: var(--transition);
    margin-left: 2px;
  }

  .dropdown:hover .dropdown-toggle::before {
    opacity: 1;
    transform: rotate(180deg);
  }
}

/* --- Выпадающие списки (с задержкой) --- */
.dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-gray);
  display: block;
  transition: var(--transition);
  border-bottom: none !important;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* --- Показ с задержкой при наведении (десктоп) --- */
@media (min-width: 769px) {
  .dropdown {
    position: relative;
  }

  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Зона-ловушка для курсора */
  .dropdown::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
  }

  .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
  }
}

/* --- Показ при клике (мобильные) --- */
.dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* --- Кнопка мобильного меню (гамбургер) --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--bg-light);
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   ГЕРОЙ (HERO) — ИСПРАВЛЕННАЯ КАРТИНКА
   ============================================================ */
.hero {
  padding: 60px 0 70px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 18px;
  color: var(--text-gray);
  margin: 20px 0 28px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-info {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-gray);
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

.hero-accent {
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-md);
  font-size: 15px;
  color: var(--text-gray);
  max-width: 600px;
}

.hero-accent strong {
  color: var(--text-dark);
}

/* --- ИСПРАВЛЕНИЕ: КАРТИНКА НЕ ОБРЕЗАЕТСЯ --- */
.hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* ============================================================
   ОБЩИЕ ЗАГОЛОВКИ
   ============================================================ */
h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

section {
  padding: 70px 0;
}

/* ============================================================
   СРАВНЕНИЕ ПЛАТФОРМ
   ============================================================ */
.comparison {
  background: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.comparison-card {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

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

.comparison-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.comparison-card p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 13px;
  background: #f0f0f5;
  color: var(--text-gray);
}

.badge.success {
  background: #e3f5e9;
  color: #0f7b3a;
}

.comparison-card.highlight {
  border: 2px solid var(--primary);
  background: #f6f9ff;
  position: relative;
}

.comparison-card.highlight::before {
  content: '⭐ Рекомендую';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-summary {
  text-align: center;
  font-size: 18px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ============================================================
   4 ПРИЧИНЫ
   ============================================================ */
.reasons {
  background: var(--bg-light);
}

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

.reason {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

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

.reason-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.reason h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.reason p {
  font-size: 15px;
  color: var(--text-gray);
}

.reason-note {
  text-align: center;
  margin-top: 24px;
  color: var(--text-gray);
  font-size: 15px;
}

/* ============================================================
   ГОЛОСОВОЙ ПОИСК (AEO + GEO)
   ============================================================ */
.voice {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.voice-item {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.voice-item:hover {
  box-shadow: var(--shadow-md);
}

.voice-item h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}

.voice-item p {
  color: var(--text-gray);
  font-size: 15px;
}

.voice-result {
  text-align: center;
  background: var(--primary);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 600;
}

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.services-list,
.services-terms {
  background: var(--bg-light);
  padding: 30px 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.services-list h3,
.services-terms h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary);
}

.services-list ul,
.services-terms ul {
  list-style: none;
  padding: 0;
}

.services-list li,
.services-terms li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 15px;
  color: var(--text-gray);
}

.services-list li:last-child,
.services-terms li:last-child {
  border-bottom: none;
}

.services-terms li {
  border-bottom: none;
  padding: 12px 0;
}

.services-cta {
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   ТРЕНДЫ (ГРАФИКИ)
   ============================================================ */
.trends {
  background: var(--bg-light);
}

.trends-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

.chart {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.chart:hover {
  box-shadow: var(--shadow-md);
}

.chart h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-gray);
}

.chart canvas {
  max-width: 100%;
  height: auto !important;
  max-height: 250px;
}

/* ============================================================
   ПРОЦЕСС РАЗРАБОТКИ
   ============================================================ */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.step {
  background: var(--bg-light);
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-gray);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

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

.step-num {
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}

.process-result {
  text-align: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  padding: 28px;
  border-radius: var(--radius);
  font-size: 18px;
  border: 2px solid var(--primary);
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews {
  background: var(--bg-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.review {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.review:hover {
  box-shadow: var(--shadow-md);
}

.review p {
  font-size: 16px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.review cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.reviews-cta {
  text-align: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--white);
}

.faq-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-light);
  padding: 24px 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.faq-item p {
  font-size: 15px;
  color: var(--text-gray);
}

/* ============================================================
   ФИНАЛЬНЫЙ ПРИЗЫВ (CTA)
   ============================================================ */
.final-cta {
  padding: 70px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  margin: 12px auto 30px;
}

.final-contacts {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(4px);
}

.final-contacts p {
  margin: 8px 0;
  font-size: 17px;
  opacity: 1;
}

.final-contacts a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.final-contacts a:hover {
  text-decoration: underline;
}

.final-note {
  font-size: 14px !important;
  opacity: 0.7 !important;
  margin-top: 12px !important;
}

/* ============================================================
   ПОДВАЛ (ФУТЕР)
   ============================================================ */
.footer {
  background: #0f1a2b;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  margin-top: 0;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent);
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  text-align: right;
}

.footer-contacts a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  text-align: center;
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-copy a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ============================================================
   АДАПТИВНОСТЬ (МОБИЛЬНЫЕ УСТРОЙСТВА)
   ============================================================ */

/* --- Планшеты и маленькие ноутбуки --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-info {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-accent {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    order: -1;
    max-height: 400px;
  }

  .hero-image img {
    max-height: 400px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Телефоны --- */
@media (max-width: 768px) {
  /* Меню */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 0 24px 20px;
    display: none;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .nav.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f5;
    white-space: normal;
  }

  .nav-menu > li > a.btn-nav {
    width: 100%;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Дропдауны на мобильных — исправлено смещение влево */
  .dropdown-menu {
    position: static;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: var(--bg-light);
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    border: none;
    transition: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    width: 100%;
  }

  .dropdown-menu a {
    padding: 10px 16px 10px 30px;
    text-align: left;
    border-bottom: 1px solid #e8e8ef;
    white-space: normal;
    width: 100%;
  }

  .dropdown-menu a:first-child,
  .dropdown-menu a:last-child {
    border-radius: 0;
  }

  .dropdown-toggle::before {
    display: none;
  }

  /* Контент */
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 50px;
  }

  .hero-image {
    max-height: 320px;
    border-radius: var(--radius-sm);
  }

  .hero-image img {
    max-height: 320px;
  }

  h2 {
    font-size: 28px;
  }

  section {
    padding: 50px 0;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-list,
  .services-terms {
    padding: 24px;
  }

  .trends-charts {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 50px 0;
  }

  .final-contacts {
    padding: 20px;
  }

  /* Футер */
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contacts {
    text-align: center;
  }
}

/* --- Очень маленькие экраны --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-accent {
    font-size: 14px;
    padding: 14px 18px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  h2 {
    font-size: 24px;
  }

  .comparison-card {
    padding: 20px;
  }

  .reason {
    padding: 20px 16px;
  }

  .voice-item {
    padding: 20px;
  }

  .step {
    padding: 14px 18px;
    font-size: 14px;
  }

  .review {
    padding: 20px;
  }

  .faq-item {
    padding: 18px 20px;
  }

  .hero-image {
    max-height: 250px;
  }

  .hero-image img {
    max-height: 250px;
  }
}

/* ============================================================
   АНИМАЦИЯ ДЛЯ СЕКЦИЙ (при скролле)
   ============================================================ */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* ============================================================
   ТАБЛИЦА УСЛУГ (АДАПТИВ)
   ============================================================ */

/* Обёртка для горизонтальной прокрутки на мобильных */
.services .container > div:first-of-type {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

.services table thead tr {
  background: var(--primary);
  color: var(--white);
}

.services table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}

.services table th:nth-child(2),
.services table th:nth-child(3) {
  text-align: center;
}

.services table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eef2f7;
}

.services table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

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

.services table td:first-child {
  font-weight: 600;
}

.services table td:nth-child(2),
.services table td:nth-child(3) {
  text-align: center;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}

.services table td:last-child {
  font-size: 14px;
  color: var(--text-gray);
}

.services table tfoot td {
  background: #f8faff;
  border-top: 2px solid var(--primary);
  font-size: 13px;
  color: var(--text-light);
  padding: 14px 20px;
}

/* Мобильная версия таблицы */
@media (max-width: 768px) {
  .services table {
    font-size: 13px;
    min-width: 480px;
  }
  
  .services table th,
  .services table td {
    padding: 10px 14px;
  }
  
  .services table td:last-child {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .services table {
    font-size: 12px;
    min-width: 400px;
  }
  
  .services table th,
  .services table td {
    padding: 8px 10px;
  }
}