/*
Theme Name: MyTheme
Version: 1.0
*/


/*                              */
/* Адаптив для старых браузеров */
/*                              */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Для старых браузеров */
.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero-btn:hover {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Firefox scrollbar */
@-moz-document url-prefix() {
    .hero-form input {
        padding: 17px 20px; /* небольшая корректировка */
    }
}


















/*Глобальный шрифт*/
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #0D2A45;
}



/*цвета*/
:root {
  --primary: #62D0C9; /* бирюзовый */
  --dark: #0D2A45;    /* тёмно-синий */
  --beige: #E8DCC4;   /* бежевый */
  --bg-light: #F8F8F8;
  --text-dark: #0D2A45;
  --white: #fff;
}


.btn {
  background: #62D0C9;
  color: #0D2A45;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #62D0C9;
}

.btn:hover {
  background: #79DDD7;
}
















/* =========================================
   HEADER MENU 
========================================= */

/* Базовые стили шапки */
/* Сделаем шапку фиксированной */
header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0D2A45;
  padding: 18px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  /* УБИРАЕМ width: 100% - это основная проблема */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease-in-out;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  /* ДОБАВЛЯЕМ максимальную ширину и центрирование */
  max-width: 1200px; /* или любой другой максимальной ширины */
  margin: 0 auto; /* центрирование */
}

body {
  padding-top: 80px;
}


 /* ---------------Логотип и название--------------- */

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title a {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.site-title a:hover {
    opacity: 0.8;
}

.custom-logo {
    height: 50px;
    width: auto;
}


.site-title a{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.site-title-line1,
.site-title-line2{
  display:block;
}



/* ---------------Навигация--------------- */

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav a:hover {
  opacity: 0.7;
}

/* CTA кнопки */
.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

/* Кнопка INSTANT PRICE */
.btn {
  background: #62D0C9;
  color: #0D2A45;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #62D0C9;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

.btn:hover {
  background: #79DDD7;
  transform: translateY(-2px);
}

/* Кнопка телефона */
.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  padding: 10px 20px;
  border: 2px solid #62D0C9;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-btn:hover {
  background: #62D0C9;
  color: #ffffff;
  transform: translateY(-2px);
}

.phone-btn .btn-icon {
  width: 20px;
  height: 20px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.mobile-overlay.active {
  display: block;
}

/* =========================================
   Шапка для планшета (до 1240px)
========================================= */

@media (max-width: 1240px) {
  header.header {
    padding: 15px 30px;
  }

  /* Скрываем десктопное меню */
  .nav {
    display: none !important;
  }

  .header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end; /* Располагаем элементы справа */
  }

/* Скрываем текст с номером телефона */
  .phone-btn .phone-number {
    display: none;
  }

  /* Показываем только иконку телефона (SVG) */
  .phone-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* Размер иконки */
    height: 24px;
    background: transparent; /* Убираем фон */
    border: none; /* Убираем границу */
    padding: 0; /* Убираем отступы */
  }

  /* Убираем кнопку с фоном, только иконка */
  .phone-btn {
    background: transparent; /* Убираем фон */
    border: none; /* Убираем рамку */
    padding: 0; /* Убираем отступы */
    display: inline-flex; /* Для отображения как просто иконки */
  }


  /* Показываем кнопку бургер-меню */
  .mobile-menu-toggle {
    display: flex;
  }

  .header-container {
    gap: 20px;
  }
}

/* =========================================
   Шапка для мобилки (до 768px)
========================================= */
@media (max-width: 768px) {
  header.header {
    padding: 12px 20px;
  }

  /* Скрываем десктопное меню */
  .nav {
    display: none !important;
  }

  /* Показываем кнопку бургер-меню */
  .mobile-menu-toggle {
    display: flex;
  }

}

/* =========================================
   Шапка для мобилки (до 540px)
========================================= */
@media (max-width: 540px) {
  header.header {
    padding: 8px 10px;
  }

  /* Скрываем название сайта */
  .site-title {
    display: none;
  }

  .custom-logo {
    height: 40px;
  }

  .mobile-menu-toggle {
    width: 24px;
    height: 24px;
    font-size: 18px;
    margin-left: 8px;
  }

  .phone-btn .btn-icon {
    width: 20px;
    height: 20px;
  }
}

/* =========================================
   Шапка для маленьких мобилок (до 360px)
========================================= */
@media (max-width: 360px) {
  .custom-logo {
    height: 35px;
  }

  /* Кнопка немного уменьшается только на очень маленьких экранах */
  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .mobile-menu-toggle {
    width: 22px;
    height: 22px;
    font-size: 16px;
    margin-left: 6px;
  }

}


















/* =========================================
   Меню в шапке
========================================= */

.menu-item-has-children {
  position: relative;
}

/* УБИРАЕМ ВСЕ CSS СТРЕЛОЧКИ - оставляем только HTML */
.menu-item-has-children > a::after,
.menu-item-has-children > a::before {
  display: none !important;
  content: none !important;
}

.sub-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 15px 0;
  margin-top: 15px;
}

.menu-item-has-children:hover .sub-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  display: block !important;
}

.sub-menu li {
  margin: 0;
  padding: 0;
  display: block !important;
  width: 100% !important;
  float: none !important;
}

.sub-menu a {
  color: #0D2A45 !important;
  padding: 12px 25px !important;
  font-size: 14px;
  display: block !important;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: #F8F8F8 !important;
  color: #62D0C9 !important;
  border-left-color: #62D0C9;
}





/* =========================================
   Стили для бургер-меню (работает для экранов меньше 1240px)
========================================= */
/* Скрываем бургер-меню на десктопе */
@media (min-width: 1241px) {
  .burger-menu-wrapper {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
}


@media (max-width: 1240px) {
  /* Скрыть десктопное меню */
  .nav {
    display: none;
  }

  /* Показываем кнопку бургер-меню */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px; /* Уменьшили с 30px */
    cursor: pointer;
    z-index: 1001;
    position: relative;
    line-height: 1;
  }

  /* Стили для бургер-меню */
  .burger-menu-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999; /* Ниже чем шапка */
    flex-direction: column;
  }

  .burger-menu-wrapper.active {
    display: flex;
  }

  /* Основное меню бургер-меню - отступаем сверху под шапку */
  .burger-nav {
    background: #ffffff;
    color: #0D2A45;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    margin-top: 80px; /* Отступ под высоту шапки */
  }

  .burger-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .burger-main-menu > li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .burger-main-menu > li:last-child {
    border-bottom: none;
  }

  /* Родительские ссылки с выпадающим меню */
  .burger-menu-parent {
    color: #0D2A45;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    transition: all 0.3s ease;
  }

  .burger-menu-parent:hover {
    color: #62D0C9;
    background-color: #F8F8F8;
  }

  /* Обычные ссылки в бургер-меню */
  .burger-main-menu > li > a:not(.burger-menu-parent) {
    color: #0D2A45;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 15px 10px;
    transition: all 0.3s ease;
  }

  .burger-main-menu > li > a:not(.burger-menu-parent):hover {
    color: #62D0C9;
    background-color: #F8F8F8;
  }

  /* Стрелочка для выпадающего меню */
  .burger-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 16px;
  }

  /* Поворот стрелочки при активном состоянии */
  .burger-menu-item-has-children.active .burger-dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Подменю - СВЕРНУТО по умолчанию */
  .burger-sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #F8F8F8;
    overflow: hidden;
  }

  /* Подменю - РАЗВЕРНУТО при активном состоянии */
  .burger-menu-item-has-children.active .burger-sub-menu {
    display: block;
    animation: burgerSlideDown 0.3s ease;
  }

  /* Анимация разворачивания */
  @keyframes burgerSlideDown {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }

  .burger-sub-menu li {
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
  }

  .burger-sub-menu li:last-child {
    border-bottom: none;
  }

  .burger-sub-menu a {
    padding: 12px 20px 12px 30px;
    font-size: 16px;
    color: #0D2A45;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
  }

  .burger-sub-menu a:hover {
    background-color: #62D0C9;
    color: white;
  }

  /* Активное состояние родительского пункта */
  .burger-menu-item-has-children.active > .burger-menu-parent {
    color: #62D0C9;
    background-color: #F8F8F8;
  }

  /* Кнопки в бургер-меню - в одной строке внизу */
  .burger-cta {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #ffffff;
    flex-shrink: 0;
  }

  .burger-cta .burger-btn {
    background: #62D0C9;
    color: #0D2A45;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #62D0C9;
    flex: 1;
  }

  .burger-cta .burger-phone-btn {
    background: transparent;
    color: #0D2A45;
    padding: 15px;
    border: 2px solid #62D0C9;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
  }

  .burger-cta .burger-btn:hover,
  .burger-cta .burger-phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* Убедимся что шапка поверх бургер-меню */
  .header {
    position: relative;
    z-index: 1000; /* Выше чем бургер-меню */
  }
}

/* Предотвращение скролла тела при открытом бургер-меню */
body.burger-menu-open {
  overflow: hidden;
}

/* Если у шапки нет фиксированной позиции, добавим её для мобильных */
@media (max-width: 1240px) {
  .header {
    position: sticky;
    top: 0;
    background: #0D2A45; /* Или ваш цвет шапки */
  }
}




















/* ================================
   HERO BLOCK
================================ */

.hero {
  background: #E8DCC4;
  padding: 80px 0 0;  /* было 80px 0 40px */
}


.hero-inner {
  max-width: 1300px;
  margin: 0 auto;         /* убрали bottom-margin */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 0 40px;
}

.hero-left img {
  display: block;
  max-width: 100%;
  height: auto;
}



.hero-right {
  max-width: 520px;
  color: #0D2A45;
}

.hero-right h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  color: #0D2A45;
  margin-bottom: 22px;
}

.hero-right p {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(13, 42, 69, 0.85);
  margin-bottom: 35px;
}

.hero-form input {
  width: 100%;
  padding: 18px 20px;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
  font-size: 16px;
}

.hero-form .input-wrapper {
  position: relative;
  width: 100%;
}

.hero-btn {
  display: inline-block;
  background: #62D0C9;
  color: #0D2A45;
  padding: 16px 34px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: 0.2s;
}

.hero-btn:hover {
  background: #79DDD7;
}





/* ================================
   АДАПТИВ ДЛЯ ПЛАНШЕТОВ (991px - 1240px)
================================ */

@media (max-width: 1240px) {
  .hero-inner {
    gap: 60px;
    padding: 0 30px;
  }
  
  .hero-left img {
    width: 450px;
  }
  
  .hero-right h1 {
    font-size: 48px;
  }
  
  .hero-right p {
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    gap: 40px;
  }
  
  .hero-left img {
    width: 400px;
  }
  
  .hero-right h1 {
    font-size: 42px;
  }
}

/* ================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ (< 991px)
================================ */

@media (max-width: 990px) {
  .hero {
    padding: 60px 0 0;   
  }
  
  .hero-inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
    display: none;
  }
  
  .hero-left img {
    width: 100%;
    max-width: 500px;
  }
  
  .hero-right {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-right h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  .hero-right p {
    font-size: 18px;
    margin-bottom: 25px;
  }
  
  .hero-right br {
    display: none;
  }
  
  /* Скрываем десктопную форму на мобильных */
  .hero-form {
    display: none;
  }
  
  /* Показываем мобильную форму */
  .moving-quote-form.mobile-only {
    display: block;
  }
}

.mq-footer-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

.mq-footer-call:hover {
    color: var(--primary);
}

/* Контейнер под трубку */
.mq-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;   /* увеличили */
    height: 40px;
}

/* Сам SVG — делаем крупным и залитым */
.mq-phone-icon svg {
    width: 32px;   /* размер самой трубки */
    height: 32px;
    display: block;

    fill: var(--primary) !important;
    stroke: var(--primary) !important;
}


/* ================================
   АДАПТИВ ДЛЯ МАЛЕНЬКИХ МОБИЛЬНЫХ (< 768px)
================================ */

@media (max-width: 767px) {
  .hero {
    padding: 40px 0 0;   
  }
  
  .hero-right h1 {
    font-size: 32px;
  }
  
  .hero-right p {
    font-size: 16px;
  }
  
  
  .moving-quote-form h2 {
    font-size: 24px;
  }
  
  .get-quote-btn {
    padding: 16px;
    font-size: 16px;
  }
}

/* ================================
   АДАПТИВ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ (< 480px)
================================ */

@media (max-width: 479px) {
  .hero-right h1 {
    font-size: 28px;
  }
  
  .moving-quote-form h2 {
    font-size: 22px;
  }
  
  .moving-quote-form input,
  .moving-quote-form select {
    padding: 12px;
  }
}













































/* ================================
   QUOTE FORM
================================ */

/* Контейнер формы */
.moving-quote-form {
    background: #ffffff;
    border-radius: 16px;
    box-sizing: border-box;

    /* внутренний отступ внутри белой карточки */
    padding: 16px;

    /* форма просто занимает всю ширину внутри quote-section */
    max-width: 100%;
    margin: 0;  /* без доп. воздуха сверху/снизу, всё делает секция */

    transition: all 0.3s ease;
}


/* секция с формой сразу под hero */
.quote-section {
  background: #E8DCC4;       /* тот же фон, что у hero */
  padding: 16px 16px 16px;   /* сверху / слева / справа / снизу по 16 */
  margin: 0;
}

/* По умолчанию (десктоп) — мобильная форма скрыта */
.moving-quote-form.mobile-only {
  display: none;
}

/* На мобиле (ширина до 990px) — показываем форму */
@media (max-width: 990px) {
  .moving-quote-form.mobile-only {
    display: block;
  }
}


/* Заголовок */
.mq-title {
    font-size: 28px;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 700;
}

.mq-title-accent {
    color: var(--primary);
}

/* Подзаголовок */
.mq-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: rgba(13, 42, 69, 0.7); /* мягкий тёмно-синий */
}

/* Строки формы */
.mq-form {
    width: 100%;
}

.mq-row {
    width: 100%;
    margin-bottom: 18px;
}

.mq-row-two {
    display: flex;
    gap: 24px;
}

/* Поля */
.mq-field {
    width: 100%;
}

.mq-field-half {
    max-width: 360px;
}

/* Лейблы */
.mq-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.mq-required {
    color: var(--primary);
}

/* Обёртка инпута/селекта */
.mq-input-wrapper {
    position: relative;
}

/* Инпуты и селекты */
.mq-input-wrapper input,
.mq-input-wrapper select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 40px 12px 14px;
    border-radius: 4px;
    border: 1px solid #d4d4e0;
    font-size: 14px;
    outline: none;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Плейсхолдеры */
.mq-input-wrapper input::placeholder {
    color: rgba(13, 42, 69, 0.4);
}

/* Фокус – рамка в цвет primary */
.mq-input-wrapper input:focus,
.mq-input-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* Стилизованный селект без дефолтной стрелки */
.mq-input-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--white);
    cursor: pointer;
}

.mq-select-wrapper::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
}

/* Сообщение об ошибке */
.mq-error {
    margin: 4px 0 22px;
    font-size: 12px;
    color: #b3261e; /* оставляем красный для ошибки */
}

/* Низ формы: кнопка + текст */
.mq-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Кнопка GET QUOTE */
.get-quote-btn {
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.get-quote-btn:hover {
    background: #12375f; /* чуть светлее/чётче, но в той же гамме */
}

.mq-btn-arrow {
    font-size: 14px;
}

/* Текст "Or get a call from us" с иконкой */
.mq-footer-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.mq-phone-icon {
    color: var(--primary);
    font-size: 22px;
    line-height: 1;
}

/* Адаптив – на мобиле поля идут столбиком */
@media (max-width: 768px) {
    .mq-row-two {
        flex-direction: column;
    }

    .mq-field-half {
        max-width: 100%;
    }

    .mq-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .get-quote-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Маленькие мобильные (< 768px) — ТОЛЬКО типографика, без изменения padding формы */
@media (max-width: 767px) {
    .mq-title {
        font-size: 24px;
    }

    .get-quote-btn {
        padding: 16px;
        font-size: 16px;
    }
}

/* Очень маленькие (< 480px) */
@media (max-width: 479px) {
    .mq-title {
        font-size: 22px;
    }

    .mq-input-wrapper input,
    .mq-input-wrapper select {
        padding: 12px;
    }
}




































/* =========================================
   REVIEWS BANNER
========================================= */

.reviews-banner {
    padding: 32px 0;
    background: var(--dark);
    color: #fff;
}

.reviews-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px; /* боковые отступы как у формы */
    box-sizing: border-box;
}

.reviews-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Левая часть — заголовок */
.reviews-header {
    flex-shrink: 0;
    text-align: left;
    margin-bottom: 0;
}

.reviews-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
}

.reviews-header .highlight {
    color: var(--primary);
}

/* Правая часть — сетка логотипов/рейтингов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    flex: 1;
}

.review-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: left;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}

.reviews-inline-item__icon {
    width: 32px;
    height: 32px;
}

.review-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
}

.review-rating {
    margin-bottom: 0;
}

.rating-score {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    white-space: nowrap;
}

.review-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

/* =========================================
   1) ЛЁГКАЯ УЖИМКА НА НОУТБУКАХ (≤ 1200)
========================================= */
@media (max-width: 1200px) {
    .reviews-inline {
        gap: 24px;
    }

    .reviews-header h2 {
        font-size: 17px;
    }

    .reviews-grid {
        gap: 16px;
    }

    .rating-score {
        font-size: 15px;
    }

    .review-time {
        font-size: 11px;
    }
}

/* =========================================
   2) ТАБЛЕТ (≤ 992): заголовок слева, сетка справа,
      но всё чуть компактнее
========================================= */
@media (max-width: 992px) {
    .reviews-banner {
        padding: 24px 0;
    }

    .reviews-inline {
        gap: 20px;
    }

    .reviews-header h2 {
        font-size: 16px;
        white-space: normal; /* разрешаем переносы */
    }

    .reviews-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .review-item {
        gap: 8px;
    }

    .review-icon,
    .reviews-inline-item__icon {
        width: 28px;
        height: 28px;
    }

    .rating-score {
        font-size: 15px;
    }

    .review-time {
        font-size: 11px;
    }
}

/* =========================================
   3) МОБИЛКА (≤ 768): заголовок сверху,
      логотипы в 2 колонки по центру
========================================= */
@media (max-width: 768px) {
    .reviews-banner {
        padding: 20px 0;
    }

    .reviews-inline {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .reviews-header {
        text-align: center;
    }

    .reviews-header h2 {
        font-size: 16px;
        line-height: 1.35;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
    }

    .review-item {
        justify-content: center;
        text-align: left;
    }

    .review-icon,
    .reviews-inline-item__icon {
        width: 28px;
        height: 28px;
    }

    .rating-score {
        font-size: 15px;
    }

    .review-time {
        font-size: 11px;
    }
}

/* =========================================
   4) ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (≤ 480)
========================================= */
@media (max-width: 480px) {
    .reviews-banner {
        padding: 16px 0;
    }

    .reviews-inline {
        gap: 12px;
    }

    .reviews-header h2 {
        font-size: 14px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .review-item {
        gap: 6px;
    }

    .review-icon,
    .reviews-inline-item__icon {
        width: 24px;
        height: 24px;
    }

    .rating-score {
        font-size: 14px;
    }

    .review-time {
        font-size: 10px;
    }
}






















/* =========================================
   COMMON STYLES
========================================= */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: var(--dark);
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

/* =========================================
   SERVICES SECTION
========================================= */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(13, 42, 69, 0.8);
    line-height: 1.6;
    font-size: 16px;
}



















/* =========================================
   WHY CHOOSE US
========================================= */
/* ===== УРОВЕНЬ 1 ===== */

.why-us {
    padding: 130px 0; /* было 80px — теперь +50 сверху и +50 снизу */
}

.why-us-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.section-title {
    font-size: 44px;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
}

.section-title span {
    color: #62D0C9; /* новый цвет */
}

.section-subtitle {
    max-width: 420px;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    position: relative;
    padding-left: 20px; /* место под линию */
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #62D0C9;
    border-radius: 2px;
}

/* ===== УРОВЕНЬ 2 ===== */

.why-us-bottom {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

/* Более крупная картинка */
.why-us-image {
    flex: 1.1; /* шире */
}

.why-us-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
}

/* Текстовая часть – уже и прижата к низу */
.features-wrapper {
    flex: 1.1;
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    width: 100%;
    height: 90%;
    align-content: end;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
}


/* =========================================
   WHY CHOOSE US
========================================= */

/* Общий блок */
.why-us {
    padding: 130px 0;
    background: #ffffff; /* если не нужно — можешь убрать */
}

/* Контейнер внутри именно этого блока */
.why-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* небольшой отступ слева/справа */
}

/* ===== УРОВЕНЬ 1 (заголовок + подзаголовок) ===== */

.why-us-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.section-title {
    font-size: 44px;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    max-width: 420px;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    position: relative;
    padding-left: 20px;
    color: rgba(13, 42, 69, 0.8);
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

/* ===== УРОВЕНЬ 2 (картинка + преимущества) ===== */

.why-us-bottom {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

/* Картинка слева */
.why-us-image {
    flex: 1.1;
}

.why-us-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    display: block;
}

/* Правая часть с фичами */
.features-wrapper {
    flex: 1.1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    width: 100%;
    align-content: end;
}

/* Карточка преимущества */
.feature {
    /* можно добавить лёгкую сетку/рамку при желании */
}

.feature-icon {
    margin-bottom: 12px;
    color: var(--primary); /* все иконки в бирюзовый */
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.feature p {
    line-height: 1.6;
    margin: 0 0 10px;
    color: rgba(13, 42, 69, 0.85);
}

/* ссылка Read More */
.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
}

.read-more:hover {
    color: var(--primary);
}

/* =========================================
   WHY CHOOSE US — базовая (десктоп >1030px)
========================================= */

.why-us {
    padding: 130px 0;
    background: #ffffff;
}

.why-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* верх: заголовок + текст */
.why-us-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.section-title {
    font-size: 44px;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    max-width: 420px;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    position: relative;
    padding-left: 20px;
    color: rgba(13, 42, 69, 0.8);
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

/* низ: картинка + преимущества рядом */
.why-us-bottom {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.why-us-image {
    flex: 1.1;
}

.why-us-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    display: block;
}

.features-wrapper {
    flex: 1.1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    width: 100%;
    align-content: end;
}

.feature-icon {
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.feature p {
    line-height: 1.6;
    margin: 0 0 10px;
    color: rgba(13, 42, 69, 0.85);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
}

.read-more:hover {
    color: var(--primary);
}

/* Базовый вид карточки преимущества */
.feature {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

/* Подсветка при наведении */
.feature:hover {
    border-color: rgba(98, 208, 201, 0.6);         /* var(--primary) с прозрачностью */
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    background: #ffffff;
}

/* Чтобы иконка тоже чуть реагировала */
.feature:hover .feature-icon {
    color: var(--primary);
}

/* И ссылку можно чуть подсветить */
.feature:hover .read-more {
    color: var(--primary);
}

/* =========================================
   <= 1030px — заголовки как были, но
   картинка сверху, квадратная, фичи 2x2
========================================= */

@media (max-width: 1030px) {
    .why-us-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .why-us-image {
        width: 100%;
        max-width: 420px;
        aspect-ratio: 1 / 1;
        overflow: hidden;

        /* вот это центрирует картинку на всех ширинах < 1030 */
        margin: 0 auto;
    }

    .why-us-image img {
        width: 100%;
        height: 100%;
        border-radius: 18px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .features-wrapper {
        width: 100%;
        align-items: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 24px;
    }
}



/* =========================================
   <= 755px — заголовки друг под другом,
   картинка, затем фичи в 1 колонку
========================================= */

@media (max-width: 755px) {
    .why-us {
        padding: 80px 0;
    }

    .why-us-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        max-width: 100%;
        font-size: 16px;
        padding-left: 16px;
    }

    .why-us-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    /* ВАЖНО: квадрат + по центру */
    .why-us-image {
        width: 100%;
        max-width: 420px;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        margin: 0 auto;          /* центрируем квадрат */
    }

    .why-us-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 18px;
        display: block;
    }

    /* Преимущества в 1 колонку */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature {
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .feature:last-child {
        border-bottom: none;
    }

    .feature-icon svg {
        width: 40px;
        height: 40px;
    }

    .feature h3 {
        font-size: 18px;
    }

    .feature p {
        font-size: 14px;
    }
}


/* =========================================
   На очень узких (<480) просто всё сжимается
========================================= */

@media (max-width: 480px) {
    .why-us {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }
}















/* =========================================
   CTA SECTION
========================================= */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary);
    color: var(--dark);
}

.cta-btn.primary:hover {
    background: #79DDD7;
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary);
}

.cta-btn.secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}




















/* =========================================
   TESTIMONIALS GRID (твоя текущая версия)
========================================= */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

/* =========================================
   ВИДЕО-БЛОК (занимает 2 строки)
========================================= */

.testimonial-video-card {
    grid-row: span 2;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

/* Видео-превью / видео */
.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Плей-кнопка */
.video-placeholder {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 32px;
    z-index: 10;
}

/* ===== стрелки под видео ===== */
.video-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 18px;
}

.video-nav button {
    background: #0d2a45;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: 0.25s;
}

.video-nav button:hover {
    background: #062033;
}

/* =========================================
   Обычные отзывы
========================================= */
.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;

    justify-content: space-between; /* ← растягиваем */
}

/* Звёзды — сверху */
.stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

/* Текст — занимает всё свободное пространство */
.testimonial-text {
    flex: 1 1 auto;
    overflow-y: auto;      /* ← скролл */
    margin-bottom: 15px;
    padding-right: 5px;    /* ← чтобы не перекрывал scrollbar */
}

/* Стили текста */
.testimonial-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-style: italic;
}

/* =========================================
   Клиент (имя + аватар)
========================================= */
.client {
    flex-shrink: 0;       /* ← не растягивается и не прыгает */
    display: flex;
    align-items: center;
    gap: 12px;

    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Аватарка */
.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.client strong {
    font-size: 16px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .testimonial-video-card {
        grid-row: auto;
    }

    .video-nav {
        justify-content: center;
    }
}




























/* =========================================
   GOOGLE MAPS SECTION
========================================= */

.maps-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.maps-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;              /* боковые отступы, как у формы/ревью */
    box-sizing: border-box;
}

.maps-section .section-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

/* Обёртка сетки: карта + правая панель */
.map-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: stretch;        /* выравниваем по высоте */
    margin-top: 25px;
}

/* Карта всегда тянется на высоту правого блока */
.map-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    height: 100%;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Правая панель с адресами */
.address-selector {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.address-selector h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Кнопки адресов */
.address-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.address-btn {
    background: var(--bg-light);
    border: 2px solid transparent;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.address-btn:hover {
    background: var(--beige);
    border-color: var(--primary);
}

.address-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

/* Текущий адрес */
.current-address {
    background: var(--beige);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.current-address strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

#selected-address {
    color: rgba(13, 42, 69, 0.9);
    font-size: 14px;
    line-height: 1.4;
}

/* Доп. инфо блоки под адресом (если нужны) */
.map-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;           /* прижимаем к низу, если нужно */
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(13, 42, 69, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.info-item span:last-child {
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

/* =========================================
   НОУТБУКИ / ТАБЛЕТЫ (≤ 1024)
========================================= */
@media (max-width: 1024px) {
    .maps-section {
        padding: 60px 0;
    }

    .maps-section .section-title {
        font-size: 28px;
    }

    .map-wrapper {
        gap: 24px;
        grid-template-columns: 3fr 2fr; /* чуть больше места под карту */
    }

    .address-selector {
        padding: 24px;
    }

    .address-selector h3 {
        font-size: 22px;
    }

    .address-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* =========================================
   МОБИЛКА (≤ 768) — карта сверху, адреса снизу
========================================= */
@media (max-width: 768px) {
    .maps-section {
        padding: 50px 0;
    }

    .maps-section .section-title {
        text-align: center;
        font-size: 26px;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* карта становится фиксированной по высоте */
    .map-frame {
        height: 320px;
    }

    .address-selector {
        padding: 20px;
        height: auto;
    }

    /* Кнопки в одну строку с переносом */
    .address-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .address-btn {
        flex: 1;
        min-width: 140px;
        text-align: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .current-address {
        text-align: left;
    }

    #selected-address {
        font-size: 13px;
    }

    .map-info {
        gap: 12px;
    }

    .info-item {
        padding: 10px 0;
    }
}

/* =========================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (≤ 480)
========================================= */
@media (max-width: 480px) {
    .maps-section {
        padding: 40px 0;
    }

    .maps-section .section-title {
        font-size: 22px;
    }

    .map-frame {
        height: 260px;
    }

    .address-buttons {
        flex-direction: column;
    }

    .address-btn {
        min-width: auto;
        width: 100%;
    }

    .address-selector {
        padding: 18px;
    }

    .address-selector h3 {
        font-size: 20px;
    }
}





















/* =========================================
   FOOTER STYLES - REFERENCE DESIGN
========================================= */

.footer {
  background: #0D2A45;
  color: white;
}

.footer-main {
  padding: 50px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Бренд и контакты - БЕЗ ЛОГОТИПА */
.footer-brand {
  display: flex;
  justify-content: flex-end; /* Выравниваем контакты по правому краю */
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Стили для кнопки звонка - БЕЛЫЙ ТЕКСТ */
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white; /* Белый текст */
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border: 2px solid #62D0C9;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-phone:hover {
  background: #62D0C9;
  color: white; /* Остается белым при наведении */
  transform: translateY(-2px);
}

.phone-icon {
  font-size: 14px;
}

/* Стили для кнопки GET FREE QUOTE - БЕЗ ИЗМЕНЕНИЯ ЦВЕТОВ */
.footer-quote-btn {
  background: #62D0C9;
  color: #0D2A45;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: transform 0.3s ease; /* Только трансформация */
  border: 2px solid #62D0C9;
}

.footer-quote-btn:hover {
  transform: translateY(-2px); /* Только движение, цвета остаются */
  /* Цвета не меняются */
}

/* Колонки */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: #62D0C9;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.footer-menu a:hover {
  color: #62D0C9;
}

/* Стили для кнопок в четвертой колонке */
.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-quote-btn-column {
  background: #62D0C9;
  color: #0D2A45;
  padding: 15px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.3s ease;
  border: 2px solid #62D0C9;
}

.footer-quote-btn-column:hover {
  transform: translateY(-2px);
}

.footer-phone-column {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border: 2px solid #62D0C9;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.footer-phone-column:hover {
  background: #62D0C9;
  color: white;
  transform: translateY(-2px);
}

/* Нижняя часть футера */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  background: rgba(0,0,0,0.2);
  position: relative;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

/* Логотип в левом нижнем углу - РАЗМЕР 50x50 */
.footer-bottom-logo img.logo-img-small {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.footer-licenses {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  text-align: center;
}

.footer-bottom-right {
  text-align: right;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #62D0C9;
}

.footer-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 5px;
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-bottom-container {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  
  .footer-bottom-right {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-brand {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    justify-content: center;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-phone, .footer-quote-btn {
    justify-content: center;
  }
  
  .footer-links a {
    margin: 0 10px;
  }
  
  .footer-buttons {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-main {
    padding: 40px 0 20px;
  }
  
  .footer-bottom-container {
    grid-template-columns: 1fr;
  }
  
  .footer-buttons {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Стили для кнопки звонка в футере - как в header */
.footer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* Такой же размер как в header */
  font-weight: 600; /* Такой же вес как в header (.phone класс) */
  text-decoration: none;
  padding: 12px 26px; /* Такой же padding как phone-btn */
  border: 2px solid #62D0C9;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.footer-phone:hover {
  background: #62D0C9;
  color: white;
  transform: translateY(-2px);
}

/* Для кнопки в колонке GET MOVING */
.footer-phone-column {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* Такой же размер */
  font-weight: 600; /* Такой же вес */
  text-decoration: none;
  padding: 12px 26px; /* Такой же padding */
  border: 2px solid #62D0C9;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}

.footer-phone-column:hover {
  background: #62D0C9;
  color: white;
  transform: translateY(-2px);
}




/* скрываем стандартный заголовок страницы */
.entry-title,
.page-title,
.post-title,
.wp-block-post-title {
  display: none;
}
