/* ========================
   ОБЩИЕ СТИЛИ
========================= */
* {
    /*margin: 0;*/
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #050d26;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* ========================
   ШАПКА САЙТА (Десктоп по умолчанию)
========================= */
.site-header {
   /* display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0rem;
    background: #050d26;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Затемняющий фон для мобильного меню */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.site-header.scrolled {
    background: #050d26;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.header-inner {
    display: flex; /* Располагаем дочерние элементы в ряд */
    align-items: center; /* Центрируем по вертикали */
    justify-content: space-between; /* Логотип слева, меню и кнопка справа */
    width: 100%;
    gap: 20px; /* Отступ между элементами */
    flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
}
.logo img{height:34px;width:127px;object-fit:contain;}
.logo img:hover {
    transform: scale(1.05);
}
/* Бургер на десктопе по умолчанию СКРЫТ */
.burger {
    display: none;
}
.main-nav {
    flex-grow: 0; /* Меню занимает только ширину своих пунктов */
    min-width: 0; /* Позволяет меню сжиматься */
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    flex-wrap: nowrap;
}
.nav-menu li {
    margin: 0;
}
.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.nav-menu a:hover {
    color: #ccc;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.header-right .social-icons {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.header-right .social-icons a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0 5px;
    line-height: 1;
    font-size: 0;
}
.header-right .social-icons img {
    width: 24px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.header-right .social-icons a:hover img {
    transform: scale(1.1);
}
.phone {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
.btn-header {
    background: #e9007a;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-header:hover {
    background: #ff2a95;
}


.btnWA-header {
    background: #e9007a;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btnWA-header:hover {
    background: #ff2a95;
}

/* ========================
   ГЕРОЙ
========================= */
.hero {
    height: 780px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    position: relative;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10,27,83,1) 0%, rgba(10,27,83,0.85) 40%, rgba(10,27,83,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
}

/* ========================
   ТЕКСТОВЫЕ БЛОКИ (редактируемые)
========================= */
.editable-text {
    padding: 3rem 0;
    background: #243364;
    color: #ffffff;
}

.editable-text .container {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}
.editable-text h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #222;
}
/* ========================
   ПРЕИМУЩЕСТВА
========================= */
.advantages {
    padding: 5rem 0;
    background: #050d26;
    color: #ffffff;
}

.advantages h2 {
   
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #ffffff;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgb(28 35 62 / 98%);
    padding: 1.5rem 1.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}


.adv-item .adv-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.adv-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #000;
}
/* ========================
   НОМЕРНОЙ ФОНД / КАТАЛОГ
========================= */
.rooms-preview,
.rooms-catalog,
.apartments-catalog {
    padding: 0 0 2rem 0;
    background: #fff;
}
.rooms-preview h2,
.rooms-catalog h2,
.apartments-catalog h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #222;
}
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.room-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.room-card:hover {
    transform: translateY(-5px);
}
.room-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.room-card h3 {
    padding: 0.8rem;
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
}
.room-card p {
    padding: 0 0.8rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}
.room-card .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.room-card .btn:hover {
    background-color: #ff2a95;
}

/* ========================
   ОТЗЫВЫ
========================= */
.reviews {
    padding: 0 0 2rem 0;
    background: #f8f8f8;
}
.reviews h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #222;
}
.sw-app {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* ========================
   КОНТАКТЫ
========================= */
.contacts {
    padding: 3rem 0 2rem 0;
    background: #050d26;
    color: #ffffff;
}

.contacts .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}
.map-container {
    flex: 1 1 500px;
    min-width: 300px;
    border-radius: 8px;  
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     isolation: isolate; 
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: inherit; 
}
.contact-info {
    flex: 1 1 400px;
    min-width: 300px;
    text-align: center;
    padding: 1rem;
}
.contact-info .logo {
    margin-bottom: 1.5rem;
}
.contact-info .logo img{height:34px;width:127px;object-fit:contain;}
.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}
.phone-big {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0.5rem 0;
}
.phone-big a {
    color: inherit;
    text-decoration: none;
}
.social img {
    width: 32px;
    height: auto;
    margin: 0 10px;
    transition: transform 0.3s ease;
}
.social img:hover {
    transform: scale(1.1);
}
/* ========================
   РАЗДЕЛИТЕЛЬ (как Tilda T029)
========================= */
.t029__linewrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B1B1E;
    padding: 2px 0;
}
.t029__opacity {
    flex: 1;
    height: 1px;
}
.t029__opacity_left {
    background-image: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}
.t029__opacity_right {
    background-image: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}
.t-divider.t029__line {
    width: 100%;
    max-width: 700px;
    height: 1px;
    background: #ffffff;
    border: none;
}
/* ========================
   ФУТЕР
========================= */
.site-footer {
    background: #050d26;
    color: #ffffff;
    padding: 0 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}
/* ========================
   МОДАЛЬНОЕ ОКНО
========================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalopen 0.4s;
}
@keyframes modalopen {
    from {opacity: 0; transform: translateY(-60px);}
    to {opacity: 1; transform: translateY(0);}
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}
.close:hover,
.close:focus {
    color: #000;
}
.modal-content form {
    margin-top: 20px;
}
.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.modal-content input[type="text"],
.modal-content input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.modal-content .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content .required {
    color: red;
}
/* ========================
   СТРАНИЦА ОТДЕЛЬНОГО НОМЕРА / КОМНАТЫ
========================= */
.room-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
/* Блок заголовка на странице отдельного номера/комнаты */
.room-hero,
.apartment-hero {
    padding-top: 30px; /* Отступ сверху, учитывая высоту шапки */
    padding-bottom: 2rem;
    text-align: center;
    background-color: #f5f5f5;
    margin-bottom: 2rem;
    border-radius: 8px;
}
.room-hero h1,
.apartment-hero h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #333;
}
/* Контейнер для галереи и информации */
.room-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
/* Левая колонка: изображения */
.room-gallery-section {
    flex: 1 1 500px;
    min-width: 300px;
}
/* Контейнер основного изображения */
.room-main-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}
.room-main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Миниатюры галереи */
.room-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}
.room-thumbnails .gallery-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}
.room-thumbnails .gallery-thumb:hover {
    border-color: #ccc;
}
.room-thumbnails .gallery-thumb.active {
    border-color: #202f2c;
    opacity: 0.8;
}
/* Правая колонка: описание, характеристики, бронирование */
.room-content-section {
    flex: 2 1 400px;
    min-width: 300px;
}
.room-content-section h2,
.room-content-section h3 {
    color: #222;
}
.room-features ul {
    list-style: none;
    padding-left: 0;
}
.room-features li {
    margin-bottom: 0.5rem;
}
/* ========================
   СТИЛИ ДЛЯ СТРАНИЦ КАТАЛОГОВ С УМЕНЬШЕННЫМ HERO
========================= */
body.page-template-page-rooms-php .hero,
body.page-template-page-apartments-php .hero,
body.rooms-page .hero,
body.apartments-page .hero {
    height: 780px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    position: relative;
    margin-top: 0;
}

/* ========================
   АДАПТИВНОСТЬ
========================= */
@media (max-width: 1200px) {
    .room-container {
        flex-direction: column;
    }
    .room-gallery-section,
    .room-content-section {
        flex: 1 1 auto;
        min-width: unset;
    }
    .room-main-image-container {
        height: 350px;
    }
}
@media (max-width: 992px) {
    .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

    .hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
}

    .adv-grid,
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .contacts .container,
    .reviews .container {
        flex-direction: column;
        align-items: center;
    }
    .map-container {
        width: 100%;
    }
    .contact-info {
        width: 100%;
    }
    .phone-big {
        font-size: 1.8rem;
    }
    .room-main-image-container {
        height: 300px;
    }
    .room-thumbnails .gallery-thumb {
        width: 70px;
        height: 70px;
    }
}
/* ========================
   МОБИЛЬНАЯ ВЕРСИЯ (до 768px)
========================= */
@media (max-width: 768px) {
    /* Основной контейнер шапки для мобильных */
    .site-header {
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0rem;
    background: #050d26;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}


    /* Внутренний контейнер */
    .header-inner {
        /* display: flex; по умолчанию */
        /* Убираем flex-direction: column; */
        flex-wrap: wrap; /* Позволяет элементам переноситься на новую строку */
        align-items: center; /* Центрирует элементы по высоте в строке */
        width: 100%;
        gap: 1rem; /* Отступы между элементами в строке и между строками */
        /* Добавляем разделительную линию после строки логотипа/бургера */
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Логотип */
    .logo {
        order: 1;
        /* flex-grow: 1; */ /* Занимает доступное пространство, толкая бургер вправо */
       /* margin-right: auto;*/ /* Автоматический отступ справа толкает .logo влево */
    }
    .logo img{height:50px;width:250px;object-fit:contain;}

    /* Бургер-меню */
    .burger {
        display: flex; /* Показываем бургер */
        order: 2;
        margin-left: auto; /* Автоматический отступ слева толкает .burger вправо */
        margin-bottom: 0; /* Убираем нижний отступ, так как он в строке */
    }
    /* Стили для бургера */
    .burger {
        flex-direction: column;
        cursor: pointer;
        width: 30px;
        height: 20px;
        justify-content: space-between;
        z-index: 1001;
    }
    .burger span {
        width: 100%;
        height: 3px;
        background-color: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    /* Анимация бургера при открытии меню (опционально) */
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Основное меню */
    .main-nav {
        order: 3;
        display: none;
        width: 100%; /* Занимает всю ширину новой строки */
        background-color: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон меню */
        border-radius: 8px;
        padding: 1rem 0;
        margin-top: 1rem; /* Отступ сверху от строки логотипа/бургера */
        flex-basis: 100%; /* Занимает всю ширину новой строки (альтернатива width: 100%) */
    }
    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column; /* Вертикальное меню */
        align-items: center; /* Центрируем пункты меню */
        gap: 1rem; /* Отступы между пунктами */
        margin-bottom: 1rem; /* Отступ снизу перед .header-right */
    }
    .nav-menu a {
        font-size: 1.1rem; /* Размер шрифта пунктов меню */
        padding: 0.5rem 1rem; /* Внутренние отступы пунктов меню */
    }

    /* Правая часть шапки */
    .header-right {
        order: 4;
        display: none; /* Скрываем по умолчанию */
        flex-direction: column; /* Вертикальное расположение */
        align-items: center; /* Центрируем элементы */
        gap: 1rem; /* Отступы между элементами */
        width: 100%; /* Занимает всю ширину новой строки */
        margin-top: 1rem; /* Отступ сверху */
        /* Убираем фон, паддинги и бордер, чтобы не "выпирал" */
        background: transparent; /* Прозрачный фон */
        padding: 1rem 0; /* Оставляем только вертикальный padding для внутренних элементов */
        border-radius: 0; /* Без скругления */
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая линия сверху для отделения */
        flex-basis: 100%; /* Занимает всю ширину новой строки */
    }
    .header-right.active {
         display: flex; /* Показываем, когда активно */
    }

    /* Иконки социальных сетей */
    .social-icons {
        display: flex; /* Отображаем как flex */
        justify-content: center; /* Центрируем иконки */
        gap: 1.5rem; /* Отступы между иконками */
    }
    .social-icons img {
        width: 30px; /* Размер иконок */
        height: auto;
    }

    /* Телефон */
    .phone {
        font-size: 1.2rem; /* Размер шрифта телефона */
        margin: 0; /* Убираем возможные отступы */
        color: #fff; /* Убеждаемся, что цвет белый */
        text-decoration: none; /* Убираем подчеркивание */
    }

    /* Кнопка "Забронировать" */
    .btn-header {
    background: #e9007a;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}



    /* Адаптация остальных стилей под мобильные */
    .hero {
    height: 780px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    position: relative;
    margin-top: 0;
}

    .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

    .hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
}

    .adv-grid,
    .room-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 1rem;
    }
    .room-card .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .phone-big {
        font-size: 1.6rem;
    }
    .social img {
        width: 28px;
        margin: 0 8px;
    }
    .room-hero,
    .apartment-hero {
        padding-top: 30px; /* Меньше отступ на мобильных */
        padding-bottom: 1.5rem;
    }
    .room-hero h1,
    .apartment-hero h1 {
        font-size: 2rem;
    }
    .room-main-image-container {
        height: 250px;
    }
    .room-thumbnails .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
    /* hero для разных шаблонов на мобиле (если нужно) */
    body.page-template-page-rooms-php .hero,
    body.page-template-page-apartments-php .hero,
    body.rooms-page .hero,
    body.apartments-page .hero {
        height: 780px;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        color: #ffffff;
        position: relative;
        margin-top: 0;
    }

    /* Мобильная адаптация вертикальной галереи в блоке "Обо мне" */
    .about-vertical-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .about-vertical-gallery-item img,
    .about-vertical-gallery-img {
        width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: cover;
        border-radius: 8px;
    }
}

rooms-page .hero,
    body.apartments-page .hero {
    height: 780px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    position: relative;
    margin-top: 0;
}


/* ========================
   ОБЩИЕ СТИЛИ КНОПОК (.btn)
========================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff2a95;
}

.modal-content .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content .required {
    color: red;
}
/* ========================
   ИСПРАВЛЕНИЕ: Принудительно убираем подчеркивание у заголовков комнат
========================= */
.apartments-catalog .room-grid .room-card h3 {
    display: inline-block;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border: none !important;
    outline: none !important;
    position: relative;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    margin: 0;
    line-height: 1.2;
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
}
.apartments-catalog .room-grid .room-card h3::before,
.apartments-catalog .room-grid .room-card h3::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    background: none !important;
}
/* ========================
   ИСПРАВЛЕНИЕ: Принудительно убираем подчеркивание у описаний комнат
========================= */
.apartments-catalog .room-card p {
    display: inline-block;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border: none !important;
    outline: none !important;
    position: relative;
    width: 100%;
    text-align: center;
    padding: 0 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}
.apartments-catalog .room-card p a,
.apartments-catalog .room-card p a:link,
.apartments-catalog .room-card p a:visited,
.apartments-catalog .room-card p a:hover,
.apartments-catalog .room-card p a:active,
.apartments-catalog .room-card p a:focus {
    text-decoration: none !important;
    color: inherit !important;
    border: none !important;
    outline: none !important;
}
/* ========================
   СТИЛИ ДЛЯ НОМЕРНОГО ФОНДА НА ГЛАВНОЙ (2 карточки)
========================= */
/* Стили для сетки номеров ТОЛЬКО на главной странице в секции "Номерной фонд" */
.rooms-preview .room-grid {
    display: flex;
    gap: 2rem; /* Отступ между карточками */
    flex-wrap: wrap; /* Позволяем перенос на новую строку, если нужно */
    justify-content: center; /* Центрируем карточки */
}

.rooms-preview .room-grid .room-card {
    flex: 1 1 calc(50% - 1rem); /* Растягиваем, базовая ширина 50% минус половина отступа */
    min-width: 300px; /* Минимальная ширина для адаптивности на маленьких экранах */
    margin: 0; /* Убираем возможные внешние отступы */
}

/* ===== HERO SLIDER ===== */
.hero {
    height: 780px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    position: relative;
    margin-top: 0;
}

.hero-slides-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active {
    background: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10,27,83,1) 0%, rgba(10,27,83,0.85) 40%, rgba(10,27,83,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}


/* ==== Кастомизация виджета бронирования (ReservationSteps) ==== */

/* Бейдж на слайдах комнат */
.room__slider[data-badge]::before {
    background-color: #1B1B1E !important; /* твой цвет */
    color: #fff !important;              /* цвет текста на бейдже */
}

/* Заголовки комнат */
.room__title {
    font-family: "Proxima Nova", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    color: #1B1B1E !important;
}

/* Кнопки бронирования */
.room__btn, 
.booking__btn, 
button[class*="btn"] {
    background-color: #e9007a;
    color: #ffffff;
}


.room__btn:hover, 
.booking__btn:hover, 
button[class*="btn"]:hover {
    background-color: #ff2a95;
}


/* Цены */
.room__price, 
.booking__price {
    color: #1B1B1E !important;
    font-weight: 700 !important;
}

/* Подписи (иконки, метки) */
.room__info, 
.room__features, 
.booking__label {
    color: #333 !important;
    font-size: 14px !important;
}

/* ==== ВИДЕО БЛОК === */
.video-gallery-block h2 {

    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #ffffff;
}


.video-gallery-block  {
    padding: 3rem 0;
    background: #243364;
    color: #ffffff;
}


.video-gallery-block .video-block {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-gallery-block .video-block video {
    display: block;          /* убираем лишние inline-отступы */
    width: 100%;             /* растягиваем по ширине контейнера */
    height: 100%;            /* растягиваем по высоте контейнера */
    max-height: 600px;       /* ограничение высоты */
    object-fit: cover;       /* видео заполняет контейнер */
    border-radius: inherit;  /* скругление от контейнера */
    box-shadow: inherit;
}


/* Галерея фото */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
.booking-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

#booking .catalog-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #1B1B1E;
    font-weight: 600;
}

/* Rooms button width tweak */
.room-actions { display:flex; justify-content:center; }
.room-actions .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px){ .room-actions .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
 }

/* Footer map: full-width + left overlay */
.map-overlay-wrap{ position:relative; width:100%; border-radius:12px; overflow:hidden; }
.map-embed{ width:100%; display:block; }
.map-embed > div{ width:100% !important; height:500px !important; }
.map-embed iframe{ width:100% !important; height:500px !important; display:block; border:0; }

.map-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: #333333b3 !important;
    color: #fff;
    padding: 24px;
    backdrop-filter: blur(2px);
}

.map-card .logo img{height:34px;width:127px;object-fit:contain;}
@media (max-width: 900px){ 
.map-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: #333333b3 !important;
    color: #fff;
    padding: 24px;
    backdrop-filter: blur(2px);
}
 }

/* Global footer map consistency */
.map-overlay-wrap{ position:relative; width:100%; border-radius:12px; overflow:hidden; }
.map-embed{ width:100%; display:block; }
.map-embed > div{ width:100% !important; height:500px !important; } /* Yandex wrapper */
.map-embed iframe{ width:100% !important; height:500px !important; display:block; border:0; }

.map-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: #333333b3 !important;
    color: #fff;
    padding: 24px;
    backdrop-filter: blur(2px);
}

.map-card .logo img{height:34px;width:127px;object-fit:contain;}
@media (max-width: 900px){ 
.map-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: #333333b3 !important;
    color: #fff;
    padding: 24px;
    backdrop-filter: blur(2px);
}
 }

/* Hero slider: video fit */
.hero-slide-video { position: relative; overflow: hidden; }



.hero-slide-video video {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

.hero-slide-video::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}


/* === Hero video darkening (container overlay) === */
.hero-slide.has-video { position: relative !important; overflow: hidden; }
.hero-slide.has-video video { display:block; width:100%; height:auto; position:relative; z-index:1; }
.hero-slide.has-video::after {
    content:""; position:absolute; inset:0;
    background: rgba(0,0,0,0.45);
    pointer-events:none; z-index:2;
}



/* --- Mobile fix: place map-card at the bottom --- */
@media (max-width: 768px) {
    .map-card {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        left: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        margin-top: 12px;
        padding: 16px !important;
        border-radius: 12px;
    }

    .footer-map {
        display: flex;
        flex-direction: column;
    }

    .footer-map iframe,
    .footer-map .map-container {
        width: 100% !important;
        height: 300px !important;
    }
}


/* === Reveal-on-scroll animation === */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* === Apartments grid polish === */
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 1024px){ .rooms-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .rooms-grid { grid-template-columns: 1fr; } }

.room-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow: 0 6px 24px rgba(0,0,0,.08); display:flex; flex-direction:column; height:100%; }
.room-thumb img { width:100%; height:240px; object-fit:cover; display:block; }
@media (max-width: 640px){ .room-thumb img { height:200px; } }
.room-info { padding:16px; display:flex; flex-direction:column; gap:10px; flex: 1 1 auto; }
.room-title a { color:#111; text-decoration:none; }
.room-title a:hover { opacity:.85; }
.room-excerpt{ font-size:.92rem; color:#444; }
.room-actions { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 0; }
.room-actions .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e9007a;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
 /* no max-width */

/* Advantages icons bigger */
.advantages .adv-icon{width: 80px;height: 80px;object-fit:contain}
@media (max-width: 560px){ .advantages .adv-icon{width:80px;height:80px} }


/* Advantages grid balance */
.advantages .adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 992px){ .advantages .adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
 }
@media (max-width: 560px){ .advantages .adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
 }


/* About section width to container */
.editable-text .container{max-width:1200px;margin:0 auto;}
.editable-text .content, .editable-text .text, .editable-text p{max-width:100%}


/* Footer map card centering */
.map-card{display:flex;flex-direction:column;justify-content:center;align-items: center}
@media (max-width: 768px){
  .map-card{align-items:center;text-align:center}
}


.advantages .adv-item .adv-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}



/* --- Force vertical centering in advantages cards --- */
.advantages .adv-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}


.advantages .adv-item > div{ align-self: center; }
.advantages .adv-item .adv-icon{ margin-top: 0; }

/* enforce icon size */
.advantages .adv-icon{ width: 80px !important; height: 80px !important; }

.adv-item, .adv-item p, .adv-item strong, .adv-item span { color: #ffffff; }


h1, h2, h3, h4, h5, h6 { color: #ffffff; }

.about-section .section-title {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #ffffff;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.about-photo img {
    max-width: 340px;
    height: auto;
    display: block;
    border-radius: 30px;
}


.about-text {
    flex: 1 1 300px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    background: rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .about-photo {
        width: 100%;
    }
    .about-photo img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .about-text {
        width: 100%;
    }
}

.contacts a, .advantages a, .video-gallery-block a { color: #ffffff; text-decoration: underline; }

.contacts .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
}
.contacts-left {
    flex: 1 1 320px;
}
.contacts-right {
    flex: 1 1 380px;
}
@media (max-width: 768px) {
    .contacts .container {
        flex-direction: column;
    }
}

.contacts {
    padding: 4rem 0 0rem 0;
}
.contacts-left {
    flex: 1 1 320px;
}
.contacts-right {
    flex: 1 1 420px;
    display: flex;
    justify-content: flex-end;
}
.contact-card {
    width: 100%;
    max-width: 680px;
    padding: 2rem;
    border-radius: 32px;
    background: rgba(9, 22, 70, 0.9);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}
.contact-form .form-group {
    margin-bottom: 1rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    opacity: 0.8;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(20, 38, 92, 0.9);
    color: #ffffff;
    font: inherit;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e9007a;
}
.contact-form .btn-wide {
    width: 100%;
    border-radius: 30px;
 
}
.form-note {
    margin-top: 0.75rem;
    font-size: 0.75rem !important;
    opacity: 0.75;
}
@media (max-width: 768px) {
    .contacts-right {
        justify-content: flex-start;
    }
}

.section-intro {
    max-width: 760px;
    margin-bottom: 2.5rem;
}
.section-intro .section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.6rem;
}
.section-title-lg {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.section-lead {
    font-size: 1.02rem;
    max-width: 740px;
}
.section-intro-center {
    margin-right: auto;
}
.section-intro-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.adv-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.adv-copy h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}
.adv-copy p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.results-section {
    padding: 5rem 0 4rem 0;
    background: #050d26;
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.result-card {
    background: rgb(28 35 62 / 98%);
    border-radius: 30px;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.result-card h3 {
    margin: 0 0 0.5rem 0;
}
.result-card p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}
.results-cta {
    margin-top: 2.5rem;
    text-align: center;
}
.results-cta .btn {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 0.98rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.contacts-left .section-kicker {
    margin-bottom: 0.6rem;
}
.contacts-left .section-title-lg {
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 0 1.25rem 0;
    background: #050d26;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
}
.footer-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
}
.footer-links a:first-child {
    margin-left: 0;
}
.footer-copy {
    color: rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 520px;
        padding: 6rem 0 3rem 0;
    }
    .hero-content {
        padding: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .about-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    .about-photo img {
        max-width: 260px;
    }
    .advantages {
        padding: 3.5rem 0;
    }
    .results-section {
        padding: 3.5rem 0 3rem 0;
    }
    .contacts .container {
        flex-direction: column;
    }
    .contacts-right {
        justify-content: flex-start;
        width: 100%;
    }
    .contact-card {
        max-width: 100%;
    }
}


/* --- Правки: выравнивание заголовков секций по левому краю --- */
.about-section .section-title {
    text-align: left;
}

.section-intro-center {
    text-align: left;
}

/* --- Дополнительная вертикальная галерея в блоке "Обо мне" --- */
.about-vertical-gallery {
    margin-top: 2rem;
}

.about-vertical-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-vertical-gallery-item img,
.about-vertical-gallery-img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* ==== Ховер-эффект для галереи в блоке МЕДИА ==== */
.gallery-grid .gallery-item .gallery-img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.gallery-grid .gallery-item:hover .gallery-img,
.gallery-grid .gallery-item:focus-visible .gallery-img {
    transform: scale(1.03);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
/* Убираем задержку наведения у галереи МЕДИА */
.gallery-grid .gallery-item .gallery-img {
    transition-delay: 0s !important;
}

.gallery-grid .gallery-item {
    transition-delay: 0s !important;
}
.gallery-grid .gallery-item:hover,
.gallery-grid .gallery-item:hover .gallery-img {
    transition-delay: 0s !important;
}



/* ================================
   MOBILE FIX: About Gallery (2 cols)
   ================================ */
@media (max-width: 768px) {

    .about-vertical-gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .about-vertical-gallery-item {
        width: 100% !important;
        height: 180px !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    .about-vertical-gallery-item img,
    .about-vertical-gallery-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
}

/* ================================
   HARD OVERRIDES: HEADER & ABOUT
   ================================ */

/* Desktop header: logo left, menu+button right inside container */
@media (min-width: 769px) {
    .site-header {
        display: block !important;
    }
    .site-header > .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .site-header .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 20px !important;
        flex-wrap: nowrap !important;
    }
    .site-header .logo {
        margin-right: auto !important;
    }
    .site-header .main-nav {
        margin-left: 40px !important;
        flex-grow: 0 !important;
    }
    .site-header .header-right {
        margin-left: 24px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Mobile "About me" photo: full container width */
@media (max-width: 768px) {
    .about-photo {
        width: 100% !important;
        max-width: 100% !important;
    }
    .about-photo img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
/* Увеличиваем emoji в секции "О программе" (advantages) */
section#benefits.advantages .adv-icon-circle img.emoji {
    width: 2em !important;
    height: 2em !important;
    margin: 0 !important;
    vertical-align: middle !important;
    display: inline-block;
}


/* Контактная форма: пары полей в две колонки на десктопе */
@media (min-width: 900px) {
  .contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .contact-form-grid .form-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 16px 24px;
  }

  .contact-form-grid .form-row .form-group {
    margin: 0;
  }

  .contact-form-grid .form-submit {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 899.98px) {
  .contact-form-grid .form-row {
    display: block;
  }

  .contact-form-grid .form-row .form-group + .form-group {
    margin-top: 12px;
  }
}


/* === Reveal-on-scroll animations === */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}

.section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-animate .child-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.section-animate.is-visible .child-animate {
  opacity: 1;
  transform: translateY(0);
}


/* === Smooth scroll behavior for in-page navigation === */
html {
  scroll-behavior: smooth;
}
/* === Default page (политика и т.п.) === */
.default-main {
  padding: 80px 0;
}

.default-main .container {
  max-width: 800px;
  margin: 0 auto;
}

.default-page__title {
  font-size: 32px;
  margin-bottom: 24px;
}

.default-page__content {
  font-size: 16px;
  line-height: 1.7;
}

.default-page__content p {
  margin-bottom: 1em;
  text-align: justify;
}

.default-page__content ul,
.default-page__content ol {
  margin: 0 0 1em 1.5em;
}
/* Скрываем визуальный бейдж reCAPTCHA v3 */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* ===============================
   SOCIAL ICONS — HEADER (desktop/mobile)
================================ */
.header-right .social-icons {
    display: flex;
    align-items: center;
    gap: 0px;
}

.header-right .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
}

.header-right .social-icons img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform .25s ease;
}

.header-right .social-icons a:hover img {
    transform: scale(1.15);
}

/* ===============================
   SOCIAL ICONS — FOOTER (above divider)
================================ */
.footer-social {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3rem 0 1rem;
}

.footer-social-inner {
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.footer-social-inner a {
    display: flex;
    width: 32px;
    height: 32px;
}

.footer-social-inner img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform .25s ease;
}

.footer-social-inner a:hover img {
    transform: scale(1.15);
}


/* ===============================
   MOBILE FIXES
================================ */
@media (max-width: 768px) {
    .header-right .social-icons {
        justify-content: center;
        gap: 15px;
        margin-top: 0px;
    }

    .header-right .social-icons img {
        width: 34px;
        height: 34px;
    }

    .footer-social {
        margin: 1.5rem 0;
        gap: 22px;
    }

    .footer-social img {
        width: 34px;
        height: 34px;
    }
}
/* --- Mobile footer layout --- */
@media (max-width: 768px) {
    .footer-bottom-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .footer-links a {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0rem;
    }
}

/* ===============================
   CHILD-ANIMATE FALLBACK
   (для элементов, которым JS напрямую вешает .child-animate/.is-visible,
    в т.ч. в галерее)
================================ */
.child-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease-out, transform .7s ease-out;
}

.child-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: #0B1E3C;
    color: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    display: none;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 999999;
}

.cookie-banner.visible {
    display: block;
    opacity: 1;
}

.cookie-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 8px;
    background: #E91E63;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s ease;
}

.cookie-btn:hover {
    background: #d41757;
}

@media (min-width: 480px) {
    .cookie-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


