/* ==========================================================================
   1. ШРИФТЫ (Общие для всего сайта)
   ========================================================================== */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. ПЕРЕМЕННЫЕ (Единая дизайн-система)
   ========================================================================== */
:root {
  --color-blue: #A0CCE4;
  --color-green: #A3B579;
  --color-dark: #313131;
  --color-gray: #F5F5F5;
  --color-gray-mid: #e2e2e2;
  --color-gray-dark: #A9A9A9;
  --color-black: #101010;
--color-red: #d9534f;
  
  --font-base: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --section-width: 1200px;
  --wrapper-width: 1000px;

  --space-main: 40px;
}

/* ==========================================================================
   3. СБРОС СТИЛЕЙ (Reset)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* Прижимаем подвал к низу экрана, если контента на странице мало */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  /*height: 100%;*/
  scroll-behavior: smooth;
  background-color: #fff;
}

body {
  display: flex;
  flex-direction: column; /* Разворачиваем body в вертикальный flex-контейнер */
  font-family: var(--font-base);
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;

}

/* Основной контент страницы занимает всё свободное место, выталкивая footer вниз */
main {
  flex-grow: 1;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  /*color: inherit;*/
  transition: color 0.3s ease; /* Плавный фокус/ховер для всех ссылок */
color: var(--color-green);
font-weight: 600;

}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   4. ГЛОБАЛЬНЫЕ СТРУКТУРНЫЕ КЛАССЫ
   ========================================================================== */
.wrapper {
  width: 100%;
  max-width: var(--wrapper-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  width: 100%;
  max-width: var(--section-width);
  margin: 0 auto;
  padding: 80px 0px 20px 0px;
}

/* ==========================================================================
   5. ШАПКА САЙТА
   ========================================================================== */
.header {
    position: relative;
    width: 600px;
    height: 60px;
    margin: 0 auto;
    z-index: 10 !important; /* Даем максимальный приоритет всему хедеру */     
}

/* Верхний ряд — зазор зафиксирован, z-index поднят */
.header-top-row-desktop {
    position: relative;
    z-index: 12; 
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 20px; 
}
.header-top-row-mobile{
  display: none;
}

.nav-panel {
    height: 100%;
    width: 100%;
    background: rgba(160, 204, 228, 0.7); 
    backdrop-filter: blur(10px); /* Эффект матового стекла (размывает то, что под шапкой) */
    -webkit-backdrop-filter: blur(10px); /* Поддержка для Safari */
    
    padding: 10px 10px 10px 30px;
    border-radius: 100px; 
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-grow: 1;                  
}

.logo-block {
    display: flex;
    align-items: center;
    width: 122px;
    height: 36px;

}
.logo-block img { 
  width: 100% 
}

.btn-call {
    background: var(--color-green); 
    color: #fff;
   padding: 10px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.burger-menu {
    /* Точно такой же полупрозрачный фон и размытие */
    background: rgba(160, 204, 228, 0.7); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: none;
    width: 80px;
    height: 100%;
    border-radius: 50px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    flex-shrink: 0;
}

/*.burger-menu:hover { background: rgba(255, 255, 255, 0.7); }*/

.burger-line {
    width: 30px;
    height: 2px;
    background-color: var(--color-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 80px; 
    left: 0; 
    width: 100%; 
    
    /* Тоже делаем полупрозрачным */
    background: rgba(160, 204, 228, 0.7);  
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 30px; 
    z-index: 11; 
    
    /* Анимация открытия */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 30px;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}


.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
/*margin-top: 25px;*/
}


.menu-list li a {
    text-decoration: none;
    color: var(--color-dark);
font-weight: 500;
font-size: 20px;
line-height: 25px;
    display: block;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;

}
.menu-list li a:hover { color: var(--color-green); }

.menu-btn-call {
  display: none;
}

/* ==========================================================================
   АКТИВНОЕ СОСТОЯНИЕ (.MENU-OPEN)
   ========================================================================== */

/* ==========================================================================
   АКТИВНОЕ СОСТОЯНИЕ (.MENU-OPEN) С ИСПРАВЛЕНИЕМ ЦЕНТРИРОВАНИЯ
   ========================================================================== */

/* Переводим контекст кнопки в относительный, чтобы линии позиционировались строго по её центру */
.header.menu-open .burger-menu {
    position: relative;
}

/* Сбрасываем флексовые отступы и выстраиваем линии строго по центру кнопки */
.header.menu-open .burger-line {
    position: absolute;
    top: calc(50% - 1.5px); /* Центрируем по вертикали (50% минус половина высоты линии 3px) */
    left: calc(50% - 15px); /* Центрируем по горизонтали (50% минус половина ширины линии 30px) */
    margin: 0;
}

/* Вторая линия просто исчезает на месте */
.header.menu-open .burger-line:nth-child(2) { 
    opacity: 0; 
}

/* Первая линия вращается ровно по центру */
.header.menu-open .burger-line:nth-child(1) { 
    transform: rotate(45deg); 
}

/* Третья линия вращается ровно по центру в обратную сторону */
.header.menu-open .burger-line:nth-child(3) { 
    transform: rotate(-45deg); 
}

/* Раскрытие шторки */
.header.menu-open .dropdown-menu {
    max-height: 300px; 
    opacity: 1;
    pointer-events: auto;
    padding: 20px 30px;
}

/* Эффект каскадного появления ссылок */
.header.menu-open .menu-list li a { opacity: 1; transform: translateY(0); }
.header.menu-open .menu-list li:nth-child(1) a { transition-delay: 0.1s; }
.header.menu-open .menu-list li:nth-child(2) a { transition-delay: 0.15s; }
.header.menu-open .menu-list li:nth-child(3) a { transition-delay: 0.2s; }
.header.menu-open .menu-list li:nth-child(4) a { transition-delay: 0.25s; }
.header.menu-open .menu-list li:nth-child(5) a { transition-delay: 0.30s; }


/* =================================================
ОБЩИЕ ЭЛЕМЕНТЫ 
================================================= */
h3{
font-weight: 500;
font-style: Medium;
font-size: 36px;
line-height: 52px;
text-align: center;
}

h4{
font-weight: 700;
font-style: Bold;
font-size: 40px;
line-height: 50px;
text-align: center;
text-transform: uppercase;
padding-bottom: var(--space-main);
}

.text-green{
  color: var(--color-green);
}

/* Кнопка */

.main-btn-link {
  text-decoration: none; /* Убирает подчеркивание текста ссылки */
  display: inline-block; /* Позволяет ссылке сжиматься под размер кнопок */
}

.main-btn-container {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;

}

.main-btn-main,
.main-btn-arrow {
    background: transparent;
    color: #fff;
    border: 2px solid var(--color-green);
    background-color: var(--color-green);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.main-btn-main {
    height: 70px;
    padding: 0 40px;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 30px;
    border-radius: 86px;
}

.main-btn-arrow {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

/* Стилизация SVG-стрелки */
.main-btn-arrow svg {
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.main-btn-container:hover .main-btn-main,
.main-btn-container:hover .main-btn-arrow {
  color: var(--color-green);  
  background-color: #fff;
    border-color: var(--color-green);
}

.main-btn-container:hover .main-btn-arrow svg {
    transform: translateX(4px);
}


/* Модификаторы цвета карточек */
.card-green { background-color: var(--color-green); }
.card-green-light {background-color: color-mix(in srgb, var(--color-green) 30%, transparent);}
.card-blue  { background-color: var(--color-blue); }
.card-blue-light {background-color: color-mix(in srgb, var(--color-blue) 30%, transparent);}
.card-dark  { background-color: var(--color-dark); }

/* КОНТАКТЫ ==================================================================*/

/* Ограничивающий контейнер по центру экрана */
.contacts-container {
  display: flex;
  justify-content: space-between; /* Разносит контент и карту по краям */
  align-items: center;            /* Центрирует их по вертикали */
  width: 100%;
}

/* 2. Левая колонка с текстом */
.contacts-info,
.contacts-map {
    width: calc(50% - 20px);
    height: 450px;
}

.contacts-container h4{
    text-align: left;
}

/* Список контактов */
.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Круглая подложка для иконок */
.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-green);
  color: var(--color-green);
  flex-shrink: 0;
}

.icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.contacts-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contacts-item a:hover {
  color: var(--color-green);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Карта заполнит блок, не растягиваясь */
}









/* ==========================================================================
   6. ПОДВАЛ САЙТА
   ========================================================================== */
.footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
}

.footer-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-logo{
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  text-align: right;
}



/* ПОПАП ============================================================ */
.popup-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Элемент становится видимым, когда добавляем класс .active */
.popup-overlay.active {
  display: flex;
}

/* Белое окно по центру */
.popup-content {
  background-color: var(--color-gray);
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-content h3{
  margin-bottom: 20px;
  font-size: 25px;
}

/* Кнопка закрытия (крестик) */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-dark);
}
.popup-close:hover { color: var(--color-red); }

/* Контейнер для всего списка заказа в попапе */
.popup-order-summary {
  border: 1px solid var(--color-gray-mid);
  border-radius: 16px;
  overflow: hidden;
  /*margin-bottom: 20px;*/
  font-family: inherit;
  background-color: #fff;
}

/* Общий стиль для каждой строчки */
.popup-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-gray-mid);
}

/* Убираем нижнюю рамку у последнего элемента перед итогом */
.popup-summary-row:nth-last-child(2) {
  border-bottom: none;
}

/* Название позиции */
.popup-row-name {
  font-weight: 400;
  max-width: 70%;
  line-height: 1.4;
}

/* Цена позиции */
.popup-row-price {
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-dark);
}

/* Стилизация строки ИТОГО (верхняя или нижняя плашка, как на фото) */
.popup-summary-row.total-row {
  background-color: color-mix(in srgb, var(--color-blue) 30%, transparent);
  border-bottom: none;
  padding: 15px 20px;
}

.popup-summary-row.total-row .popup-row-name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-dark);
}

.popup-summary-row.total-row .popup-row-price {
  font-weight: 800;
  font-size: 18px;
  color: var(--color-dark);
}
/* Убираем рамку у любого элемента, который идет прямо перед плашкой ИТОГО */
.popup-summary-row:has(+ .total-row) {
  border-bottom: none;
}

.popup-content .main-btn-container{
  width: 100%;
  justify-content: center;
}

/* Скрытое поле формы */
.form_u_midname {
    position: absolute;
    left: -5000px;
    /* Уводим далеко влево */
    top: -5000px;
    height: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
}


/* Текст согласия */
.form-policy label {
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
    text-align: justify;
}


/* поле статуса */
.form-status {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
   display: block;             /* Элемент всегда есть в структуре */
  min-height: 20px;           /* Фиксированная высота одной текстовой строки */
  line-height: 20px;          /* Выравнивание текста внутри зарезервированной зоны */
  visibility: hidden;         /* Скрываем текст и цвета, сохраняя физическое место блока */
  opacity: 0;
  transition: opacity 0.2s ease-in-out; /* Плавное проявление текста */
}

/* Стили для разных статусов (показываются через JS) */
.form-status.success {
  visibility: visible;        /* Делаем видимым */
  opacity: 1;
  color: var(--color-green);             /* Зеленый текст успеха */
}

.form-status.error {
  visibility: visible;
  opacity: 1;
  color: var(--color-red);             /* Красный текст ошибки */
}

.form-status.processing {
  visibility: visible;
  opacity: 1;
  color: var(--color-gray-dark);             /* Серый текст в процессе */
}


.form-group {
  display: flex;
  flex-direction: column;
   margin-bottom: 20px;
  gap: 8px;
}

/* Сами поля ввода (чисто белые внутри) */
/* Объединяем стили для обычных инпутов и текстового поля textarea */
.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--color-gray-mid);
  border-radius: 12px;       
  background-color: #fff;   
  outline: none;               /* Убираем стандартную синюю обводку браузера */
  font-family: inherit;        /* Наследуем шрифт проекта*/
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Специфичные настройки только для textarea */
.form-group textarea {
  min-height: 120px;           /* Высота, рассчитанная ровно на 3 полные строки с отступами */
  line-height: 1.5;            /* Комфортное расстояние между строками */
  resize: none;                /* Запрещаем растягивать вручную */
}


/* Эффект оливковой подсветки при фокусе (клике) на любое поле */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gray-dark);      
}


/* Эффект при клике на поле */
.form-group input:focus {
  border-color: var(--color-gray-dark);
}

/* 4. Чекбокс и текст согласия */
.form-policy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

/* Квадратный белый чекбокс */
.form-policy input[type="checkbox"] {
  width: 24px;                /* Крупный квадрат как на скриншоте */
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--color-green);
  background-color: #fff;
  accent-color: var(--color-green);      /* Цвет галочки внутри */
  cursor: pointer;
  flex-shrink: 0;
}


#cookie_note {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 100;
    bottom: 25px;
    left: 50%;
    width: calc(100% - 60px);
    max-width: 750px;
    transform: translateX(-50%);
    padding: 20px;
    background-color: white;
    border-radius: 25px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note p {
    padding-right: 10px;
    margin: 0;
    font-size: 0.8rem;
    text-align: left;
}

#cookie_note a {
color: var(--color-green);
font-weight: 600;
}

.cookie_accept_btn {
    height: 50px;
}

#cookie_note.show {
    display: flex;
}

.btn-up {
    position: fixed;
    background: #fff;
    right: 40px;
    bottom: 40px;
    border-radius: 18px;
    
    /* Полностью прозрачная рамка на основе вашей переменной */
    border: 2px solid color-mix(in srgb, var(--color-blue) 0%, transparent);
    
    /* Тень: 50% вашей переменной цвета, остальное — прозрачность */
    box-shadow: 0px 0px 10px 2px color-mix(in srgb, var(--color-blue) 50%, transparent);
    
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.btn-up::before {
    content: "";
    width: 30px;
    height: 30px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
    background-image: url('../img/ico_btn_up.svg');
}


.btn-up_hide {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn-up:hover {
        border: 2px solid var(--color-blue);
    }
}


/* АНИМАЦИЯ
class="anim-fade" — плавное проявление на месте (без сдвигов)
class="anim-fade-left" — появление слева
class="anim-fade-right" — появление справа.
class="anim-fade-up" — появление снизу.
*/

/* Базовые параметры: все блоки изначально полностью прозрачны */
.anim-fade,
.anim-fade-left,
.anim-fade-right,
.anim-fade-up {
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.25, 1, 0.5, 1), transform 2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

/* Стартовые позиции смещения */
.anim-fade-left  { transform: translateX(-80px); }
.anim-fade-right { transform: translateX(80px);  }
.anim-fade-up    { transform: translateY(60px);  }
/* Класс .anim-fade остается без смещения (проявление на месте) */

/* Финальное состояние при прокрутке: прозрачность становится 1, смещение уходит */
.anim-fade.visible,
.anim-fade-left.visible,
.anim-fade-right.visible,
.anim-fade-up.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Оптимизация для доступности */
@media (prefers-reduced-motion: reduce) {
  .anim-fade,
  .anim-fade-left,
  .anim-fade-right,
  .anim-fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1200px) {

:root {
  --space-main: 34px;
}

body {
  font-size: 18px;
}

section {
  padding: 70px 0px 18px 0px;
}

.menu-list li a {
font-size: 18px;
line-height: 21px;
}

h3{
font-size: 30px;
line-height: 44px;
}

h4{
font-size: 34px;
line-height: 43px;
}

.main-btn-container {
    margin-top: 40px;
}

.main-btn-main {
    height: 60px;
    font-size: 26px;
}

.main-btn-arrow {
    width: 60px;
    height: 60px;
}

.main-btn-arrow svg {
    width: 30px;
    height: 30px;
}

.contacts-info,
.contacts-map {
    height: 380px;
}

.icon-wrapper {
  width: 34px;
  height: 34px;
}

.icon-wrapper svg {
  width: 18px;
  height: 18px;
}

.popup-content h3{
  font-size: 21px;
}

.popup-summary-row.total-row .popup-row-price {
  font-size: 15px;
}

.form-group input, 
.form-group textarea {
  font-size: 15px;
}

.form-policy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
}

@media (max-width: 1024px) {
:root {
  --space-main: 30px;
}

body {
  font-size: 16px;
}

section {
  padding: 60px 0px 20px 0px;
}

.menu-list li a {
font-size: 16px;
line-height: 18px;
}

h3{
font-size: 26px;
line-height: 37px;
}

h4{
font-size: 29px;
line-height: 36px;
}

.main-btn-container {
    margin-top: 30px;
}

.main-btn-main {
    height: 50px;
    padding: 0 25px;
    font-size: 21px;
}

.main-btn-arrow {
    width: 50px;
    height: 50px;
}

.main-btn-arrow svg {
    width: 26px;
    height: 26px;
}

.main-btn-container:hover .main-btn-arrow svg {
    transform: translateX(3px);
}

.contacts-info,
.contacts-map {
    width: calc(50% - 10px);
    height: 450px;
}
.contacts-list {
  gap: 20px;
}

.contacts-item p{
  font-size: 15px;
}

.footer-logo img{
  width: 104px;
  height: 31px;
}

.popup-content h3{
  font-size: 18px;
}

.form-group input, 
.form-group textarea {
  font-size: 15px;
}
}

@media (max-width: 768px) {

:root {
  --space-main: 25px;
}

body {
  font-size: 16px;
}

section {
  padding: 50px 0px 20px 0px;
}

.header {
    width: 100%;
    max-width: 480px;
    height: 50px; 
}
.header-top-row-desktop {
  display: none;
}

.header-top-row-mobile{
position: relative;
    z-index: 12; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-block {
    width: 90px;
    height: 27px;

}
.logo-block img { 
  width: 100% 
}

.burger-menu {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    width: 40px;
    height: 40px;
}

.dropdown-menu {
    top: 60px; 
}

.menu-list li a {
font-size: 15px;
line-height: 16px;
}
.menu-btn-call {
  display: flex;
  justify-content: center;
  width: 100%;
}
.btn-call {
  margin-top: 20px;
   padding: 5px 20px;
    border-radius: 50px;
    font-size: 16px;
      background: var(--color-green) !important;
      color: #fff !important;
      box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); 
}

h3{
font-size: 22px;
line-height: 31px;
}

h4{
font-size: 30px;
line-height: 100%;
}

.main-btn-main {
    height: 45px;
    font-size: 19px;
}

.main-btn-arrow {
    width: 45px;
    height: 45px;
}

.main-btn-arrow svg {
    width: 22px;
    height: 22px;
}

.contacts-container {
  flex-direction: column;
}

.contacts-info,
.contacts-map {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.contacts-list {
  gap: 15px;
  margin-bottom: 30px;
}

.map-placeholder{
  height: 400px;
}

.footer {
  padding: 30px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  align-items: center;
margin-bottom: 20px;
}

.footer-links {
  width: 100%;
align-items: center;
text-align: center;
}

.footer-links p {
  margin-bottom: 10px;
}
.popup-content {
  padding: 20px;
  max-width: 460px;
}

.popup-content h3{
  margin-bottom: 15px;
  font-size: 16px;
}

.popup-summary-row {
  padding: 5px 20px;
  font-size: 13px;
}

.popup-summary-row.total-row {
  padding: 10px 20px;
}

.form-group input, 
.form-group textarea {
  padding: 10px 20px;
  font-size: 14px;
}

.form-group textarea {
  min-height: 100px;
}

/* 4. Чекбокс и текст согласия */
.form-policy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.form-policy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

    #cookie_note {
        display: none;
        flex-direction: column !important;        
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        max-width: calc(100vw - 40px) !important;
        transform: none !important;      
        
        /* Жестко поднимаем элемент и сбрасываем фиксированную высоту */
        bottom: 25px !important; 
        height: auto !important;
        min-height: min-content !important;
        
        /* Изоляция для мобильных браузеров */
        position: fixed !important;
        z-index: 99999 !important;
        
        padding: 20px !important;
    }





    #cookie_note p {
        padding-right: 0px;
        text-align: center;
    }

    .cookie_accept_btn {
        margin-top: 20px;
    }

}

@media (max-width: 480px) {

body {
  font-size: 15px;
}

.wrapper {
  padding: 0 20px;
}

section {
  padding: 40px 0px 15px 0px;
}

.header {
    width: 100%;
    max-width: 480px;
    height: 45px; 
}

h3{
font-size: 18px;
line-height: 26px;
}

h4{
font-size: 30px;
line-height: 100%;
}

.main-btn-container {
    margin-top: 30px;
}

.main-btn-main {
    height: 40px;
    padding: 0 30px;
    font-size: 16px;
}

.main-btn-arrow {
    width: 40px;
    height: 40px;
}

.main-btn-arrow svg {
    width: 20px;
    height: 20px;
}

.contacts-info,
.contacts-map {
    max-width: 350px;
}

.contacts-info h4{
  margin-top: 20px;
}

.contacts-list {
  gap: 10px;
  margin-bottom: 30px;
}

.map-placeholder{
  height: 350px;
}

.footer-links {
font-size: 12px;
}

.popup-close {
  top: 0px;
  right: 10px;
}

.popup-content {
  width: calc(100% - 20px);
}

.popup-content h3{
  margin-bottom: 15px;
  font-size: 16px;
}

.popup-summary-row {
  padding: 5px 20px;
  font-size: 13px;
}

.popup-summary-row.total-row {
  padding: 10px 20px;
}

.form-group {
   margin-bottom: 15px;
}

.form-group input, 
.form-group textarea {
  padding: 10px 20px;
  font-size: 14px;
}

.form-group textarea {
  min-height: 100px;
}

/* 4. Чекбокс и текст согласия */
.form-policy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.form-policy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

    .btn-up {
        right: 10px;
        bottom: 20px;
        border-radius: 8px;
        width: 40px;
        height: 40px;
    }

    .btn-up::before {
        width: 25px;
        height: 25px;
    }

}




