/* =========================================
   1. СТРАНИЦА КУРОРТА
   ========================================= */
.page-hero {
    position: relative; 
    min-height: 80vh; 
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../images/hero.jpg') center/cover no-repeat;
    background: -moz-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../images/hero.jpg') center/cover no-repeat;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../images/hero.jpg') center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('../images/hero.jpg') center/cover no-repeat;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    text-align: center; 
    color: var(--c-white);
    padding: 100px 20px 40px 20px;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.page-hero .hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    width: 100%; 
}

.page-hero h1 { 
    font-size: 3rem; 
    font-family: var(--f-heading);
    color: var(--c-white); 
    font-weight: 700;
    margin: 0 0 15px 0; 
    line-height: 1.2;
}

.hero-tagline { 
    font-size: 1.2rem; 
    font-family: var(--f-body);
    font-weight: 400; 
    margin: 0 0 30px 0; 
    opacity: 0.9; 
    line-height: 1.6;
}

/* Блок информации об оплате */
.hero-info-box {
    background: rgba(14, 77, 86, 0.85); 
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(207, 160, 82, 0.4); 
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-info-box h3 { 
    color: var(--c-gold); 
    margin-bottom: 15px; 
    font-family: var(--f-body); 
    text-transform: uppercase; 
    font-size: 1rem; 
    letter-spacing: 1px; 
}

.payment-list { 
    list-style: none; 
}

.payment-list li { 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-align: flex-start;
    -moz-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start; 
    gap: 10px; 
}

.payment-list li i { 
    color: var(--c-gold); 
    margin-top: 5px; 
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0; 
}

.payment-list strong { 
    color: var(--c-white); 
    font-weight: 700; 
}

.payment-warning { 
    font-size: 0.8rem; 
    color: #eee; 
    font-style: italic; 
    margin-top: 5px; 
    display: block; 
    padding-left: 25px;
}

.filters-wrapper { 
    margin: 40px auto; 
    max-width: var(--container-width);
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filters-list { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    gap: 15px; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    width: 100%;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 25px; 
    border: 1px solid var(--c-sand-dark); 
    background: var(--c-white);
    border-radius: 50px; 
    color: var(--c-text-main); 
    font-weight: 500; 
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
    font-size: 0.95rem;
}

.filter-btn:hover { 
    border-color: var(--c-gold); 
    color: var(--c-gold); 
}

.filter-btn.active { 
    background: var(--c-deep-blue); 
    color: var(--c-white); 
    border-color: var(--c-deep-blue); 
}

.section-header-centered,
.section-title { 
    text-align: center; 
    margin-bottom: 20px; 
    margin-top: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header-centered h2,
.section-title h2 { 
    font-size: 2.5rem; 
    font-family: var(--f-heading);
    color: var(--c-deep-blue);
    font-weight: 700;
    margin: 0 0 10px 0; 
    text-align: center;
    width: 100%;
}

.section-header-centered span,
.section-title span { 
    display: block; 
    width: 80px; 
    height: 3px; 
    background: var(--c-gold); 
    margin: 15px auto 0; 
}

/* СЕКЦИЯ ОТЗЫВОВ НА СТРАНИЦЕ КУРОРТА */
.reviews-section {
    margin-top: -10px;
    padding-top: 10px;
    border-top: 1px solid var(--c-sand-dark);
    margin-bottom: 25px;
}

/* Компактный блок отзывов */
.reviews-compact-section {
    margin-top: 0;
    padding: 15px 0;
    background: var(--c-sand-bg);
    border-top: 1px solid var(--c-sand-dark);
    border-bottom: 1px solid var(--c-sand-dark);
}

.reviews-compact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.reviews-compact-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.reviews-compact-content i {
    color: var(--c-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviews-compact-text {
    font-size: 0.95rem;
    color: var(--c-text-main);
    line-height: 1.5;
}

.btn-reviews-compact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-reviews-compact:hover {
    background: var(--c-gold);
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 77, 86, 0.3);
}

.reviews-container {
    position: relative; 
    padding: 0 40px; 
}

.section-header-small { 
    text-align: center; 
    margin: 0 0 12px 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section-header-small h2 { 
    font-size: 2rem; 
    font-family: var(--f-heading);
    color: var(--c-deep-blue); 
    font-weight: 700;
    margin: 0;
    text-align: center;
    width: 100%;
}

.carousel-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 5px;
    -webkit-scroll-snap-type: x mandatory;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 12px;
    scroll-behavior: smooth; 
}

.carousel-wrapper::-webkit-scrollbar { display: none; }

.review-card-mini {
    -webkit-flex: 0 0 320px; 
    -ms-flex: 0 0 320px; 
    flex: 0 0 320px; 
    scroll-snap-align: start; 
    background: var(--c-sand-bg);
    border: 1px solid var(--c-sand-dark);
    padding: 20px;
    border-radius: 12px;
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.rc-head { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    gap: 12px; 
    margin-bottom: 8px; 
}

.rc-avatar { 
    width: 40px; 
    height: 40px; 
    background: var(--c-gold); 
    color: white; 
    border-radius: 50%; 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    font-weight: 700; 
}

.rc-name { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--c-deep-blue); 
}

.rc-stars { 
    font-size: 0.75rem; 
    color: var(--c-gold); 
}

.rc-text { 
    font-size: 0.9rem; 
    color: #555; 
    font-style: italic; 
    line-height: 1.5; 
}

.rc-tour-link { 
    display: inline-block; 
    margin-top: 8px; 
    font-size: 0.85rem; 
    color: var(--c-gold); 
    text-decoration: none; 
    font-weight: 600; 
    border-bottom: 1px dotted var(--c-gold); 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

.rc-tour-link:hover { 
    color: var(--c-deep-blue); 
    border-bottom: 1px solid var(--c-deep-blue); 
}

.carousel-nav-btn {
    position: absolute; 
    top: 50%; 
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background: rgba(14, 77, 86, 0.8);
    color: white; 
    border: none; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    cursor: pointer;
    z-index: 10; 
    font-size: 1.2rem; 
    opacity: 0.8; 
    -webkit-transition: opacity 0.3s, background 0.3s;
    -moz-transition: opacity 0.3s, background 0.3s;
    -o-transition: opacity 0.3s, background 0.3s;
    transition: opacity 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-section .carousel-nav-btn {
    top: calc(50% + 25px);
}

.carousel-nav-btn:hover { 
    opacity: 1; 
    background: var(--c-gold); 
}

.carousel-nav-btn.prev { left: 0; }
.carousel-nav-btn.next { right: 0; }

.btn-view-all-reviews {
    display: block; 
    margin: 12px auto 0; 
    max-width: 250px; 
    text-align: center;
    padding: 10px 20px; 
    border: 2px solid var(--c-deep-blue); 
    color: var(--c-deep-blue);
    font-weight: 600; 
    border-radius: 50px; 
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-view-all-reviews:hover { 
    background: var(--c-deep-blue); 
    color: var(--c-white); 
}

/* =========================================
   2. СТРАНИЦА ТУРА
   ========================================= */
.breadcrumbs { 
    padding: 15px 0 10px; 
    font-size: 0.85rem; 
    color: #999; 
    margin-top: 80px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* Убеждаемся, что breadcrumbs видны на десктопе */
@media (min-width: 1025px) {
    .breadcrumbs {
        margin-top: 80px;
    }
}

.breadcrumbs a {
    color: #999;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
    color: var(--c-text-light);
}

.breadcrumbs span { 
    margin: 0 10px; 
    color: #bbb; 
    opacity: 0.6;
}

/* Photo Gallery Container */
.photo-gallery {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    grid-template-rows: 380px 380px; 
    gap: 20px;
    border-radius: var(--radius); 
    overflow: hidden; 
    margin-bottom: 0;
    box-shadow: 0 8px 30px rgba(14, 77, 86, 0.08);
    background: var(--c-white);
    padding: 0;
}

.gallery-item { 
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
    border-radius: var(--radius);
    background: var(--c-sand-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(14, 77, 86, 0.1) 50%, rgba(14, 77, 86, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
    display: block;
}

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

.gallery-item:hover {
    box-shadow: 0 12px 40px rgba(14, 77, 86, 0.15);
    transform: translateY(-2px);
}

.item-main { 
    grid-row: 1 / 3;
    border-radius: var(--radius) 0 0 var(--radius);
}

.item-sub {
    border-radius: 0;
}

.item-sub:first-of-type {
    border-radius: 0 var(--radius) 0 0;
}

.item-sub:last-of-type {
    border-radius: 0 0 var(--radius) 0;
}

.view-all-photos {
    position: absolute; 
    bottom: 25px; 
    right: 25px; 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    font-weight: 600;
    color: var(--c-deep-blue);
    box-shadow: 0 6px 20px rgba(14, 77, 86, 0.2); 
    cursor: pointer; 
    z-index: 2; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.view-all-photos i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.view-all-photos:hover { 
    background: var(--c-gold); 
    color: var(--c-white);
    box-shadow: 0 8px 25px rgba(207, 160, 82, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.view-all-photos:hover i {
    transform: scale(1.1);
}

/* Additional styling for sub-items - hover indicator */
.item-sub {
    position: relative;
}

.item-sub::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 77, 86, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

.item-sub:hover::after {
    opacity: 1;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

.lightbox-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.lightbox-swiper .lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    user-select: none;
}

/* Кнопки навигации Swiper */
.lightbox-swiper .swiper-button-next,
.lightbox-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-swiper .swiper-button-next:hover,
.lightbox-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-swiper .swiper-button-next::after,
.lightbox-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Пагинация Swiper */
.lightbox-swiper .swiper-pagination {
    bottom: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.lightbox-swiper .swiper-pagination-fraction {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
    background: transparent;
    border: none;
    padding: 0;
    width: auto;
    height: auto;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Старые стили для .prev и .next удалены - теперь используется Swiper */

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 16px;
    font-weight: 600;
    z-index: 1000001;
    background: rgba(0,0,0,0.6);
    padding: 8px 15px;
    border-radius: 20px;
    pointer-events: none;
}

.tour-layout { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 50px; 
    align-items: start; 
}

.tour-tags { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 15px; 
}

.tag { 
    background: rgba(207, 160, 82, 0.15); 
    color: #8a6b36; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    text-transform: uppercase; 
}

.tour-title { 
    font-size: 2.2rem; 
    margin-bottom: 15px; 
    line-height: 1.3; 
    font-weight: 700;
    color: var(--c-deep-blue);
}

.tour-meta { 
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px; 
    border-bottom: 1px solid var(--c-sand-dark); 
    padding-bottom: 20px;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.tour-meta-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 8px;
    color: var(--c-deep-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tour-meta-icon i {
    display: block;
}

.tour-meta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tour-meta-label {
    font-size: 0.75rem;
    color: var(--c-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-meta-value {
    font-size: 0.95rem;
    color: var(--c-text-main);
    font-weight: 600;
}

.highlights { 
    background: var(--c-white); 
    padding: 25px 15px; 
    border-radius: var(--radius); 
    border: 1px solid var(--c-sand-dark); 
    margin-bottom: 25px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Уменьшаем внутренние отступы highlights на мобильных */
@media (max-width: 768px) {
    .highlights {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .highlights {
        padding: 18px 8px;
    }
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 8px;
    color: var(--c-deep-blue);
    font-size: 1.1rem;
}

.highlight-icon i {
    display: block;
}

.highlight-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.highlight-title {
    font-weight: 700;
    color: var(--c-deep-blue);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.highlight-desc {
    color: var(--c-text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.block-title { 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    margin-top: 0; 
    font-weight: 700;
    color: var(--c-deep-blue);
    line-height: 1.3;
}

/* Первый блок после заголовка не имеет дополнительного отступа */
.tour-content > .block-title:first-of-type,
.tour-content > .text-content:first-of-type .block-title {
    margin-top: 0;
}

/* Подзаголовки h4 с классом block-title */
h4.block-title {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--c-deep-blue);
}

.text-content {
    margin-top: 0;
    margin-bottom: 40px;
}

.tour-description-section {
    max-width: var(--container-width);
    margin: 60px auto 60px auto;
    padding: 50px 20px;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(14, 77, 86, 0.04);
    border-top: 1px solid var(--c-sand-dark);
    border-bottom: 1px solid var(--c-sand-dark);
    position: relative;
}

.tour-description-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--c-sand-dark) 20%, var(--c-sand-dark) 80%, transparent 100%);
}

.tour-description-section .block-title {
    text-align: center;
    font-size: 2rem;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-deep-blue);
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 20px;
}

.tour-description-section .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-deep-blue) 100%);
    border-radius: 2px;
}

.text-content h3.block-title {
    margin-top: 0;
}

.text-content p { 
    margin-bottom: 15px; 
    color: #444; 
    line-height: 1.6;
    font-size: 1rem;
}

.timeline { 
    margin-top: 0; 
    margin-bottom: 25px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.timeline-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 8px;
    color: var(--c-deep-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.timeline-icon i {
    display: block;
}

.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-location { 
    font-weight: 700; 
    color: var(--c-deep-blue);
    font-size: 0.95rem;
}

/* Обратная совместимость со старым классом */
.timeline-time {
    font-weight: 700; 
    color: var(--c-deep-blue);
    font-size: 0.95rem;
}

.timeline-desc { 
    color: var(--c-text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.inc-exc-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-top: 0;
    margin-bottom: 25px; 
}

.inc-exc-item {
    display: flex;
    flex-direction: column;
}

.inc-exc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inc-exc-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.inc-exc-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.inc-exc-icon-check {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.inc-exc-icon-times {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.inc-exc-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--c-text-main);
    line-height: 1.5;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.what-to-bring-section { 
    background: var(--c-white);
    padding: 25px; 
    border-radius: var(--radius); 
    border: 1px solid var(--c-sand-dark); 
    margin-top: 0;
    margin-bottom: 25px;
}

.what-to-bring-section .block-title { 
    margin-top: 0; 
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--c-deep-blue);
    font-weight: 600;
}

.what-to-bring-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.what-to-bring-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.what-to-bring-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 6px;
    color: var(--c-success);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.what-to-bring-icon i {
    display: block;
}

.what-to-bring-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--c-text-main);
    line-height: 1.5;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.check-list li { 
    margin-bottom: 8px; 
    font-size: 0.9rem; 
    display: flex; 
    gap: 10px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    align-items: flex-start;
}

.check-list li i {
    flex-shrink: 0;
    min-width: 18px;
    margin-top: 2px;
}

.check-list li i.fa-check { 
    color: #27ae60; 
}

.check-list li i.fa-times { 
    color: #e74c3c; 
}

.reviews-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    flex-wrap: wrap; 
    gap: 20px; 
}

/* Блок рейтинга */
.rating-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 15px; 
    background: #fff; 
    border: 1px solid #e0d6c2; 
    padding: 10px 20px; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
}

.rating-num { 
    font-family: var(--f-heading); 
    font-size: 2.2rem; 
    line-height: 1; 
    font-weight: 700; 
    color: var(--c-deep-blue); 
}

.rating-details { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
}

.rating-stars { 
    color: var(--c-gold); 
    font-size: 0.9rem; 
}

.rating-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    color: #888; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
}

.related-tours-section { 
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(14, 77, 86, 0.02) 0%, rgba(207, 160, 82, 0.02) 100%);
    border-top: 1px solid var(--c-sand-dark);
    border-bottom: 1px solid var(--c-sand-dark);
    position: relative;
}

.related-tours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--c-sand-dark) 20%, var(--c-sand-dark) 80%, transparent 100%);
}

.related-tours-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.related-tours-title {
    font-size: 2rem;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-deep-blue);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.related-tours-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-deep-blue) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.related-tours-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 0;
}

/* Улучшенные карточки экскурсий в блоке related tours */
.related-tour-card {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(14, 77, 86, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(14, 77, 86, 0.15);
}

.related-tour-card .tour-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.related-tour-card .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-tour-card:hover .tour-image img {
    transform: scale(1.08);
}

.tour-tag-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(14, 77, 86, 0.9);
    color: var(--c-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.tour-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--c-gold) 0%, #b8903f 100%);
    color: var(--c-white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(207, 160, 82, 0.4);
}

.tour-discount-badge .discount-text {
    display: block;
}

.related-tour-card .tour-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.related-tour-card .tour-content h4 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    min-height: 3.2em;
}

.related-tour-card .tour-content h4 a {
    color: var(--c-deep-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-tour-card .tour-content h4 a:hover {
    color: var(--c-gold);
}

.tour-excerpt {
    font-size: 0.9rem;
    color: var(--c-text-light);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-tour-card .tour-meta-small {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--c-text-light);
    margin: 0;
}

.related-tour-card .tour-meta-small span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-tour-card .tour-meta-small i {
    color: var(--c-gold);
    font-size: 0.9rem;
}

.related-tour-card .tour-rating-small {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.related-tour-card .rating-stars-small {
    color: var(--c-gold);
    font-size: 0.9rem;
}

.related-tour-card .rating-value-small {
    font-weight: 700;
    color: var(--c-deep-blue);
    font-size: 0.95rem;
}

.related-tour-card .review-count-small {
    font-size: 0.85rem;
    color: var(--c-text-light);
}

.tour-price-block-related {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--c-sand-dark);
}

.tour-price-main-related {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.price-main-related {
    font-size: 1.5rem;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-deep-blue);
    line-height: 1;
}

.price-label-related {
    font-size: 0.9rem;
    color: var(--c-text-light);
    font-weight: 400;
}

.price-old-related {
    font-size: 1rem;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 400;
}

.tour-price-child-related {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 5px;
}

.price-child-related {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-success);
}

.price-label-child-related {
    font-size: 0.85rem;
    color: var(--c-text-light);
}

.tour-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
}

.tour-card-button:hover {
    background: var(--c-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3);
}

.tour-card-button i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.tour-card-button:hover i {
    transform: translateX(3px);
}

.tours-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 20px; 
}

.tour-card { 
    background: var(--c-white); 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    transition: transform 0.3s, box-shadow 0.3s; 
    border: 1px solid var(--c-sand-dark); 
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.tour-image { 
    height: 180px; 
    overflow: hidden; 
    position: relative;
    background: var(--c-sand-bg);
}

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

.tour-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-sand-bg);
    color: var(--c-text-light);
    font-size: 2rem;
}

.tour-card:hover .tour-image img { 
    transform: scale(1.05); 
}

.tour-content { 
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-content h4 { 
    margin: 0 0 12px 0; 
    font-size: 1.1rem; 
    line-height: 1.4; 
    font-weight: 600;
    color: var(--c-deep-blue);
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-content h4 a { 
    color: var(--c-deep-blue); 
    text-decoration: none; 
    transition: color 0.3s;
}

.tour-content h4 a:hover { 
    color: var(--c-gold); 
}

.tour-rating-small {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.rating-stars-small {
    color: var(--c-gold);
    font-size: 0.75rem;
}

.rating-value-small {
    font-weight: 600;
    color: var(--c-deep-blue);
}

.review-count-small {
    color: var(--c-text-light);
    font-size: 0.8rem;
}

.tour-meta-small { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    font-size: 0.85rem; 
    color: var(--c-text-light);
    margin-bottom: 15px;
}

.tour-meta-small span { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.tour-meta-small i {
    color: var(--c-gold);
    font-size: 0.9rem;
}

.tour-price-small {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--c-sand-dark);
}

.tour-price-small .price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
    margin-right: 10px;
}

.tour-price-small .price-old {
    font-size: 1rem;
    color: var(--c-text-light);
    text-decoration: line-through;
}

.review-card { 
    background: var(--c-white); 
    padding: 25px; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    border: 1px solid #eee; 
}

.review-card p {
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
}

.reviewer-info { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    font-weight: 600; 
}

.reviewer-info > div:last-child {
    display: block;
    line-height: 1.4;
}

.reviewer-info > div:last-child > span {
    font-weight: 400;
}

.review-date {
    font-size: 0.85rem;
    color: var(--c-text-light);
    font-weight: 400;
}

.avatar { 
    width: 40px; 
    height: 40px; 
    background: var(--c-sand-dark); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--c-deep-blue); 
    font-size: 0.9rem; 
    flex-shrink: 0;
}

.review-stars { 
    color: #f1c40f; 
    font-size: 0.9rem; 
    flex-shrink: 0;
}

.add-review-form { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    margin-top: 0; 
    margin-bottom: 25px;
    border: 1px dashed var(--c-gold); 
}

.add-review-form h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--c-deep-blue);
    line-height: 1.3;
}

.star-rating-input { 
    display: flex; 
    gap: 5px; 
    color: #ddd; 
    font-size: 1.5rem; 
    cursor: pointer; 
    margin-bottom: 15px; 
}

.star-rating-input i:hover, .star-rating-input i.active { 
    color: #f1c40f; 
}

.btn-submit-review { 
    background: var(--c-deep-blue); 
    color: white; 
    padding: 10px 30px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 600; 
}

/* =========================================
   3. КАРТОЧКА БРОНИРОВАНИЯ
   ========================================= */
.booking-card {
    background: var(--c-white); 
    padding: 25px 15px; 
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sticky позиционирование только для десктопной версии */
#booking-card-element {
    position: sticky; 
    top: 100px; 
    z-index: 10;
}

.booking-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.booking-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-title { 
    font-size: 1.3rem; 
    margin: 0;
    color: var(--c-deep-blue); 
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
}

.booking-discount-sticker {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--c-white);
    padding: 7px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    position: relative;
    white-space: nowrap;
    animation: discountPulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.booking-discount-sticker::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 28px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(6px);
    animation: discountGlow 2s ease-in-out infinite;
}

.discount-sticker-text {
    display: block;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

@keyframes discountPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    }
}

@keyframes discountGlow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
}

.booking-price-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Скрываем пустой booking-price-section на десктопе, если он пустой */
#booking-card-element .booking-price-section:empty {
    display: none;
}

.booking-price-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.2;
}

.booking-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: nowrap;
    line-height: 1;
}

.booking-price-amount {
    font-size: 2rem; 
    font-family: var(--f-heading); 
    font-weight: 700; 
    color: var(--c-deep-blue);
    line-height: 1;
    white-space: nowrap;
}

.booking-price-label {
    font-size: 0.9rem;
    color: var(--c-text-light);
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.booking-price-rub {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.2;
    white-space: nowrap;
}

.booking-price-old { 
    text-decoration: line-through; 
    color: #aaa; 
    font-size: 0.9rem;
}

.booking-price-old-inline {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
    margin-left: 8px;
    font-weight: 400;
}

.booking-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e8f8f5; 
    color: #27ae60; 
    padding: 8px 12px; 
    border-radius: 50px;
    font-size: 0.85rem; 
    font-weight: 600; 
    border: 1px solid #d1f2eb;
    width: fit-content;
}

.booking-badge-icon {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.booking-badge-text {
    white-space: nowrap;
}

.booking-prices-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9f9; 
    padding: 15px; 
    border-radius: 8px;
}

.booking-price-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-price-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 6px;
    color: var(--c-deep-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.booking-price-item-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.booking-price-item-label {
    font-size: 0.85rem;
    color: var(--c-text-main);
}

.booking-price-item-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-deep-blue);
}

.booking-badge-in-list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--c-sand-dark);
}

.booking-badge-in-list .booking-badge-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 6px;
    color: var(--c-success);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.booking-badge-in-list .booking-badge-text {
    font-size: 0.85rem;
    color: var(--c-text-main);
    font-weight: 500;
}

.booking-schedule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.booking-schedule-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 6px;
    color: var(--c-deep-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.booking-schedule-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-schedule-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-deep-blue);
}

.booking-schedule-value {
    font-size: 0.9rem;
    color: var(--c-text-main);
}

.form-group { 
    margin-bottom: 15px; 
}

.form-label { 
    display: block; 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-bottom: 5px; 
    color: var(--c-text-light); 
}

.form-control { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid var(--c-sand-dark); 
    border-radius: 6px; 
    background: #fff; 
    cursor: pointer; 
    transition: 0.3s;
}

.form-control:focus { 
    border-color: var(--c-gold); 
    outline: none; 
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-info-box {
    background: #fdf2e9;
    border-left: 3px solid var(--c-gold);
    padding: 12px;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.booking-info-icon {
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.booking-info-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.booking-info-text a {
    color: var(--c-deep-blue);
    text-decoration: underline;
}

.booking-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    margin: 0;
}

.booking-checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
}

.booking-checkbox label {
    flex: 1;
    cursor: pointer;
}

.booking-checkbox a {
    text-decoration: underline;
    color: var(--c-deep-blue);
}

.booking-checkbox.highlight-required {
    background: #fff3cd;
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 12px;
    animation: pulse-highlight 1.5s ease-in-out;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.15);
}

.booking-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.booking-btn:active {
    transform: scale(0.98);
}

.booking-btn-icon {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.booking-btn-text {
    flex: 1;
    text-align: center;
}

.booking-btn-wa {
    background: #25D366;
}

.booking-btn-wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.booking-btn-tg {
    background: #229ED9;
}

.booking-btn-tg:hover {
    background: #1f8ebc;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.3);
}

.booking-btn-viber {
    background: #7360f2;
}

.booking-btn-viber:hover {
    background: #5f4dd6;
    box-shadow: 0 4px 12px rgba(115, 96, 242, 0.3);
}

.booking-btn-fb {
    background: #0084ff;
}

.booking-btn-fb:hover {
    background: #0073e6;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3);
}

.booking-btn-vk {
    background: #0077FF;
}

.booking-btn-vk:hover {
    background: #0066e6;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

.booking-btn-max {
    background: #FF6B00;
}

.booking-btn-max:hover {
    background: #e65f00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.booking-note {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 5px;
}

.booking-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.booking-security-icon {
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.booking-security-text {
    flex: 0 1 auto;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.booking-terms-short a { 
    text-decoration: underline; 
    font-weight: 600; 
    color: #8a6b36; 
}

/* Мобильный блок бронирования - скрыт на десктопе */
.booking-card-mobile {
    display: none;
    transition: all 0.3s ease;
}

#mobile-booking-placeholder { 
    display: none; 
}

/* =========================================
   4. СТРАНИЦА О НАС
   ========================================= */

/* Story Section */
.story-section {
    padding: 100px 0;
    background: var(--c-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content {
    display: flex;
    flex-direction: column;
}

.story-content .section-header-centered {
    margin-bottom: 40px;
    text-align: left;
    align-items: flex-start;
}

.story-content .section-header-centered h2 {
    text-align: left;
}

.story-content .section-header-centered span {
    margin-left: 0;
}

.story-text {
    color: var(--c-text-main);
    line-height: 1.8;
    font-size: 1.05rem;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--c-text-light);
}

.story-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--c-sand-bg);
}

.values-section .section-header-centered {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--c-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--c-sand-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--c-gold);
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #1a6d78 100%);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--c-gold) 0%, #d4b062 100%);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: var(--c-white);
}

.value-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
    font-weight: 700;
}

.value-card p {
    color: var(--c-text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* CTA Section */
.about-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #1a6d78 100%);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--c-white);
    font-family: var(--f-heading);
    font-weight: 700;
}

.about-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
}

.about-cta-section .btn-hero {
    display: inline-block;
    padding: 16px 45px;
    background: var(--c-gold);
    color: var(--c-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(207, 160, 82, 0.4);
    border: 2px solid var(--c-gold);
}

.about-cta-section .btn-hero:hover {
    background: transparent;
    color: var(--c-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(207, 160, 82, 0.5);
}

/* =========================================
   5. СТРАНИЦА КОНТАКТОВ
   ========================================= */
.page-hero-contact {
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #1a6d78 100%);
    color: var(--c-white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-hero-contact h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero-contact p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Section - если page-hero без фона, добавляем дефолтный */
.page-hero:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #1a6d78 100%);
    min-height: 400px;
}

.contact-section {
    padding: 80px 0;
    background: var(--c-white);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
    text-align: center;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 50px;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
}

.messenger-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.messenger-buttons .btn-cta {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    border: none;
    text-transform: none;
}

.messenger-buttons .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-details {
    background: var(--c-sand-bg);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--c-sand-dark);
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-text-main);
}

.contact-details strong {
    color: var(--c-deep-blue);
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.messenger-block {
    padding: 80px 0;
    background: var(--c-white);
    text-align: center;
}

.messenger-block h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.messenger-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
    background: #229ED9;
    color: white;
}

.btn-telegram:hover {
    background: #1f8ebc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(34, 158, 217, 0.3);
}

.btn-viber {
    background: #7360F2;
    color: white;
}

.btn-viber:hover {
    background: #6250e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(115, 96, 242, 0.3);
}

.details-section {
    padding: 80px 0;
    background: var(--c-sand-bg);
    border-top: 1px solid var(--c-sand-dark);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-card {
    background: var(--c-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--c-sand-dark);
}

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

.detail-card i {
    font-size: 2.5rem;
    color: var(--c-gold);
    margin-bottom: 20px;
}

.detail-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.detail-card a {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    margin-bottom: 10px;
}

.detail-card a:hover {
    color: var(--c-gold);
}

.map-section {
    padding: 60px 0 0;
    background: var(--c-white);
    margin-top: 60px;
    text-align: center;
}

.map-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
}

.map-section p {
    font-size: 1.1rem;
    color: var(--c-text-light);
    margin-bottom: 30px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 400px;
    background: #eee;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* SEO Section */
.seo-section {
    padding: 25px 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-sand-dark);
    margin-top: 25px;
}

.seo-section .container.seo-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

/* SEO Content Section (для главной страницы) */
.seo-content-section .container {
    padding: 0 20px;
}

/* Мобильные стили для SEO секций */
@media (max-width: 900px) {
    .seo-section .container.seo-content,
    .seo-content-section .container {
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .seo-section .container.seo-content,
    .seo-content-section .container {
        padding: 0 20px !important;
    }
}

.seo-content h2 {
    font-size: 2rem;
    font-family: var(--f-heading);
    margin-bottom: 20px;
    color: var(--c-deep-blue);
    font-weight: 700;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-family: var(--f-heading);
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--c-deep-blue);
    font-weight: 600;
}

.seo-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-main);
    margin-bottom: 15px;
}

.seo-content strong {
    color: var(--c-deep-blue);
    font-weight: 700;
}

.seo-content ul,
.seo-content ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
    color: var(--c-text-main);
}

.seo-content li {
    margin-bottom: 10px;
}

/* =========================================
   КОНВЕРСИОННЫЙ БЛОК CTA
   ========================================= */
.conversion-cta-block {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05) 0%, rgba(207, 160, 82, 0.05) 100%);
    border: 2px solid var(--c-gold);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.conversion-cta-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.conversion-cta-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-gold);
    border-radius: 50%;
    color: var(--c-white);
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3);
}

.conversion-cta-text {
    flex: 1;
    min-width: 250px;
}

.conversion-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.conversion-cta-description {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.conversion-cta-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    width: 100%;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.conversion-cta-checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.conversion-cta-checkbox.highlight-required {
    background: #fff3cd;
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 12px;
    animation: pulse-highlight 1.5s ease-in-out;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.15);
}

.conversion-cta-checkbox label {
    flex: 1;
    cursor: pointer;
}

.conversion-cta-checkbox a {
    text-decoration: underline;
    color: var(--c-deep-blue);
}

.conversion-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}

.conversion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--c-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: fit-content;
    max-width: 100%;
}

.conversion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: var(--c-white);
}

.conversion-btn i {
    font-size: 1.2rem;
}

.conversion-btn-wa {
    background: #25D366;
}

.conversion-btn-wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.conversion-btn-tg {
    background: #229ED9;
}

.conversion-btn-tg:hover {
    background: #1f8ebc;
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
}

.conversion-btn-viber {
    background: #7360f2;
}

.conversion-btn-viber:hover {
    background: #5f4dd6;
    box-shadow: 0 4px 12px rgba(115, 96, 242, 0.35);
}

.conversion-btn-fb {
    background: #0084ff;
}

.conversion-btn-fb:hover {
    background: #0073e6;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.35);
}

.conversion-btn-vk {
    background: #0077FF;
}

.conversion-btn-vk:hover {
    background: #0066e6;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.35);
}

.conversion-btn-max {
    background: #FF6B00;
}

.conversion-btn-max:hover {
    background: #e65f00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

/* =========================================
   СТРАНИЦЫ ЮРИДИЧЕСКИХ ДОКУМЕНТОВ
   ========================================= */
.legal-page-content {
    background: var(--c-white);
    padding: 40px;
    border-radius: var(--radius);
    margin: 30px 0 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--c-sand-dark);
}

.legal-page-title {
    font-size: 2.5rem;
    color: var(--c-deep-blue);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--c-gold);
}

.legal-page-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-main);
}

.legal-page-text h2 {
    font-size: 1.8rem;
    color: var(--c-deep-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page-text h3 {
    font-size: 1.4rem;
    color: var(--c-deep-blue);
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-page-text p {
    margin-bottom: 15px;
}

.legal-page-text ul,
.legal-page-text ol {
    margin: 15px 0 15px 30px;
    padding-left: 20px;
}

.legal-page-text li {
    margin-bottom: 10px;
}

.legal-page-text strong {
    color: var(--c-deep-blue);
    font-weight: 700;
}

/* =========================================
   TOAST УВЕДОМЛЕНИЯ
   ========================================= */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.toast-notification-content {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.toast-notification-warning .toast-notification-content {
    border-left-color: #f39c12;
    background: #fff8e1;
}

.toast-notification-error .toast-notification-content {
    border-left-color: #e74c3c;
    background: #ffebee;
}

.toast-notification-success .toast-notification-content {
    border-left-color: #27ae60;
    background: #e8f5e9;
}

.toast-notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-notification-warning .toast-notification-icon {
    color: #f39c12;
}

.toast-notification-error .toast-notification-icon {
    color: #e74c3c;
}

.toast-notification-success .toast-notification-icon {
    color: #27ae60;
}

.toast-notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.toast-notification-close {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toast-notification-close:hover {
    color: #333;
}

/* =========================================
   МОДАЛЬНОЕ ОКНО С ИНСТРУКЦИЕЙ ПО БРОНИРОВАНИЮ
   ========================================= */
.messenger-instruction-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.messenger-instruction-modal.active {
    display: flex;
    opacity: 1;
}

.messenger-instruction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.messenger-instruction-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10002;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.messenger-instruction-modal.active .messenger-instruction-content {
    transform: scale(1);
}

.messenger-instruction-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10003;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messenger-instruction-close:hover {
    color: #333;
}

.messenger-instruction-icon {
    font-size: 40px;
    color: var(--c-deep-blue, #1a5490);
    margin-bottom: 0;
}

.messenger-instruction-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.messenger-instruction-manual {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
}

.messenger-instruction-manual-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.messenger-instruction-manual-info {
    font-size: 14px;
    color: #666;
}

.manual-contact-item {
    margin-bottom: 8px;
}

.manual-contact-item:last-child {
    margin-bottom: 0;
}

.manual-contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.manual-contact-value {
    color: var(--c-deep-blue, #1a5490);
    font-weight: 600;
    font-size: 15px;
    word-break: break-all;
}

.manual-contact-value a {
    color: var(--c-deep-blue, #1a5490);
    text-decoration: none;
}

.manual-contact-value a:hover {
    text-decoration: underline;
}

.messenger-instruction-qr {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    display: inline-block;
}

.messenger-instruction-qr-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.messenger-instruction-qr img {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    height: auto;
}

.messenger-instruction-link {
    margin-top: 0;
}

.messenger-instruction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-deep-blue, #1a5490);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.messenger-instruction-btn:hover {
    background: var(--c-deep-blue-hover, #164275);
    transform: translateY(-2px);
    color: #fff;
}

.messenger-instruction-btn i {
    font-size: 18px;
}