: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;
}

html,
body {
  height: 100%;
}

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: #1a1a1a;
  background-image: url('assets/hero-bg.jpeg');
  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 400px;
  gap: 32px;
  align-items: start;
}

.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: #1a1a1a !important;
  background-image: url('assets/hero-bg.jpeg') !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); /* И чуть возвращается */
  }
}

/* =========================================
   ГАЛЕРЕЯ ТЕХНИКИ (10 ФОТО)
   ========================================= */
/* =========================================
   СЛАЙДЕР ТЕХНИКИ (SWIPER)
   ========================================= */
.equipment-swiper {
  padding: 20px 50px 60px !important; /* Отступы для стрелок по бокам и точек снизу */
  margin-top: 30px;
}

.slide-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Кастомные оранжевые круглые стрелки */
.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); /* Кнопка слегка приподнимается */
}