/* ==============================
   1. ОБЩИЕ СТИЛИ
============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    color: #17271D;
    background: #EAEDE4;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 70px 24px;
}

.title {
    margin: 0 0 12px;
    color: #17271D;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    margin: 0 0 16px;
    color: #536B49;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

.description {
    margin: 0 0 32px;
    color: #626B60;
    font-size: 16px;
    line-height: 1.5;
}


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

.conteiner-menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    min-height: 86px;
    padding: 16px 6%;
    background: rgba(7, 18, 11, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 0 12px 12px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo a {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.menu a {
    position: relative;
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.menu a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: #DCE5D4;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.menu a:hover {
    color: #DCE5D4;
}

.menu a:hover::after {
    transform: scaleX(1);
}

.lk {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.lk a,
.lk button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 9px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.lk a:hover,
.lk button:hover {
    color: #17271D;
    background: #DCE5D4;
}

.lk svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.lk form {
    margin: 0;
}

.menu-toggle {
    display: none;
}


/* Колокольчик уведомлений */
.lk .notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.lk .notification-bell svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: color 0.2s ease;
    fill: rgb(190, 189, 189);
}

.lk .notification-bell:hover {
    color: #4F8B62;
}

.lk .notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    background: #D92D20;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}



/* ==============================
   3. СЛАЙДЕР
============================== */

.conteiner-slider {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
    background: #17271D;
}

.conteiner-slider .splide__track {
    width: 100%;
    height: 100%;
}

.conteiner-slider .splide__list {
    height: 100%;
}

.conteiner-slider .slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(5, 20, 11, 0.82) 0%,
        rgba(5, 20, 11, 0.58) 48%,
        rgba(5, 20, 11, 0.12) 100%
    );
    content: "";
    pointer-events: none;
}

.conteiner-title {
    position: absolute;
    top: 54%;
    left: 8%;
    z-index: 2;
    width: 650px;
    max-width: 80%;
    color: #FFFFFF;
    transform: translateY(-50%);
}

.subtitle-film--status {
    margin: 0 0 18px;
    color: #DCE5D4;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
}

.title-film {
    margin: 0 0 22px;
    color: #FFFFFF;
    font-size: clamp(32px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.15;
}

.slide-description {
    max-width: 520px;
    margin: 0 0 30px;
    color: #F0F2EC;
    font-size: 18px;
    line-height: 1.5;
}

.btn-film {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    color: #FFFFFF;
    background: #536B49;
    border: 1px solid #536B49;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}

.btn-film:hover {
    background: #3E5736;
    border-color: #3E5736;
}

.conteiner-slider .splide__pagination {
    bottom: 24px;
    z-index: 3;
}

.conteiner-slider .splide__pagination__page {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #FFFFFF;
    opacity: 0.65;
}

.conteiner-slider .splide__pagination__page.is-active {
    background: #FFFFFF;
    opacity: 1;
    transform: scale(1.25);
}


/* ==============================
   4. ХАРАКТЕРИСТИКИ УЧАСТКА
============================== */

.conteiner-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.card {
    min-width: 0;
    padding: 26px 24px;
    background: #FFFFFF;
    border: 1px solid #DDE2D5;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(23, 39, 29, 0.08);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    padding: 11px;
    color: #536B49;
    background: #DCE5D4;
    border-radius: 10px;
}

.card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.card-icon svg path[stroke] {
    fill: none;
    stroke: currentColor;
}

.card-content {
    min-width: 0;
}

.card-title {
    margin: 0 0 10px;
    color: #17271D;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.card-subtitle {
    display: block;
    margin: 0;
    color: #536B49;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}


/* ==============================
   5. ПРЕИМУЩЕСТВА
============================== */

.conteiner-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.benefit {
    min-width: 0;
    padding: 26px 24px;
    background: #FFFFFF;
    border: 1px solid #DDE2D5;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(23, 39, 29, 0.08);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    padding: 11px;
    color: #536B49;
    background: #DCE5D4;
    border-radius: 10px;
}

.benefit-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.benefit-icon svg path[stroke] {
    fill: none;
    stroke: currentColor;
}

.benefit-title {
    margin: 0 0 12px;
    color: #17271D;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.benefit-description {
    margin: 0;
    color: #626B60;
    font-size: 14px;
    line-height: 1.5;
}


/* ==============================
   6. ГАЛЕРЕЯ
============================== */

.conteiner-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-item {
    display: block;
    height: 260px;
    overflow: hidden;
    background: #DCE5D4;
    border: 1px solid #DDE2D5;
    border-radius: 12px;
}

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

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


/* ==============================
   ВХОД И РЕГИСТРАЦИЯ
============================== */

.booking-auth-notice {
    margin-top: 36px;
    padding: 28px;
    background: #F5F7F2;
    border: 1px solid #DDE2D5;
    border-radius: 12px;
    text-align: center;
}

.booking-auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    color: #536B49;
    background: #E2EBDD;
    border-radius: 50%;
}

.booking-auth-notice h3 {
    margin: 0 0 12px;
    color: #17271D;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.booking-auth-notice p {
    max-width: 540px;
    margin: 0 auto;
    color: #626B60;
    font-size: 18px;
    line-height: 1.5;
}

.booking-auth-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.booking-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 46px;
    padding: 12px 22px;
    color: #FFFFFF;
    background: #536B49;
    border: 1px solid #536B49;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.booking-auth-button:hover {
    color: #FFFFFF;
    background: #3E5736;
    border-color: #3E5736;
}

.booking-auth-button-secondary {
    color: #536B49;
    background: transparent;
}

.booking-auth-button-secondary:hover {
    color: #FFFFFF;
    background: #536B49;
}

/* ==============================
   АДАПТИВНОСТЬ
============================== */

@media (max-width: 760px) {
    .booking-auth-notice {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .booking-auth-notice h3 {
        font-size: 19px;
    }

    .booking-auth-actions {
        flex-direction: column;
    }

    .booking-auth-button {
        width: 100%;
    }
}


/* ==============================
    7. Бронирование
================================*/

.section-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-subtitle {
    display: block;
    margin: 0 0 12px;
    color: #536B49;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
}

.section-title {
    margin: 0 0 12px;
    color: #17271D;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.section-description {
    margin: 0 0 32px;
    color: #626B60;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 18px;
    }

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

/* ==============================
   8. КОНТАКТЫ
============================== */

.conteiner-contact {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 30px;
}

.conteiner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-width: 0;
    padding: 24px;
    background: #F8FAF6;
    border: 1px solid #E7ECE2;
    border-radius: 18px;
}

.contact-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
}

.contact-left + .contact-left {
    border-top: 1px solid #E4E9DF;
}

.contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    color: #536B49;
    background: #E7EEDF;
    border-radius: 14px;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.contact-left:hover .contact-icon {
    color: #FFFFFF;
    background: #536B49;
    transform: translateY(-2px);
}

.contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact-content {
    min-width: 0;
    padding-top: 2px;
}

.contact-title {
    margin: 0 0 7px;
    color: #253426;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-subtitle {
    display: block;
    margin: 0;
    color: #687366;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

a.contact-subtitle {
    width: fit-content;
    color: #536B49;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s;
}

a.contact-subtitle:hover {
    color: #34482D;
}

.conteiner-right {
    display: flex;
    min-width: 0;
}

.conact-right {
    width: 100%;
    min-height: 100%;
}

.map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #E7EEDF;
    border: 1px solid #E1E7DB;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(38, 55, 35, 0.07);
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}



/* ==============================
   9. АДАПТАЦИЯ ПОД ПЛАНШЕТЫ
============================== */

@media (max-width: 1050px) {
    .conteiner-menu {
        gap: 18px;
        padding-right: 4%;
        padding-left: 4%;
    }

    .menu {
        gap: 18px;
    }

    .logo a {
        font-size: 16px;
    }

    .conteiner-info,
    .conteiner-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conteiner-contact {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .conteiner-slider {
        height: 600px;
    }

    .conteiner-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==============================
   10. АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
============================== */

@media (max-width: 760px) {
    .container {
        padding: 48px 20px;
    }

    .title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 20px;
    }

    .description {
        font-size: 15px;
    }

    /* Мобильное меню */

    .conteiner-menu {
        flex-wrap: wrap;
        gap: 12px;
        min-height: 72px;
        padding: 12px 18px;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo a {
        font-size: 15px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 7px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #FFFFFF;
        transition: transform 0.3s;
    }

    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 16px;
        background: #17271D;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 12px 0;
    }

    .menu a::after {
        display: none;
    }

    .lk {
        margin-left: auto;
    }

    .lk a,
    .lk button {
        width: 38px;
        height: 38px;
    }

    /* Слайдер */

    .conteiner-slider {
        height: 540px;
    }

    .conteiner-title {
        top: 56%;
        left: 6%;
        width: 88%;
        max-width: 88%;
    }

    .title-film {
        font-size: 35px;
    }

    .subtitle-film--status {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .slide-description {
        font-size: 16px;
    }

    /* Контакты */

    .conteiner-contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map,
    .map img {
        min-height: 270px;
    }

    /* Галерея */

    .conteiner-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .gallery-item {
        height: 200px;
    }
}


/* ==============================
   11. УЗКИЕ ЭКРАНЫ
============================== */

@media (max-width: 480px) {
    .container {
        padding: 40px 16px;
    }

    .title {
        font-size: 27px;
    }

    .subtitle {
        font-size: 18px;
    }

    .conteiner-info,
    .conteiner-benefits,
    .conteiner-gallery {
        grid-template-columns: 1fr;
    }

    .card,
    .benefit {
        padding: 22px;
    }

    .conteiner-slider {
        height: 500px;
    }

    .conteiner-title {
        top: 57%;
    }

    .title-film {
        font-size: 29px;
    }

    .slide-description {
        font-size: 15px;
    }

    .btn-film {
        min-height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

    .conteiner-gallery {
        gap: 14px;
    }

    .gallery-item {
        height: 230px;
    }

    .contact-left {
        gap: 12px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .map,
    .map img {
        min-height: 230px;
    }
}


/* ==============================
   FOOTER
============================== */

.footer {
    margin-top: 80px;
    color: #E8EEE5;
    background: #243629;
}

.footer-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 60px;
    padding: 55px 0 45px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-description {
    margin: 18px 0 0;
    color: #C2CEC0;
    font-size: 15px;
    line-height: 1.7;
}

.footer-title {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.footer-navigation,
.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
}

.footer-navigation a,
.footer-contacts a {
    color: #C2CEC0;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s;
}

.footer-navigation a:hover,
.footer-contacts a:hover,
.footer-bottom a:hover {
    color: #FFFFFF;
}

.footer-contacts p {
    margin: 0;
    color: #C2CEC0;
    font-size: 15px;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
    margin: 0;
    color: #B8C5B5;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom a {
    flex-shrink: 0;
    color: #C2CEC0;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s;
}

@media (max-width: 800px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 40px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media (max-width: 500px) {
    .footer {
        margin-top: 50px;
    }

    .footer-container {
        width: calc(100% - 32px);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 0;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0;
    }
}

