/* ============================================================
   1. FONT-FACE
   ============================================================ */

@font-face {
    font-family: 'Open Sans Bold';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold.svg#open_sans_bold') format('svg');
}

@font-face {
    font-family: 'Open Sans Bold Italic';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_bold_italic.svg#open_sans_bold_italic') format('svg');
}

@font-face {
    font-family: 'Open Sans Extrabold';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold.svg#open_sans_extrabold') format('svg');
}

@font-face {
    font-family: 'Open Sans Extrabold Italic';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_extrabold_italic.svg#open_sans_extrabold_italic') format('svg');
}

@font-face {
    font-family: 'Open Sans Italic';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_italic.svg#open_sans_italic') format('svg');
}

@font-face {
    font-family: 'Open Sans Light';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_light.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_light.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light.svg#open_sans_light') format('svg');
}

@font-face {
    font-family: 'Open Sans Light Italic';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_light_italic.svg#open_sans_light_italic') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans.svg#open_sans') format('svg');
}

@font-face {
    font-family: 'Open Sans Semibold';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold.svg#open_sans_semibold') format('svg');
}

@font-face {
    font-family: 'Open Sans Semibold Italic';
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.eot');
    src: url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.woff2') format('woff2'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.woff') format('woff'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.ttf') format('truetype'),
        url('/local/templates/avs_hotel/assets/fonts/open_sans_semibold_italic.svg#open_sans_semibold_italic') format('svg');
}


/* ============================================================
   2. БАЗОВЫЕ СТИЛИ
   ============================================================ */

:root {
    --bs-body-font-family: 'Open Sans Semibold', var(--bs-font-sans-serif);
    --bs-font-sans-serif: 'Open Sans Semibold', system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-optical-sizing: auto;
    color: #464646;
}

h1, h2, h4 {
    font-family: "Playfair", serif;
    font-optical-sizing: auto;
}
h1 {
    font-weight: 600;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0%;
}
h1.no-image {
    font-size: 28px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 18px;
}

p {
    margin-bottom: 0.7rem;
}

a {
    color:#F7A941;
    text-decoration: none;
}

/* ============================================================
   3. УТИЛИТЫ
   ============================================================ */

.semibold {
    font-family: 'Open Sans Semibold';
}

.font-14 {
    font-size: 14px;
}

.white {
    color: white;
}

.width-100 {
    width: 100%;
}

.uppercase {
    text-transform: uppercase!important;
}

.padding-40 {
    padding-bottom: 20px;
    text-align: center;
}
.padding-60 {
    padding-bottom: 60px;
}
.btn-warning {
    color: white;
    background-color: #F7A941;
}
.features-list {
}
.features-list p {
    margin-bottom: 0;
}

/* ============================================================
   4. КНОПКИ
   ============================================================ */

.btn-orange, .btn-orange:hover {
    background-color: #F7A941;
    color: white;
    font-size: 14px;
}

.podrobnee {
    background-color: #F7A941!important;
    color: white!important;
    font-size: 16px;
    width: 400px;
    display: inline-block;
}
.podrobnee-1 {
    background-color: #F7A941!important;
    color: white!important;
    font-size: 16px;
    width: 192px;
    display: inline-block;
}

.podrobnee:hover {
    background-color: #F7A941;
    color: white;
}
.goBack {
    display: inline-block;
    width: 50%;
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    background: #F7A941;
    border-radius: 8px;
    border: 0;
    text-align: center;
    height: 48px;
    line-height: 48px;
    text-decoration: none;
    margin: 0 auto;
}

.btn-to-cont-wrapper {
    position: relative;
    display: inline-block
}

.btn-to-cont {
  padding: 7px 32px 7px 60px;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background-color: #F7A941;
  display: block;
  width: 30rem;
}

.btn-to-cont-icon {
  position: absolute;
  left: -20px;     /* выступает за край */
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 768px) {
    .goBack {
        width: 100%;
        display: block; /* На мобилках на всю ширину */
    }
    .btn-to-cont {
    	width: 100%;
    }
}

/* ============================================================
   5. ШАПКА (HEADER) - СТАТИЧНАЯ
   ============================================================ */

.site-header {
    /*background-color: #A69DCC;*/
    background-color: rgba(166, 157, 204, 0.5);
    backdrop-filter: blur(20px);
    color: white;
    height: auto;
    min-height: 180px;
    position: relative;
    z-index: 10;
}

.zalit {
    background-color: #A69DCC!important;
}
.logo-header {
    padding-top:32px;
}

.top-address {
    color: white;
}

.menu-adress {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}


/* ============================================================
   GRID ДЛЯ ШАПКИ
   ============================================================ */

.header-grid {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    align-items: center;
    gap: 20px;
    padding: 20px 0 0 0;
}

.header-address {
    text-align: left;
    justify-self: start;
}

.header-logo {
    text-align: center;
    justify-self: center;
}

.header-contacts {
    text-align: right;
    justify-self: end;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
}

.header-mobile-address {
    display: none;
    padding-bottom: 10px;
}

.header-mobile-address p {
    margin: 0;
    font-size: 13px;
    color: white;
}

.site-header--simple {
    min-height: 180;
    padding-bottom: 5px;
}



/* ============================================================
   6. МЕНЮ
   ============================================================ */

.main-menu .navbar {
    max-width: 1000px;
}

.main-menu {
    padding: 10px 0 0 0;
    /*background-color: #A69DCC;*/
    position: relative;
    z-index: 10;
}

.main-menu .container-lg {
    display: flex;
    justify-content: center;
}


/* ===== ПУНКТЫ ПЕРВОГО УРОВНЯ ===== */
.main-menu .nav-link {
    color: white !important;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    padding-bottom: 6px;
}


.main-menu .nav-link:hover,
.main-menu .nav-link.active {
    color: white !important;
    border-bottom: 1px solid white;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */

/* Контейнер для пункта с подменю */
.main-menu .nav-item.dropdown {
    position: relative;
}

/* Само выпадающее меню */
.main-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    
    display: none;
    
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    
    box-shadow: none;
}

.main-menu .dropdown-menu.show {
    display: block;
}

/* ===== ПУНКТЫ ПОДМЕНЮ ===== */
.main-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 6px 20px;
    
    color: gray !important;
    text-decoration: none;
    background: transparent;
    border: 0;
}

.main-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: gray !important;
}

.main-menu .dropdown-item.active {
    background-color: #0d6efd;
    color: #ffffff !important;
}

/* ===== КНОПКА-СТРЕЛКА ===== */
.main-menu .dropdown-toggle-split {
    padding: 8px;
    margin-left: 0;
    color: white;
}

.main-menu .dropdown-toggle-split::after {
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    content: "";
    
    border-top: 6px solid;
    border-right: 6px solid transparent;
    border-bottom: 0;
    border-left: 6px solid transparent;
}

/* ===== ОТСТУПЫ ДЛЯ ВЛОЖЕННЫХ МЕНЮ ===== */
.main-menu .dropdown-menu .dropdown-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
}


/* ============================================================
   7. ГЛАВНАЯ СТРАНИЦА (HERO) - ФОН КАРТИНКА НА ВЕСЬ БЛОК
   ============================================================ */

.main-page-header {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    /* Фоновая картинка на весь блок */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Затемнение через псевдоэлемент */
.main-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

/* Все содержимое поверх затемнения */
.main-page-header > * {
    position: relative;
    z-index: 2;
}

/* HERO КОНТЕНТ (заголовок поверх картинки) */
.hero-content-overlay {
    display: flex;
    flex: 1;
    padding: 0;
    background: transparent;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    min-height: 300px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    flex: 1;
}

.hero-inner {
    margin: 0 auto;
    text-align: center;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 0 20px; /* 30px от header */
    gap: 20px;
    flex: 1;
    justify-content: flex-start;
}

.hero-title {
    font-family: 'Playfair', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 100%;
    padding-top: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: #fff;
    margin-bottom: 0;
}

.hero-title.inner{
    font-family: 'Playfair', serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 100%;
    padding-top: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase;
}

.hero-title::after {
    content: '';
    display: block;
    position: relative;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url("/upload/medialibrary/266/fjxlx7lrbq66dvk81vzzll0uzse4o3ch/title_element.png");
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    color: #fff;
    margin-bottom: 0;
}

/* ============================================================
   TRAVELLINE БЛОК - отдельный блок под картинкой
   ============================================================ */
.travelline-bottom-wrapper {
    position: relative;
    z-index: 2;
    padding: 30px 0 40px;
    width: 100%;
}

.hero-form {
    width: 100%;
    max-width: 995px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================================
   ДЕСКТОП (≥992px) - Travelline поверх картинки, прижат к низу
   ============================================================ */
@media (min-width: 992px) {
    .main-page-header {
        min-height: 640px;
        max-height: 640px;
    }

    .hero-content-overlay {
        align-items: stretch;
        min-height: auto;
    }

    .hero-inner {
        padding: 148px 0 30px;
        gap: 25px;
        justify-content: space-between;
    }

    .hero-title {
        font-size: 30px;
        margin-top: 0;
        font-weight: 600;
    }

    .hero-title::after {
        padding: 25px 0;
    }

    /* Travelline поверх картинки, 30px от низа */
    .travelline-bottom-wrapper {
        position: absolute;
        bottom: 30px;
        left: 0;
        right: 0;
        z-index: 3;
        background: transparent;
        padding: 0;
        pointer-events: none;
    }

    .travelline-bottom-wrapper .container {
        pointer-events: auto;
    }

    .hero-form {
        margin: 0 auto;
        padding: 0;
    }
}

/* ============================================================
   ПЛАНШЕТЫ (769-991px) - Travelline под картинкой
   ============================================================ */
@media (min-width: 769px) and (max-width: 991px) {
    .main-page-header {
        min-height: auto;
        max-height: none;
    }

    .hero-content-overlay {
        align-items: flex-start;
        min-height: 300px;
        flex: 0 0 auto;
    }

    .hero-container {
        padding: 20px 15px 10px;
    }

    .hero-inner {
        padding: 20px 0 10px;
        gap: 20px;
        justify-content: flex-start;
        flex: 0 0 auto;
    }

    .hero-title {
        font-size: 30px;
        padding-top: 0;
        color: #fff;
    }

    .hero-title::after {
        padding: 20px 0;
    }

    .hero-subtitle {
        color: #fff;
    }

    /* Travelline - отдельный блок под картинкой */
    .travelline-bottom-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        z-index: 2;
        padding: 30px 0 40px;
        pointer-events: auto;
    }

    .hero-form {
        margin: 0 auto;
        padding: 0 10px;
    }
}

/* ============================================================
   МОБИЛЬНЫЕ (<769px) - заголовок поверх картинки, Travelline под картинкой
   ============================================================ */
@media (max-width: 768px) {
    .main-page-header {
        min-height: auto;
        max-height: none;
        background-size: contain;
        background-position: center;
        min-height: 250px;
    }

    .hero-content-overlay {
        align-items: flex-start;
        min-height: 200px;
        flex: 0 0 auto;
    }

    .hero-container {
        padding: 15px 15px 10px;
    }

    .hero-inner {
        padding: 15px 0 10px;
        gap: 15px;
        justify-content: flex-start;
        flex: 0 0 auto;
    }

    .hero-title {
        font-size: 1.8rem;
        padding-top: 0;
        color: #fff;
    }

    .hero-title::after {
        padding: 18px 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        color: #fff;
    }

    /* Travelline - отдельный блок под картинкой */
    .travelline-bottom-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        z-index: 2;
        padding: 20px 0 30px;
        pointer-events: auto;
    }

    .hero-form {
        margin: 0 auto;
        padding: 0 5px;
    }
}

/* ============================================================
   МАЛЕНЬКИЕ МОБИЛЬНЫЕ (<480px)
   ============================================================ */
@media (max-width: 480px) {
    .main-page-header {
        min-height: 180px;
    }

    .hero-container {
        padding: 10px 15px 5px;
    }

    .hero-inner {
        padding: 10px 0 5px;
        gap: 12px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-title::after {
        padding: 15px 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .travelline-bottom-wrapper {
        padding: 15px 0 25px;
    }
    .title-razdel {
        padding-top: 0;
    }
}

/* ============================================================
   ФИКСЫ ДЛЯ ТРАВЕЛЛАЙН
   ============================================================ */
.hero-form #block-search {
    width: 100%;
}

.hero-form #tl-search-form {
    width: 100% !important;

}

.hero-form #tl-search-form iframe {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    height: 500px;
}

.hero-form .tl-container {
    width: 100% !important;
    max-width: 100% !important;
}

.hero-form .tl-container iframe {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 78px !important;
    display: block !important;
}

/* ============================================================
   8. ПОДВАЛ (FOOTER)
   ============================================================ */

.logo-footer {
    width: 160px;
    padding-bottom: 35px;
}

.site-footer {
    background-color: #A69DCC;
    color: white;
    border-radius: 8px 0 0 8px;
}

.block-footer {
    font-size: 12px;
    font-weight: 400;
}

.h5-footer {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}

.addr-footer {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
}
.addr-footer img {
    width: 18px;
}
.bitrix-form-footer {
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.bitrix-form-footer .b24-form-header-title {
    font: 14px Open Sans, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: left !important;
    margin-bottom: 0;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.bitrix-form-footer .b24-form-header {
    border: none!important;
}
.bitrix-form-footer .b24-form-header-description {
    margin: 0!important;
}

.bitrix-form-footer .b24-form-field-agreement-link {
    opacity: 1!important;
}
.bitrix-form-footer .b24-form-header-description {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: left !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.bitrix-form-footer .b24-form-control-label {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    text-align: left !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.bitrix-form-footer .b24-form-field-agreement-link {
    color: #ffffff!important;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.bitrix-form-footer input[name="name"], .bitrix-form-footer input[name="phone"], .bitrix-form-footer button {
    max-height: 32px;
    border-radius: 8px;
}
.bitrix-form-footer button {
    width: 50%;
    border-radius: 8px;
    font-size: 14px;
    min-height: 32px;
    padding: 0;
    font-weight: 600;
}


/* ============================================================
   9. ЗАГОЛОВКИ
   ============================================================ */

.title-razdel {
    font-family: Playfair;
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    padding-top: 92px;
    min-width: 182px;
}
.title-razdel-72 {
    font-family: Playfair;
    font-weight: 600;
    font-size: 28px;
    text-align: center;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    padding-top: 72px;
    min-width: 182px;
}
.conferense-hall {
    font-family: Playfair;
    font-weight: 600;
}

.razmeschenie {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding-bottom: 32px;
    padding-top: 36px;
}

.hall-underline {
    font-family: Playfair;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: none;
}

.conferense-hall, .ya-maps-h2, .gallery-h2, .otzyv-h2, .preimuschestva-h2, .banquet-h2, .numbers-h2 {
    position: static;
    text-align: center;
    font-size: 22px;
}
h1.conferense-hall {
    font-size: 28px;
}

h1.conferense-hall::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.hero-title::after {
    content: '';
    display: block;
    position: relative;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    padding: 30px;
}

img.underline-h2 {
    vertical-align: top;
}

/* 

h3.conferense-hall::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.numbers-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.banquet-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.preimuschestva-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.otzyv-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.gallery-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.ya-maps-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.about-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h3.dov-h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}




*/

/* ============================================================
   10. КОНФЕРЕНЦ-ЗАЛЫ
   ============================================================ */

.conf-zaly-img {
    border: 4px solid #F0F0F0;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    height: 100%;
    object-fit: cover;
}

.conf-zaly-text {
    border: 4px solid #F0F0F0;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    height: 100%;
}

.border-main {
    border-radius: 8px;
}

.border-main-in {
    border: 4px solid #FFE8CA;
}

.border-main-in > ul {
    margin-bottom: 0;
}

.row-custom-gutters {
    gap: 28px 40px;
}

.border-conference-adress {
    border: #FFE8CA solid 4px;
    border-radius: 8px;
}

.border-preim {
    border: #F0F0F0 solid 4px;
    border-radius: 14px;
}

.conference {
    border: 4px solid #FFE8CA;
    border-radius: 8px;
}

.hall {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
}

.vmestimost-tab, .ploschad-tab {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 12px;
}

@media (max-width: 767px) {
    .conf-zaly-img {
        border-right: 4px solid #F0F0F0;
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
    }
    
    .conf-zaly-text {
        border-left: 4px solid #F0F0F0;
        border-top: 0;
        border-radius: 0 0 8px 8px;
    }
}


/* ============================================================
   11. РАЗМЕЩЕНИЕ
   ============================================================ */

.razmeschenie-tab {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.razmeschenie-tab:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.razmeschenie-tab img {
    max-width: 75%;
    height: auto;
    margin-bottom: 15px;
}

.razmeschenie-tab p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .razmeschenie-tab {
        margin-bottom: 15px;
    }
}


/* ============================================================
   12. ФИЧИ / ПРЕИМУЩЕСТВА
   ============================================================ */

.feature-text {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.plus-icon {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .feature-text {
    font-size: 14px;
  }
  .plus-icon {
    width: 5px;
    height: 5px;
  }
}


/* ============================================================
   ИКОНКИ НА ГЛАВНОЙ
   ============================================================ */

.main-services {
    /* max-width: 80%; */
    margin: 0 auto;
}


/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        padding-bottom: 5px;
    }
    
    .header-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 5px 15px;
        padding: 10px 0;
    }
    
    .header-logo {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        justify-self: start;
        align-self: center;
    }
    
    .header-address {
        display: none !important;
    }
    
    .header-contacts {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        justify-self: end;
        align-self: center;
        text-align: right;
        flex-direction: column;
        gap: 2px;
        align-items: flex-end;
    }
    
    .header-contacts a {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .header-mobile-address {
        display: block !important;
    }
    
    .main-menu {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .main-menu a {
        font-size: 12px;
        padding: 4px 8px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .header-contacts a {
        font-size: 10px;
    }
    
    .header-logo img {
        height: 40px !important;
    }
    .title-razdel {
        padding-top: 40px;
    }
}

@media (min-width: 769px) {
    .header-mobile-address {
        display: none !important;
    }
}

/* ============================================================
   ШАПКА НАД КОНТЕНТОМ
   ============================================================ */

/* Шапка с эффектом стекла (только на главной) */
.site-header--over-video {
    background-color: rgba(166, 157, 204, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    z-index: 100 !important;
    min-height: auto !important;
    padding-bottom: 5px !important;
}

/* Шапка с обычным фоном (на внутренних страницах) */
.site-header.zalit {
    background-color: #A69DCC !important;
}

/* ============================================================
   СЕКЦИЯ С КОНТЕНТОМ (видео или картинка)
   ============================================================ */

.content-section {
    position: relative !important;
    width: 100% !important;

    overflow: hidden !important;
    background-color: #1a1a2e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Вариант с видео (главная страница) */
.content-section--video {
    min-height: calc(100vh - 180px) !important;
}

/* Вариант с картинкой (внутренние страницы) */
.content-section--image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: calc(75vh - 180px) !important;
}

/* ВИДЕО-ФОН (только на главной) */
.content-section-background {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 0 !important;
    object-fit: cover !important;
    pointer-events: none !important;
}

/* ЗАТЕМНЕНИЕ ПОВЕРХ ВИДЕО/КАРТИНКИ */
.content-section-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    pointer-events: none !important;
}

/* КОНТЕНТ ПОВЕРХ ВИДЕО/КАРТИНКИ */
.content-section-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 40px 0 !important;
}

.content-section-content .container {
    display: flex !important;
    flex-direction: column !important;
    min-height: 400px !important;
}

/* ЗАГОЛОВОК */
.page-title-overlay {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 0 !important;
}

.page-title-wrapper {
    text-align: center !important;
    width: 100% !important;
}

.page-title {
    font-family: 'Playfair', serif !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
    color: #fff !important;
    margin: 0 !important;
}

.page-title.main-title {
    font-size: 40px !important;
}
.page-title.main-title span {
    font-size: 58px !important;
}

.page-title.inner-title {
    font-size: 36px !important;
    text-transform: uppercase !important;
}

.page-title.with-underline::after {
    content: '' !important;
    display: block !important;
    margin: 15px auto 0 !important;
    width: 100% !important;
    max-width: 300px !important;
    height: 25px !important;
    background-image: url("/upload/medialibrary/9d6/zqg1ivaig0pyuz3yo5woe2e0al066o5a/main_element.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

/* TRAVELLINE */
.travelline-overlay-wrapper {
    flex-shrink: 0 !important;
    padding: 0 0 30px !important;
    width: 100% !important;
}

.travelline-block {
    width: 100% !important;
    max-width: 995px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* ============================================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ
   ============================================================ */

@media (max-width: 991px) {
    .site-header--over-video {
        background-color: #A69DCC !important;
        backdrop-filter: none !important;
    }
    
    .content-section {
        min-height: 400px !important;
    }
    
    .content-section .container {
        min-height: auto !important;
    }
    
    /* На мобильных ВСЕГДА показываем картинку, даже на главной */
    .content-section-background {
        display: none !important;
    }
    
    .content-section--image {
        background-image: url('<?= $currentConfig['image'] ?>') !important;
        background-size: cover !important;
        background-position: center !important;
    }
}

@media (max-width: 768px) {
    .content-section {
        min-height: 300px !important;
    }
    
    .page-title.main-title {
        font-size: 28px !important;
    }
    
    .page-title.inner-title {
        font-size: 24px !important;
    }
    
    .content-section-content {
        padding: 20px 0 !important;
    }
    
    .travelline-overlay-wrapper {
        padding: 0 0 20px !important;
    }
}

@media (max-width: 480px) {
    .content-section {
        min-height: 250px !important;
    }
    
    .page-title.main-title {
        font-size: 22px !important;
    }
    
    .page-title.inner-title {
        font-size: 20px !important;
    }
    
    .content-section-content {
        padding: 10px 0 !important;
    }
    
    .travelline-overlay-wrapper {
        padding: 0 0 15px !important;
    }
}

/* ============================================================
   14. ПЛАНШЕТЫ И МОБИЛЬНЫЕ (до 991px)
   ============================================================ */

@media (max-width: 991px) {
    /* Сбрасываем высоту и поведение flex */
    .page-header-full.header-large,
    .page-header-full.header-standard {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        padding-bottom: 0 !important;
        justify-content: flex-start !important; /* Важно: убираем space-between */
    }
    
    /* Убираем прижатие к низу */
    .travelline-overlay-wrapper {
        position: relative !important;
        margin-top: 0 !important; /* Убираем margin-top: auto */
        padding: 20px 0 30px !important;
        background: transparent !important;
        flex-shrink: 0 !important;
    }
    
    /* Заголовок больше не растягивается */
    .page-title-overlay {
        flex: 0 0 auto !important;
        padding: 15px 0 !important;
    }
}

@media (max-width: 768px) {
    .page-header-full {
        min-height: 250px !important;
    }
    
    .travelline-overlay-wrapper {
        padding: 15px 0 25px !important;
    }
    
    .page-title.main-title {
        font-size: 28px !important;
    }
    
    .page-title.inner-title {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .page-title.main-title {
        font-size: 22px !important;
    }
    
    .page-title.inner-title {
        font-size: 20px !important;
    }
    
    .travelline-overlay-wrapper {
        padding: 10px 0 20px !important;
    }
}