@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;500;700;800&display=swap');

:root {
  /* Основные бренд-цвета */
  --primary: #166534;        /* глубокий, дорогой зелёный */
  --primary-hover: #22a06b;  /* мягкий hover */
  --accent: #22a06b;         /* аккуратный акцент */

  /* Текст */
  --dark: #0f3d2e;           /* заголовки */
  --text: #0f172a;           /* основной текст */
  --text-light: #475569;     /* вторичный текст */

  /* Фоны */
  --bg: #ffffff;
  --bg-subtle: #e6f4ef;      /* нежный зелёный фон блоков */
  --white: #ffffff;

  /* UI */
  --shadow: 0 8px 25px rgba(22, 101, 52, 0.18);
  --transition: all 0.3s ease;
}


h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}



body {
  
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;

  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}
p, li {
  color: var(--text-light);
}




a {
  text-decoration: none;
  color: inherit;
}
p, .about-text p, .service-card p, li {
  font-size: 20px !important; /* Увеличиваем до 20px (было 16-18px) */
  line-height: 1.7;           /* Делаем строки чуть свободнее */
  color: var(--text);
}

/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ (В конце файла style.css) */
@media (max-width: 768px) {
  
  /* Делаем текст на телефоне крупным и читаемым */
  p, .about-text p, .service-card p, li {
    font-size: 20px !important; /* На мобильных 18px — это очень комфортно и крупно */
    line-height: 1.6;
  }

  /* Если на телефоне заголовки кажутся слишком гигантскими, можно чуть усмирить их тут */
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
}
/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  border-color: #e5e7eb; /* допустимо */
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center; /* Центрируем по вертикали */
  text-decoration: none;
  height: 100%;
}

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

.nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%; /* Чтобы область клика была одинаковой */
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.nav a:hover {
 color: var(--primary);
 
}
/* ================= SERVICES SECTION ================= */
.services {
  padding: 80px 0;
  background: var(--bg);
}

.services h2, .services-detail h2 {
    font-size: 3rem !important;
    text-align: center;
    margin-bottom: 40px;
}

/* Контейнер для карточек — теперь 3 в ряд для баланса */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important; /* Ровно три колонки */
  gap: 25px; /* Оптимальный отступ между карточками */
  width: 100%;
  max-width: 1400px; /* Увеличили общую ширину контейнера, чтобы 3 карточки влезли */
  margin: 0 auto;
}

/* На планшетах делаем 2 в ряд */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* На мобилках 1 в ряд */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}
.service-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 45px 35px; /* Чуть меньше боковые отступы для 3-х колонок */
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

/* ЗАГОЛОВОК — Масштабный, но компактный для 3-х колонок */
.service-card h3 {
  font-size: 28px !important; /* Оптимально для 3-х в ряд */
  font-weight: 800;
  line-height: 1.2;
  margin-top: 15px;
  margin-bottom: 20px;
  color: var(--dark);
  transition: color 0.4s ease;
}

/* ТЕКСТ */
.service-card p {
  font-size: 17px !important; 
  line-height: 1.6;
  color: var(--text-light);
  transition: color 0.4s ease;
}

/* ИКОНКА */
.service-icon-container {
  background: #f0fdf4 !important;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 15px;
  transition: all 0.5s ease;
}

.service-icon-img {
  width: 45px;
  height: 45px;
  filter: invert(31%) sepia(94%) saturate(415%) hue-rotate(115deg) brightness(92%) contrast(97%) !important;
}

/* ХОВЕР ЭФФЕКТ (Зеленая заливка) */
.service-card:hover {
  background-color: var(--primary) !important;
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(22, 101, 52, 0.2);
}

.service-card:hover h3, 
.service-card:hover p {
  color: #ffffff !important;
}

.service-card:hover .service-icon-container {
  background: rgba(255, 255, 255, 0.2) !important;
}

.service-card:hover .service-icon-img {
  filter: brightness(0) invert(1) !important;
}
/* Адаптив для телефонов (уменьшаем шрифты, чтобы не "кричали") */
@media (max-width: 768px) {
  .service-card {
    padding: 30px 20px;
    min-height: 300px;
  }
  .service-card h3 {
    font-size: 24px !important;
  }
  .service-card p {
    font-size: 16px !important;
  }
  .service-icon-img {
    width: 50px;
    height: 50px;
  }
}
/* Контейнер для двух колонок */
.service-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start; /* Важно для sticky */
}


.service-sidebar {
  position: sticky;
  top: 100px; /* Расстояние от верха экрана при скролле */
  z-index: 10;
}


.service-sidebar h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1e293b;
  padding-left: 10px;
}
/* Стили для изящного списка услуг */
/* Сам список и текст */
.service-list {
  list-style: none !important; /* Убираем стандартные точки */
  padding-left: 0;
}

.service-list li {
  
  position: relative;
  padding-left: 50px;      /* БОЛЬШОЙ ОТСТУП от точки до текста */
  font-size: 24px;         /* Увеличенный текст (был 16-18px) */
  line-height: 1.6;
  margin-bottom: 18px;     /* Расстояние между пунктами */
  list-style-type: none !important;
}

/* Сама точка */
.service-list li::before {
  content: "•";            /* Используем символ, а не пустой блок */
  position: absolute;
  left: 0;
  top: -8px;               /* Поправляем положение по высоте */
  font-size: 3.5rem;       /* ДЕЛАЕМ ТОЧКУ БОЛЬШОЙ */
  color: var(--primary);   /* Ваш зеленый цвет */
  
  /* УДАЛЯЕМ старые настройки, которые создавали "квадраты" */
  width: auto !important;  
  height: auto !important;
  background: none !important;
  border-radius: 0;
}

/* Стили для контентной части */
.service-content p {
  margin-bottom: 25px;
  font-size: 18px;
  color: #475569; /* Мягкий серый цвет */
}

/* Настройка списка */
.check-list {
  list-style: none; /* Убираем стандартные черные точки */
  padding: 0;
  
}

.check-list li {
  position: relative;
  padding-left: 35px;    /* Место для иконки/точки */
  margin-bottom: 18px;   /* ОТСТУП МЕЖДУ СТРОКАМИ */
  font-size: 16px;
  line-height: 1.6;      /* Межстрочный интервал внутри одного пункта */
  color: #1e293b;        /* Цвет текста потемнее для важности */
  display: flex;
  align-items: center;
}

/* Рисуем изящную точку (или галочку) */
.check-list li::before {
  content: "→";          /* Можно заменить на "" и сделать круг, как в прошлый раз */
  position: absolute;
  left: 0;
  color: var(--accent);       /* Ваш фирменный индиго/синий */
  font-weight: bold;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* Небольшой интерактив: точка двигается при наведении */
.check-list li:hover::before {
  transform: translateX(5px);
}

.check-list li:hover {
  color: var(--primary);
  transition: 0.3s;
}
/* Эффект при наведении на пункт (необязательно, но красиво) */
.service-list li:hover {
  color: var(--dark);
  transform: translateX(5px);
  transition: var(--transition);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Боковое меню */
.sidebar-nav a {
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  transition: var(--transition);
}

.sidebar-nav a:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}


.sidebar-nav a.active {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* Блок с телефоном под меню */
.sidebar-cta {
  margin-top: 30px;
  padding: 25px;
  background: #114d27 !important; /* Насыщенный зеленый, как кнопка заявки */
  border-radius: 15px;
  color: #fff;
  text-align: center;
}

.sidebar-cta p { color: rgba(255, 255, 255, 0.8) !important; /* Делаем надпись 'Контакт' светло-белой */
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1 !important; /* Убеждаемся, что текст не скрыт */}
.sidebar-phone {
  color: #4ade80 !important; /* Светло-зеленый акцент для читаемости на темном */
  font-size: 24px; /* Увеличили размер номера */
  font-weight: 800;
  display: block;
  margin-top: 5px; }

.phone {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* ================= BURGER ================= */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* ← ВАЖНО */
  gap: 6px;
  cursor: pointer;

  width: 40px;
  height: 40px;

  border-radius: 10px;
  outline: none;
  border: none;
}

.burger:focus,
.burger:active {
  outline: none;
  box-shadow: none;
}
.burger:focus-visible {
  outline: none;
  box-shadow: 0 10px 20px rgba(6, 78, 59, 0.35);

}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}


/* Стили для выпадающего меню */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(-50%) translateY(10px); /* Смещение вниз */
  background: #ffffff;
  min-width: 550px;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border: 1px solid #f1f5f9;
  z-index: 1001;
  opacity: 0;
  transition: var(--transition);
}

/* Добавим небольшую иконку стрелочки, чтобы было понятно, что надо нажать */
  .dropdown > a::after {
    content: ' ';
    font-size: 10px;
    vertical-align: middle;
  }

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0); /* Всплытие вверх */
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две колонки */
  gap: 15px;
}

.dropdown-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.dropdown-grid a:hover {
  background: #f1f5f9;
}

.dropdown-grid img {
  width: 24px;
  height: 24px;
}

/* ================= HERO ================= */

/* =========================================
   3. ГЛАВНЫЙ ЭКРАН (HERO) - ИСПРАВЛЕНО
   ========================================= */
.hero {
  position: relative;
  height: 550px; /* Уменьшили высоту для ПК */
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* Убирает серые полосы, растягивая видео */
  opacity: 0.4;      /* Делает видео фоновым акцентом */
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px; /* Добавим отступы по бокам на всякий случай */
}

/* Уменьшим размер заголовка на больших экранах, чтобы было аккуратнее */
.hero-content h1 {
  font-size: clamp(28px, 4vw, 52px); /* Немного уменьшили максимальный размер */
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px; /* Ограничим ширину текста */
  margin-left: auto;
  margin-right: auto;
}



.hero-content {
  max-width: 720px;
  padding: 0 20px;
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
}



.hero-content p {
  font-size: 19px;
  margin-bottom: 35px;
  color: #e0e7ff;
}


/* ================= BUTTON ================= */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(6, 78, 59, 0.35);

  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(6, 78, 59, 0.35);


}

/* ================= SECTIONS ================= */
section {
  padding: 80px 0;
  background: #ffffff;
}

section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--text);
}

section p {
  text-align: center;
  margin: 0 auto 25px;
  max-width: 800px;
  color: var(--text);
}
/* Общий контейнер для иконки и текста */

.info-item {
    display: flex;
    align-items: center; /* Выравнивает иконку и текст по центру по вертикали */
    gap: 15px;           /* Расстояние между иконкой и текстом */
    background: #fff;    /* Белый фон карточки, как на скринах */
    padding: 20px;
    border-radius: 15px; /* Скругление как у остальных */
    margin-bottom: 15px;
}

/* Стили для самой иконки */
.info-item .icon img {
  filter: invert(58%) sepia(58%) saturate(545%) hue-rotate(114deg) brightness(96%) contrast(91%);
    width: 24px;         /* Подбери размер под телефон/будильник */
    height: 24px;
    object-fit: contain;
}

/* Стили для заголовка и ссылки внутри */
.info-content h3 {
    margin: 0 0 5px 0;   /* Убираем лишние отступы */
    font-size: 16px;
    font-weight: 700;
}

.info-link {
    text-decoration: none;
    color: var(--primary) !important;      /* Твой синий цвет ссылки */
    font-weight: 600;
}

.info-content h3 {
  margin: 0;
  font-size: 14px;
  color: var(--text); /* Ваш мягкий серый цвет */
  font-weight: 500;
}

.info-link {
  text-decoration: none;
  color: var(--primary); /* Ваш фирменный индиго/синий */
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.info-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}


/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.services-grid a {
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 35px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}

.services-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(4, 120, 87, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

/* ================= PAGE ================= */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page h1 {
  font-size: 42px;
  margin-bottom: 25px;
  color: var(--text);
}

.page h2 {
  margin-top: 40px;
}

.page ul {
  margin-top: 15px;
  padding-left: 20px;
}

.page li {
  margin-bottom: 8px;
  color: #475569;
  
}
.logo-img {
  height: 50px;
  
}



/* Состояние кнопки после успешной отправки */
.sent-success {
  background: #10b981 !important; /* Приятный зеленый цвет */
  color: white !important;
  cursor: default;
  width: 100%; /* Растянем на всю ширину вместо исчезнувших полей */
  transform: scale(1.05);
  transition: all 0.4s ease;
}

/* Добавим плавности исчезновению инпутов */
.cta form input {
  transition: opacity 0.3s ease;
}

/* ================= FORM ================= */
form {
  max-width: 420px;
  margin-top: 40px;
}

form input {
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}
form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

form button {
  width: 100%;
  padding: 16px;
  background: var(--primary);

;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

form button:hover {
  background: var(--primary);

}

/* ================= SOCIALS ================= */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 15px;
}

.socials img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.socials img:hover {
  opacity: 1;
}

/* Контейнер для уведомлений */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px); /* Прячем за экраном сверху */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 9999;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Прыгучая анимация */
}

/* Класс для показа */
.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Стили для разных типов сообщений */
.toast.error {
    color: #ef4444;
    border-left: 5px solid #ef4444;
}

.toast.success {
    color: #10b981;
    border-left: 5px solid #10b981;
}
.cta {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta h2 {
  margin-bottom: 30px;
}

.cta form {
  margin: 0 auto;
  background: #ffffff;
  padding: 30px 20px; /* Уменьшили боковые отступы */
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  width: 100%;        /* Форма будет занимать всю ширину контейнера */
  max-width: 420px;   /* Но не станет шире 420px на десктопах */
  box-sizing: border-box; /* Важно: паддинги не расширяют форму */

}
/* Секция обратной связи в твоих цветах */
.cta-section {
  padding: 100px 0;
  background-color: var(--bg-subtle);
  display: flex;
  justify-content: center; /* Центрирует контейнер */
}

.cta-box {
  width: 100%;
  max-width: 500px; /* Узкая аккуратная форма */
  margin: 0 auto;
  background: var(--white);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center; /* Центрирует текст внутри */
}

.cta-box h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.cta-box p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрирует элементы формы */
  gap: 15px;
}
form input {
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 16px; /* 16px предотвращает автоматический зум в iOS */
  box-sizing: border-box; /* Гарантирует, что input не выйдет за границы формы */
}
.cta-form input {
  width: 100%;
  max-width: 400px; /* Ограничиваем ширину инпутов для красоты */
  padding: 16px 20px;
  border: 1.5px solid #eef2f1;
  border-radius: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  transition: var(--transition);
  background: #fcfdfd;
}

.cta-form input:focus {
  border-color: var(--primary);
  background: #fff;
}

.cta-form .btn-primary {
  width: 100%;
  max-width: 400px;
  background: var(--primary);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.cta-form .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(4, 120, 87, 0.2);
}
#request-form input#user_tg {
    border-style: dashed; /* Пунктирная рамка, чтобы подчеркнуть необязательность */
    background: #fdfdfd;
}
/* ================= FOOTER ================= */
/* FOOTER STYLES */
.footer {
background: #0a2f18; /* Глубокий темно-зеленый, темнее основного бренда */
  color: #e2e8f0;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-col p {
  color: #cbd5e1 !important; /* Цвет описания и адреса */
  line-height: 1.6;
  font-size: 15px;
}
/* Логотип в футере — оставляем белым для контраста */
.footer-logo {
  height: 50px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1); /* Чисто белый */
  display: block;
}
.footer-col h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 25px;
  border-left: 3px solid var(--primary-hover); /* Изумрудная полоска */
  padding-left: 12px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  opacity: 1; /* Убираем прозрачность для четкости */
  color: #ffffff !important;
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--primary-hover) !important;
  padding-left: 5px; /* Небольшой эффект при наведении */
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.5;
}

/* CONTACTS PAGE STYLES */
.contacts-layout {
  display: flex;
  flex-direction: column; /* Располагаем блоки друг под другом: сначала инфо, потом карта */
  align-items: center;    /* Центрируем содержимое по горизонтали */
  gap: 40px;
  margin-top: 40px;
}
.contacts-info {
  display: flex;
  flex-direction: column;
  align-items: center;    /* Центрирует карточки внутри колонки */
  width: 100%;
  max-width: 500px;       /* Ограничиваем ширину, чтобы блоки не растягивались во весь экран */
}
.contacts-page h1 {
  text-align: center;      /* Выравнивает текст по центру */
  margin-bottom: 40px;     /* Добавляет аккуратный отступ до карточек */
  width: 100%;             /* Гарантирует, что заголовок занимает всю ширину */
}
.info-item {
  display: flex;
  flex-direction: column; /* Иконка будет над текстом */
  align-items: center;    /* Центрируем иконку и текст внутри карточки */
  text-align: center;     /* Центрируем сам текст */
  gap: 15px;
  background: #fff;
  padding: 30px;          /* Увеличим отступы для объема */
  border-radius: 25px;    /* Скругление как на скрине */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  width: 100%;            /* Карточка занимает всю ширину contacts-info */
}

.map-container {
  width: 100%;
  max-width: 900px;       /* Ограничиваем ширину для аккуратного вида */
  margin: 0 auto;         /* Центрируем блок */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
}
/* Работает и для custom-dots, и для service-list */
.custom-dots, .service-list {
    list-style: none !important;
    padding: 0;
    margin: 0 auto;
    max-width: 900px; /* Чтобы список не растягивался слишком сильно по ширине */
}

.custom-dots li, .service-list li {
    position: relative;
    padding-left: 50px;       /* УВЕЛИЧЕННЫЙ ОТСТУП после точки */
    font-size: 24px !important;/* КРУПНЫЙ ТЕКСТ */
    line-height: 1.4;
    margin-bottom: 25px;      /* Расстояние между пунктами */
    list-style-type: none !important;
    display: block;
}

/* Сама точка (символ) */
.custom-dots li::before, .service-list li::before {
    content: "•";             /* Используем текстовый символ точки */
    position: absolute;
    left: 0;
    top: -5px;                /* Двигаем точку вверх/вниз для идеального выравнивания */
    font-size: 3.5rem;        /* ДЕЛАЕМ ТОЧКУ БОЛЬШОЙ */
    color: var(--primary);    /* Ваш зеленый цвет */
    line-height: 1;
    
    /* СБРОС СТАРЫХ ОШИБОК */
    width: auto !important;   
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}

/* Эффект при наведении */
.custom-dots li:hover {
  transform: translateX(5px);
  color: var(--primary);
}
/* Контейнер для ссылки с иконкой в футере */
.footer-socials {
    margin-top: 15px; /* Отступ от почты сверху */
}

.footer-socials a {
    display: flex;         /* Включаем гибкую разметку */
    align-items: center;   /* Выравниваем иконку и текст по центру */
    gap: 10px;             /* Расстояние между иконкой и текстом */
    text-decoration: none;
    color: #fff;           /* Цвет текста в футере */
    transition: 0.3s;
}

/* Настройка самой иконки в футере */
.footer-socials img {
    width: 20px;           /* Делаем иконку маленькой, под размер текста */
    height: 20px;
    display: block;
    filter: brightness(0) invert(1) !important;
  opacity: 0.8; /* Сделает черную иконку белой под стиль футера */
}

.footer-socials a:hover {
    opacity: 0.8;          /* Эффект при наведении */
}
html {
  scroll-behavior: smooth;
}
/* ================= MOBILE ================= */
/* ================= ПОЛНЫЙ ИСПРАВЛЕННЫЙ МОБИЛЬНЫЙ БЛОК ================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    
    width: 100%;
  }

  .custom-dots li {
    font-size: 17px !important; 
  }

  /* 1. Навигация и Шапка */
  .header-inner {
    height: 72px; 
    display: flex;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; 
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    border-color: #e5e7eb; /* допустимо */
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 15px;
    max-height: calc(100vh - 72px); 
    overflow-y: auto; 
  }

  .nav.active { display: flex; }

  .nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
  }

  .phone {
    display: block;
    order: 2;
    font-size: 16px !important;
    margin: 0 10px !important;
  }

  .burger {
    display: flex;
    order: 3;
  }



  /* 2. Контент и Секции */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  section, .services, .hero-overlay, .advantages-section {
    text-align: center !important;
    padding: 40px 0 !important;
  }

  h1, h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    word-wrap: break-word;
    margin-bottom: 20px;
  }

  section p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 15px !important;
    padding: 0 10px;
  }

  /* 3. Центрирование списков */
  .custom-dots, .service-list, .check-list {
    display: inline-block !important;
    text-align: left !important;
    margin: 0 auto 30px !important;
    width: auto !important;
  }

  .custom-dots li {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* 4. Сетки и макеты услуг */
  .services-grid, .service-layout {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .service-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  /* 5. Исправление Dropdown (Услуги) */
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    min-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 !important;
    display: none !important;
    opacity: 1 !important;
  }

  .dropdown.active .dropdown-menu { display: block !important;}

  .dropdown-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* 6. Hero экран */
  .hero { height: 380px; }
  .hero-content h1 { font-size: 28px !important; }
  .hero-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px;
  }

  /* 7. Футер и Инфо-блоки */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: left;
  }

  .footer-col { padding: 0 10px; }

  .info-item {
    padding-left: 20px;
    text-align: left;
  }
  .cta-section {
    padding: 50px 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* ... твой существующий код ... */

  .cta {
    padding: 40px 15px !important; /* Больше пространства по бокам на мобиле */
  }

  .cta form {
    padding: 25px 15px; /* Еще более компактные отступы внутри формы */
  }
  
  .cta h2 {
    font-size: 24px !important; /* Уменьшаем заголовок, чтобы он не переносился криво */
  }
  /* Карточка формы: делаем её адаптивной и центрируем контент */
  .cta-box {
    width: 90% !important; /* Чтобы был виден фон по бокам на узких экранах */
    max-width: 400px !important; 
    margin: 0 auto !important; /* Магическое центрирование блока */
    padding: 30px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Центрирует всё внутри (заголовки, кнопки) */
  }

  .cta-form {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-form input, 
  .cta-form .btn-primary {
    width: 100% !important; /* Растягиваем на всю ширину карточки */
    max-width: 100% !important;
    box-sizing: border-box !important; /* Чтобы padding не раздувал ширину */
  }

  .cta-box h2, .cta-box p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  
}
/* ===== FIX: Навигация и Dropdown слева на мобилке ===== */

.nav {
  align-items: flex-start !important;
  text-align: left !important;
}

.nav a,
.dropdown-toggle {
  text-align: left !important;
  justify-content: flex-start !important;
}

.dropdown-menu {
  padding-left: 0 !important;
}

.dropdown-menu a {
  text-align: left !important;
  padding-left: 0 !important;
}


} /* КОНЕЦ МЕДИА-ЗАПРОСА */

/* Глобальное увеличение шрифта только для десктопов (от 1024px и выше) */
@media (min-width: 1024px) {
  body {
    font-size: 18px; /* Было 16px */
    line-height: 1.8;
  }

  h1 { font-size: 56px !important; }
  h2 { font-size: 40px !important; }
  h3 { font-size: 24px !important; }
  h4 { font-size: 16px !important; }
  .nav a {
    font-size: 17px; /* Ссылки в меню стали крупнее */
  }

  .service-card p, .page li {
    font-size: 16px; /* Текст в карточках и списках */
    /* === УВЕЛИЧЕНИЕ СПИСКА (Кому подходят услуги) === */
  }
/* Увеличиваем шрифт только для этого списка */
.custom-dots li {
  font-size: 22px !important; /* Было меньше, теперь крупно */
  font-weight: 500;           /* Чуть жирнее для читаемости */
  margin-bottom: 20px;        /* Больше отступы между пунктами */
  line-height: 1.6;
  color: var(--dark);         /* Темный цвет для контраста */
}

/* Увеличиваем саму точку списка */
.custom-dots li::before {
  top: 13px;       /* Центрируем относительно нового размера текста */
  width: 10px;     /* Чуть больше точка */
  height: 10px;
}

/* Адаптив для телефонов (чтобы не было гигантским на мобильном) */

/* Делаем карточки широкими - по 2 в ряд на больших экранах */
@media (min-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important; /* Строго 2 колонки */
    gap: 30px; /* Расстояние между ними */
    width: 100%;
  }
}

/* На планшетах и телефонах оставляем по одной */
@media (max-width: 1023px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
  }
  @media (min-width: 769px) {
  .contacts-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Карточки в ряд по центру */
    gap: 20px;
  }
}
