/* CSS Variables для единообразия */
:root {
    --primary-color: #819079;
    --secondary-color: #525B4D;
    --accent-color: #6A7B5E;
    --text-color: #333;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --white: #fff;
    --light-beige: #F4F2EE;
    --error-color: #e74c3c;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    /* Обновленные переменные шрифтов */
    --font-thin: ' Thin', sans-serif;
    --font-regular: ' Regular', sans-serif;
    --font-medium: ' Medium', sans-serif;
    --font-regularlogo: ' Regular-logo', sans-serif;
}

/* Подключение кастомных шрифтов */
@font-face {
    font-family: ' Thin';
    src: url('fonts/MPLUSRounded1c-Light.ttf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ' Regular';
    src: url('fonts/MPLUSRounded1c-Regular.ttf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ' Medium';
    src: url('fonts/MPLUSRounded1c-Medium.ttf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: ' Regular-logo';
    src: url('fonts/CoreMellow47CnRegular_31.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.about-title,
.gallery-title,
.prices-title,
.directions-title,
.slider-title,
.card-title,
.footer-title {
    font-family: var(--font-regular);
    font-weight: 500; /* Medium */
}

/* Также обновите другие элементы где используется Medium */
.logo-line1,
.nav-menu a,
.cta-button,
.read-more-btn,
.hero-button,
.nav-button,
.price-label,
.hours-title,
.social-title {
    font-family: var(--font-regular);
    font-weight: 500;
}

/* Reset и базовые стили */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* блокируем горизонтальный скролл на уровне html (iOS Safari) */
}

body {
    font-family: var(--font-regular);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
    font-weight: 100; /* Thin */
}

/* Также обновите другие текстовые элементы */
.about-text,
.text-content p,
.transport-options p,
.route-from p,
.card-description,
.features-list li,
.info-box li,
.footer-description p,
.contact-link,
.contact-text,
.hours-info p {
    font-family: var(--font-regular);
    font-weight: 100;
}
/* Логотип */
.logo-line1 {
    font-family: var(--font-regular);
    font-size: 2rem;
    font-weight: 500;
}

.logo-line2 {
    font-family: var(--font-regularlogo);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Бургер меню и навигация */
.nav-menu a {
    font-family: var(--font-medium);
    font-size: 2rem;
    font-weight: 500;
}

/* Кнопки */
.cta-button,
.read-more-btn,
.hero-button {
    font-family: var(--font-regular);
    font-weight: 500;
}

/* Убираем анимации для пользователей, которые их отключили */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Главный экран */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.background-slider {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.1);
    animation: zoomIn 20s ease-in-out infinite;
}

@keyframes zoomIn {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.25rem 3.125rem;
    transform: translateY(0);
    transition: all 0.3s ease;
    will-change: transform;
}

.header.scrolled {
    background: rgb(82 91 77 / 50%);
    backdrop-filter: blur(10px);
    padding: 0.75rem 3.125rem;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--light-beige);
    z-index: 1009;
}

.logo-img {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    font-size: 1.5rem;
    font-weight: 500;
}

.logo-line2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Бургер меню */
.burger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 60px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    height: 5px;
    width: 100%;
    background: #F4F2EE; 
    margin: 3px 0;
    transition: var(--transition);
    border-width: 1px;
    border: #F4F2EE 2px solid; 
    border-radius: 20px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Навигация */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(244, 242, 238, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--light-beige);
    
}

.nav-logo img {
    width: 2.5rem;
    height: 2.5rem;
}

.nav-close {
    background: none;
    border: none;
    color: var(--light-beige);
    font-size: 2.5rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-close:hover {
    transform: scale(1.1);
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: 1.1rem;
    margin: 1.5rem 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-beige);
    font-size: 1.4rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    transform: translateX(10px);
}

@media (min-width: 1025px) {
    /* Скрываем бургер и мобильные элементы */
    .burger-menu {
        display: none;
    }
    .mobile-social,
    .nav-header {
        display: none !important;
    }

    /* Контейнер шапки — flex-строка */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem; /* Расстояние между колонками */
    }

    /* Логотип — 20% ширины */
    .logo {
        flex: 0 0 20%;
        display: flex;
        align-items: center;
        margin: 0; /* Убираем возможные отступы */
        padding: 0;
    }

    /* Меню — занимает всё доступное пространство между лого и контактами */
    .nav-menu {
        flex: 1 1 auto;
        min-width: 0;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: none;      /* сбрасываем translateX(100%) из мобильного скрытия */
        transition: none;     /* убираем transition transform на десктопе */
    }

    .nav-menu ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: clamp(0.6rem, 1.4vw, 1.5rem);
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: wrap;
    }

    .nav-menu a {
        font-size: clamp(0.8rem, 1.1vw, 1rem);
        color: var(--light-beige);
        text-decoration: none;
        white-space: nowrap;
        line-height: 1.2;
        padding: 0.5rem 0;
    }

    .nav-menu a:hover {
        text-decoration: underline;
        transform: none; /* Убираем сдвиг из мобильной версии */
    }

    /* Блок контактов — 20% ширины, выравнивание вправо */
    .header-contacts {
        flex: 0 0 20%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        color: var(--light-beige);
        font-size: 0.9rem;
    }

    .header-contacts a {
        color: var(--light-beige);
        text-decoration: none;
        white-space: nowrap;
    }

    .header-contacts a:hover {
        opacity: 0.8;
        text-decoration: underline;
    }

    /* Корректировка отступов шапки при скролле */
    .header.scrolled {
        background: rgb(82 91 77 / 50%);
        backdrop-filter: blur(10px);
        padding: 0.5rem 3.125rem;
    }

    /* Стрелки слайдера attraction-block — по бокам, как на мобильном */
    .gallery-content .gallery-controls {
        inset: 0;
        bottom: 0;
        left: 0;
        transform: none;
        padding: 0;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
    }

    .gallery-content .arrow-btn {
        pointer-events: auto;
        width: 3.5rem;
        height: 3.5rem;
        font-size: 2.2rem;
        background: rgba(0, 0, 0, 0.30);
        backdrop-filter: blur(3px);
        border-radius: 50%;
        opacity: 1;
    }

    .gallery-content .arrow-btn:hover {
        background: rgba(0, 0, 0, 0.50);
        transform: scale(1.1);
    }
}

/* Соцсети в мобильном меню */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    border-top: 1px solid rgba(244, 242, 238, 0.1);
}

/* Контент героя */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--light-beige);
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-regular);
    font-size: 3rem;
    font-weight: 400; /* Regular */
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    margin: 0;
    animation: fadeInUp 1s ease-out;
    max-width: 800px;
}

.hero-title br {
    display: block;
    margin: 0.5rem 0;
}

/* Кнопки в герое */
.hero-buttons {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
    pointer-events: all;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.hero-button {
    padding: 15px 30px;
    
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.directions-btn {
    background: #525B4D;
    color: var(--white);
}

.directions-btn:hover {
    background: #3e453a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(82, 91, 77, 0.4);
}

.prices-btn {
    background: #F4F2EE;
    color: #525B4D;
}

.prices-btn:hover {
    background: #e8e4dc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 242, 238, 0.4);
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопки */
.cta-button {
    border: none;
    border-radius: 3.125rem;
    cursor: pointer;
    
    font-weight: 500;
    transition: var(--transition);
    transform: translateZ(0);
    padding: 0.9375rem 1.875rem;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    min-width: 200px;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--secondary-color);
    transform: translateY(-0.125rem);
}

.cta-button.secondary {
    background: var(--light-beige);
    color: var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--white);
    transform: translateY(-0.125rem);
}

.read-more-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5625rem;
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 0.625rem;
    
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.read-more-btn:hover {
    background: var(--primary-color);
    transform: translateY(-0.0625rem);
}


.attraction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.vk-button {
    background: #4a76a8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    font-family: inherit;
    font-size: 14px;
}

.vk-button:hover {
    background: #3a5a80;
    color: white;
}

.activities-grid a {
    text-decoration: none;
}

/* Блок "О нас" */
/* Изменение фона и цвета текста для about-section */
.about-section {
    background: #525B4D;
    color: #fff;
}

.about-section .about-title,
.about-section .about-text p {
    color: #fff;
}

/* Сброс цвета для блока активностей (оставляем оригинальным) */
.about-section .activities-section {
    color: initial;
}

.about-section .activity-item {
    background: #fff;      /* уже было */
    color: #333;           /* добавим для надёжности */
}

.about-section .activity-label {
    color: #2d3748;        /* уже было */
}

.about-section .activities-grid a {
    color: inherit;        /* убираем синий цвет ссылок */
}

/* Стили для нового видео-блока */
.video-promo-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-promo-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-promo-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.video-promo-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.video-promo-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.play-button {
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid #fff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.5);
}

/* Модальное окно для видео */
.video-modal-content {
    max-width: 80%;
    width: 900px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    outline: none;
}

.video-modal-content .close {
    color: #fff;
    top: -40px;
    right: 0;
    font-size: 3rem;
}

.video-modal-content .close:hover {
    color: #fff;
    opacity: 0.8;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-title {
    font-family: var(--font-medium);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.decorative-elements {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.decor-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
}

.decor-line {
    width: 100px;
    height: 2px;
    background: #FFFFFF;
}

/* ОБНОВЛЕННЫЙ СТИЛЬ - текст по центру, блоки статистики под текстом */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-text {
    font-family: var(--font-regular);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* ОБНОВЛЕННЫЙ СТИЛЬ - статистика в строку */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
}

/* Блоки достопримечательностей */
.attractions-section {
    background: var(--bg-light);
    position: relative;
    z-index: 100;
}

.attraction-block {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.attraction-block.reverse {
    flex-direction: row-reverse;
}

.text-content {
    width: 50%;
    padding: 7.5rem 3.75rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5625rem;
    line-height: 1.3;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    margin-bottom: 1.25rem;
}

.gallery-content {
    width: 50%;
    position: relative;
    background: #f0f0f0;
    height: 100vh;
    overflow: hidden;
}

.image-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.gallery-video.active {
    opacity: 1;
}


/* Элементы управления галереей */
.gallery-controls {
    position: absolute;
    bottom: 1.875rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.9375rem 1.5625rem;
}

.arrow-btn {
    background: none;
    color: var(--light-beige);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.arrow-btn:hover {
    transform: scale(1.2);
    color: var(--white);
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(0.625rem);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.modal-content {
    background-color: var(--white);
    padding: 3rem 2.5rem 2.5rem;
    border-radius: 1.25rem;
    width: 100%;
    max-width: 31.25rem;
    position: relative;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.text-modal-content {
    max-width: 100%;
    padding: 3rem 2.5rem 2.5rem;
}

.text-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.7;
    font-size: 1.5rem;
    color: var(--text-light);
    
}
#textModalTitle {
    font-size: 1.8rem;
    margin: 10px 0px 20px 0px;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-3.125rem) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Кнопка закрытия модального окна */
.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
    line-height: 1;
}

.close:hover {
    color: var(--error-color);
    transform: scale(1.1);
}

/* Формы */
.form-group {
    margin-bottom: 1.5625rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 0.125rem solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Стили для галереи */
.gallery-section {
    width: 100%;
    min-height: 100vh;
    padding: 80px 20px 40px;
    background: #f8f9fa;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.gallery-subtitle {
    font-size: 1.5rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Галерея - попап */
.gallery-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-popup .popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-media {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    width: auto;
    height: auto;
}

.gallery-popup .popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    transition: var(--transition);
}

.gallery-popup .popup-close:hover {
    transform: scale(1.1);
}

.popup-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    background: none;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-btn:hover {
    transform: scale(1.2);
    color: var(--light-beige);
}

.popup-counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    
}

/* Блок 4: Отзывы */
.reviews-section {
    width: 100%;
    min-height: 800px;
    background: #f8f9fa;
    position: relative;
    z-index: 100;
}

.reviews-container {
    display: flex;
    width: 100%;
    min-height: 800px;
}

.reviews-map {
    width: 50%;
    min-height: 800px;
    padding: 80px 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-wrapper {
    width: 100%;
    max-width: 560px;
    height: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reviews-slider {
    width: 50%;
    min-height: 800px;
    padding: 80px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.slider-header {
    text-align: center;
    margin-bottom: 40px;
}

.slider-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.slider-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

/* Контейнер для галереи отзывов */
.reviews-gallery-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Слайдер отзывов с эмодзи */
.reviews-gallery-container .image-gallery {
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reviews-gallery-container .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reviews-gallery-container .gallery-image.active {
    opacity: 1;
}

.review-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.emoji-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    animation: emojiBounce 0.6s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

@keyframes emojiBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.reviews-gallery-container .gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.reviews-gallery-container .arrow-btn {
    background: none;
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-gallery-container .arrow-btn:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Блок 5: Как добраться */
.directions-section {
    width: 100%;
    min-height: 100vh;
    background: white;
    position: relative;
    z-index: 100;
}

.directions-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.directions-info {
    width: 50%;
    padding: 100px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f9fa;
}

.directions-header {
    margin-bottom: 40px;
}

.directions-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.directions-content {
    max-width: 600px;
}

.coordinates {
    margin-bottom: 30px;
}

.coordinates h3 {
    
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.coordinates-text {
    
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.transport-options {
    margin-bottom: 30px;
}

.transport-options p {
    
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

.route-instructions {
    margin-bottom: 40px;
}

.route-from {
    margin-bottom: 25px;
}

.route-from h4 {
    
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.route-from h4::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}

.route-from p {
    
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    padding-left: 22px;
}

.navigation-actions {
    margin-top: 30px;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1rem;
    
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 115, 85, 0.3);
    border: none;
    cursor: pointer;
    gap: 10px;
}

.nav-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 115, 85, 0.4);
}

.nav-button::before {
    content: '📍';
    font-size: 24px;
}

.directions-map {
    width: 50%;
    height: 100vh;
    padding: 100px 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#yandex-map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Блок 6: Цены */
.prices-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    position: relative;
    z-index: 100;
}

.prices-container {
    max-width: 1200px;
    margin: 0 auto;
}

.prices-header {
    text-align: center;
    margin-bottom: 60px;
}

.prices-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.prices-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
    border: 3px solid var(--primary-color);
}

.price-card.featured:hover {
    transform: translateY(-5px);
}

.price-card--discount {
    border: 3px solid #e6a817;
}

.price-card--discount .card-title {
    color: #b07d10;
}

.price-card--discount .features-list li::before {
    content: '★';
    color: #e6a817;
}

.price-card--free {
    border: 3px solid #38a169;
}

.price-card--free .card-title {
    color: #276749;
}

.price-card--free .features-list li::before {
    content: '✓';
    color: #38a169;
}

.card-badge {
    position: absolute;
    top: -10px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(129, 144, 121, 0.3);
}

.card-header {
    margin-bottom: 25px;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-description {
    
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.card-features {
    flex-grow: 1;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1rem;
}

.price-card.featured .features-list li::before {
    color: var(--primary-color);
}

.card-prices {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-item:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.price-label {
    
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-card.featured .price-amount {
    color: var(--primary-color);
}

.card-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.card-note p {
    margin: 0;
    font-size: 1rem;
    
    font-weight: 600;
    color: #856404;
    line-height: 1.4;
}

/* .prices-footer удалён — льготы и бесплатно перенесены в prices-grid */

.info-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-box h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.5;
    
}

.info-box li:last-child {
    border-bottom: none;
}

.info-box li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 250px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    font-size: 16px;
    
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(92, 115, 85, 0.3);
}

.cta-button.primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 115, 85, 0.4);
}

.cta-button.secondary {
    background: var(--light-beige);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(244, 242, 238, 0.3);
}

.cta-button.secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 242, 238, 0.4);
}

/* Футер сайта */
.site-footer {
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--light-beige) 50%, transparent 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 40px;
}

.footer-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(244, 242, 238, 0.3) 50%, transparent 100%);
    height: 100%;
    min-height: 200px;
}

/* Колонка с логотипом */
.logo-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    
    font-size: 20px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
}

.logo-tagline {
    
    font-size: 14px;
    color: var(--light-beige);
    font-weight: 500;
}

.footer-description p {
    
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Колонка с навигацией */
.nav-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--light-beige);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    color: #ffffff;
    text-decoration: none;
    
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-nav-link:hover {
    color: var(--light-beige);
    transform: translateX(5px);
}

.footer-nav-link::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--light-beige);
}

.footer-nav-link:hover::before {
    opacity: 1;
    left: -10px;
}

/* Социальные сети */
.footer-social {
    margin-top: 10px;
}

.social-title {
    
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bdc3c7;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--light-beige);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Колонка с контактами */
.contacts-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--light-beige);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info {
    flex: 1;
}

.contact-link,
.contact-text {
    color: #ffffff;
    text-decoration: none;
    
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--text-light);
}

.footer-hours {
    margin-top: 10px;
}

.hours-title {
    
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.hours-info p {
    
    font-size: 1rem;
    color: #ffffff;
    margin: 5px 0;
    line-height: 1.4;
}

/* Нижняя часть футера */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    
    font-size: 0.8rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-link {
    color: #ffffff;
    text-decoration: none;
    
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--text-light);
}

/* Анимация появления карточек */
.price-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.price-card:nth-child(1) { animation-delay: 0.1s; }
.price-card:nth-child(2) { animation-delay: 0.2s; }
.price-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для всех блоков */
@media (max-width: 1200px) {
    .reviews-container,
    .directions-container {
        flex-direction: column;
    }
    
    .reviews-map,
    .reviews-slider,
    .directions-info,
    .directions-map {
        width: 100%;
        height: auto;
        padding: 60px 40px 40px;
    }
    
    .map-wrapper {
        height: 500px;
        max-width: 100%;
    }
    
    .reviews-gallery-container .image-gallery {
        height: 500px;
    }
    
    .directions-map {
        height: 500px;
    }
    
    .map-container {
        height: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contacts,
    .contact-item {
        align-items: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-icon,
    .contact-info {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .header.scrolled {
        padding: 0.5rem 1.5rem;
    }
    
    .logo-img {
        width: 3.75rem;
        height: 3.75rem;
    }
    
    .logo-text {
        display: none;
    }
    
        .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1rem;
        line-height: 1.3;
    }

        .hero-content {
        padding: 0 1rem;
    }
 
    .hero-buttons {
        bottom: 40px;
        gap: 15px;
        width: 100%;
    }
    
    .hero-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .attraction-block,
    .attraction-block.reverse {
        flex-direction: column;
        min-height: auto;
    }
    
    .text-content,
    .gallery-content {
        width: 100%;
        min-height: 50vh;
    }
    
    .text-content {
        padding: 4rem 1.5rem 2rem;
    }
    
    .read-more-btn {
        align-self: center;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .gallery-content {
        height: 50vh;
    }
    
    .gallery-controls {
        display: flex;
        inset: 0;
        bottom: 0;
        left: 0;
        transform: none;
        padding: 0;
        justify-content: space-between;
        align-items: center;
        pointer-events: none; /* свайп проходит сквозь блок к gallery */
    }

    .gallery-content .arrow-btn {
        pointer-events: auto; /* кнопки остаются кликабельными */
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.75rem;
        background: rgba(0, 0, 0, 0.30);
        backdrop-filter: blur(3px);
        border-radius: 50%;
        opacity: 1;
    }
    
    .modal-content {
        margin: 10% 5%;
        padding: 2rem 1.5rem;
    }
    
    .close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2rem;
    }
    
    .gallery-section {
        padding: 60px 15px 30px;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-popup .popup-close {
        top: 10px;
        right: 10px;
        font-size: 2.5rem;
    }
    
    .popup-media {
        max-height: 70vh;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .reviews-section,
    .directions-section {
        min-height: auto;
    }
    
    .reviews-map,
    .reviews-slider,
    .directions-info,
    .directions-map {
        padding: 80px 20px 40px;
        height: auto;
    }
    
    .map-wrapper {
        height: 400px;
    }
    
    .reviews-gallery-container .image-gallery {
        height: 400px;
    }
    
    .slider-title {
        font-size: 2.5rem;
    }
    
    .reviews-gallery-container .arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .emoji-overlay {
        font-size: 2.5rem;
        top: 15px;
        right: 15px;
    }
    
    .directions-title {
        font-size: 2.5rem;
    }
    
    .coordinates-text {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .nav-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .prices-section {
        padding: 60px 15px;
    }
    
    .prices-title {
        font-size: 2.5rem;
    }
    
    .prices-subtitle {
        font-size: 1.2rem;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        align-items: stretch;
    }
    
    .price-card {
        padding: 25px 20px;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    /* .prices-footer удалён */
    
    .info-box {
        padding: 25px 20px;
    }
    
    .cta-buttons {
        min-width: auto;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.2rem;
    }
    
    .footer-container {
        padding: 40px 15px 20px;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-social {
        flex-direction: row;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }
    
    .logo-img {
        width: 3.75rem;
        height: 3.75rem;
    }
    
        .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
    
    .text-content {
        padding: 3rem 1rem 1.5rem;
    }
    
        .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        bottom: 30px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }

    .gallery-content {
        height: 40vh;
    }
    
    .modal-content {
        margin: 5% 2%;
        padding: 1.5rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-media {
        max-height: 60vh;
    }
    
    .reviews-gallery-container .image-gallery {
        height: 650px;
    }
    
    .emoji-overlay {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }
    
    .map-wrapper {
        height: 800px;
    }

    .map-container {
        height: 350px;
    }
    
    .coordinates-text {
        font-size: 16px;
    }
    
    .route-from p {
        font-size: 1rem;
    }
    
    .prices-title {
        font-size: 2.5rem;
    }
    
    .card-title {
        font-size: 1.6rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .features-list li {
        font-size: 1.2rem;
    }
    
    .card-badge {
        right: 20px;
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-description p {
        font-size: 13px;
    }
    
    .footer-nav-list {
        gap: 10px;
    }
    
    .footer-nav-link {
        font-size: 14px;
    }
    
    .contact-link,
    .contact-text {
        font-size: 14px;
    }
    
    .copyright p {
        font-size: 13px;
    }
    
    .footer-bottom-link {
        font-size: 13px;
    }
    
    .nav-header {
        padding: 1rem 1.5rem;
    }
    
    .mobile-social {
        padding: 1.5rem;
        gap: 0.5rem;
    }
}

/* Блок с иконками активностей */
.activities-section {
    margin-top: 50px;
    padding: 0 20px;
}

.activities-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 50px;
    position: relative;
}

.activities-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 15px auto 0;
    border-radius: 2px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 106, 79, 0.1);
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #f8fff9, #f0f8f3);
    border-color: rgba(45, 106, 79, 0.2);
}

.activity-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-icon {
    transform: scale(1.1);
}

.activity-label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    max-width: 150px;
    margin: 0 auto;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 900px;
    }
    
    .activities-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .activity-item {
        padding: 20px 15px;
    }
    
    .activity-icon {
        width: 65px;
        height: 65px;
    }
    
    .activity-label {
        font-size: 15px;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .activities-section {
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .activities-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        max-width: 400px;
    }
    
    .activity-item {
        padding: 25px 20px;
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .activity-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .activity-label {
        font-size: 16px;
        max-width: none;
        text-align: left;
        margin: 0;
        flex-grow: 1;
    }

    .attraction-block .text-content h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    }

    .attraction-block .text-content p {
        text-align: center;
        width: 100%;
        margin-bottom: 25px;
    }

    /* Центрирование кнопок */
    .attraction-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        margin-top: 10px;
    }

    .read-more-btn {
        align-self: center;
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0;
    }

    .vk-button {
        align-self: center;
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .activities-section {
        margin-top: 20px;
    }
    
    .activities-title {
        font-size: 22px;
    }
    
    .activity-item {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .activity-icon {
        width: 45px;
        height: 45px;
    }
    
    .activity-label {
        font-size: 15px;
    }
}
@media (max-width: 1024px) {
    /* Переставляем элементы хедера: лого | контакты | бургер */
    .header-container {
        flex-wrap: nowrap;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    .header-contacts {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        flex: 1 1 auto;
        min-width: 0; /* разрешаем сжатие ниже min-content (иначе nowrap-текст распирает хедер) */
        padding: 0 8px;
        overflow: hidden;
    }

    .header-contacts a {
        color: var(--light-beige);
        text-decoration: none;
        white-space: nowrap;
        font-size: 0.7rem;
        letter-spacing: -0.01em;
        line-height: 1.3;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-contacts a:hover {
        text-decoration: underline;
        opacity: 0.8;
    }

    .burger-menu {
        order: 3;
        flex-shrink: 0;
    }

    .nav-menu {
        order: 4;
    }
}

@media (max-width: 480px) {
    .header-contacts a {
        font-size: 0.6rem;
        letter-spacing: -0.02em;
    }
}

.page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}
.page-hero h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    text-align: center;
    z-index: 1;
}

/* Промо-блок с проживанием */
.promo-section {
    width: 100%;
    height: 100vh;           /* Блок занимает всю высоту экрана */
    position: relative;
    overflow: hidden;
}

.promo-slider-container {
    position: relative;
    width: 100%;
    height: 100%;            /* 100% от родителя (100vh) */
}

.promo-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.promo-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.promo-slider .slide.active {
    opacity: 1;
}

.promo-slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* Лёгкое затемнение для читаемости текста */
    z-index: 1;
}

.promo-content {
    position: absolute;
    left: 5%;               /* Отступ от левого края */
    top: 50%;
    transform: translateY(-50%);
    width: 30%;              /* Занимает 30% ширины контейнера */
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    max-height: 60%;         /* Не более 60% высоты контейнера */
    overflow-y: auto;        /* Если текста слишком много — появится скролл */
    box-sizing: border-box;
}

.promo-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.promo-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.promo-button {
    display: inline-block;
    background: #525B4D;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.promo-button:hover {
    background: #3e453a;
}

/* Мобильная версия */
@media (max-width: 768px) {
    
    .promo-section {
        height: auto;        /* На мобильных высота определяется содержимым */
    }
    .promo-slider-container {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .promo-slider {
        position: relative;
        height: 300px;       /* Фиксированная высота слайдера */
        order: 2;
    }
    
    .promo-content {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: none;
        background: #f8f9fa; /* Светлый фон вместо прозрачного */
        box-shadow: none;
        padding: 30px 20px;
        order: 1;            /* Текст сверху */
    }
}

/* ===== Купон-секция ===== */

.cupon-section {
    width: 100%;
    background: linear-gradient(180deg, #fff 0%, var(--light-beige) 100%);
    padding: 70px 20px 80px;
}

.cupon-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
.cupon-header { margin-bottom: 50px; }

.cupon-header__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 8px;
}

.cupon-header__sub {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Cards */
.cupon-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.cupon-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 4px 20px rgba(82, 91, 77, 0.1);
    border: 1px solid rgba(129, 144, 121, 0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(82, 91, 77, 0.18);
}

.cupon-card__icon {
    font-size: 2.2rem;
    display: block;
    line-height: 1;
}

.cupon-card__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.cupon-card__badge--free {
    background: #e8f5e9;
    color: #2e7d32;
}

.cupon-card__badge--discount {
    background: rgba(129, 144, 121, 0.15);
    color: var(--secondary-color);
}

.cupon-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin: 0;
}

.cupon-card__desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.cupon-card__price-new {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.cupon-card__price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.82rem;
    margin-left: 4px;
}

/* Button */
.cupon-actions { margin-bottom: 32px; }

.cupon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-regular);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 91, 77, 0.3);
    letter-spacing: 0.02em;
}

.cupon-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 91, 77, 0.4);
}

/* Distance note */
.cupon-distance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(129, 144, 121, 0.1);
    border: 1px solid rgba(129, 144, 121, 0.25);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

.cupon-distance__icon { font-size: 1rem; flex-shrink: 0; }
.cupon-distance strong { font-weight: 700; }

/* Coupon modal */
.cupon-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cupon-modal--open { display: flex; }

.cupon-modal__inner {
    position: relative;
    max-width: 680px;
    width: 100%;
    animation: cuponModalIn 0.28s ease;
}

.cupon-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    color: var(--secondary-color);
    transition: background 0.2s;
    z-index: 1;
}

.cupon-modal__close:hover { background: var(--light-beige); }

.cupon-modal__inner img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

@keyframes cuponModalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive — купон */
@media (max-width: 900px) {
    .cupon-cards { grid-template-columns: repeat(2, 1fr); }
    .cupon-header__title { font-size: 1.5rem; }
    .cupon-header__sub { font-size: 1rem; }
}

@media (max-width: 560px) {
    .cupon-section { padding: 50px 16px 60px; }
    .cupon-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cupon-card { padding: 20px 14px; gap: 8px; }
    .cupon-card__icon { font-size: 1.8rem; }
    .cupon-header__title { font-size: 1.25rem; }
    .cupon-distance { font-size: 0.82rem; padding: 9px 16px; text-align: left; }
    .cupon-btn { padding: 12px 24px; font-size: 0.9rem; }
    .cupon-modal__inner { max-width: 100%; }
    .cupon-modal__close { top: -12px; right: -6px; }
}

/* ===== Блок карты парка ===== */

.park-map-section {
    width: 100%;
    background: var(--light-beige);
    padding: 70px 0 80px;
}

.park-map-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.park-map-header {
    text-align: center;
    margin-bottom: 36px;
}

.park-map-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.park-map-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

/* Preview strip */
.park-map-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(82, 91, 77, 0.18);
    transition: box-shadow 0.3s ease;
}

.park-map-preview:hover {
    box-shadow: 0 14px 44px rgba(82, 91, 77, 0.28);
}

.park-map-preview__img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.park-map-preview:hover .park-map-preview__img {
    transform: scale(1.02);
}

/* Gradient fade top and bottom */
.park-map-preview::before,
.park-map-preview::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 110px;
    z-index: 1;
    pointer-events: none;
}

.park-map-preview::before {
    top: 0;
    background: linear-gradient(to bottom, var(--light-beige) 0%, transparent 100%);
}

.park-map-preview::after {
    bottom: 0;
    background: linear-gradient(to top, var(--light-beige) 0%, transparent 100%);
}

/* Center overlay */
.park-map-preview__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 91, 77, 0);
    transition: background 0.3s ease;
}

.park-map-preview:hover .park-map-preview__overlay {
    background: rgba(82, 91, 77, 0.12);
}

.park-map-preview__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-regular);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
    transition: all 0.3s ease;
    pointer-events: none;
}

.park-map-preview:hover .park-map-preview__btn {
    background: var(--primary-color);
    transform: scale(1.06);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
}

/* ===== Модальное окно карты ===== */

.map-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: #181d18;
    flex-direction: column;
}

.map-modal--open { display: flex; }

/* Toolbar */
.map-modal__toolbar {
    height: 56px;
    background: rgba(24, 29, 24, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.map-modal__title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.map-modal__controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.map-ctrl-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-family: var(--font-regular);
    line-height: 1;
}

.map-ctrl-btn:hover { background: rgba(255, 255, 255, 0.18); }

.map-ctrl-btn--reset { font-size: 16px; }

.map-ctrl-btn--close {
    background: rgba(245, 101, 101, 0.14);
    border-color: rgba(245, 101, 101, 0.28);
    font-size: 22px;
    margin-left: 6px;
}

.map-ctrl-btn--close:hover { background: rgba(245, 101, 101, 0.38); }

/* Canvas */
.map-modal__canvas {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.map-modal__canvas:active { cursor: grabbing; }

.map-modal__img {
    max-width: 100%;
    width: auto;
    height: auto;
    transform-origin: center center;
    transition: transform 0.04s linear;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Hint bar */
.map-modal__hint {
    height: 36px;
    background: rgba(24, 29, 24, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .park-map-section { padding: 48px 0 56px; }
    .park-map-title { font-size: 1.5rem; }
    .park-map-preview__img { height: 230px; }
    .park-map-preview::before,
    .park-map-preview::after { height: 70px; }
    .park-map-preview__btn { padding: 12px 22px; font-size: 0.9rem; }
    .map-modal__hint { font-size: 0.68rem; letter-spacing: 0.02em; }
    .map-ctrl-btn { width: 34px; height: 34px; font-size: 16px; }
}

.ticket-promo-section {
    width: 100%;
    height: 600px;
    background-color: var(--bg-light, #f8f9fa);
}

/* --- Страница Лумиваара --- */
.lumivaara-main-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 8px;
}

.lumivaara-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 115, 85, 0.3);
    border: none;
    cursor: pointer;
}

.lumivaara-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 115, 85, 0.4);
}

.lumivaara-btn::before {
    content: '🏨';
    font-size: 20px;
}

/* ===== Страница Лумиваара — исправления и галерея ===== */

/* Правая колонка: вертикальный стек вместо центрирования */
.lumi-right {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding-top: 60px;
    padding-bottom: 60px;
    height: auto !important;        /* убираем 100vh */
}

/* Кнопка */
.lumi-actions {
    padding: 0;
    text-align: center;
}

/* Карта — обёртка */
.lumi-map-wrap {
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    /* overflow: hidden убран — он скрывал карту, генерируемую Яндекс-скриптом */
}

/* Галерея */
.lumi-gallery {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    background: #000;
    flex-shrink: 0;
}

.lumi-gallery__track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.lumi-gallery__slide {
    min-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.lumi-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Стрелки */
.lumi-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    padding: 0;
}

.lumi-gallery__arrow:hover { background: rgba(0, 0, 0, 0.68); }
.lumi-gallery__arrow--prev { left: 10px; }
.lumi-gallery__arrow--next { right: 10px; }

/* Точки-индикаторы */
.lumi-gallery__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}

.lumi-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.lumi-gallery__dot--active {
    background: #fff;
    transform: scale(1.3);
}

/* Мобильный порядок: правая колонка (галерея+кнопка+карта) — первая */
@media (max-width: 1024px) {
    .lumi-container {
        flex-direction: column;
    }

    .lumi-right {
        order: 1;
        width: 100% !important;
        padding: 40px 20px 24px;
    }

    .lumi-info {
        order: 2;
        width: 100% !important;
        padding: 24px 20px 40px;
    }
}

.ticket-promo-container {
    display: flex;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Левая часть (70%) – центрируем листовку */
.ticket-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Сама листовка – прямоугольный блок в стиле «печатной листовки» */
.ticket-leaflet {
    width: 100%;
    max-width: 80%;
    background: var(--light-beige, #F4F2EE);
    border: 3px solid var(--secondary-color, #525B4D);
    padding: 30px 28px;
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    font-family: var(--font-regular, ' Regular', sans-serif);
}

.ticket-leaflet:hover {
    box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.15);
}

.leaflet-small-head {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color, #525B4D);
    margin-bottom: 10px;
    font-weight: 600;
    border-bottom: 1px dashed var(--secondary-color, #525B4D);
    padding-bottom: 5px;
}

.leaflet-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary-color, #525B4D);
    margin: 10px 0 5px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-family: var(--font-medium, ' Medium', sans-serif);
}

.leaflet-activity {
    font-size: 2rem;
    font-weight: 700;
    background: #e4dcc9;           /* можно заменить на цвет акцента */
    display: inline-block;
    padding: 6px 18px;
    border: 2px solid var(--secondary-color, #525B4D);
    margin: 16px 0 18px;
    text-transform: uppercase;
    color: var(--secondary-color, #525B4D);
    font-family: var(--font-medium, ' Medium', sans-serif);
}

.leaflet-hours {
    font-size: 2rem;
    font-weight: 800;
    border: 3px solid var(--secondary-color, #525B4D);
    padding: 6px 20px;
    display: inline-block;
    background: white;
    margin-bottom: 20px;
    font-family: var(--font-medium, ' Medium', sans-serif);
}

.leaflet-discounts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0 28px;
    border-top: 2px dotted #6b4f3a;
    border-bottom: 2px dotted #6b4f3a;
    padding: 20px 0;
}

.leaflet-discounts .discount-item {
    flex: 1 1 120px;
    background: var(--light-beige, #F4F2EE);
    border: 2px solid var(--secondary-color, #525B4D);
    padding: 14px 8px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color, #525B4D);
    box-shadow: 5px 5px 0 #7e9b88;
    text-transform: uppercase;
    font-family: var(--font-medium, ' Medium', sans-serif);
}

.leaflet-discounts .discount-item span {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #3f2f1f;
    margin-top: 4px;
    text-transform: none;
    font-family: var(--font-regular, ' Regular', sans-serif);
}

.leaflet-phone {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    border-top: 2px solid var(--secondary-color, #525B4D);
    padding-top: 20px;
}

.leaflet-phone .phone-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color, #525B4D);
    text-transform: uppercase;
    font-family: var(--font-regular, ' Regular', sans-serif);
}

.leaflet-phone .phone-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color, #525B4D);
    text-decoration: none;
    border: 2px solid var(--secondary-color, #525B4D);
    padding: 6px 18px;
    background: var(--light-beige, #F4F2EE);
    letter-spacing: 1px;
    transition: 0.2s;
    font-family: var(--font-medium, ' Medium', sans-serif);
}

.leaflet-phone .phone-number:hover {
    background: #dacdb4;
}

/* Правая часть (30%) – фото */
.ticket-image {
    width: 30%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-color, #525B4D); /* fallback */
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .ticket-promo-section {
        height: auto;               /* высота определяется контентом */
    }
    .ticket-promo-container {
        flex-direction: column;
    }
    .ticket-info {
        width: 100%;
        padding: 40px 20px;
    }
    .ticket-image {
        width: 100%;
        height: 300px;              /* фиксированная высота фото на мобильных */
    }
    .ticket-leaflet {
        max-width: 100%;
    }
    .leaflet-title {
        font-size: 2.2rem;
    }
    .leaflet-activity,
    .leaflet-hours {
        font-size: 1.6rem;
    }
    .leaflet-phone .phone-number {
        font-size: 1.4rem;
    }
}

.site-button {
    background-color: #525B4D;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    margin-left: 10px; /* отступ от предыдущей кнопки */
}

.site-button:hover {
    background-color: #3e463b;
}

.video-preview {
    position: relative;
    cursor: pointer;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.2s;
}
.video-preview:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0,0,0,0.9);
}

/* рамка */
.text-content {
    position: relative;
    background: white;
    padding: 2rem 2.2rem;
    border: none;
    box-shadow: none;
    outline: none;
}

/* Рамка висит в 10px от краёв блока */
.text-content::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 4px solid #b8860b;
    box-shadow: inset 0 0 0 1px rgba(230, 190, 80, 0.5);
    pointer-events: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-content::after {
    content: none;
}

.text-content:hover::before {
    border-color: #d4a13e;
    box-shadow: inset 0 0 0 1px rgba(240, 200, 100, 0.7);
}