:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --text: #333333;
  --text-muted: #555555;
  --blue: #213C57;
  --gold: #D4AF37;
  --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
  color: var(--text);
  /* Перенесли фон на самый нижний слой сайта */
  background-color: #0a131c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Создаем фиксированное затемнение для всего экрана */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  pointer-events: none;
  z-index: -1; /* Опускаем тень на самый задний план */
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
}

/* ===== HEADER (dark blue + gold stripe) ===== */
.site-header {
  position: relative;
  background: transparent !important; /* Принудительно делаем фон невидимым */
  padding: 20px 0;
  z-index: 10; /* Гарантируем, что логотип и текст будут поверх картинки */
}

.header-gold {
  display: none !important; /* Полностью прячем золотую полосу */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  width: 115px;
  height: 115px;
  min-width: 115px;
  flex-shrink: 0;
  margin-right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Полностью убрали border-radius и background отсюда */
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Вырезаем идеальный круг "ножницами" */
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%); /* Для поддержки старых браузеров */
  /* Сильно приближаем картинку, чтобы срезать черные края исходника */
  transform: scale(1.15); 
}

.brand-text {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* simple horizontal site navigation */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: #ffffff;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
}

.brand-name {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 900; /* Максимальная толщина шрифта (Black) для брутальности */
  font-size: 38px; /* Сделали буквы чуть крупнее */
  letter-spacing: 0.05em; /* Слегка раздвинули буквы для солидности */
  color: #ffffff; /* Лицевая часть букв — белая */
  
  /* Магия 3D-эффекта: наслаиваем жесткие тени друг за другом, создавая "толщину" букв, а в конце добавляем мягкую тень */
  text-shadow: 
    1px 1px 0 #213c57,
    2px 2px 0 #1b3147,
    3px 3px 0 #152638,
    4px 4px 0 #0f1c29,
    5px 5px 0 #0a131c,
    8px 8px 15px rgba(0, 0, 0, 0.8); /* Глубокая тень, падающая на фон */
    
  text-transform: uppercase; /* Принудительно делаем все буквы заглавными, на всякий случай */
}

/* ===== MAIN (Фон теперь на body) ===== */
#main {
  position: relative;
  background: transparent;
}

#main::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Делаем затемнение фона на всем сайте, чтобы белые карточки ярко выделялись */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  pointer-events: none;
  z-index: 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 480px;
  padding: 56px 0 64px;
  z-index: 1; /* Поднимаем текст поверх темного фона */
}

/* ===== CARDS SECTION ===== */
.hero-section .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1150px) {
  .hero-inner { grid-template-columns: 1fr 400px; }
  .routing-widget { grid-column: 2; margin-top: 0 !important; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .routing-widget { grid-column: 1; }
}

.hero-left {
  max-width: 520px;
}

.hero-title-main {
  /* Отрицательный отступ подтянет текст наверх, ближе к логотипу */
  margin: -50px 0 20px 0; 
  
  font-family: 'Montserrat', 'Roboto', sans-serif;
  /* Уменьшили размер шрифта, чтобы он смотрелся аккуратнее */
  font-size: clamp(30px, 4vw, 46px); 
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: 0.02em;
  
  /* Создаем благородный объемный 3D-эффект (чуть мягче, чем у логотипа) */
  text-shadow: 
    1px 1px 0 #213c57,
    2px 2px 0 #1b3147,
    3px 3px 0 #152638,
    4px 4px 12px rgba(0, 0, 0, 0.6),
    0 10px 25px rgba(0, 0, 0, 0.5);
}

/* ===== АККУРАТНЫЙ 3D ЗОЛОТОЙ ЗАГОЛОВОК ===== */
.hero-title {
  margin: 0 0 15px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 24px; /* Сделали чуть компактнее для аккуратности */
  font-weight: 800; /* Убрали чрезмерную "раздутость" букв */
  color: #F8D86B; /* Благородный, чуть более мягкий золотой цвет */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  
  /* Делаем изящную, неглубокую 3D-фаску (всего 3 тонких слоя вместо 6 огромных) */
  text-shadow: 
    1px 1px 0 #C7A536,
    2px 2px 0 #9E8124,
    3px 3px 0 #735D17,
    4px 6px 12px rgba(0, 0, 0, 0.6); /* Мягкая тень под слитком */
}

/* ===== ПОДЗАГОЛОВОК ПОД ЗОЛОТЫМ ТЕКСТОМ ===== */
.hero-subtitle {
  margin: 0 0 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; /* Слегка увеличили для солидности */
  font-weight: 500;
  color: #ffffff; /* Сделали чисто белым */
  letter-spacing: 0.03em;
  text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.9); /* Добавили жесткую тень, чтобы текст "отлипал" от фона */
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Form card on hero (light card, contrasts with darkened hero) */
/* 1. Делаем колонку с формой шире (меняем 400px на 480px) */
/* Выстраиваем форму */
.request-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Наш "слой" для двух полей в ряд */
.form-row {
  display: flex;
  gap: 12px;
  width: 100%; /* Гарантируем, что ряд не больше самой карточки */
}

.form-row .form-input {
  flex: 1 1 0%; /* Поля делят место строго 50/50 */
  min-width: 0; /* МАГИЯ: Жестко запрещаем полям вылезать за границы карточки */
  width: 100%;
}

/* Прячем внешние ярлыки, так как у нас есть красивые подсказки внутри */
.form-label {
  display: none; 
}

/* Премиальный дизайн самих полей ввода */
.form-input {
  padding: 12px 16px; 
  border: 1px solid #e2e8f0;
  border-radius: 8px; /* Более мягкие углы */
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background-color: #f8fafc; /* Легкий, дорогой светло-серый оттенок */
  transition: all 0.3s ease; /* Плавная анимация при клике */
}

/* Эффект при нажатии на поле (золотое свечение) */
.form-input:focus {
  outline: none;
  background-color: #ffffff; /* Поле белеет */
  border-color: #d4af37; /* Золотая рамка */
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); /* Мягкое золотое свечение вокруг */
}

.form-input::placeholder {
  color: #888;
}

/* Поле для большого текста */
.form-textarea {
  resize: vertical;
  min-height: 85px; /* Сделали чуть выше, чтобы влезла ваша длинная подсказка */
  line-height: 1.4;
}

/* Кнопка отправки */
.btn-submit {
  margin-top: 5px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(90deg, #213c57, #152638); /* Объемный градиент */
  box-shadow: 0 4px 12px rgba(33, 60, 87, 0.3);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px); /* Кнопка чуть приподнимается */
  box-shadow: 0 6px 16px rgba(33, 60, 87, 0.4);
}

.hero-form-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px; 
  margin-top: -50px; /* Сохраняем подъем формы наверх */
  
  /* Та самая легкая золотистая рамочка со всех сторон */
  border: 3px solid #d4af37; 
  
  /* Делаем премиальную мягкую тень с легким золотым оттенком */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
}

.btn-submit {
  margin-top: 4px;
}

/* =========================================
   СТРАНИЦА КОНТАКТОВ И ГЕОГРАФИИ
   ========================================= */
.contacts-page-section {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Карта будет чуть шире блока с текстом */
  gap: 30px;
  align-items: stretch;
}

.contacts-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  color: #d4af37; /* Золотой акцент для иконок/заголовков */
  font-size: 16px;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.contact-item p {
  color: #ffffff;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.contact-item a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #e06d35;
}

.contact-wa-link {
  display: inline-block;
  color: #25D366 !important;
  font-weight: 700;
  border-bottom: 1px dashed #25D366;
}

/* Стилизация контейнера для Google Карты */
.map-container {
  border-radius: 16px;
  overflow: hidden; /* Чтобы углы карты обрезались по радиусу */
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-height: 400px;
  background: #1a1a1a;
  position: relative;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Адаптив для контактов */

/* =========================================
   ГЛОБАЛЬНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================= */
/* Защита от случайного горизонтального скролла */
html, body {
  overflow-x: hidden;
}

/* ПЛАНШЕТЫ И БОЛЬШИЕ ТЕЛЕФОНЫ (до 768px) */
@media (max-width: 768px) {
  /* Шапка и Навигация */
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .brand-mark {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
  
  .brand-name {
    font-size: 24px !important;
    text-align: center;
  }
  
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .site-nav a {
    font-size: 14px;
    padding: 5px;
  }

  /* Главный экран и форма */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title-main {
    font-size: 28px;
    margin-top: 0;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-form-card {
    margin-top: 30px;
    padding: 20px 15px;
  }
  
  /* Поля формы в колонку на мобильных */
  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  /* Модальное окно */
  .modal-content {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 15px;
  }
  
  /* Сетки и карточки */
  .three-card-grid, .conditions-grid, .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .contacts-page-section, .services-catalog-section {
    margin-bottom: 40px;
  }
  
  .map-container {
    height: 350px;
    min-height: 350px;
  }
  
  /* Футер */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto 15px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) */
@media (max-width: 480px) {
  /* Заголовки */
  .services-subtitle-3d {
    font-size: 20px;
  }
  
  /* Таймлайн (Этапы работы) */
  .timeline-wrapper::before {
    left: 20px;
  }
  
  .timeline-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .timeline-item {
    gap: 15px;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  /* Карточки условий */
  .glass-card {
    padding: 20px 15px;
  }
  
  .custom-list li {
    font-size: 14px;
  }
}

/* =========================================
   КАТАЛОГ УСЛУГ (services.html)
   ========================================= */
.services-catalog-section {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.catalog-card {
  background: rgba(255, 255, 255, 0.95); /* Почти белый фон карточки */
  border-radius: 12px;
  overflow: hidden; /* Чтобы углы картинки обрезались по радиусу карточки */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 109, 53, 0.3);
}

/* Фотографии в карточках услуг */
.catalog-img {
  width: 100%;
  height: 220px;
  object-fit: cover; /* Фото красиво заполняет блок без сплющивания */
  display: block;
  border-bottom: 3px solid #e06d35; /* Тонкая оранжевая линия под фото для стиля */
  transition: transform 0.5s ease;
}

/* Эффект плавного приближения фото при наведении на саму карточку */
.catalog-card:hover .catalog-img {
  transform: scale(1.08);
}

.catalog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Растягиваем контент, чтобы кнопки были на одном уровне */
}

.catalog-content h3 {
  color: #213C57;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.catalog-content p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1; /* Толкает кнопку вниз */
}

.catalog-btn {
  width: 100%; /* Кнопка на всю ширину карточки */
  text-align: center;
  background: linear-gradient(90deg, #e06d35, #bd3322);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(224, 109, 53, 0.4);
}

.catalog-btn:hover {
  background: linear-gradient(90deg, #d4af37, #e06d35);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}




.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

/* ===== INFO BAR (dark blue + gold) ===== */
.info-bar {
  position: relative;
  background: var(--blue);
  padding: 14px 0;
}

.info-bar-gold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #ffffff;
  font-size: 14px;
}

.info-bar-inner a {
  color: #ffffff;
}

.info-bar-inner a:hover {
  text-decoration: underline;
}

.info-sep {
  opacity: 0.7;
}

/* ===== CARDS SECTION ===== */
/* ===== CARDS SECTION ===== */
.cards-section {
  padding: 40px 0 60px;
  background: transparent; /* Делаем фон прозрачным, чтобы увидеть картинку */
  position: relative;
  z-index: 1; /* Поднимаем карточки поверх затемненного фона */
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
  position: relative;
}

.card-heading {
  margin: 0 0 20px 0;
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff; /* Делаем текст белым */
  /* Делаем тот самый красно-терракотовый градиент как на картинке */
  background: linear-gradient(90deg, #bd3322 0%, #e06d35 100%); 
  letter-spacing: 0.06em;
  border-radius: 6px; /* Немного закругляем края */
  box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* Добавляем легкую тень для объема */
  border-left: 6px solid #8a2518; /* Темно-красная полоска слева для эффекта "ленты" */
}

.lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* Checklist with golden triangle bullets */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
}

/* Photo placeholders */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.photo-placeholder {
  aspect-ratio: 16 / 10;
  background: #e8e8e8;
  border-radius: 4px;
}

/* Capabilities list with circular photos */
.cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cap-list li:last-child {
  margin-bottom: 0;
}

.circle-placeholder {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  background: #e8e8e8;
}

.cap-list p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* Terms card */
.terms-card-inner .terms-line {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}

.terms-card-inner .terms-line .check {
  display: inline-flex;
  margin-right: 4px;
}

.terms-insurance {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.terms-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.terms-content {
  min-width: 0;
}

.terms-photo {
  height: 180px;
  border-radius: 4px;
}



/* =========================================
   ФУТЕР (ПОДВАЛ)
   ========================================= */
.site-footer {
  background: linear-gradient(to bottom, #152638, #0f1c29);
  border-top: 4px solid #d4af37;
  padding: 60px 0 0 0;
  color: #a0aec0;
  font-size: 15px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #e06d35;
}

/* Логотип и описание */
.footer-brand .footer-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  margin-bottom: 20px;
  background-color: #fff;
  padding: 5px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 350px;
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  
  /* НОВЫЕ СТИЛИ: Золотистая обводка */
  border: 2px solid #d4af37; /* Золотой цвет */
  border-radius: 12px; /* Скругление углов */
  padding: 30px; /* Внутренний отступ от рамки */
  background: rgba(15, 23, 34, 0.4); /* Очень легкий темный фон внутри рамки */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Легкая тень */
  
  max-width: 420px; /* Немного ограничиваем ширину, чтобы рамка не была слишком длинной */
}

/* Корректируем отступ у логотипа внутри рамки */
.site-footer .footer-brand .footer-logo {
  margin-bottom: 25px; /* Увеличиваем отступ до текста */
}

/* Корректируем текст описания внутри рамки */
.site-footer .footer-brand p {
  margin: 0;
  line-height: 1.6;
}

/* Ссылки навигации */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0aec0;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #d4af37;
  transform: translateX(5px);
}

/* Контакты */
.footer-contacts p {
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.footer-contacts strong {
  color: #ffffff;
}

/* Кнопка WhatsApp в футере */
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366; /* Цвет WhatsApp */
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.footer-wa-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Нижняя панель */
.footer-bottom {
  background-color: #0a131c;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
}

.developer strong {
  color: #d4af37;
  letter-spacing: 0.05em;
}




/* ABOUT PAGE ADDITIONS */
.requests-section .three-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.panorama-placeholder {
  aspect-ratio: 3 / 1;
  background: #e8e8e8;
  border-radius: 4px;
}

.requests-section {
  margin-top: 40px;
}

.page-header-section {
  padding: 20px 0 20px;
  margin-top: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-subtitle-3d {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 32px); /* Адаптивный размер */
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  margin: 10px 0 40px 0;
  
  /* Синий цвет текста (фирменный) */
  color: #213C57; 
  
  /* Оранжевая обводка (берем из градиента кнопок) */
  -webkit-text-stroke: 1.5px #e06d35; 
  
  /* Создаем 3D-объем с помощью белых и оранжевых теней, чтобы текст оторвался от темного фона */
  text-shadow: 
    1px 1px 0 #ffffff,
    2px 2px 0 #ffffff,
    3px 3px 0 #e06d35,
    5px 5px 15px rgba(0, 0, 0, 0.9);
    
  position: relative;
  z-index: 2;
}

/* Стили для новых карточек услуг */
.service-feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%); /* Легкий градиент вместо скучного белого */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 4px solid #e06d35; /* Нижняя оранжевая акцентная линия */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Декоративный "светящийся" круг на фоне карточки для красоты */
.service-feature-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(224, 109, 53, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Заголовки карточек */
.service-feature-card h3 {
  color: #213C57; /* Фирменный синий */
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-left: 5px solid #213C57;
  padding-left: 15px;
  line-height: 1.2;
}

/* Основной текст */
.service-feature-card p {
  color: #4a5568;
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  font-family: inherit;
}

/* Акценты на словах Описание и Задача */
.service-feature-card strong {
  color: #e06d35; /* Оранжевый акцент */
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  margin-bottom: 4px;
}

/* Эффект при наведении (карточка всплывает и подсвечивается) */
.service-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(224, 109, 53, 0.2);
  border-bottom-color: #d4af37; /* Линия меняется на золотую */
}

/* Стили для галереи на странице О компании */
.gallery-image {
  width: 100%;
  height: 250px; /* Фиксированная высота для ровной сетки */
  object-fit: cover; /* Картинка заполняет блок без искажений */
  border-radius: 8px; /* Немного скругляем углы */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Добавляем тень, чтобы отделить от фона */
  border: 2px solid rgba(255, 255, 255, 0.1); /* Легкая прозрачная рамка */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.03); /* Легкое увеличение при наведении */
  box-shadow: 0 8px 25px rgba(224, 109, 53, 0.4); /* Оранжевое свечение при наведении */
  z-index: 2; /* Приподнимаем картинку над соседними */
  position: relative;
}

/* Вертикальный таймлайн для этапов работы */
.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 0;
  z-index: 2;
}

/* Вертикальная соединительная линия */
.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px; /* Выравнивание по центру кружочков */
  width: 2px;
  background: rgba(224, 109, 53, 0.3); /* Полупрозрачная оранжевая линия */
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Золотые кружочки с цифрами */
.timeline-number {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e06d35 0%, #d4af37 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 0 15px rgba(224, 109, 53, 0.5), inset 0 0 10px rgba(0,0,0,0.1);
  border: 4px solid #1a1a1a; /* Обводка цвета фона, чтобы отделить от линии */
  position: relative;
  z-index: 2;
}

/* Блоки с текстом (эффект матового стекла) */
.timeline-content {
  background: rgba(255, 255, 255, 0.08); /* Полупрозрачный белый */
  backdrop-filter: blur(10px); /* Размытие фона под блоком */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 25px;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(10px); /* При наведении блок чуть выезжает вправо */
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(224, 109, 53, 0.4);
}

.timeline-content p {
  color: #ffffff; /* Белый текст для читаемости */
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}


.timeline-content strong {
  color: #e06d35; /* Выделяем главные мысли оранжевым */
  font-weight: 700;
}

/* Сетка для блоков условий (2 колонки на ПК, 1 на телефоне) */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
  position: relative;
  z-index: 2;
}

/* Эффект темного матового стекла */
.glass-card {
  background: rgba(15, 23, 34, 0.65); /* Темно-синий полупрозрачный */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d4af37; /* Золотая акцентная линия сверху */
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5); /* Рамка слегка подсвечивается золотым */
}

/* Заголовки карточек */
.glass-card-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Стилизация списков */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  padding-left: 35px; /* Место под галочку */
  position: relative;
}

.custom-list li:last-child {
  margin-bottom: 0;
}

/* Золотые галочки вместо стандартных точек */
.custom-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #d4af37; /* Золотой цвет */
  font-size: 16px;
  font-weight: 900;
}

/* Акценты в тексте списка */
.custom-list li strong {
  color: #e06d35; /* Оранжевый для сроков (День в день, 1-5 дней) */
  font-weight: 700;
  font-size: 16px;
  display: block; /* Срок пишется с новой строки для красоты */
  margin-bottom: 4px;
}

.custom-list li span {
  color: #a0aec0; /* Светло-серый цвет для пояснений в скобках, чтобы они не отвлекали */
  font-size: 14px;
}

/* =========================================
   ЕДИНЫЙ ПРОЗРАЧНЫЙ ФОН (БЕЗ ПОЛОС)
   ========================================= */

/* 1. Вешаем картинку на самый нижний слой сайта (на весь экран) */
body {
  background-color: #0a131c !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* 2. Делаем одно общее, ровное затемнение для всего экрана */
body::before {
  content: '';
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important; /* 0.6 - это 60% темноты */
  pointer-events: none !important;
  z-index: -1 !important;
}

/* 3. Делаем шапку, главный экран и центральную часть полностью прозрачными (стеклянными) */
.site-header, 
#main, 
.hero-section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 4. Убираем желтую полосу, которая резала шапку и фон */
.header-gold {
  display: none !important;
}

/* 5. Отключаем старые локальные затемнения, из-за которых появлялись полосы */
#main::before, 
.hero-section::before {
  display: none !important;
}

/* ===== КНОПКА-СТРЕЛКА ВНИЗ С РАМКОЙ ===== */
.scroll-down-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; /* Чуть уменьшили шрифт, чтобы он аккуратно смотрелся в рамке */
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em; /* Слегка раздвинули буквы для премиальности */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease; /* Transition на все свойства для плавного наведения */
  margin-top: 15px;
  
  /* Эффект Рамки */
  padding: 10px 22px; /* Внутренние отступы, чтобы текст не упирался в рамку */
  border: 2px solid #d4af37; /* Наша золотая рамка */
  border-radius: 6px; /* Легкое закругление углов */
  background-color: transparent; /* Прозрачный фон по умолчанию */
}

/* Эффект при наведении мышки */
.scroll-down-link:hover {
  color: #ffffff; /* Текст остается белым */
  border-color: #ffffff; /* Рамка становится белой */
  background-color: rgba(212, 175, 55, 0.15); /* Внутри появляется легкое золотое свечение */
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); /* И мягкая золотая тень */
}

/* Настройки стрелочки */
.scroll-down-link svg {
  width: 22px;
  height: 22px;
  animation: bounce 2s infinite;
  stroke: currentColor; /* Цвет стрелочки всегда такой же, как у текста */
  fill: none;
}

/* Ключевые кадры для анимации прыжка стрелочки */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px); /* Стрелка прыгает вниз на 6 пикселей */
  }
  60% {
    transform: translateY(3px); /* И чуть возвращается */
  }
}

/* =========================================
   ПРИНУДИТЕЛЬНЫЙ ФИКС ФОТОГАЛЕРЕИ (SWIPER)
   ========================================= */
.equipment-swiper {
  width: 100% !important;
  height: 500px !important; /* Жестко фиксируем высоту всего слайдера */
  overflow: hidden !important; /* Отрезаем всё, что вылезает */
  border-radius: 16px !important;
}

.equipment-swiper .swiper-wrapper {
  height: 100% !important;
}

.equipment-swiper .swiper-slide {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

.equipment-swiper .slide-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Обрезаем фото под рамку без искажений */
  object-position: center !important;
  display: block !important;
  max-width: none !important; /* Отключаем любые другие ограничения */
}

/* Кастомные оранжевые круглые стрелки */
.custom-arrow {
  background-color: #FFA500; /* Оранжевый цвет как на референсе */
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.custom-arrow::after {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.custom-arrow:hover {
  background-color: #e69500;
  transform: scale(1.05);
}

/* Кастомные точки пагинации */
.custom-pagination {
  bottom: 10px !important;
}

.custom-pagination .swiper-pagination-bullet {
  background-color: #cccccc;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
}

.custom-pagination .swiper-pagination-bullet-active {
  background-color: #FFA500;
}

/* =========================================
   МОДАЛЬНОЕ ОКНО
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 19, 28, 0.85); /* Темно-синий полупрозрачный фон */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  transform: translateY(-30px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 0;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #e06d35;
}

/* =========================================
   ПРИНУДИТЕЛЬНЫЙ АДАПТИВ ФУТЕРА (FIX v2)
   ========================================= */
@media screen and (max-width: 768px) {
  .site-footer .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    
    /* КРИТИЧНО: Центрируем все block-колонки по горизонтали */
    align-items: center !important; 
    
    text-align: center !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-footer .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Центрируем содержимое рамки */
    width: auto !important; /* Разрешаем рамке сжиматься под контент */
    max-width: 90% !important; /* Ограничиваем ширину рамки на мобилке */
    margin: 0 auto !important; /* Принудительно по центру grid-колонки */
  }

  .site-footer .footer-brand .footer-logo {
    margin: 0 auto 20px !important; /* Принудительно по центру с отступом снизу */
    display: block !important;
  }

  .site-footer .footer-brand p {
    margin: 0 auto !important; /* Убираем авто-отступы, чтобы текст не прыгал */
    text-align: center !important;
    max-width: 100% !important; /* Разрешаем тексту занимать всю ширину на мобилке */
  }

  .site-footer .footer-col h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .site-footer .footer-links ul {
    align-items: center !important; /* Центрируем список ссылок */
  }

  .site-footer .footer-bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* =========================================
   ВИДЖЕТ ПОСТРОЕНИЯ МАРШРУТА (УЛУЧШЕННЫЙ)
   ========================================= */
.routing-widget {
  background: rgba(15, 23, 34, 0.65); /* Эффект темного матового стекла */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #d4af37; /* Золотая акцентная линия */
  border-radius: 16px;
  padding: 30px;
  margin-top: 40px; /* Отступ от верхних контактов */
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.routing-title {
  color: #ffffff; /* Делаем заголовок ярко-белым, чтобы он читался */
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.route-form {
  display: flex;
  flex-direction: column; /* Выстраиваем поля аккуратно в колонку */
  gap: 15px;
}

.route-form .form-input {
  padding: 14px 18px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #333333;
  transition: all 0.3s ease;
  width: 100%;
}

/* Эффект при клике на поле ввода */
.route-form .form-input:focus {
  outline: none;
  border-color: #d4af37; /* Золотая рамка */
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); /* Легкое свечение */
  background-color: #ffffff;
}

.route-form .route-btn {
  padding: 15px;
  background: linear-gradient(90deg, #e06d35, #bd3322); /* Фирменный оранжевый градиент */
  border: none;
  color: white;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 109, 53, 0.4);
  margin-top: 5px;
}

.route-form .route-btn:hover {
  background: linear-gradient(90deg, #d4af37, #e06d35);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px); /* Кнопка слегка приподнимается */
}

/* Фикс для мобильных */
@media (max-width: 768px) {
  .equipment-swiper {
    height: 300px !important; 
  }
}

/* ЭКРАН ЗАГРУЗКИ (PRELOADER) */
#preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-color: #0a131c; z-index: 9999999;
  display: flex; justify-content: center; align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0; visibility: hidden;
}
.preloader-logo {
  width: 160px; height: 160px; object-fit: contain;
  animation: pulseGold 1.5s infinite alternate;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}
@keyframes pulseGold {
  0% { transform: scale(0.9); filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8)); }
}

/* =========================================
   ПЛАВАЮЩАЯ КНОПКА WHATSAPP
   ========================================= */
.floating-wa {
  position: fixed; width: 65px; height: 65px;
  bottom: 30px; right: 30px;
  background-color: #25d366; color: #FFF;
  border-radius: 50px; text-align: center;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99999; transition: all 0.3s ease;
  animation: wa-pulse 2s infinite;
}
.floating-wa:hover {
  background-color: #128c7e; transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none; /* Отключаем пульсацию при наведении */
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Адаптив для телефонов */
@media (max-width: 768px) {
  .floating-wa { width: 55px; height: 55px; bottom: 20px; right: 20px; }
  .floating-wa svg { width: 28px; height: 28px; }
}

/* =========================================
   ПЛАВАЮЩАЯ КНОПКА TELEGRAM
   ========================================= */
.floating-tg {
  position: fixed; width: 65px; height: 65px;
  bottom: 105px; right: 30px;
  background-color: #2CA5E0; color: #FFF;
  border-radius: 50px; text-align: center;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(44, 165, 224, 0.4);
  z-index: 99999; transition: all 0.3s ease;
  animation: tg-pulse 2s infinite;
}
.floating-tg:hover {
  background-color: #1a8abf; transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(44, 165, 224, 0.6);
  animation: none;
}
@keyframes tg-pulse {
  0% { box-shadow: 0 0 0 0 rgba(44, 165, 224, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(44, 165, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 165, 224, 0); }
}
@media (max-width: 768px) {
  .floating-tg { width: 55px; height: 55px; bottom: 90px; right: 20px; }
  .floating-tg svg { width: 26px; height: 26px; }
}

/* Кнопка Telegram в футере */
.footer-tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2CA5E0;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(44, 165, 224, 0.3);
}
.footer-tg-btn:hover {
  background: #1a8abf;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 165, 224, 0.4);
}

/* Ссылка Telegram в разделе контактов */
.contact-tg-link {
  color: #2CA5E0;
  font-weight: 600;
  text-decoration: none;
}
.contact-tg-link:hover {
  color: #1a8abf;
  text-decoration: underline;
}

/* =========================================
   КНОПКА "УСТАНОВИТЬ ПРИЛОЖЕНИЕ" В НАВИГАЦИИ
   ========================================= */
.nav-install-btn {
  background: linear-gradient(to right, #1560BD, #004aad);
  color: #ffffff !important;
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(21, 96, 189, 0.4);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-install-btn:hover {
  background: linear-gradient(to right, #004aad, #003380);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 96, 189, 0.6);
}
@media (max-width: 850px) {
  .nav-install-btn { font-size: 11px; padding: 6px 10px; }
}

/* =========================================
   МУЛЬТИЯЗЫЧНОСТЬ (ПЕРЕКЛЮЧАТЕЛЬ)
   ========================================= */
.lang-switcher {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; /* Прижимаем к правому краю */
  background: rgba(15, 23, 34, 0.6);
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 100;
}
.lang-btn {
  background: none; border: none; color: #a0aec0;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease; padding: 4px;
}
.lang-btn:hover { color: #ffffff; transform: scale(1.1); }
.lang-btn.active { color: #d4af37; text-shadow: 0 0 8px rgba(212, 175, 55, 0.5); }
.lang-sep { color: #4a5568; font-size: 12px; user-select: none; }

/* Прячем стандартные элементы Google Translate */
body { top: 0 !important; }
.skiptranslate, .goog-te-banner-frame { display: none !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .lang-switcher { margin-left: 0; margin-top: 10px; }
}

/* =========================================
   БЛОК ОТСЛЕЖИВАНИЯ ГРУЗА
   ========================================= */
.tracking-section {
  padding: 40px 0 80px;
  position: relative;
  z-index: 2;
}
.tracking-widget {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 30px;
  border-top: 4px solid #e06d35; /* Оранжевый акцент */
}
.tracking-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 0.05em;
}
.tracking-subtitle {
  color: #a0aec0;
  font-size: 16px;
  margin: 0 0 25px 0;
}
.tracking-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}
.tracking-input {
  flex: 1;
  font-size: 16px;
  padding: 16px 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tracking-btn {
  background: linear-gradient(90deg, #e06d35, #bd3322);
  font-size: 16px;
  padding: 0 30px;
  border: none;
  color: white;
  text-transform: uppercase;
  font-weight: 800;
}
.tracking-btn:hover {
  background: linear-gradient(90deg, #d4af37, #e06d35);
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .tracking-form { flex-direction: column; }
  .tracking-btn { padding: 16px; }
}

/* =========================================
   ДЕТЕКТОР НЕГАБАРИТА
   ========================================= */
.detector-section { margin-bottom: 60px; position: relative; z-index: 2; }
.detector-widget { padding: 40px 30px; border-top: 4px solid #d4af37; }
.detector-title { color: #ffffff; font-size: 24px; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; text-align: center; }
.detector-subtitle { color: #a0aec0; text-align: center; margin: 0 0 30px; font-size: 16px; }
.detector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.detector-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.input-group label { display: block; color: #d4af37; font-size: 12px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.detector-result-box { background: rgba(0,0,0,0.4); border-radius: 12px; padding: 30px; text-align: center; border: 2px dashed rgba(255,255,255,0.2); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.detector-result-box.oversize { border-color: #e06d35; background: rgba(224, 109, 53, 0.1); box-shadow: 0 0 20px rgba(224, 109, 53, 0.2); }
.detector-result-box.standard { border-color: #25d366; background: rgba(37, 211, 102, 0.1); box-shadow: 0 0 20px rgba(37, 211, 102, 0.2); }
.result-icon { font-size: 40px; margin-bottom: 15px; transition: transform 0.3s ease; }
#det-result-title { color: #ffffff; font-size: 20px; margin: 0 0 10px; font-weight: 800; }
#det-result-text { color: #a0aec0; font-size: 14px; margin: 0; line-height: 1.5; }
@media (max-width: 768px) { .detector-grid { grid-template-columns: 1fr; } }

/* =========================================
   БЛОК FAQ (АККОРДЕОН)
   ========================================= */
.faq-section { margin: 60px 0 80px; position: relative; z-index: 2; }
.faq-grid { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: rgba(15, 23, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(212, 175, 55, 0.4); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.faq-question {
  padding: 22px 25px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: 0.02em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  color: #d4af37;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: #e06d35;
}
.faq-item[open] .faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d4af37;
}
.faq-answer {
  padding: 20px 25px;
  color: #a0aec0;
  font-size: 15px;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.2);
  animation: faq-fade-in 0.4s ease;
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   АНИМИРОВАННЫЙ ФОН (СЛАЙДЕР)
   ========================================= */
.bg-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background-color: #0a131c;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 19, 28, 0.25); /* Ювелирная тонировка на 25% */
  z-index: 1;
}
.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  animation: fadeBg 25s infinite linear;
}
.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) { animation-delay: 5s; }
.bg-slide:nth-child(3) { animation-delay: 10s; }
.bg-slide:nth-child(4) { animation-delay: 15s; }
.bg-slide:nth-child(5) { animation-delay: 20s; }

@keyframes fadeBg {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: 1; }
  20% { opacity: 1; }
  28% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* =========================================
   ГЛОБАЛЬНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (SMARTPHONES)
   ========================================= */
/* Жестко запрещаем сайту шататься вправо-влево */
html, body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 850px) {
  /* Уменьшаем гигантские шрифты */
  h1, .hero-title { font-size: 32px !important; line-height: 1.2 !important; }
  h2, .section-title, .services-subtitle-3d, .tracking-title, .detector-title { font-size: 22px !important; text-align: center; }

  /* Улучшаем читаемость золотого заголовка в мобильной версии */
  .services-subtitle-3d {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 1) !important; /* Сделать тень очень плотной, черной и размытой, чтобы отделить текст от фона */
  }

  h3, .form-heading { font-size: 18px !important; }
  
  /* Уменьшаем пустоты между блоками */
  section { padding: 40px 0 !important; }
  
  /* Сжимаем новые умные виджеты */
  .tracking-widget, .detector-widget {
    padding: 25px 15px !important;
  }
  .detector-inputs {
    grid-template-columns: 1fr !important;
  }
  
  /* Компактный FAQ */
  .faq-question {
    font-size: 14px !important;
    padding: 16px 15px !important;
  }
  .faq-question::after { font-size: 22px !important; }
  .faq-answer {
    font-size: 13px !important;
    padding: 15px !important;
  }
  
  /* Выравниваем переключатель языков в шапке */
  .lang-switcher {
    margin: 15px auto 0 !important;
    justify-content: center !important;
    width: fit-content;
  }

  /* Адаптация сетки услуг и контактов */
  .catalog-grid, .features-grid, .footer-inner, .contacts-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Кнопки на всю ширину экрана для удобного нажатия пальцем */
  .btn:not(.lang-btn) {
    width: 100% !important;
    text-align: center !important;
    padding: 15px !important;
  }
}

/* Для самых маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 480px) {
  h1, .hero-title { font-size: 26px !important; }
  .tracking-subtitle, .detector-subtitle { font-size: 14px !important; }
  .floating-wa { bottom: 15px !important; right: 15px !important; width: 50px !important; height: 50px !important; }
}

/* =========================================
   КНОПКА УСТАНОВКИ PWA
   ========================================= */
.install-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(to right, #1560BD, #004aad);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.install-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}
@media (max-width: 480px) {
  .install-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 15px;
    font-size: 13px;
  }
}
.golden-header-title {
  background: linear-gradient(to right, #d4af37, #fff2cd, #d4af37) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); /* Легкое золотое свечение вокруг букв */
  display: inline-block;
}

/* =========================================
   ИСПРАВЛЕНИЕ СТИЛЯ ЗАГОЛОВКА "ВИДЫ ЗАПРОСОВ"
   ========================================= */
.services-subtitle-3d {
  background: none !important; /* Убираем золотой градиент */
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #ffffff !important; /* Делаем текст чисто белым */
  
  /* Добавляем плотную черную тень для идеальной читаемости на любом фоне,
     так же, как на главной странице */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 1) !important;
  
  /* Делаем его более строгим */
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 30px;
}

/* =========================================
   ФИРМЕННЫЙ СИНИЙ ЗАГОЛОВОК (#1560BD)
   ========================================= */
h1, .hero-title {
  /* Убираем градиенты и свечения */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  
  /* Устанавливаем новый фирменный цвет */
  color: #1560BD !important;
  -webkit-text-fill-color: #1560BD !important;
  
  /* Строгая, плотная черная тень для идеального объема и читаемости */
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.9),
    0 8px 20px rgba(0, 0, 0, 0.6) !important; 
}