/* =========================================
   1. GLOBAL VARIABLES
   ========================================= */
:root {
    --c-sand-bg: #F9F7F2;       
    --c-sand-dark: #EBE5D9;     
    --c-deep-blue: #0E4D56;     
    --c-gold: #CFA052;          
    --c-text-main: #2C2C2C;     
    --c-text-light: #666666;    
    --c-white: #FFFFFF;
    --c-success: #27ae60;
    --c-danger: #e74c3c;
    --f-heading: 'Montserrat', sans-serif;
    --f-body: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --radius: 12px;
}/* =========================================
   2. BASE STYLES
   ========================================= */
* { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body { 
    font-family: var(--f-body); 
    background-color: var(--c-sand-bg); 
    color: var(--c-text-main); 
    line-height: 1.6; 
}

h1, h2, h3, h4 { 
    font-family: var(--f-heading); 
    color: var(--c-deep-blue); 
    font-weight: 700;
}

a { 
    text-decoration: none; 
    color: inherit; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

ul { 
    list-style: none; 
}

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

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

/* Уменьшаем боковые отступы на мобильных устройствах */
@media (max-width: 900px) {
    .container {
        padding: 0 15px;
    }
    
    /* Исключение для SEO и FAQ секций - оставляем нормальные отступы */
    .seo-section .container.seo-content,
    .seo-content-section .container,
    .faq-section .container {
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* Исключение для SEO и FAQ секций - оставляем нормальные отступы */
    .seo-section .container.seo-content,
    .seo-content-section .container,
    .faq-section .container {
        padding: 0 20px !important;
    }
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    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;
    border: none;
}

.btn-primary {
    background: var(--c-gold);
    color: var(--c-white);
}

.btn-primary:hover {
    background: var(--c-deep-blue);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}/* =========================================
   3. HEADER STYLES
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--c-sand-dark); 
    padding: 10px 0;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    position: relative;
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Logo wrapper to align logo to the left */
.logo-wrapper {
    -webkit-box-ordinal-group: 0;
    -moz-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
    flex-shrink: 0;
}

.logo {
    display: block;
}

.logo img { 
    height: 50px; 
    width: auto; 
}

/* More compact logo for all devices */
.logo img,
.custom-logo {
    height: 40px !important; 
    width: auto !important; 
    max-height: 40px !important;
}

/* Even more compact logo for mobile devices */
@media (max-width: 768px) {
    .logo img,
    .custom-logo {
        height: 35px !important; 
        max-height: 35px !important;
    }
}

@media (max-width: 480px) {
    .logo img,
    .custom-logo {
        height: 30px !important; 
        max-height: 30px !important;
    }
}

/* Navigation */
nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 25px; 
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-links li {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links a { 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: var(--c-deep-blue);
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 0;
    transition: color 0.3s ease;
    display: block;
}

.nav-links a:hover { 
    color: var(--c-gold); 
}

/* Submenu Styles */
.nav-links .menu-item-has-children {
    position: relative;
}

.nav-links .menu-item-has-children > a {
    padding-right: 20px;
    position: relative;
}

.nav-links .menu-item-has-children > a::after {
    content: "\f107"; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-links .menu-item-has-children:hover > a::after,
.nav-links .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--c-white);
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    border: 1px solid var(--c-sand-dark);
    margin-top: 10px;
}

/* Предотвращаем закрытие подменю при переходе на него */
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop: hover для подменю */
@media (min-width: 901px) {
    .nav-links .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Улучшенный hover для вложенных подменю */
    .nav-links .sub-menu .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Мобильные: активное состояние для подменю */
@media (max-width: 900px) {
    .nav-links .menu-item-has-children.active > .sub-menu {
        display: block;
        max-height: 1000px;
        padding: 10px 0;
    }
}

/* Desktop: активное состояние тоже работает */
@media (min-width: 901px) {
    .nav-links .menu-item-has-children.active > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.nav-links .sub-menu li {
    white-space: nowrap;
    width: 100%;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text-main);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-links .sub-menu a:hover {
    background: var(--c-sand-bg);
    color: var(--c-gold);
    padding-left: 25px;
}

/* Nested submenu support */
.nav-links .sub-menu .menu-item-has-children > a::after {
    right: 15px;
    content: "\f105"; /* chevron-right */
}

.nav-links .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 10px;
}

.header-phone {
    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;
    flex-shrink: 0;
    margin-right: 10px;
}

.header-phone-link {
    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: 6px;
    color: var(--c-deep-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-phone-link:hover {
    color: var(--c-gold);
}

.header-phone-link i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.header-phone-text {
    font-size: 0.85rem;
}

.header-actions { 
    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;
    flex-shrink: 0;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.header-actions .btn-icon { 
    font-size: 1.3rem; 
    color: var(--c-deep-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions .btn-icon:hover { 
    color: var(--c-gold); 
}

/* Кнопка "Связаться с нами" в шапке */
.btn-header-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-white);
    background: var(--c-gold);
    border: 2px solid var(--c-gold);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--f-body);
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
}

/* По умолчанию показываем полный текст, скрываем короткий */
.btn-header-contact .btn-text-short {
    display: none;
}

.btn-header-contact .btn-text-full {
    display: inline;
}

.btn-header-contact:hover {
    background: var(--c-deep-blue);
    border-color: var(--c-deep-blue);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(14, 77, 86, 0.2);
}

.btn-header-contact i {
    font-size: 15px;
}

.mobile-toggle { 
    display: none; 
    font-size: 1.5rem; 
    color: var(--c-deep-blue); 
    cursor: pointer; 
    padding: 5px 8px;
    transition: color 0.3s ease;
    border: none;
    background: none;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-toggle:hover {
    color: var(--c-gold);
}

.mobile-toggle.active {
    color: var(--c-gold);
}

.mobile-toggle.active i::before {
    content: "\f00d"; /* fa-times вместо fa-bars */
}

/* Large screens - prevent wrapping */
@media (min-width: 1200px) {
    .nav-links {
        gap: 30px;
    }
}

/* Medium screens - reduce gap to prevent wrapping */
@media (min-width: 901px) and (max-width: 1199px) {
    .nav-links {
        gap: 18px;
    }
    
    .nav-links a {
        font-size: 0.82rem;
        letter-spacing: 0.4px;
    }
}

/* Tablet and Mobile styles */
@media (max-width: 1024px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        gap: 12px;
        padding: 0 15px;
        position: relative;
    }
    
    nav {
        position: static;
    }
    
    .nav-links { 
        display: none; 
        position: fixed;
        top: 70px;
        left: 0; 
        right: 0;
        width: 100%; 
        background: var(--c-white); 
        -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; 
        padding: 20px; 
        -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        border-top: 1px solid var(--c-sand-dark); 
        gap: 0; 
        text-align: left;
        z-index: 999;
        white-space: normal;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 1;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 12px 15px;
        white-space: normal;
        border-bottom: none;
        display: block;
        width: 100%;
        position: relative;
        z-index: 1;
        background: var(--c-white);
    }
    
    /* Mobile submenu styles */
    .nav-links .menu-item-has-children > a {
        padding-right: 40px;
    }
    
    .nav-links .menu-item-has-children > a::after {
        right: 15px;
        font-size: 0.8rem;
    }
    
    .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0;
        padding: 0;
        background: var(--c-sand-bg);
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-links .menu-item-has-children.active > .sub-menu {
        display: block;
        max-height: 1000px;
        padding: 10px 0;
    }
    
    .nav-links .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-links .sub-menu a {
        padding: 10px 30px;
        font-size: 0.9rem;
        color: var(--c-text-light);
    }
    
    .nav-links .sub-menu a:hover {
        padding-left: 35px;
        background: transparent;
    }
    
    .nav-links .sub-menu .sub-menu {
        position: static;
        margin: 0;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .nav-links .sub-menu .sub-menu a {
        padding-left: 45px;
    }
    
    .nav-links.active { 
        display: -webkit-box !important;
        display: -moz-box !important;
        display: -ms-flexbox !important;
        display: -webkit-flex !important;
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Mobile menu backdrop - separate element approach */
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        pointer-events: all;
    }
    
    .mobile-toggle { 
        display: block; 
    }
    
    /* Компактный номер телефона на мобильных */
    .header-phone {
        display: flex;
        margin-right: 0;
    }
    
    .header-phone-link {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .header-phone-text {
        display: none; /* Скрываем текст на маленьких экранах, оставляем только иконку */
    }
    
    .header-phone-link i {
        font-size: 1rem;
        margin-right: 0;
    }
    
    .header-actions .btn-icon {
        font-size: 1.2rem;
    }
    
    /* Адаптация кнопки "Связаться с нами" для планшетов */
    .btn-header-contact {
        padding: 8px 12px;
        font-size: 0.85rem;
        gap: 4px;
    }
    
    .btn-header-contact i {
        font-size: 16px;
    }
    
    /* Обеспечиваем видимость бургер-меню */
    .mobile-toggle {
        display: block !important;
        flex-shrink: 0;
    }
}

/* Medium mobile devices (481px - 767px) - Compact button with shorter text */
@media (min-width: 481px) and (max-width: 767px) {
    .btn-header-contact {
        padding: 7px 10px;
        font-size: 0.8rem;
        gap: 4px;
        white-space: nowrap;
    }
    
    .btn-header-contact i {
        font-size: 15px;
    }
    
    /* Показываем короткий текст */
    .btn-header-contact .btn-text-full {
        display: none;
    }
    
    .btn-header-contact .btn-text-short {
        display: inline;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 8px;
        padding: 0 12px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .header-actions .btn-icon {
        font-size: 1.1rem;
    }
    
    /* Показываем короткий текст вместо скрытия */
    .btn-header-contact .btn-text-full {
        display: none;
    }
    
    .btn-header-contact .btn-text-short {
        display: inline;
    }
    
    .btn-header-contact {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 4px;
        white-space: nowrap;
    }
    
    .btn-header-contact i {
        font-size: 16px;
        margin: 0;
    }
    
    .mobile-toggle {
        font-size: 1.4rem;
        padding: 6px;
        flex-shrink: 0;
    }
}

/* Extra small devices (320px - 360px) */
@media (max-width: 360px) {
    .header-inner {
        gap: 6px;
        padding: 0 10px;
    }
    
    .logo img,
    .custom-logo {
        height: 28px !important;
        max-height: 28px !important;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    /* На очень маленьких экранах показываем только иконку */
    .btn-header-contact .btn-text-full,
    .btn-header-contact .btn-text-short {
        display: none;
    }
    
    .btn-header-contact {
        padding: 7px;
        min-width: 36px;
        gap: 0;
        justify-content: center;
    }
    
    .btn-header-contact i {
        font-size: 16px;
    }
    
    .mobile-toggle {
        font-size: 1.3rem;
        padding: 5px;
    }
    
    /* Скрываем телефон на очень маленьких экранах */
    .header-phone {
        display: none;
    }
}/* =========================================
   4. HERO SECTION STYLES
   ========================================= */
.hero {
    position: relative; 
    height: 90vh; 
    min-height: 600px;
    background: url('../images/hero.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: 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);
    overflow: hidden;
}

.hero-overlay {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1;
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: -o-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* PAGE HERO (For resort pages) */
.page-hero {
    position: relative; 
    min-height: auto; 
    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: 80px 20px 15px 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 20px 0; 
    opacity: 0.9; 
    line-height: 1.6;
}

/* Payment info box */
.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: 20px auto 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;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    padding: 20px; 
    margin-bottom: 0; 
}

.hero h1 { 
    font-size: 4.5rem; 
    color: var(--c-white); 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6); 
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem; 
    margin-bottom: 30px; 
    font-weight: 400; 
    opacity: 0.9; 
    letter-spacing: 1px; 
    text-transform: uppercase;
}

.hero-buttons { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 20px; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    margin-bottom: 20px; 
}

.btn-hero {
    background: var(--c-gold); 
    color: var(--c-white); 
    padding: 18px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 1rem;
    border: 2px solid 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;
    -webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-hero:hover { 
    background: transparent; 
    color: var(--c-gold); 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
    -moz-box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
}

.btn-hero.outline { 
    background: transparent; 
    border: 2px solid var(--c-white); 
    color: var(--c-white); 
}

.btn-hero.outline:hover { 
    background: var(--c-white); 
    color: var(--c-deep-blue); 
    border-color: var(--c-white); 
}

/* BENEFITS SECTION */
.hero-benefits {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 5;
    background: rgba(14, 77, 86, 0.85); 
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 25px 0;
}

.benefits-grid { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: space-evenly;
    -moz-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    -webkit-justify-content: space-around;
    justify-content: space-around; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    gap: 20px; 
}

.benefit-item { 
    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; 
    color: var(--c-white); 
}

.benefit-item i { 
    font-size: 1.8rem; 
    color: var(--c-gold); 
}

.benefit-text { 
    text-align: left; 
    line-height: 1.2; 
    font-size: 0.9rem; 
}

.benefit-text strong { 
    display: block; 
    font-size: 1rem; 
    margin-bottom: 2px; 
}

/* Mobile styles */
@media (max-width: 900px) {
    /* HERO FIX */
    .hero { 
        height: auto;           
        min-height: 70vh;      
        padding-top: 80px;     
        -webkit-box-pack: start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start; 
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        margin-top: 30px; 
    }
    
    .hero-subtitle { 
        font-size: 0.9rem; 
        margin-bottom: 20px; 
    }
    
    .btn-hero { 
        padding: 12px 15px; 
        width: 100%; 
        font-size: 0.85rem; 
    }
    
    /* HERO RESORT PAGE */
    .page-hero { 
        min-height: 70vh; 
        padding: 80px 20px 30px 20px; 
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
    }
    
    .page-hero h1 { 
        font-size: 1.8rem; 
        margin-bottom: 15px;
    }
    
    .hero-tagline { 
        font-size: 1rem; 
        margin-bottom: 25px; 
    }
    
    .hero-buttons { 
        -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-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center; 
        gap: 15px; 
        margin-bottom: 30px; 
    }
    
    .btn-hero { 
        width: 100%; 
        max-width: 300px; 
    }
    
    .hero-info-box { 
        padding: 20px; 
        margin-top: 20px; 
    }
    
    .hero-info-box h3 { 
        font-size: 1rem; 
        margin-bottom: 10px; 
    }
    
    .payment-list li { 
        margin-bottom: 8px; 
        font-size: 0.8rem; 
    }
    
    .payment-warning { 
        font-size: 0.7rem; 
        padding-left: 20px;
    }
    
    /* BENEFITS SECTION FIX */
    .hero-benefits { 
        position: relative;     
        margin-top: 50px;       
        bottom: auto;
        background: rgba(14, 77, 86, 0.95);
    }
    
    .benefits-grid {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr; 
        gap: 20px;
        padding: 10px;
    }
    
    .benefit-item {
        -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; 
        text-align: center;
        gap: 10px;
    }
    
    .benefit-text { 
        text-align: center; 
    }
}/* =========================================
   1. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
   ========================================= */
:root {
    --c-sand-bg: #F9F7F2;       
    --c-sand-dark: #EBE5D9;     
    --c-deep-blue: #0E4D56;     
    --c-gold: #CFA052;          
    --c-text-main: #2C2C2C;     
    --c-text-light: #666666;    
    --c-white: #FFFFFF;
    --c-success: #27ae60;
    --c-danger: #e74c3c;
    --f-heading: 'Montserrat', sans-serif;
    --f-body: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --radius: 12px;
}

* { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body { 
    font-family: var(--f-body); 
    background-color: var(--c-sand-bg); 
    color: var(--c-text-main); 
    line-height: 1.6; 
}

h1, h2, h3, h4 { 
    font-family: var(--f-heading); 
    color: var(--c-deep-blue); 
    font-weight: 700;
}

a { 
    text-decoration: none; 
    color: inherit; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

ul { 
    list-style: none; 
}

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

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    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;
    border: none;
}

.btn-primary {
    background: var(--c-gold);
    color: var(--c-white);
}

.btn-primary:hover {
    background: var(--c-deep-blue);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

/* =========================================
   2. ШАПКА
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000;
    border-bottom: 1px solid var(--c-sand-dark); 
    padding: 10px 0;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    position: relative;
}

/* Logo wrapper to align logo to the left */
.logo-wrapper {
    -webkit-box-ordinal-group: 0;
    -moz-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
}

.logo {
    display: block;
}

.logo img { 
    height: 50px; 
    width: auto; 
}

/* More compact logo for all devices */
.logo img,
.custom-logo {
    height: 40px !important; 
    width: auto !important; 
    max-height: 40px !important;
}

.nav-links { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 30px; 
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.nav-links a { 
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--c-deep-blue); 
}

.nav-links a:hover { 
    color: var(--c-gold); 
}

.header-actions { 
    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: 15px; 
}

.header-actions .btn-icon { 
    font-size: 1.4rem; 
    color: var(--c-deep-blue); 
}

.header-actions .btn-icon:hover { 
    color: var(--c-gold); 
}

.mobile-toggle { 
    display: none; 
    font-size: 1.5rem; 
    color: var(--c-deep-blue); 
    cursor: pointer; 
    padding: 5px; 
}

/* =========================================
   3. ГЕРОЙ (HERO)
   ========================================= */
.hero {
    position: relative; 
    height: 90vh; 
    min-height: 600px;
    background: 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);
}

.hero::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: -o-linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%); 
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    padding: 20px; 
    margin-bottom: 0; 
}

.hero h1 { 
    font-size: 4.5rem; 
    color: var(--c-white); 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6); 
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem; 
    margin-bottom: 30px; 
    font-weight: 400; 
    opacity: 0.9; 
    letter-spacing: 1px; 
    text-transform: uppercase;
}

.hero-buttons { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 20px; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    margin-bottom: 40px; 
}

.btn-hero {
    background: var(--c-gold); 
    color: var(--c-white); 
    padding: 18px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 1rem;
    border: 2px solid 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;
    -webkit-box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-hero:hover { 
    background: transparent; 
    color: var(--c-gold); 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
    -moz-box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4); 
}

.btn-hero.outline { 
    background: transparent; 
    border: 2px solid var(--c-white); 
    color: var(--c-white); 
}

.btn-hero.outline:hover { 
    background: var(--c-white); 
    color: var(--c-deep-blue); 
    border-color: var(--c-white); 
}

/* БЛОК ПРЕИМУЩЕСТВ (ОСНОВНОЙ СТИЛЬ) */
.hero-benefits {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 5;
    background: rgba(14, 77, 86, 0.85); 
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 25px 0;
}

.benefits-grid { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: space-evenly;
    -moz-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    -webkit-justify-content: space-around;
    justify-content: space-around; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    gap: 20px; 
}

.benefit-item { 
    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; 
    color: var(--c-white); 
}

.benefit-item i { 
    font-size: 1.8rem; 
    color: var(--c-gold); 
}

.benefit-text { 
    text-align: left; 
    line-height: 1.2; 
    font-size: 0.9rem; 
}

.benefit-text strong { 
    display: block; 
    font-size: 1rem; 
    margin-bottom: 2px; 
}

/* =========================================
   4. СЕКЦИИ КАТАЛОГА
   ========================================= */
.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
    margin-top: 80px; 
}

.section-header h2 { 
    font-size: 2.5rem; 
    margin-bottom: 10px; 
}

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

.catalog-grid { 
    display: -ms-grid;
    display: grid; 
    -ms-grid-columns: (minmax(320px, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; 
}

.card {
    background: var(--c-white); 
    border-radius: 12px; 
    overflow: hidden;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease; 
    position: relative; 
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover { 
    -webkit-transform: translateY(-8px); 
    -moz-transform: translateY(-8px); 
    -ms-transform: translateY(-8px); 
    -o-transform: translateY(-8px); 
    transform: translateY(-8px); 
    -webkit-box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
    -moz-box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
    box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
}

.card-link:hover {
    color: inherit;
    text-decoration: none;
}

.card-image { 
    height: 220px; 
    position: relative; 
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img { 
    width: 100%; 
    height: 100%; 
    -o-object-fit: cover;
    object-fit: cover; 
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease; 
}

.card:hover .card-image img { 
    -webkit-transform: scale(1.05); 
    -moz-transform: scale(1.05); 
    -ms-transform: scale(1.05); 
    -o-transform: scale(1.05); 
    transform: scale(1.05); 
}

.card-tag { 
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: rgba(255, 255, 255, 0.95); 
    padding: 5px 12px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--c-deep-blue); 
    text-transform: uppercase; 
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c; /* Red color */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.old-price-striked {
    text-decoration: line-through;
    font-size: 0.7rem;
    opacity: 0.9;
}

.discount-percent {
    font-size: 0.9rem;
    font-weight: bold;
}

.card-content { 
    padding: 16px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.card-meta { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 10px; 
    margin-bottom: 6px; 
    font-size: 0.85rem; 
    color: var(--c-text-light);
    min-height: 1.5em;
}

.card-meta i { 
    color: var(--c-gold); 
    margin-right: 5px; 
}

.card-title { 
    font-size: 1.4rem; 
    margin-bottom: 0; 
    line-height: 1.3; 
    color: var(--c-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-height: 3.3em;
}

.card-desc { 
    font-size: 0.9rem; 
    color: var(--c-text-light); 
    margin-bottom: 20px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
    min-height: 2.7em;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    margin-top: auto;
    min-height: 1.5em;
}

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

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

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

.review-count a {
    color: var(--c-text-light);
    text-decoration: none;
}

.review-count a:hover {
    color: var(--c-gold);
    text-decoration: underline;
}

.tour-schedule {
    margin-top: 2px;
    margin-bottom: 3px;
    font-size: 0.9rem;
    color: var(--c-text-light);
    min-height: 1.5em;
}

.tour-schedule i {
    color: var(--c-gold);
    margin-right: 5px;
}

.tour-included-wrapper {
    margin: 6px 0;
}

.tour-included-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--c-text-light);
    margin-bottom: 4px;
}

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

.tour-tags-container {
    /* Используем flexbox для удобного размещения в несколько рядов */
    display: flex;
    flex-wrap: wrap; 
    gap: 5px; /* Расстояние между тегами */
    min-height: 32px;
}

.tour-tag {
    /* Общие стили для кнопки/тега */
    padding: 5px 8px;
    border-radius: 4px; /* Немного скругленные углы */
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap; /* Чтобы тег не переносился на новую строку */

    /* Цвета, максимально похожие на изображение */
    background-color: #f7f3ed; /* Светло-бежевый фон */
    color: #7b6953; /* Коричневато-серый текст */
    border: 1px solid #f7f3ed; /* Невидимая граница для однородности */
}

/* Стили при наведении (опционально) */
.tour-tag:hover {
    background-color: #f0e9e1;
}

.card-footer { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    flex-direction: column;
    gap: 12px;
    padding-top: 12px; 
    border-top: 1px solid var(--c-sand-dark);
    margin-top: auto;
    flex-shrink: 0;
}

.btn-card {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background: var(--c-gold);
    color: var(--c-white);
    font-weight: 600; 
    font-size: 0.95rem; 
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-card::after { 
    content: '→'; 
    margin-left: 8px; 
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

.card-link:hover .btn-card {
    background: var(--c-deep-blue);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-link:hover .btn-card::after { 
    margin-left: 12px; 
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.price-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--f-body);
}

.price-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text-light);
    white-space: nowrap;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    white-space: nowrap;
}

.price-child .price-value {
    font-size: 0.95rem;
    color: var(--c-text-light);
}

.view-all-wrapper { 
    text-align: center; 
    margin-top: 40px; 
}

.btn-view-all {
    display: inline-block; 
    padding: 12px 35px; 
    border: 2px solid var(--c-gold); 
    color: var(--c-text-main);
    font-weight: 600; 
    border-radius: 50px; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 0.5px;
}

.btn-view-all:hover { 
    background: var(--c-gold); 
    color: var(--c-white); 
    -webkit-box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
    -moz-box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
    box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
}

/* =========================================
   5. CTA СЕКЦИЯ
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(14, 77, 86, 0.95), rgba(14, 77, 86, 1));
    color: white; 
    text-align: center; 
    margin-top: 80px;
}

.cta-title { 
    font-family: var(--f-heading); 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--c-white); 
}

.cta-desc { 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    opacity: 0.9; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

.cta-buttons { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 20px; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
}

.btn-cta {
    padding: 15px 35px; 
    border-radius: 50px; 
    font-weight: 700; 
    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: 10px; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
    color: white; 
    border: none; 
    font-size: 1rem; 
    text-transform: uppercase;
}

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

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

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

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

/* =========================================
   6. ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ
   ========================================= */
.faq-section { 
    background: var(--c-sand-bg); 
    padding: 80px 0; 
    border-top: 1px solid var(--c-sand-dark); 
}

.faq-grid { 
    max-width: 800px; 
    margin: 40px auto 0; 
}

.faq-item { 
    border-bottom: 1px solid #eee; 
}

.faq-question {
    padding: 20px 0; 
    cursor: pointer; 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--c-deep-blue); 
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.faq-question:hover { 
    color: var(--c-gold); 
}

.faq-answer {
    max-height: 0; 
    overflow: hidden; 
    -webkit-transition: max-height 0.4s ease-out;
    -moz-transition: max-height 0.4s ease-out;
    -o-transition: max-height 0.4s ease-out;
    transition: max-height 0.4s ease-out;
    color: #666; 
    font-size: 0.95rem; 
    padding-right: 20px;
}

.faq-item.active .faq-answer { 
    max-height: 200px; 
    padding-bottom: 20px; 
    -webkit-transition: max-height 0.4s ease-in;
    -moz-transition: max-height 0.4s ease-in;
    -o-transition: max-height 0.4s ease-in;
    transition: max-height 0.4s ease-in; 
}

.faq-icon { 
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s; 
    color: var(--c-gold); 
}

.faq-item.active .faq-icon { 
    -webkit-transform: rotate(45deg); 
    -moz-transform: rotate(45deg); 
    -ms-transform: rotate(45deg); 
    -o-transform: rotate(45deg); 
    transform: rotate(45deg); 
}

/* =========================================
   7. ОТЗЫВЫ
   ========================================= */
.reviews-home { 
    background: var(--c-sand-bg); 
    padding: 80px 0; 
    border-top: 1px solid var(--c-sand-dark); 
}

.reviews-grid { 
    display: -ms-grid;
    display: grid; 
    -ms-grid-columns: (minmax(300px, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
}

.review-item { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

.review-item:hover { 
    -webkit-transform: translateY(-5px); 
    -moz-transform: translateY(-5px); 
    -ms-transform: translateY(-5px); 
    -o-transform: translateY(-5px); 
    transform: translateY(-5px); 
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

.review-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: 15px; 
    margin-bottom: 15px; 
}

.review-avatar { 
    width: 50px; 
    height: 50px; 
    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; 
    font-size: 1.2rem; 
}

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

.review-text { 
    font-style: italic; 
    color: #555; 
}

/* =========================================
   8. ПОДВАЛ
   ========================================= */
footer { 
    background: #1a1a1a; 
    color: #888; 
    padding: 60px 0 30px; 
    font-size: 0.9rem; 
}

.footer-content { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-col h4 { 
    color: var(--c-white); 
    margin-bottom: 20px; 
    font-family: var(--f-body); 
}

.social-icons a { 
    font-size: 1.5rem; 
    margin-right: 15px; 
    color: var(--c-white); 
}

/* =========================================
   9. МОБИЛЬНАЯ ПАНЕЛЬ
   ========================================= */
.mobile-cta {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: var(--c-white); 
    padding: 15px;
    display: none; 
    -webkit-box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    -moz-box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    z-index: 999;
}

.whatsapp-btn { 
    background: #25D366; 
    color: white; 
    padding: 10px 20px; 
    border-radius: 50px; 
    font-weight: 600; 
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1; 
    -ms-flex: 1; 
    flex: 1; 
    text-align: center; 
    margin-left: 10px; 
}/* =========================================
   5. CATALOG SECTION STYLES
   ========================================= */
/* Стили для секций курортов на главной странице - разделение между секциями */
section.container[id^="hurgada"],
section.container[id^="sharm"],
section.container[id^="marsa"],
section.container[id^="dahab"],
section.container[id^="taba"] {
    margin-bottom: 60px;
    padding-bottom: 0;
}

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

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

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

.catalog-heading-wrapper {
    text-align: center;
    margin: 15px auto 15px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: var(--container-width);
}

.catalog-heading-wrapper .catalog-heading {
    text-align: center !important;
    font-size: 1.8rem;
    font-family: var(--f-heading);
    color: var(--c-deep-blue);
    font-weight: 700;
    margin: 0 auto 6px auto;
    width: 100%;
    max-width: 100%;
    display: block;
    line-height: 1.2;
}

.catalog-price-date {
    text-align: center;
    font-size: 0.95rem;
    color: var(--c-text-light);
    margin: 10px auto 0 auto;
    padding: 8px 15px;
    background: rgba(207, 160, 82, 0.1);
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
}

.catalog-price-date strong {
    color: var(--c-deep-blue);
    font-weight: 600;
}

.catalog-heading-wrapper p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--c-text-light);
    margin: 15px auto 0 auto;
    line-height: 1.6;
    max-width: 800px;
    width: 100%;
}

.individual-tours-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--c-text-light);
    margin: 20px auto 30px auto;
    line-height: 1.6;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.catalog-grid { 
    display: -ms-grid;
    display: grid; 
    -ms-grid-columns: (minmax(320px, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px; 
}

/* Сообщение об отсутствии экскурсий */
.catalog-empty-message {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.card {
    background: var(--c-white); 
    border-radius: 12px; 
    overflow: hidden;
    -webkit-transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    -moz-transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    -o-transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease; 
    position: relative; 
    border: 1px solid rgba(0,0,0,0.03);
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.card:hover { 
    -webkit-transform: translateY(-8px); 
    -moz-transform: translateY(-8px); 
    -ms-transform: translateY(-8px); 
    -o-transform: translateY(-8px); 
    transform: translateY(-8px); 
    -webkit-box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
    -moz-box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
    box-shadow: 0 15px 40px rgba(14, 77, 86, 0.1); 
}

.card-link:hover {
    color: inherit;
    text-decoration: none;
}

.card-image { 
    height: 220px; 
    position: relative; 
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img { 
    width: 100%; 
    height: 100%; 
    -o-object-fit: cover;
    object-fit: cover; 
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease; 
}

.card:hover .card-image img { 
    -webkit-transform: scale(1.05); 
    -moz-transform: scale(1.05); 
    -ms-transform: scale(1.05); 
    -o-transform: scale(1.05); 
    transform: scale(1.05); 
}

.card-tag { 
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: rgba(255, 255, 255, 0.95); 
    padding: 5px 12px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--c-deep-blue); 
    text-transform: uppercase; 
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c; /* Red color */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.old-price-striked {
    text-decoration: line-through;
    font-size: 0.7rem;
    opacity: 0.9;
}

.discount-percent {
    font-size: 0.9rem;
    font-weight: bold;
}

.card-content { 
    padding: 16px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.card-meta { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 10px; 
    margin-bottom: 6px; 
    font-size: 0.85rem; 
    color: var(--c-text-light);
    min-height: 1.5em;
    align-items: center;
}

.card-meta-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tour-like-button {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--c-text-light);
    cursor: pointer;
}

.tour-like-button i {
    transition: color 0.2s ease, transform 0.2s ease;
}

.tour-like-button.liked i {
    color: var(--c-gold);
    transform: scale(1.1);
}

.card-meta i { 
    color: var(--c-gold); 
    margin-right: 5px; 
}

.card-title { 
    font-size: 1.4rem; 
    margin-bottom: 0; 
    line-height: 1.3; 
    color: var(--c-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-height: 3.3em;
}

.card-desc { 
    font-size: 0.9rem; 
    color: var(--c-text-light); 
    margin-bottom: 20px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
    min-height: 2.7em;
}

.tour-schedule {
    margin-top: 2px;
    margin-bottom: 3px;
    font-size: 0.9rem;
    color: var(--c-text-light);
    min-height: 1.5em;
}

.tour-schedule i {
    color: var(--c-gold);
    margin-right: 5px;
}

.tour-included-wrapper {
    margin: 6px 0;
}

.tour-included-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--c-text-light);
    margin-bottom: 4px;
}

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

.tour-tags-container {
    /* Use flexbox for easy placement in multiple rows */
    display: flex;
    flex-wrap: wrap; 
    gap: 5px; /* Distance between tags */
    min-height: 32px;
}

.tour-tag {
    /* Common styles for button/tag */
    padding: 5px 8px;
    border-radius: 4px; /* Slightly rounded corners */
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap; /* Prevent tag from wrapping to a new line */

    /* Colors, as close as possible to the image */
    background-color: #f7f3ed; /* Light beige background */
    color: #7b6953; /* Brownish-gray text */
    border: 1px solid #f7f3ed; /* Invisible border for uniformity */
}

/* Hover styles (optional) */
.tour-tag:hover {
    background-color: #f0e9e1;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    margin-top: auto;
    min-height: 1.5em;
}

/* Hero rating on resort page */
.hero-rating {
    justify-content: center;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.hero-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-rating-main {
    margin-right: 8px;
}

.hero-rating .rating-stars {
    color: var(--c-gold);
}

.hero-rating .rating-value,
.hero-rating .rating-max,
.hero-rating .review-count,
.hero-rating .hero-experience {
    color: var(--c-white);
}

.hero-rating .review-count a {
    color: var(--c-white);
}

.hero-rating .review-count a:hover {
    color: var(--c-gold);
}

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

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

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

.review-count a {
    color: var(--c-text-light);
    text-decoration: none;
}

.review-count a:hover {
    color: var(--c-gold);
    text-decoration: underline;
}

.card-footer { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    flex-direction: column;
    gap: 12px;
    padding-top: 12px; 
    border-top: 1px solid var(--c-sand-dark);
    margin-top: auto;
    flex-shrink: 0;
}

.btn-card {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background: var(--c-gold);
    color: var(--c-white);
    font-weight: 600; 
    font-size: 0.95rem; 
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Общий стиль для кнопок-ссылок на сайте */
.button.button-primary {
    display: inline-block;
    padding: 10px 20px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.button.button-primary:hover {
    background: var(--c-gold);
    color: var(--c-white);
}

.btn-card::after { 
    content: '→'; 
    margin-left: 8px; 
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
}

.card-link:hover .btn-card {
    background: var(--c-deep-blue);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-link:hover .btn-card::after { 
    margin-left: 12px; 
}

.card-link:hover .btn-card::after { 
    margin-left: 10px; 
}

/* Кнопка "Уточнить детали" на карточке экскурсии */
.tour-card-contact-wrapper {
    padding: 12px 12px 14px 12px;
    background: var(--c-white);
    border-top: 1px solid var(--c-sand-dark);
}

.btn-tour-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-gold);
    background: transparent;
    border: 2px solid var(--c-gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--f-body);
}

.btn-tour-contact:hover {
    background: var(--c-gold);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(207, 160, 82, 0.25);
}

.btn-tour-contact i {
    font-size: 16px;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.price-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--f-body);
}

.price-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text-light);
    white-space: nowrap;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    white-space: nowrap;
}

.price-child .price-value {
    font-size: 0.95rem;
    color: var(--c-text-light);
}

.view-all-wrapper { 
    text-align: center; 
    margin-top: 40px; 
    margin-bottom: 60px; 
    padding-bottom: 40px; 
    border-bottom: 1px solid var(--c-sand-dark); 
}

.btn-view-all {
    display: inline-block; 
    padding: 12px 35px; 
    border: 2px solid var(--c-gold); 
    color: var(--c-text-main);
    font-weight: 600; 
    border-radius: 50px; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 0.5px;
}

.btn-view-all:hover { 
    background: var(--c-gold); 
    color: var(--c-white); 
    -webkit-box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
    -moz-box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
    box-shadow: 0 5px 15px rgba(207, 160, 82, 0.4); 
}

/* Промо-блок подписки на соцсети */
.social-promo-block,
.efsp-promo-block-wrapper,
.custom-promo-wrapper {
    grid-column: 1 / -1;
}

.social-promo-block {
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #0a3d45 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 15px 0;
    box-shadow: 0 4px 16px rgba(14, 77, 86, 0.12);
    position: relative;
    overflow: hidden;
}

.social-promo-block::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(207, 160, 82, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.social-promo-content {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.social-promo-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: var(--c-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--c-white);
    box-shadow: 0 3px 8px rgba(207, 160, 82, 0.25);
}

.social-promo-text {
    flex: 1;
    color: var(--c-white);
    min-width: 0;
}

.social-promo-title {
    font-size: 1.2rem;
    font-family: var(--f-heading);
    color: var(--c-white);
    margin: 0 0 4px 0;
    font-weight: 700;
    line-height: 1.3;
}

.social-promo-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.social-promo-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.social-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50px;
    color: var(--c-white) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.social-promo-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--c-white) !important;
}

.social-promo-btn i {
    font-size: 1rem;
}

.social-promo-btn.social-vk {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.social-promo-btn.social-vk:hover {
    background: #4C75A3 !important;
    border-color: #4C75A3 !important;
}

.social-promo-btn.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-promo-btn.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-promo-btn.social-youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-promo-btn.social-tiktok:hover {
    background: #000000;
    border-color: #000000;
}

.social-promo-btn.social-telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

/* Mobile styles */
@media (max-width: 900px) {
    .catalog-grid { 
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    .social-promo-block {
        padding: 16px 18px;
        margin: 12px 0;
        border-radius: 10px;
    }
    
    .social-promo-content {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    
    .social-promo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .social-promo-title {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .social-promo-description {
        font-size: 0.8rem;
    }
    
    .social-promo-buttons {
        justify-content: center;
        width: 100%;
        gap: 6px;
    }
    
    .social-promo-btn {
        flex: 1 1 auto;
        min-width: 100px;
        max-width: 130px;
        justify-content: center;
        padding: 7px 12px;
        font-size: 0.8rem;
    }
}

/* =========================================
   TRANSFER STYLES
   ========================================= */

/* Transfer Card Styles - используем базовые стили .card */

.transfer-route {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 0.9rem;
    color: var(--c-text-main);
}

.route-item i {
    color: var(--c-deep-blue);
    font-size: 1rem;
}

.route-arrow {
    color: var(--c-gold);
    font-size: 1.2rem;
}

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

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

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

/* Стили для цены в карточке трансфера */
.price-item .price-old {
    text-decoration: line-through;
    font-size: 0.85rem;
    color: var(--c-text-light);
    margin-left: 8px;
    font-weight: 400;
}

/* Transfer Page Styles */
/* =========================================
   TRANSFER PAGE HEADER SECTION
   ========================================= */

.transfer-header-section {
    margin-bottom: 40px;
}

.transfer-header-section .tour-title {
    margin-bottom: 30px;
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--c-deep-blue);
}

/* Main Route Display */
.transfer-route-large {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border-left: 5px solid var(--c-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.route-from,
.route-to {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.route-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-deep-blue);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 77, 86, 0.2);
}

.route-icon-wrapper i {
    font-size: 1.3rem;
}

.route-content {
    flex: 1;
    min-width: 0;
}

.route-label {
    font-size: 0.9rem;
    color: var(--c-text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.route-value {
    font-size: 1.2rem;
    color: var(--c-deep-blue);
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.route-arrow-large {
    font-size: 2rem;
    color: var(--c-gold);
    flex-shrink: 0;
    padding: 0 10px;
}

/* Transfer Details Grid */
.transfer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.transfer-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--c-white);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.transfer-detail-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.transfer-detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 77, 86, 0.1);
    color: var(--c-deep-blue);
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.transfer-detail-content {
    flex: 1;
    min-width: 0;
}

.transfer-detail-label {
    font-size: 0.85rem;
    color: var(--c-text-light);
    margin-bottom: 5px;
    font-weight: 500;
}

.transfer-detail-value {
    font-size: 1.1rem;
    color: var(--c-deep-blue);
    font-weight: 700;
    line-height: 1.3;
}

/* Transfer Description Section */
.transfer-description-section {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

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

.transfer-description-content {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.transfer-description-text,
.transfer-content-text {
    margin-bottom: 20px;
}

.transfer-description-text p,
.transfer-content-text p {
    margin-bottom: 15px;
}

/* Transfer Included Section - Compact Style */
.transfer-included-compact {
    margin-top: 30px;
    padding: 25px;
    background: var(--c-white);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.transfer-included-title {
    font-size: 1.3rem;
    font-family: var(--f-heading);
    color: var(--c-deep-blue);
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.transfer-included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.transfer-included-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.2s ease;
}

.transfer-included-badge:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.transfer-included-badge i {
    color: var(--c-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.transfer-included-badge span {
    line-height: 1.4;
    flex: 1;
}

.route-value {
    font-size: 1.1rem;
    color: var(--c-text-main);
    font-weight: 600;
}

.route-arrow-large {
    color: var(--c-gold);
    font-size: 2rem;
    flex-shrink: 0;
}

/* Дополнительные стили для карточек трансферов */
.transfer-route {
    margin: 12px 0;
    min-height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
}

.transfer-meta {
    margin: 8px 0 12px 0;
    min-height: 1.5em;
}

/* Улучшение отображения маршрута в карточке */
.transfer-route .route-item {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.9rem;
}

.transfer-route .route-item span {
    line-height: 1.4;
    display: block;
}

.transfer-route .route-arrow {
    flex-shrink: 0;
    align-self: center;
}

/* Исправление отображения карточки трансфера */
/* =========================================
   TRANSFER CARD STYLES
   ========================================= */

.transfer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.transfer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Routes Display in Card - компактный список всех направлений */

/* Routes Display in Card - компактный список всех направлений */
.transfer-card-routes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
}

.transfer-card-route-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid #e3e6ea;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.transfer-card-route-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: var(--c-gold);
    box-shadow: 0 4px 8px rgba(207, 160, 82, 0.12);
    transform: translateY(-1px);
}

.transfer-card-route-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    font-size: 0.88rem;
}

.transfer-card-route-from,
.transfer-card-route-to {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--c-text-main);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 45%;
}

.transfer-card-route-from i,
.transfer-card-route-to i {
    color: var(--c-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.transfer-card-route-arrow {
    color: var(--c-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
    padding: 0 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.transfer-card-route-item:hover .transfer-card-route-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.transfer-card-route-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 10px;
    background: rgba(14, 77, 86, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.transfer-card-route-item:hover .transfer-card-route-price {
    background: rgba(207, 160, 82, 0.1);
    color: var(--c-gold);
}

/* Transfer Info in Card */
.transfer-card-info {
    display: flex;
    gap: 15px;
    margin: 12px 0;
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.transfer-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--c-text-light);
}

.transfer-info-item i {
    color: var(--c-gold);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Price Section in Card */
.transfer-card-price {
    margin: 15px 0 10px 0;
    padding: 12px 0;
}

.transfer-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.transfer-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.transfer-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.5rem;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-deep-blue);
    line-height: 1;
}

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

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.price-request {
    font-size: 1rem;
    color: var(--c-text-light);
    font-weight: 500;
}

/* Card Footer for Transfer */
.transfer-card .card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

.transfer-card .btn-card {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background: var(--c-deep-blue);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.transfer-card:hover .btn-card {
    background: var(--c-gold);
    transform: translateY(-1px);
}

/* Стили для списка направлений на странице трансфера */
.transfer-routes-list {
    margin: 30px 0;
}

.transfer-routes-title {
    font-size: 1.5rem;
    font-family: var(--f-heading);
    color: var(--c-deep-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.transfer-routes-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transfer-route-card {
    background: var(--c-white);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.transfer-route-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--c-gold);
    transform: translateY(-1px);
}

.transfer-route-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 15px;
    flex-wrap: wrap;
}

.transfer-route-card-route {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.transfer-route-card .route-point {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 1 auto;
}

.transfer-route-card .route-point i {
    color: var(--c-deep-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.transfer-route-card .route-point span {
    font-size: 1rem;
    color: var(--c-deep-blue);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.transfer-route-card .route-arrow-small {
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0 8px;
}

.transfer-route-card-discount {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.transfer-route-card-price {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
    gap: 15px;
    flex-wrap: wrap;
}

.transfer-route-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.transfer-route-price-value {
    font-size: 1.4rem;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-deep-blue);
    white-space: nowrap;
}

.transfer-route-price-old {
    display: block;
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Селектор направлений в блоке бронирования */
.transfer-booking-routes-selector {
    margin-bottom: 12px;
}

.transfer-routes-selector-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-deep-blue);
    margin-bottom: 8px;
}

.transfer-routes-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--c-white);
    color: var(--c-deep-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transfer-routes-select:hover {
    border-color: var(--c-gold);
}

.transfer-routes-select:focus {
    outline: none;
    border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(207, 160, 82, 0.1);
}

/* Счетчик направлений в карточке */
.transfer-routes-count {
    font-size: 0.75rem;
    color: var(--c-text-light);
    margin-top: 5px;
    text-align: center;
}

/* =========================================
   TRANSFER BOOKING CARD STYLES
   ========================================= */

/* Блок бронирования трансфера - компактная версия */
.transfer-booking-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

/* Баннер со скидкой для трансфера */
.transfer-booking-card .booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.transfer-booking-card .booking-title {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.transfer-discount-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--c-white);
    padding: 4px 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.25);
    display: inline-block;
    width: auto;
    flex-shrink: 0;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
}

.transfer-discount-text {
    display: inline-block;
    line-height: 1.2;
}

/* Группа деталей трансфера (маршрут + транспорт) */
.transfer-booking-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

/* Компактный маршрут в блоке бронирования */
.transfer-booking-route {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.booking-route-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.booking-route-item i {
    color: var(--c-deep-blue);
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.booking-route-content {
    flex: 1;
    min-width: 0;
}

.booking-route-label {
    font-size: 0.7rem;
    color: var(--c-text-light);
    margin-bottom: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.booking-route-value {
    font-size: 0.85rem;
    color: var(--c-deep-blue);
    font-weight: 600;
    line-height: 1.2;
    word-break: break-word;
}

.booking-route-arrow {
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0 4px;
}

/* Тип транспорта в блоке бронирования */
.transfer-booking-transport {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.booking-transport-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 77, 86, 0.1);
    color: var(--c-deep-blue);
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 1rem;
}

.booking-transport-content {
    flex: 1;
    min-width: 0;
}

.booking-transport-label {
    font-size: 0.7rem;
    color: var(--c-text-light);
    margin-bottom: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.booking-transport-value {
    font-size: 0.85rem;
    color: var(--c-deep-blue);
    font-weight: 600;
    line-height: 1.2;
}

/* Секция с ценой трансфера */
.transfer-booking-price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.transfer-price-main {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

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

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

.transfer-price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
}

/* Информационные блоки трансфера */
.transfer-booking-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.transfer-info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.transfer-info-badge-green {
    background: #e8f8f5;
    color: #27ae60;
    border: 1px solid #d1f2eb;
}

.transfer-info-badge-orange {
    background: #fdf2e9;
    color: #d35400;
    border: 1px solid #fad7a0;
}

.transfer-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.transfer-info-badge-green .transfer-info-icon {
    color: #27ae60;
}

.transfer-info-badge-orange .transfer-info-icon {
    color: #d35400;
}

.transfer-info-text {
    flex: 1;
    font-weight: 500;
}

/* Чекбокс для трансфера */
.transfer-booking-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 8px 0;
}

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

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

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

/* Что включено в блоке бронирования */
.transfer-booking-included {
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.transfer-booking-included-title {
    font-size: 0.9rem;
    font-family: var(--f-heading);
    color: var(--c-deep-blue);
    font-weight: 700;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.transfer-booking-included-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.transfer-booking-included-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

.transfer-booking-included-item i {
    color: var(--c-gold);
    font-size: 0.75rem;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.transfer-booking-included-item span {
    flex: 1;
    line-height: 1.3;
}

/* Кнопки бронирования трансфера */
.transfer-booking-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

/* Адаптивные стили для блока бронирования трансфера */
@media (max-width: 768px) {
    .transfer-booking-card {
        gap: 15px;
    }
    
    .transfer-price-amount {
        font-size: 1.8rem;
    }
    
    .transfer-discount-banner {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .transfer-info-badge {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Responsive for Transfers */
@media (max-width: 768px) {
    .transfer-route-large {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .route-arrow-large {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .route-from,
    .route-to {
        width: 100%;
    }
    
    .route-from i,
    .route-to i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .transfer-route {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .route-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
    
    .route-item {
        width: 100%;
    }
    
    /* Allow card title to wrap to 2 lines on mobile */
    .card-title {
        font-size: 1.2rem;
        min-height: 2.8em;
    }
}/* =========================================
   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: 20px auto 25px; 
    max-width: var(--container-width);
    padding: 0 15px;
    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: 8px; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
    width: 100%;
    margin: 0 auto;
}

.filter-btn {
    padding: 6px 14px; 
    border: 1px solid var(--c-sand-dark); 
    background: var(--c-white);
    border-radius: 6px; 
    color: var(--c-text-main); 
    font-weight: 500; 
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease; 
    font-size: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
}

.filter-btn:hover { 
    border-color: var(--c-gold); 
    color: var(--c-gold);
    background: rgba(212, 175, 55, 0.05);
}

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

/* Filters responsive */
@media (max-width: 768px) {
    .filters-wrapper {
        margin: 15px auto 20px;
        padding: 0 10px;
    }
    
    .filters-list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 6px;
        padding-bottom: 5px;
    }
    
    .filters-list::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .filters-wrapper {
        margin: 12px auto 15px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 0.72rem;
    }
}

.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-text strong.reviews-today {
    color: #0b6b4b;
    font-weight: 700;
}

.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;
}

/* Плашка для фото из отзывов в lightbox */
.lightbox-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-image-wrapper .lightbox-image {
    display: block;
    max-width: 100%;
    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;
}

.lightbox-review-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(14, 77, 86, 0.8);
    backdrop-filter: blur(8px);
    color: var(--c-white);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    max-width: calc(100% - 30px);
}

.lightbox-review-badge i {
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.lightbox-review-badge span {
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive для плашки */
@media (max-width: 768px) {
    .lightbox-review-badge {
        font-size: 0.8rem;
        padding: 7px 12px;
        top: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
    }
    
    .lightbox-review-badge i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .lightbox-review-badge {
        font-size: 0.75rem;
        padding: 6px 10px;
        top: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .lightbox-review-badge i {
        font-size: 0.9rem;
    }
}

.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;
}

/* New Tour Info Card */
.tour-info-card {
    background: var(--c-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 24px rgba(14, 77, 86, 0.06);
}

.tour-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 12px;
}

.tour-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.tour-info-item i {
    color: var(--c-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tour-schedule-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-left: 2px;
}

.tour-schedule-row i {
    color: var(--c-gold);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Weather toggle */
.tour-weather-toggle-wrapper {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tour-weather-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-deep-blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.tour-weather-toggle:hover {
    color: var(--c-gold);
}

.tour-weather-toggle i.fa-sun {
    color: var(--c-gold);
    font-size: 1.1rem;
}

.tour-weather-arrow {
    margin-left: auto;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.tour-weather-toggle.active .tour-weather-arrow {
    transform: rotate(180deg);
}

.tour-weather-content {
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптация виджета погоды внутри tour-info-card */
.tour-info-card .ef-weather-section {
    margin: 0;
}

.tour-info-card .ef-weather-header {
    display: none;
}

.tour-info-card .ef-weather-root {
    margin: 0;
    border-radius: 12px;
}

/* Included / Not Included Card */
.tour-inc-exc-card {
    background: var(--c-white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 24px rgba(14, 77, 86, 0.06);
}

.tour-divider {
    height: 1px;
    background-color: var(--c-sand-dark);
    border: none;
    margin-bottom: 20px;
}

.tour-included-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--c-text-light);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tour-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.tour-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--c-text-main);
    line-height: 1.4;
}

.tour-feature-item i {
    color: var(--c-success);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.tour-excluded-section {
    margin-top: 16px;
}

.tour-excluded-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--c-text-light);
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tour-feature-item.excluded i {
    color: var(--c-danger);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tour-info-card {
        padding: 20px;
        border-radius: 14px;
    }
    
    .tour-info-row {
        gap: 16px;
    }
    
    .tour-info-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tour-features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .tour-info-card {
        padding: 18px;
    }
}

.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;
}

/* Tour meta included tags */
.tour-meta-included {
    width: 100%;
    margin-top: 12px;
}

.tour-meta-included-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

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

.tour-meta-included-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.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;
}

/* Included tags in highlights */
.highlights-included {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(14, 77, 86, 0.1);
}

.highlights-included-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-deep-blue);
    margin-bottom: 12px;
}

.highlights-included-title i {
    color: var(--c-gold);
    font-size: 1rem;
}

.highlights-included-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.included-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    background-color: var(--c-sand-bg);
    color: var(--c-text-main);
    border: 1px solid var(--c-sand-dark);
    line-height: 1.3;
}

.included-tag:hover {
    background-color: var(--c-sand-dark);
}

.included-tag i {
    font-size: 0.8rem;
    color: var(--c-gold);
}

.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: var(--c-text-main); 
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

.timeline-item { 
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--c-white);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(14, 77, 86, 0.04);
    transition: all 0.2s ease;
}

.timeline-item:hover {
    box-shadow: 0 4px 16px rgba(14, 77, 86, 0.08);
    transform: translateY(-2px);
}

.timeline-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-white);
    border-radius: 8px;
    color: var(--c-gold);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline-icon i {
    display: block;
}

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

.timeline-location { 
    font-weight: 600; 
    color: var(--c-deep-blue);
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

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

.timeline-desc { 
    color: var(--c-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.timeline-desc.expanded .timeline-desc-text {
    display: block;
}

.timeline-desc-toggle {
    display: block;
    margin-top: 8px;
    background: none;
    border: none;
    padding: 0;
    color: var(--c-gold);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-align: left;
    transition: all 0.2s ease;
}

.timeline-desc-toggle:hover {
    color: var(--c-deep-blue);
    text-decoration: none;
}

/* Timeline location photos gallery */
.timeline-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.timeline-photo-link {
    display: block;
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.timeline-photo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(14, 77, 86, 0.2);
    border-color: var(--c-gold);
}

.timeline-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.timeline-photo-link:hover img {
    transform: scale(1.1);
}

/* Timeline item with photos - subtle highlight */
.timeline-item.has-photos {
    background: linear-gradient(135deg, var(--c-white) 0%, rgba(203, 162, 108, 0.03) 100%);
}

/* Egyptian-style decorative element for photos section */
.timeline-photos::before {
    content: '\f030';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    font-size: 0.7rem;
    color: var(--c-gold);
    opacity: 0.5;
    display: none;
}

.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: var(--c-success);
}

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

.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.95rem; 
    display: flex; 
    gap: 10px;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    align-items: flex-start;
    color: var(--c-text-main);
}

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

.check-list li i.fa-check { 
    color: var(--c-success); 
}

.check-list li i.fa-times { 
    color: var(--c-danger); 
}

.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: var(--c-white); 
    border: 1px solid var(--c-sand-dark); 
    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: var(--c-text-light); 
    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, #10b981 0%, #059669 100%);
    color: var(--c-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.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 var(--c-sand-dark); 
}

.review-card p {
    margin: 0;
    color: var(--c-text-main);
    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: var(--c-gold); 
    font-size: 0.9rem; 
    flex-shrink: 0;
}

.add-review-form { 
    background: var(--c-white); 
    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: var(--c-gold); 
}

.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 var(--c-sand-dark);
    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, #10b981 0%, #059669 100%);
    color: var(--c-white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.booking-discount-sticker::before {
    display: none;
}

.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,
.booking-badge-in-list {
    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;
}

/* Badge inside prices list */
.booking-badge-in-list {
    margin-top: 5px;
}

.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;
    flex-direction: column;
    gap: 6px;
}

.booking-price-item-header {
    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-price-item-value .booking-price-old-inline {
    font-size: 0.85rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-left: 6px;
}

/* Inline Quantity Controls */
.booking-quantity-controls-inline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.quantity-btn-inline {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-sand-dark);
    background: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-sand-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.quantity-btn-inline:hover:not(:disabled) {
    background: var(--c-sand-light);
    transform: scale(1.05);
}

.quantity-btn-inline:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-input-inline {
    width: 32px;
    height: 26px;
    text-align: center;
    border: 1px solid var(--c-sand-light);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-dark);
    background: #fafafa;
    padding: 0;
}

.quantity-input-inline::-webkit-outer-spin-button,
.quantity-input-inline::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input-inline[type=number] {
    -moz-appearance: textfield;
}

/* Quantity Section - keeping for backward compatibility */
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--c-sand-dark);
}

.booking-schedule {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px !important;
    background: #f9f9f9 !important;
    border-radius: 8px !important;
    margin-top: 12px;
}

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

.booking-schedule-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: flex-start !important;
}

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

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

/* Desktop version - vertical layout for label and value */
@media (min-width: 769px) {
    .booking-card .booking-schedule {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    
    .booking-card .booking-schedule-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .booking-card .booking-schedule-label {
        white-space: nowrap !important;
    }
}

/* Mobile version - vertical layout */
@media (max-width: 768px) {
    .booking-card-mobile .booking-schedule-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .booking-card-mobile .booking-schedule {
        align-items: flex-start !important;
    }
}

/* Quantity Selectors */
.booking-quantity-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.booking-quantity-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-deep-blue);
    margin: 0 0 15px 0;
}

.booking-quantity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.booking-quantity-item:last-of-type {
    border-bottom: none;
}

.booking-quantity-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--c-text-main);
    font-weight: 500;
}

.booking-quantity-label i {
    color: var(--c-deep-blue);
    font-size: 1rem;
}

.booking-quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-sand-dark);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-deep-blue);
    transition: all 0.3s ease;
    user-select: none;
}

.quantity-btn:hover:not(:disabled) {
    background: var(--c-deep-blue);
    color: white;
    border-color: var(--c-deep-blue);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid var(--c-sand-dark);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-deep-blue);
    background: white;
}

.booking-total-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--c-deep-blue);
}

.booking-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-deep-blue);
}

.booking-total-value {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.booking-total-value .total-old-amount {
    font-size: 1.1rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}

.booking-total-value .total-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-gold);
}

.booking-total-value .total-rub {
    font-size: 0.85rem;
    color: #666;
    margin-left: 6px;
}

/* Prepayment info message */
.booking-prepayment-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #2e7d32;
}

.booking-prepayment-info i {
    color: #2e7d32;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.booking-prepayment-info span {
    flex: 1;
}

/* Prepayment required message (5+ people) */
.booking-prepayment-required {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e65100;
}

.booking-prepayment-required i {
    color: #f57c00;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.booking-prepayment-required span {
    flex: 1;
}

/* Price on request for individual tours */
.booking-price-on-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-top: 12px;
}

.price-request-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--c-sand-dark);
    border-radius: 50%;
    flex-shrink: 0;
}

.price-request-icon i {
    color: white;
    font-size: 1.1rem;
}

.price-request-text {
    flex: 1;
}

.price-request-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: 2px;
}

.price-request-subtitle {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.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;
}

/* =========================================
   МОДАЛЬНОЕ ОКНО ДЛЯ УТОЧНЕНИЯ ДЕТАЛЕЙ ЭКСКУРСИИ
   ========================================= */
.tour-contact-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;
    overflow-y: auto;
    padding: 20px;
}

.tour-contact-modal.active {
    display: flex;
    opacity: 1;
}

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

.tour-contact-content {
    position: relative;
    background: var(--c-white);
    width: 100%;
    max-width: 480px;
    max-height: 95vh;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInTourModal 0.3s ease;
    z-index: 1;
    border: 2px solid var(--c-sand-dark);
    margin: auto;
}

@keyframes fadeInTourModal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tour-contact-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--c-sand-bg);
    border: none;
    font-size: 20px;
    color: var(--c-text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tour-contact-close:hover {
    color: var(--c-deep-blue);
    background: var(--c-sand-dark);
    transform: rotate(90deg);
}

.tour-contact-content h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
    padding-right: 40px;
    line-height: 1.3;
}

.tour-name-highlight {
    color: var(--c-gold);
    font-weight: 700;
    display: inline-block;
}

.tour-contact-content p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--c-text-main);
    line-height: 1.5;
}

.tour-contact-content p strong {
    color: var(--c-deep-blue);
    font-weight: 600;
}

.tour-contact-social-proof {
    font-size: 0.75rem;
    color: var(--c-text-light);
    text-align: center;
    padding: 6px 10px;
    background: var(--c-sand-bg);
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 3px solid var(--c-gold);
}

.tour-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-tour-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--c-white);
    font-family: var(--f-body);
    border: none;
}

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

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

.btn-wa:hover {
    background: #1ebe5d;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-tg {
    background: #2aabee;
}

.btn-tg:hover {
    background: #229ed9;
    box-shadow: 0 8px 20px rgba(42, 171, 238, 0.3);
}

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

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

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

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

.btn-phone {
    background: var(--c-sand-bg);
    color: var(--c-deep-blue);
    border: 2px solid var(--c-deep-blue);
}

.btn-phone:hover {
    background: var(--c-deep-blue);
    color: var(--c-white);
    border-color: var(--c-deep-blue);
    box-shadow: 0 8px 20px rgba(14, 77, 86, 0.2);
}

.tour-contact-response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--c-text-light);
    margin-bottom: 12px;
    padding: 5px 10px;
    background: rgba(207, 160, 82, 0.1);
    border-radius: 6px;
}

.tour-contact-response-time i {
    color: var(--c-gold);
    font-size: 14px;
}

.tour-contact-consent {
    font-size: 0.75rem;
    color: var(--c-text-light);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--c-sand-dark);
}

.tour-contact-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tour-contact-consent input {
    margin-top: 3px;
    flex-shrink: 0;
}

.tour-contact-consent a {
    color: var(--c-deep-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.tour-contact-consent a:hover {
    color: var(--c-gold);
}

.consent-error {
    color: var(--c-danger);
    font-size: 0.75rem;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--c-danger);
    animation: shakeError 0.3s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.tour-contact-consent.error label {
    color: var(--c-danger);
}

.tour-contact-consent.error input {
    outline: 2px solid var(--c-danger);
    outline-offset: 2px;
}

/* =========================================
   COMPACT BOOKING CARD OPTIMIZATION
   Optimized for better UX - fits on screen without scrolling
   ========================================= */

/* Base card - reduced padding and gaps */
.booking-card {
    padding: 16px 12px;
    gap: 12px;
}

/* Header - more compact */
.booking-header {
    padding-bottom: 10px;
}

.booking-title {
    font-size: 1.1rem;
}

/* Price section - reduced spacing */
.booking-price-section {
    gap: 10px;
    margin-bottom: 12px;
}

.booking-price-amount {
    font-size: 1.6rem;
}

.booking-price-rub {
    font-size: 0.8rem;
}

/* Badge - smaller */
.booking-badge,
.booking-badge-in-list {
    padding: 5px 10px;
    font-size: 0.75rem;
}

/* Prices list - compact layout */
.booking-prices-list {
    gap: 6px;
    padding: 10px;
}

.booking-price-item {
    gap: 8px;
}

.booking-price-item-icon {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
}

.booking-price-item-content {
    gap: 2px;
}

.booking-price-item-label {
    font-size: 0.8rem;
}

.booking-price-item-value {
    font-size: 0.85rem;
}

/* Quantity controls - smaller */
.quantity-btn-inline {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
}

.quantity-input-inline {
    width: 28px;
    height: 24px;
    font-size: 0.8rem;
}

/* Total section - compact */
.booking-total-price {
    margin-top: 10px;
    padding-top: 10px;
}

.booking-total-label {
    font-size: 0.9rem;
}

.booking-total-value .total-amount {
    font-size: 1.2rem;
}

.booking-total-value .total-rub {
    font-size: 0.8rem;
}

/* Schedule - compact */
.booking-schedule {
    padding: 8px !important;
    margin-top: 8px !important;
}

.booking-schedule-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.8rem !important;
}

.booking-schedule-label {
    font-size: 0.8rem !important;
}

.booking-schedule-value {
    font-size: 0.85rem !important;
}

/* Form - compact */
.booking-form {
    gap: 10px;
}

.booking-info-box {
    padding: 8px 10px;
    gap: 8px;
}

.booking-info-icon {
    font-size: 0.9rem;
}

.booking-info-text {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Checkbox - compact */
.booking-checkbox {
    padding: 4px;
    font-size: 0.7rem;
    gap: 6px;
}

/* Buttons - compact but still clickable */
.booking-buttons {
    gap: 6px;
}

.booking-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
    gap: 8px;
}

.booking-btn-icon {
    font-size: 1rem;
}

.booking-note {
    font-size: 0.65rem;
    margin-top: 3px;
}

/* Security block - compact */
.booking-security {
    padding: 8px;
    gap: 8px;
}

.booking-security-icon {
    font-size: 0.9rem;
}

.booking-security-text {
    font-size: 0.7rem;
    gap: 1px;
}

/* Prepayment messages - compact */
.booking-prepayment-info,
.booking-prepayment-required {
    padding: 8px 10px;
    font-size: 0.75rem;
    margin-top: 6px;
}

.booking-prepayment-info i,
.booking-prepayment-required i {
    font-size: 0.9rem;
}

/* Price on request - compact */
.booking-price-on-request {
    padding: 10px 12px;
    margin-top: 8px;
}

.price-request-icon {
    width: 30px;
    height: 30px;
}

.price-request-icon i {
    font-size: 0.95rem;
}

.price-request-title {
    font-size: 0.85rem;
}

.price-request-subtitle {
    font-size: 0.75rem;
}

/* Discount sticker - smaller */
.booking-discount-sticker {
    padding: 5px 12px;
    font-size: 0.8rem;
}

/* Desktop sticky card adjustments */
@media (min-width: 992px) {
    #booking-card-element {
        top: 80px;
    }
    
    .booking-card {
        padding: 18px 14px;
        gap: 14px;
    }
    
    .booking-prices-list {
        gap: 8px;
        padding: 12px;
    }
    
    .booking-price-item-icon {
        width: 28px;
        height: 28px;
    }
}

/* Additional optimizations for bottom section */
/* Optimize forms and buttons after Total section */
.booking-form {
    margin-top: 0;
}

/* Info box - more compact */
.booking-info-box {
    margin-bottom: 0;
}

/* Checkbox - even more compact */
.booking-checkbox {
    margin-bottom: 0;
}

.booking-checkbox label {
    line-height: 1.3;
}

/* Buttons section - reduce gaps */
.booking-buttons {
    margin-top: 0;
}

.booking-btn {
    min-height: 38px;
}

.booking-btn-icon {
    flex-shrink: 0;
}

.booking-btn-text {
    line-height: 1.3;
}

/* Note text - more compact */
.booking-note {
    line-height: 1.2;
    margin-top: 2px;
}

/* Security block - more compact */
.booking-security {
    margin-top: 0;
}

.booking-security-text {
    line-height: 1.3;
}

.booking-security-text > div {
    margin: 0;
}

/* Prepayment messages - reduce spacing */
.booking-prepayment-info,
.booking-prepayment-required {
    line-height: 1.3;
}

/* Schedule block - reduce spacing */
.booking-schedule {
    gap: 8px !important;
}

.booking-schedule-content {
    gap: 2px !important;
}

/* Price on request block */
.booking-price-on-request {
    gap: 8px;
}

/* Reduce vertical spacing in desktop */
@media (min-width: 992px) {
    .booking-form {
        gap: 12px;
    }
    
    .booking-btn {
        min-height: 40px;
    }
}

/* Mobile optimization - extra compact */
@media (max-width: 768px) {
    .booking-card,
    .booking-card-mobile {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .booking-header {
        padding-bottom: 8px;
    }
    
    .booking-title {
        font-size: 1rem;
    }
    
    .booking-price-section {
        margin-bottom: 10px;
    }
    
    .booking-price-amount {
        font-size: 1.4rem;
    }
    
    .booking-prices-list {
        padding: 8px;
        gap: 5px;
    }
    
    .booking-price-item {
        gap: 6px;
    }
    
    .booking-price-item-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .booking-price-item-header {
        gap: 6px;
    }
    
    .booking-price-item-label {
        font-size: 0.75rem;
    }
    
    .booking-price-item-value {
        font-size: 0.8rem;
    }
    
    .quantity-btn-inline {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }
    
    .quantity-input-inline {
        width: 26px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .booking-total-price {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .booking-total-value .total-amount {
        font-size: 1.1rem;
    }
    
    /* Form elements - more compact on mobile */
    .booking-form {
        gap: 8px;
    }
    
    .booking-info-box {
        padding: 6px 8px;
    }
    
    .booking-info-text {
        font-size: 0.7rem;
    }
    
    .booking-checkbox {
        font-size: 0.65rem;
        padding: 2px;
    }
    
    /* Buttons - compact but still tappable */
    .booking-buttons {
        gap: 5px;
    }
    
    .booking-btn {
        padding: 9px 10px;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    .booking-btn-icon {
        font-size: 0.95rem;
    }
    
    .booking-note {
        font-size: 0.65rem;
        margin-top: 2px;
    }
    
    .booking-security {
        padding: 6px;
        gap: 6px;
    }
    
    .booking-security-text {
        font-size: 0.65rem;
    }
    
    .booking-schedule {
        padding: 6px !important;
        margin-top: 6px !important;
    }
    
    .booking-prepayment-info,
    .booking-prepayment-required {
        padding: 6px 8px;
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .booking-discount-sticker {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

/* Small mobile screens - ultra compact */
@media (max-width: 375px) {
    .booking-card,
    .booking-card-mobile {
        padding: 10px 8px;
        gap: 8px;
    }
    
    .booking-price-amount {
        font-size: 1.3rem;
    }
    
    .booking-prices-list {
        padding: 6px;
        gap: 4px;
    }
    
    .booking-btn {
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .booking-buttons {
        gap: 5px;
    }
}

/* ========================================= */
/* TOUR PAGE CONTENT BLOCKS OPTIMIZATION    */
/* ========================================= */

/* Highlights block optimization */
.highlights { 
    padding: 18px 12px;
    margin-bottom: 20px;
}

.highlights-list {
    gap: 10px;
}

.highlight-item {
    gap: 12px;
}

.highlight-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.highlight-title {
    font-size: 0.95rem;
    line-height: 1.3;
}

.highlight-desc {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Timeline optimization */
.timeline { 
    margin-bottom: 20px;
}

.timeline-list {
    gap: 14px;
}

.timeline-item { 
    gap: 12px;
}

.timeline-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.timeline-location,
.timeline-time { 
    font-size: 0.9rem;
}

.timeline-desc { 
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Inc/Exc grid optimization */
.inc-exc-grid { 
    gap: 20px;
    margin-bottom: 20px;
}

.inc-exc-list {
    gap: 8px;
}

.inc-exc-list-item {
    gap: 10px;
}

.inc-exc-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
}

.inc-exc-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Block titles optimization */
.block-title { 
    font-size: 1.35rem;
    margin-bottom: 12px;
}

h4.block-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* What to bring section */
.what-to-bring-section { 
    padding: 18px;
    margin-bottom: 20px;
}

.what-to-bring-section .block-title { 
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.what-to-bring-list {
    gap: 10px;
}

.what-to-bring-item {
    gap: 8px;
}

.what-to-bring-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

.what-to-bring-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Conversion CTA block optimization */
.conversion-cta-block {
    padding: 20px;
    margin-bottom: 20px;
}

.conversion-cta-content {
    gap: 18px;
}

.conversion-cta-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.conversion-cta-title {
    font-size: 1.3rem;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.conversion-cta-description {
    font-size: 0.95rem;
    line-height: 1.5;
}

.conversion-cta-checkbox {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 12px;
}

.conversion-cta-buttons {
    gap: 10px;
    margin-top: 12px;
}

.conversion-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
}

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

/* Reviews section optimization */
.reviews-header { 
    margin-bottom: 20px;
    gap: 15px;
}

.rating-badge { 
    gap: 12px;
    padding: 8px 16px;
}

.rating-num { 
    font-size: 2rem;
}

/* Tour description section */
.tour-description-section {
    margin: 40px auto;
    padding: 35px 18px;
}

.tour-description-section .block-title {
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
}

.text-content p { 
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Tour schedule section */
.tour-schedule-section {
    margin-bottom: 20px !important;
    padding: 16px !important;
}

/* Tour variants accordion */
.tour-variants-accordion {
    gap: 12px;
    margin-bottom: 20px;
}

.tour-variant-header {
    padding: 10px 14px;
}

.tour-variant-header-main {
    gap: 3px;
}

.tour-variant-title {
    font-size: 0.95rem;
}

.tour-variant-prices {
    gap: 8px;
    font-size: 0.9rem;
}

.tour-variant-body {
    padding: 0 14px 12px;
}

/* Related tours section */
.related-tours-section { 
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 35px 0;
}

.related-tours-header {
    margin-bottom: 30px;
}

.related-tours-title {
    font-size: 1.6rem;
    margin: 0 0 15px 0;
}

.related-tours-grid {
    gap: 20px;
}

/* Mobile optimizations for content blocks */
@media (max-width: 768px) {
    .highlights { 
        padding: 14px 10px;
        margin-bottom: 16px;
    }
    
    .highlights-list {
        gap: 8px;
    }
    
    .highlight-item {
        gap: 10px;
    }
    
    .highlight-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .highlight-title {
        font-size: 0.85rem;
    }
    
    .highlight-desc {
        font-size: 0.8rem;
    }
    
    .timeline-list {
        gap: 10px;
    }
    
    .timeline-item { 
        gap: 10px;
    }
    
    .timeline-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .timeline-location,
    .timeline-time { 
        font-size: 0.85rem;
    }
    
    .timeline-desc { 
        font-size: 0.85rem;
    }
    
    .inc-exc-grid { 
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .inc-exc-list {
        gap: 6px;
    }
    
    .inc-exc-list-item {
        gap: 8px;
    }
    
    .inc-exc-icon {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .inc-exc-text {
        font-size: 0.85rem;
    }
    
    .block-title { 
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    h4.block-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .what-to-bring-section { 
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .what-to-bring-list {
        gap: 8px;
    }
    
    .what-to-bring-item {
        gap: 6px;
    }
    
    .what-to-bring-icon {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .what-to-bring-text {
        font-size: 0.85rem;
    }
    
    .conversion-cta-block {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .conversion-cta-content {
        gap: 14px;
    }
    
    .conversion-cta-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    
    .conversion-cta-title {
        font-size: 1.15rem;
        margin: 0 0 4px 0;
    }
    
    .conversion-cta-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .conversion-cta-checkbox {
        font-size: 0.75rem;
        margin-top: 10px;
    }
    
    .conversion-cta-buttons {
        gap: 8px;
        margin-top: 10px;
    }
    
    .conversion-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
    
    .conversion-btn i {
        font-size: 1rem;
    }
    
    .reviews-header { 
        margin-bottom: 16px;
    }
    
    .rating-badge { 
        gap: 10px;
        padding: 6px 12px;
    }
    
    .rating-num { 
        font-size: 1.8rem;
    }
    
    .tour-description-section {
        margin: 30px auto;
        padding: 25px 14px;
    }
    
    .tour-description-section .block-title {
        font-size: 1.3rem;
        margin: 0 0 16px 0;
        padding-bottom: 12px;
    }
    
    .text-content p { 
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .tour-schedule-section {
        margin-bottom: 16px !important;
        padding: 12px !important;
    }
    
    .tour-variants-accordion {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .tour-variant-header {
        padding: 8px 12px;
    }
    
    .tour-variant-title {
        font-size: 0.9rem;
    }
    
    .tour-variant-prices {
        font-size: 0.85rem;
    }
    
    .tour-variant-body {
        padding: 0 12px 10px;
    }
    
    .related-tours-section { 
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 25px 0;
    }
    
    .related-tours-header {
        margin-bottom: 24px;
    }
    
    .related-tours-title {
        font-size: 1.4rem;
    }
    
    .related-tours-grid {
        gap: 16px;
    }
}

@media (max-width: 375px) {
    .highlights { 
        padding: 12px 8px;
    }
    
    .highlight-icon {
        width: 28px;
        height: 28px;
    }
    
    .timeline-icon {
        width: 28px;
        height: 28px;
    }
    
    .inc-exc-icon {
        width: 24px;
        height: 24px;
    }
    
    .what-to-bring-section { 
        padding: 12px;
    }
    
    .conversion-cta-block {
        padding: 14px;
    }
    
    .conversion-cta-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .conversion-cta-title {
        font-size: 1.05rem;
    }
    
    .conversion-cta-description {
        font-size: 0.8rem;
    }
    
    .block-title { 
        font-size: 1.1rem;
    }
    
    h4.block-title {
        font-size: 0.95rem;
    }
}

/* =========================================
   COMPACT REVIEWS PREVIEW BLOCK
   ========================================= */
.reviews-preview-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.reviews-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-sand-dark);
}

.reviews-preview-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-write-review:hover {
    background: var(--c-gold);
    transform: translateY(-1px);
}

.btn-write-review i {
    font-size: 0.8rem;
}

.reviews-preview-footer {
    margin-top: 16px;
    text-align: center;
}

.btn-load-more-reviews,
.btn-all-reviews {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--c-sand-dark);
    color: var(--c-deep-blue);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 160px;
}

.btn-load-more-reviews:hover,
.btn-all-reviews:hover {
    background: var(--c-gold);
    color: var(--c-white);
}

.btn-load-more-reviews:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Collapsible Review Form */
.review-form-collapsible {
    background: var(--c-sand-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-form-collapsible .star-rating-input {
    margin-bottom: 12px;
}

.review-form-collapsible .form-row {
    margin-bottom: 10px;
}

.review-form-collapsible .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--c-sand-dark);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--c-white);
}

.review-form-collapsible textarea.form-control {
    resize: vertical;
    min-height: 70px;
}

.form-row-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.privacy-check-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--c-text-light);
}

.privacy-check-inline a {
    color: var(--c-deep-blue);
    text-decoration: underline;
}

.privacy-check-inline a:hover {
    color: var(--c-gold);
}

.privacy-check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.btn-submit-review-compact {
    padding: 10px 20px;
    background: var(--c-gold);
    color: var(--c-white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit-review-compact:hover {
    background: var(--c-deep-blue);
}

@media (max-width: 480px) {
    .reviews-preview-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-row-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .btn-submit-review-compact {
        width: 100%;
    }
}

.reviews-preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text-main);
}

.reviews-preview-title i {
    color: var(--c-gold);
}

.reviews-preview-rating {
    background: var(--c-gold);
    color: var(--c-white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 4px;
}

.reviews-preview-link {
    color: var(--c-deep-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.reviews-preview-link:hover {
    color: var(--c-gold);
    transform: translateY(2px);
}

.reviews-preview-link i {
    font-size: 0.8rem;
}

.reviews-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-preview-card {
    background: var(--c-sand-bg);
    border-radius: 8px;
    padding: 14px;
    transition: all 0.2s ease;
}

.review-preview-card.has-full-text {
    cursor: pointer;
}

.review-preview-card:hover {
    background: var(--c-sand-dark);
}

.review-preview-card.expanded .review-preview-text {
    display: none;
}

.review-preview-card .review-preview-text-full {
    display: none;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--c-text-light);
    margin: 0 0 10px 0;
}

.review-preview-card.expanded .review-preview-text-full {
    display: block;
}

.review-expand-btn {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    color: var(--c-text-light);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 8px;
    transition: color 0.2s ease;
    text-align: right;
}

.review-expand-btn:hover {
    color: var(--c-deep-blue);
}

.review-preview-card.expanded .review-expand-btn .expand-text {
    display: none;
}

.review-preview-card.expanded .review-expand-btn .collapse-text {
    display: inline;
}

.review-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-preview-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-text-main);
}

.review-preview-stars {
    display: flex;
    gap: 2px;
}

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

.review-preview-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-preview-date {
    font-size: 0.75rem;
    color: var(--c-text-light);
}

.review-new-badge {
    display: inline-block;
    background: var(--c-gold);
    color: var(--c-white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.review-preview-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--c-text-light);
    margin: 0;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .reviews-preview-block {
        padding: 16px;
        margin: 20px 0;
    }
    
    .reviews-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .reviews-preview-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .btn-write-review {
        width: 100%;
        justify-content: center;
    }
    
    .reviews-preview-link {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }
}

/* ============================================
   Tour Variants Section
   ============================================ */

.tour-variants-section,
.tour-program-section {
    margin: 30px 0;
}

.section-header-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header-inline i {
    color: var(--c-gold);
    font-size: 1.3rem;
}

.section-header-inline h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-text-main);
    margin: 0;
}

.tour-variants-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tour-variant-card {
    background: var(--c-white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(14, 77, 86, 0.04);
    overflow: hidden;
    transition: all 0.2s ease;
}

.tour-variant-card:hover {
    box-shadow: 0 4px 16px rgba(14, 77, 86, 0.08);
}

.tour-variant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tour-variant-header:hover {
    background: var(--c-sand-bg);
}

.tour-variant-header-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tour-variant-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-deep-blue);
}

.tour-variant-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}

.tour-variant-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--c-text-main);
    font-weight: 600;
}

.tour-variant-price-old {
    text-decoration: line-through;
    color: var(--c-text-light);
    font-size: 0.85rem;
    margin-left: 4px;
}

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

.tour-variant-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-sand-bg);
    transition: all 0.2s ease;
}

.tour-variant-toggle i {
    color: var(--c-deep-blue);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.tour-variant-card.open .tour-variant-toggle {
    background: var(--c-deep-blue);
}

.tour-variant-card.open .tour-variant-toggle i {
    transform: rotate(180deg);
    color: var(--c-white);
}

.tour-variant-body {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tour-variant-body .timeline {
    margin-top: 16px;
}

/* Tour Variant Booking Action */
.tour-variant-booking-action {
    padding: 0 20px 15px;
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.tour-variant-card.open .tour-variant-booking-action {
    display: flex;
}

.btn-variant-booking {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--c-deep-blue);
    border-radius: 6px;
    cursor: pointer;
}

.btn-variant-booking:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-variant-booking:active {
    transform: none;
}

.btn-variant-booking i {
    font-size: 1rem;
}

/* Highlight pulse animation for booking card */
@keyframes highlight-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 77, 86, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(14, 77, 86, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(14, 77, 86, 0);
    }
}

.booking-card.highlight-pulse {
    animation: highlight-pulse 1s ease-out 2;
}

/* ============================================
   Booking Variant Select Styles
   ============================================ */

.booking-variant-select-wrapper {
    margin: 12px 0 18px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-variant-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--c-deep-blue);
}

.booking-variant-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #333333;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #999 50%),
                      linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.booking-variant-select:focus {
    border-color: var(--c-main);
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.15);
    background-color: #ffffff;
}

.booking-variant-select:hover {
    border-color: var(--c-deep-blue);
}

/* ============================================
   Discount Sticker Shake Animation
   ============================================ */

@keyframes shake-discount {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.booking-discount-sticker.animate-shake {
    animation: shake-discount 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .tour-variants-section,
    .tour-program-section {
        margin: 20px 0;
    }
    
    .section-header-inline {
        margin-bottom: 16px;
    }
    
    .section-header-inline h3 {
        font-size: 1.2rem;
    }
    
    .tour-variant-header {
        padding: 14px 16px;
    }
    
    .tour-variant-title {
        font-size: 0.95rem;
    }
    
    .tour-variant-prices {
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .tour-variant-body {
        padding: 0 16px 16px;
    }
    
    .tour-variant-body .timeline {
        margin-top: 14px;
    }
    
    .tour-variant-booking-action {
        padding: 0 16px 12px;
        margin-top: 10px;
    }
    
    .btn-variant-booking {
        padding: 9px 20px;
        font-size: 0.9rem;
    }
    
    .btn-variant-booking i {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .booking-variant-select-wrapper {
        margin: 10px 0 16px;
        padding: 10px 12px;
    }
    
    .booking-variant-label {
        font-size: 0.85rem;
    }
    
    .booking-variant-select {
        font-size: 0.9rem;
        padding: 9px 12px;
    }
}
    .review-preview-card {
        padding: 12px;
    }
    
    .review-preview-name {
        font-size: 0.85rem;
    }
    
    .review-preview-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   Review Image Upload Styles
   ============================================ */

.review-images-upload-row {
    margin-bottom: 15px;
}

.review-images-upload-container {
    position: relative;
}

.review-images-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.review-images-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed var(--c-sand-dark);
    border-radius: 10px;
    background: var(--c-sand-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.review-images-upload-label:hover {
    border-color: var(--c-gold);
    background: rgba(var(--c-gold-rgb, 200, 170, 110), 0.08);
}

.review-images-upload-label.drag-over {
    border-color: var(--c-deep-blue);
    background: rgba(14, 77, 86, 0.08);
    transform: scale(1.01);
}

.review-images-upload-label:focus-within {
    border-color: var(--c-deep-blue);
    box-shadow: 0 0 0 3px rgba(14, 77, 86, 0.15);
}

.review-images-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--c-white);
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-images-upload-icon i {
    font-size: 1.4rem;
    color: var(--c-gold);
}

.review-images-upload-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text-main);
    margin-bottom: 4px;
}

.review-images-upload-hint {
    font-size: 0.8rem;
    color: var(--c-text-light);
}

/* Review Images Preview */
.review-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.review-images-preview:empty {
    display: none;
}

.review-image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.review-image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-image-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.review-image-preview-remove i {
    font-size: 0.7rem;
    color: #dc3545;
}

.review-image-preview-remove:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.review-image-preview-remove:hover i {
    color: white;
}

/* Review Images Gallery Display */
.review-images-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.review-image-link {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.review-image-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-image-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Styles */
.review-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.review-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.review-lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.review-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.review-lightbox-close i {
    font-size: 1.2rem;
    color: white;
}

.review-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.review-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.review-lightbox-nav i {
    font-size: 1.2rem;
    color: white;
}

.review-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.review-lightbox-prev {
    left: -70px;
}

.review-lightbox-next {
    right: -70px;
}

.review-lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive for review images */
@media (max-width: 768px) {
    .review-images-upload-label {
        padding: 16px;
    }
    
    .review-images-upload-icon {
        width: 40px;
        height: 40px;
    }
    
    .review-images-upload-icon i {
        font-size: 1.2rem;
    }
    
    .review-image-preview-item {
        width: 70px;
        height: 70px;
    }
    
    .review-image-link {
        width: 100px;
        height: 100px;
    }
    
    .review-lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .review-lightbox-prev {
        left: 10px;
    }
    
    .review-lightbox-next {
        right: 10px;
    }
    
    .review-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .review-images-upload-label {
        padding: 14px;
    }
    
    .review-images-upload-text {
        font-size: 0.9rem;
    }
    
    .review-image-preview-item {
        width: 60px;
        height: 60px;
    }
    
    .review-image-link {
        width: 80px;
        height: 80px;
    }
}

/* =========================================
   REVIEW FORM LOADING OVERLAY
   ========================================= */
.review-form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.review-form-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-form-loading-content {
    text-align: center;
    padding: 30px;
}

.review-form-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: var(--c-deep-blue, #0e4d56);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: reviewSpinnerRotate 1s linear infinite;
}

@keyframes reviewSpinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.review-form-loading-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-deep-blue, #0e4d56);
    margin-bottom: 8px;
}

.review-form-loading-subtext {
    font-size: 0.9rem;
    color: #666;
}

/* Success state */
.review-form-success .review-form-success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.review-form-success .review-form-success-icon i {
    animation: successPop 0.4s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Submit button loading state */
button[type="submit"].loading {
    position: relative;
    pointer-events: none;
}

button[type="submit"].loading i.fa-spinner {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .review-form-loading-content {
        padding: 20px;
    }
    
    .review-form-spinner {
        width: 40px;
        height: 40px;
    }
    
    .review-form-loading-text {
        font-size: 1rem;
    }
    
    .review-form-success .review-form-success-icon {
        font-size: 2.5rem;
    }
}/* =========================================
   9. FOOTER SECTION STYLES
   ========================================= */
.site-footer { 
    background: var(--c-deep-blue); 
    color: rgba(255, 255, 255, 0.8); 
    padding: 40px 0 0; 
    font-size: 0.9rem; 
    margin-top: 50px; 
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-gold) 0%, #d4b062 100%);
}

.footer-content { 
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px; 
    margin-bottom: 30px; 
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-about {
    max-width: 100%;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-title { 
    color: var(--c-white); 
    font-family: var(--f-heading); 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
    position: relative; 
    font-weight: 700;
    padding-bottom: 10px;
}

/* Footer Accordion */
.footer-accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.3s ease;
}

.footer-accordion-toggle:hover {
    color: var(--c-gold);
}

.footer-accordion-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    color: var(--c-gold);
    opacity: 0.8;
}

.footer-accordion.active .footer-accordion-icon {
    transform: rotate(180deg);
}

.footer-accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* На десктопе всегда открыто */
@media (min-width: 769px) {
    .footer-accordion-content {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .footer-accordion-toggle {
        cursor: default;
        pointer-events: none;
    }
    
    .footer-accordion-icon {
        display: none;
    }
}

/* На мобильных - аккордеон */
@media (max-width: 768px) {
    .footer-accordion-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }
    
    .footer-accordion.active .footer-accordion-content {
        max-height: 500px;
        opacity: 1;
        margin-top: 10px;
    }
    
    .footer-accordion-toggle {
        margin-bottom: 0;
        pointer-events: auto;
    }
    
    .footer-accordion-icon {
        display: inline-block;
    }
}

.footer-title::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 40px; 
    height: 2px; 
    background: var(--c-gold); 
    border-radius: 2px;
}

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

.footer-links li { 
    margin-bottom: 12px; 
}

.footer-links a { 
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-links a:hover { 
    color: var(--c-gold); 
    transform: translateX(5px);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    color: var(--c-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-wa {
    background: #25D366;
}

.social-wa:hover {
    background: #20bd5a;
}

.social-tg {
    background: #229ED9;
}

.social-tg:hover {
    background: #1f8ebc;
}

.social-viber {
    background: #7360f2;
}

.social-viber:hover {
    background: #5f4dd6;
}

.social-fb {
    background: #0084ff;
}

.social-fb:hover {
    background: #0073e6;
}

.social-vk {
    background: #0077FF;
}

.social-vk:hover {
    background: #0066e6;
}

.social-max {
    background: #FF6B00;
}

.social-max:hover {
    background: #e65f00;
}

/* Обратная совместимость */
.social-vb {
    background: #665CAC;
}

.social-vb:hover {
    background: #5a4f9a;
}

/* Contact Info */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item i {
    color: var(--c-gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--c-gold);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom */
.footer-bottom {
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-copyright p {
    margin: 0;
}

.payment-icons { 
    font-size: 1.5rem; 
    color: rgba(255, 255, 255, 0.5); 
    display: flex; 
    gap: 15px; 
}

/* Обратная совместимость для старого класса .social-icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    background: var(--c-gold);
    color: var(--c-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* MOBILE BOTTOM BAR */
.mobile-bottom-bar { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: var(--c-white); 
    padding: 15px 20px; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    z-index: 999; 
    justify-content: space-between; 
    align-items: center; 
}

/* MOBILE STICKY CTA BAR */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 16px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid rgba(255, 107, 53, 0.15);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-height: 70px;
}

.mobile-sticky-cta.hidden {
    opacity: 0;
    visibility: hidden;
}

.sticky-cta-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.sticky-price-from {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.sticky-price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--c-deep-blue, #0e4d56);
    line-height: 1;
}

.sticky-price-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.sticky-cta-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.sticky-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
}

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

.sticky-cta-book {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
}

.sticky-cta-book:hover,
.sticky-cta-book:active {
    background: linear-gradient(135deg, #ff7d47 0%, #f66b3d 100%);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.5);
}

.sticky-cta-wa {
    background: linear-gradient(135deg, #25D366 0%, #20bd5a 100%);
}

.sticky-cta-wa:hover {
    background: linear-gradient(135deg, #20bd5a 0%, #1ca850 100%);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.sticky-cta-tg {
    background: linear-gradient(135deg, #229ED9 0%, #1f8ebc 100%);
    padding: 10px 12px;
}

.sticky-cta-tg:hover {
    background: linear-gradient(135deg, #1f8ebc 0%, #1b7fa8 100%);
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.4);
}

.sticky-cta-tg span {
    display: none;
}

/* Show on mobile */
@media (max-width: 900px) {
    .mobile-sticky-cta {
        display: flex;
    }
    
    body.single-tours {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .mobile-sticky-cta {
        padding: 8px 12px;
    }
    
    .sticky-price-amount {
        font-size: 1.15rem;
    }
    
    .sticky-cta-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
    
    .sticky-cta-btn i {
        font-size: 1rem;
    }
    
    .sticky-cta-tg {
        padding: 9px 10px;
    }
}

@media (max-width: 375px) {
    .sticky-cta-price {
        gap: 2px;
    }
    
    .sticky-price-amount {
        font-size: 1.05rem;
    }
    
    .sticky-price-from,
    .sticky-price-label {
        font-size: 0.7rem;
    }
    
    .sticky-cta-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .sticky-cta-btn i {
        font-size: 0.95rem;
    }
    
    .sticky-cta-buttons {
        gap: 6px;
    }
}

.btn-mob-book { 
    background: var(--c-gold); 
    color: white; 
    padding: 12px 30px; 
    border-radius: 50px; 
    font-weight: 600; 
    border: none; 
}

/* MOBILE CTA */
.mobile-cta {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: var(--c-white); 
    padding: 15px;
    display: none; 
    -webkit-box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    -moz-box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
    z-index: 999;
}

.mobile-cta-text {
    flex: 1;
    min-width: 0;
}

.mobile-cta-buttons {
    display: flex;
    gap: 10px;
    margin-left: 15px;
    flex-shrink: 0;
}

.mobile-cta-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.mobile-cta-btn-wa, .mobile-cta-wa {
    background: #25D366;
}

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

.mobile-cta-btn-tg, .mobile-cta-tg {
    background: #229ED9;
}

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

.mobile-cta-viber {
    background: #7360f2;
}

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

.mobile-cta-fb {
    background: #0084ff;
}

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

.mobile-cta-vk {
    background: #0077FF;
}

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

.mobile-cta-max {
    background: #FF6B00;
}

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

.whatsapp-btn { 
    background: #25D366; 
    color: white; 
    padding: 10px 20px; 
    border-radius: 50px; 
    font-weight: 600; 
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1; 
    -ms-flex: 1; 
    flex: 1; 
    text-align: center; 
    margin-left: 10px; 
}

/* Скрытие плавающего сообщения на мобильных, если настройка включена */
.mobile-cta.hide-on-mobile {
    display: none !important;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

/* Mobile styles */
@media (max-width: 900px) {
    .mobile-cta:not(.hide-on-mobile) { 
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex; 
    }
    
    body { 
        padding-bottom: 70px; 
    }
    
    .mobile-bottom-bar { 
        display: flex; 
    }
    
    .review-card-mini { 
        -webkit-flex: 0 0 280px; 
        -ms-flex: 0 0 280px; 
        flex: 0 0 280px; 
    }
}

@media (max-width: 768px) {
    .site-footer { 
        padding: 35px 0 0; 
        margin-top: 40px;
    }
    
    .footer-content { 
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 25px;
    }
    
    .footer-about {
        grid-column: 1;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .footer-title::after {
        width: 40px;
        height: 2px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-contact-info {
        gap: 12px;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 0;
        margin-top: 35px;
    }
    
    .footer-content {
        gap: 20px;
        padding-bottom: 20px;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .footer-title::after {
        width: 35px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-contact-info {
        gap: 10px;
    }
    
    .contact-item {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .contact-item i {
        font-size: 0.95rem;
        width: 18px;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}/* =========================================
   8. REVIEWS SECTION STYLES
   ========================================= */
.reviews-home { 
    background: var(--c-sand-bg); 
    padding: 80px 0; 
    border-top: 1px solid var(--c-sand-dark); 
}

.reviews-grid { 
    display: -ms-grid;
    display: grid; 
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr; 
    gap: 30px; 
    margin-top: 40px; 
}

.pagination-wrapper {
    margin-top: 60px;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    padding: 10px 15px;
    border: 1px solid var(--c-sand-dark);
    border-radius: 8px;
    color: var(--c-text-main);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 40px;
    text-align: center;
}

.pagination-wrapper .page-numbers a:hover {
    background: var(--c-deep-blue);
    color: white;
    border-color: var(--c-deep-blue);
}

.pagination-wrapper .page-numbers .current {
    background: var(--c-deep-blue);
    color: white;
    border-color: var(--c-deep-blue);
}

.review-item { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

.review-item:hover { 
    -webkit-transform: translateY(-5px); 
    -moz-transform: translateY(-5px); 
    -ms-transform: translateY(-5px); 
    -o-transform: translateY(-5px); 
    transform: translateY(-5px); 
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

.review-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: 15px; 
    margin-bottom: 15px; 
}

.review-avatar { 
    width: 50px; 
    height: 50px; 
    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; 
    font-size: 1.2rem; 
}

.review-author {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.review-author h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--c-deep-blue);
    font-weight: 600;
}

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

.review-content {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 20px;
}

.review-text { 
    font-style: italic; 
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.review-footer {
    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-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--c-text-light);
}

.review-date,
.review-resort {
    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: 5px;
}

.review-date i,
.review-resort i {
    color: var(--c-gold);
    font-size: 0.85rem;
}

/* Tour link in review footer */
.review-footer .rc-tour-link {
    display: -webkit-inline-box;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    font-size: 0.9rem;
    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;
}

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

.review-footer .rc-tour-link i {
    font-size: 0.85rem;
}

/* REVIEWS CAROUSEL SECTION */
.reviews-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--c-sand-dark);
}

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

.section-header-small { 
    text-align: center; 
    margin: 40px 0 30px 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: 20px 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: 20px;
    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: 25px;
    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: 12px; 
}

.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: 10px; 
    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: 20px 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); 
}

/* Mobile styles */
@media (max-width: 900px) {
    .reviews-grid { 
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-footer {
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -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;
    }
    
    /* CAROUSEL */
    .carousel-nav-btn { 
        display: none; 
    }
    
    .reviews-container { 
        padding: 0 20px; 
    }
    
    .filters-list {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Load More Button */
.load-more-wrapper {
    margin-top: 60px;
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 40px;
    background: var(--c-deep-blue);
    color: white;
    border: 2px solid var(--c-deep-blue);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    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;
    text-decoration: none;
    min-width: 180px;
}

.load-more-btn:hover:not(:disabled) {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: white;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-spinner {
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .load-more-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
        min-width: 160px;
    }
}/* =========================================
   NEWS BLOCK STYLES
   ========================================= */

/* News Section - Lightweight version for resort pages */
.news-section {
    margin: 25px 0 30px;
    padding: 0;
}

.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 15px;
}

.news-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-section-title i {
    color: var(--c-gold);
    font-size: 0.85rem;
}

.news-section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.news-section-link:hover {
    color: var(--c-deep-blue);
}

.news-section-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.news-section-link:hover i {
    transform: translateX(3px);
}

/* News Block - Minimal list style */
.news-block-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--c-white);
    border-radius: 10px;
    border: 1px solid var(--c-sand-dark);
    overflow: hidden;
}

.news-item-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--c-sand-dark);
    transition: background 0.2s ease;
    gap: 12px;
}

.news-item-card:last-child {
    border-bottom: none;
}

.news-item-card:hover {
    background: rgba(14, 79, 85, 0.02);
}

.news-item-icon {
    display: none;
}

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

.news-item-date {
    color: var(--c-gold);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 70px;
}

.news-item-title {
    color: var(--c-deep-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-arrow {
    color: var(--c-gold);
    font-size: 12px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.news-item-card:hover .news-item-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* Single News Page */
.single-news-hero {
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #0a3d45 100%);
    color: var(--c-white);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.single-news-header {
    max-width: 800px;
    margin: 0 auto;
}

.single-news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.single-news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-news-date i {
    color: var(--c-gold);
}

.single-news-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--c-white) !important;
}

.single-news-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.single-news-thumbnail {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.single-news-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-news-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--c-text-main);
}

.single-news-body p {
    margin-bottom: 20px;
}

.single-news-body h2,
.single-news-body h3 {
    color: var(--c-deep-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-news-body h2 {
    font-size: 24px;
}

.single-news-body h3 {
    font-size: 20px;
}

.single-news-body ul,
.single-news-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-news-body li {
    margin-bottom: 10px;
}

.single-news-navigation {
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 2px solid var(--c-sand-dark);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--c-deep-blue);
    color: var(--c-white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-nav-link:hover {
    background: var(--c-gold);
    transform: translateY(-2px);
}

.news-nav-link.prev i {
    order: -1;
}

.news-nav-link.next i {
    order: 1;
}

/* Back to news button fix */
.single-news-content .btn-hero.outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    color: var(--c-deep-blue);
    border: 2px solid var(--c-deep-blue);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.single-news-content .btn-hero.outline:hover {
    background: var(--c-deep-blue);
    color: var(--c-white);
}

/* Floating Back Button */
.floating-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-deep-blue);
    color: var(--c-white);
    border: none;
    box-shadow: 0 4px 12px rgba(14, 77, 86, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-back-btn:hover {
    background: var(--c-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 77, 86, 0.4);
}

.floating-back-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .floating-back-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Archive News Page */
.news-archive-hero {
    background: linear-gradient(135deg, var(--c-deep-blue) 0%, #0a3d45 100%);
    color: var(--c-white);
    padding: 60px 0;
    margin-bottom: 60px;
}

.news-archive-header {
    text-align: center;
}

.news-archive-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-archive-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(14, 79, 85, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 79, 85, 0.15);
}

.news-card-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--c-sand-bg);
    position: relative;
}

.news-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumbnail img {
    transform: scale(1.05);
}

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

.news-card-date {
    color: var(--c-gold);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-card-title {
    color: var(--c-deep-blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-card-excerpt {
    color: var(--c-text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-card-read-more {
    color: var(--c-deep-blue);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-read-more {
    color: var(--c-gold);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.news-pagination a,
.news-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--c-white);
    color: var(--c-deep-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--c-sand-dark);
}

.news-pagination a:hover {
    background: var(--c-deep-blue);
    color: var(--c-white);
    border-color: var(--c-deep-blue);
}

.news-pagination .current {
    background: var(--c-gold);
    color: var(--c-white);
    border-color: var(--c-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-section {
        margin: 20px 0 25px;
    }

    .news-section-title {
        font-size: 0.85rem;
    }

    .news-item-card {
        padding: 10px 14px;
        gap: 10px;
    }

    .news-item-content {
        gap: 10px;
    }

    .news-item-date {
        font-size: 11px;
        min-width: 65px;
    }

    .news-item-title {
        font-size: 13px;
    }

    .news-item-arrow {
        opacity: 1;
    }

    .single-news-hero {
        padding: 40px 0 30px;
    }

    .single-news-title {
        font-size: 24px;
    }

    .single-news-meta {
        font-size: 13px;
        gap: 15px;
    }

    .single-news-body {
        font-size: 15px;
    }

    .news-archive-title {
        font-size: 28px;
    }

    .news-archive-subtitle {
        font-size: 15px;
    }

    .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-navigation {
        flex-direction: column;
    }

    .news-nav-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .news-section {
        margin: 15px 0 20px;
    }

    .news-section-header {
        flex-wrap: wrap;
    }

    .news-item-card {
        padding: 10px 12px;
    }

    .news-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .news-item-date {
        min-width: auto;
    }

    .news-item-title {
        font-size: 13px;
        white-space: normal;
    }

    .single-news-title {
        font-size: 20px;
    }

    .news-archive-title {
        font-size: 24px;
    }
}
/* Even more compact logo for mobile devices */
@media (max-width: 768px) {
    .logo img,
    .custom-logo {
        height: 35px !important; 
        max-height: 35px !important;
    }
    
    /* Компактный заголовок каталога на планшетах */
    .catalog-heading-wrapper {
        padding: 0 20px;
        margin-bottom: 20px;
    }
}

/* =========================================
   8. TABLET STYLES (769px - 900px)
   ========================================= */
@media (min-width: 769px) and (max-width: 900px) {
    /* Transfer Card - Tablet Styles */
    .transfer-card-route-item {
        padding: 10px 12px;
    }
    
    .transfer-card-route-content {
        gap: 8px;
        font-size: 0.82rem;
    }
    
    .transfer-card-route-from,
    .transfer-card-route-to {
        font-size: 0.82rem;
        max-width: 42%;
    }
    
    .transfer-card-route-arrow {
        font-size: 0.8rem;
        padding: 0 4px;
    }
    
    .transfer-card-route-price {
        font-size: 0.92rem;
        padding: 3px 8px;
    }
    
    /* Компактный заголовок каталога на планшетах */
    .catalog-heading-wrapper {
        margin: 15px auto;
        padding: 0 15px;
    }
    
    .catalog-heading-wrapper .catalog-heading {
        font-size: 1.6rem;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .catalog-price-date {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin: 6px auto 0 auto;
    }
    
    .catalog-heading-wrapper p {
        font-size: 0.95rem;
        margin: 10px auto 0 auto;
    }
}

@media (max-width: 480px) {
    .logo img,
    .custom-logo {
        height: 30px !important; 
        max-height: 30px !important;
    }
    
    /* Further optimization for very small screens */
    .hero { 
        min-height: 60vh;      
        padding-top: 60px;     
    }
    
    .hero h1 { 
        font-size: 1.8rem; 
        margin-top: 20px; 
    }
    
    .hero-subtitle { 
        font-size: 0.8rem; 
        margin-bottom: 15px; 
    }
    
    .btn-hero { 
        padding: 10px 12px; 
        font-size: 0.8rem; 
    }
    
    /* Further optimization for resort page hero on very small screens */
    .page-hero { 
        min-height: 60vh; 
        padding: 60px 15px 18px 15px; 
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
    }
    
    .page-hero h1 { 
        font-size: 1.35rem; 
        margin-bottom: 8px; 
        line-height: 1.1;
    }
    
    .hero-tagline { 
        font-size: 0.85rem; 
        margin-bottom: 16px; 
    }

    .hero-rating {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
    }

    .hero-rating .hero-experience {
        display: block;
        margin-top: 4px;
    }
    
    /* СТРАНИЦА О НАС - очень маленькие экраны */
    .story-section {
        padding: 40px 0;
    }
    
    .story-grid {
        gap: 30px;
    }
    
    .story-text {
        font-size: 0.95rem;
    }
    
    .values-section {
        padding: 40px 0;
    }
    
    .values-section .section-header-centered {
        margin-bottom: 30px;
    }
    
    .values-section .section-header-centered h2 {
        font-size: 1.8rem;
    }
    
    .value-card {
        padding: 25px 15px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
    
    .about-cta-section {
        padding: 40px 0;
    }
    
    .about-cta-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .about-cta-section p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .about-cta-section .btn-hero {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* СТРАНИЦА КОНТАКТОВ - очень маленькие экраны */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-info h3 {
        font-size: 1.2rem;
        margin-top: 30px;
    }
    
    .messenger-buttons {
        gap: 12px;
    }
    
    .messenger-buttons .btn-cta {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100%;
    }
    
    .contact-details {
        padding: 25px 15px;
    }
    
    .contact-details p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .contact-details strong {
        min-width: auto;
        display: block;
        margin-bottom: 5px;
    }
    
    .map-section {
        margin-top: 30px;
        padding-top: 30px;
    }
    
    .map-section h2 {
        font-size: 1.5rem;
    }
    
    .map-section p {
        font-size: 0.95rem;
    }
    
    .map-section iframe {
        height: 250px;
    }
    
    .hero-buttons { 
        -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-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center; 
        gap: 10px; 
        margin-bottom: 25px; 
    }
    
    .btn-hero { 
        padding: 12px 20px; 
        font-size: 0.85rem; 
        width: 100%; 
        max-width: 250px; 
    }
    
    .hero-info-box { 
        padding: 15px; 
        margin-top: 15px; 
    }
    
    .hero-info-box h3 { 
        font-size: 0.9rem; 
        margin-bottom: 8px; 
    }
    
    .payment-list li { 
        margin-bottom: 6px; 
        font-size: 0.75rem; 
    }
    
    .payment-warning { 
        font-size: 0.65rem; 
        padding-left: 15px;
    }
    
    /* Компактный заголовок каталога на мобильных */
    .catalog-heading-wrapper {
        margin: 10px auto 18px auto;
        padding: 0 10px;
    }
    
    .catalog-heading-wrapper .catalog-heading {
        font-size: 1.15rem;
        margin-bottom: 4px;
        line-height: 1.25;
    }
    
    .catalog-price-date {
        font-size: 0.72rem;
        padding: 4px 8px;
        margin: 4px auto 0 auto;
    }
    
    .catalog-heading-wrapper p {
        font-size: 0.82rem;
        margin: 6px auto 0 auto;
        line-height: 1.4;
    }
}

/* =========================================
   9. МОБИЛЬНЫЕ СТИЛИ
   ========================================= */
@media (max-width: 900px) {
    /* HERO ФИКС */
    .hero { 
        height: auto;           
        min-height: 70vh;      
        padding-top: 80px;     
        -webkit-box-pack: start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start; 
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
        margin-top: 30px; 
    }
    
    .hero-subtitle { 
        font-size: 0.9rem; 
        margin-bottom: 20px; 
    }
    
    .btn-hero { 
        padding: 12px 15px; 
        width: 100%; 
        font-size: 0.85rem; 
    }
    
    /* HERO СТРАНИЦЫ КУРОРТА */
    .page-hero { 
        min-height: 70vh; 
        padding: 70px 20px 28px 20px; 
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -moz-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: -o-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero.jpg') center/cover no-repeat;
    }
    
    .page-hero h1 { 
        font-size: 1.7rem; 
        margin-bottom: 12px;
        line-height: 1.15;
    }
    
    .hero-tagline { 
        font-size: 0.95rem; 
        margin-bottom: 20px; 
    }
    
    .hero-buttons { 
        -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-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center; 
        gap: 15px; 
        margin-bottom: 30px; 
    }
    
    .btn-hero { 
        width: 100%; 
        max-width: 300px; 
    }
    
    .hero-info-box { 
        padding: 20px; 
        margin-top: 20px; 
    }
    
    .hero-info-box h3 { 
        font-size: 1rem; 
        margin-bottom: 10px; 
    }
    
    .payment-list li { 
        margin-bottom: 8px; 
        font-size: 0.8rem; 
    }
    
    .payment-warning { 
        font-size: 0.7rem; 
        padding-left: 20px;
    }
    
    /* КАРУСЕЛЬ ОТЗЫВОВ */
    .carousel-nav-btn { 
        display: none; 
    }
    
    .reviews-container { 
        padding: 0 20px; 
    }
    
    /* ФИЛЬТРЫ */
    .filters-list { 
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center; 
        overflow-x: auto; 
        padding-bottom: 10px; 
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap; 
    }
    
    .filter-btn { 
        white-space: nowrap; 
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0; 
    }
    
    /* БЛОК ПРЕИМУЩЕСТВ ФИКС */
    .hero-benefits { 
        position: relative;     
        margin-top: 50px;       
        bottom: auto;
        background: rgba(14, 77, 86, 0.95);
    }
    
    .benefits-grid {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr; 
        gap: 20px;
        padding: 10px;
    }
    
    .benefit-item {
        -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; 
        text-align: center;
        gap: 10px;
    }
    
    .benefit-text { 
        text-align: center; 
    }

    /* ОСТАЛЬНОЕ */
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--c-white); 
        -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; 
        padding: 20px; 
        -webkit-box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        -moz-box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        border-top: 1px solid #eee; 
        gap: 20px; 
        text-align: center; 
    }
    
    .nav-links.active { 
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex; 
    }
    
    .mobile-toggle { 
        display: block; 
    }
    
    .catalog-grid { 
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    
    /* Промо-блок подписки на соцсети - мобильные стили */
    .social-promo-block,
    .efsp-promo-block-wrapper .social-promo-block,
    .custom-promo-wrapper .custom-promo-block {
        padding: 14px 16px !important;
        margin: 12px 0 !important;
        border-radius: 10px !important;
    }
    
    .social-promo-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    
    .social-promo-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }
    
    .social-promo-title {
        font-size: 1.05rem !important;
        margin-bottom: 3px !important;
    }
    
    .social-promo-description {
        font-size: 0.8rem !important;
    }
    
    .social-promo-buttons {
        justify-content: center !important;
        width: 100% !important;
        gap: 6px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .social-promo-btn {
        width: 100% !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        justify-content: center !important;
        padding: 7px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .social-promo-btn span {
        display: inline-block;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .social-promo-btn i {
        font-size: 1.1rem !important;
    }
    
    /* FAQ и SEO секции на мобильных - увеличиваем отступы */
    .faq-section .container,
    .seo-section .container.seo-content,
    .seo-content-section .container {
        padding: 0 20px !important;
    }
    
    .faq-grid {
        padding: 0;
    }
    
    .faq-question {
        padding: 18px 0 !important;
        font-size: 1rem !important;
    }
    
    .faq-answer {
        padding-right: 0 !important;
    }
    
    /* SEO секция - дополнительные отступы для контента */
    .seo-section {
        padding: 30px 0 !important;
    }
    
    .seo-section .container.seo-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .seo-content p,
    .seo-content ul,
    .seo-content ol {
        margin-bottom: 15px;
    }
    
    .seo-content h2 {
        font-size: 1.5rem !important;
        margin-top: 25px !important;
        margin-bottom: 15px !important;
    }
    
    .seo-content h3 {
        font-size: 1.3rem !important;
        margin-top: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .reviews-grid { 
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr; 
    }
    
    .mobile-cta:not(.hide-on-mobile) { 
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex; 
    }
    
    .mobile-cta.hide-on-mobile {
        display: none !important;
    }
    
    .mobile-cta-buttons {
        gap: 8px;
    }
    
    .mobile-cta-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .reviews-compact-section {
        padding: 12px 0;
    }
    
    .reviews-compact-box {
        gap: 15px;
    }

    .reviews-compact-content {
        align-items: flex-start;
    }

    .reviews-compact-content i {
        margin-top: 2px;
    }
    
    .reviews-compact-text {
        font-size: 0.9rem;
    }

    .reviews-compact-text .reviews-today {
        display: block;
        margin-top: 2px;
    }
    
    .btn-reviews-compact {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    body { 
        padding-bottom: 70px; 
    }
    
    .footer-content { 
        -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; 
        gap: 30px; 
    }
    
    /* СТИЛИ СТРАНИЦЫ ТУРА ДЛЯ МОБИЛЬНЫХ */
    .gallery-grid { 
        grid-template-columns: 1fr; 
        grid-template-rows: 240px; 
        gap: 12px;
    }
    
    .gallery-item {
        border-radius: var(--radius);
    }
    
    .item-sub { 
        display: none; 
    }
    
    .tour-layout { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    /* Адаптивные стили для трансферов */
    .transfer-header-section .tour-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .transfer-route-large {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin: 20px 0;
    }
    
    .route-arrow-large {
        transform: rotate(90deg);
        font-size: 1.5rem;
        padding: 10px 0;
    }
    
    .route-from,
    .route-to {
        width: 100%;
        gap: 12px;
    }
    
    .route-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .route-icon-wrapper i {
        font-size: 1.1rem;
    }
    
    .route-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .route-value {
        font-size: 1rem;
    }
    
    /* Transfer Card - Mobile Styles */
    .transfer-card-routes {
        gap: 6px;
        margin: 10px 0;
    }
    
    .transfer-card-route-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
    }
    
    .transfer-card-route-content {
        width: 100%;
        font-size: 0.85rem;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    
    .transfer-card-route-from,
    .transfer-card-route-to {
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .transfer-card-route-from {
        padding-left: 4px;
    }
    
    .transfer-card-route-to {
        padding-left: 8px;
        position: relative;
    }
    
    .transfer-card-route-to::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 2px;
        background: var(--c-gold);
        opacity: 0.5;
    }
    
    .transfer-card-route-arrow {
        display: inline-flex;
        margin: 0 4px;
    }
    
    .transfer-card-route-price {
        font-size: 0.95rem;
        align-self: center;
        width: auto;
        margin-top: 0;
        margin-left: 8px;
        white-space: nowrap;
    }
    
    .transfer-card-info {
        flex-direction: column;
        gap: 8px;
        padding: 8px 0;
    }
    
    .transfer-info-item {
        font-size: 0.8rem;
    }
    
    .transfer-price-amount {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 1.3rem;
    }
    
    .transfer-price-old {
        font-size: 0.9rem;
    }
    
    /* Стили для множественных направлений - мобильная версия */
    .transfer-routes-list {
        margin: 20px 0;
    }
    
    .transfer-routes-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .transfer-routes-grid {
        gap: 12px;
    }
    
    .transfer-route-card {
        padding: 15px;
    }
    
    .transfer-route-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .transfer-route-card-route {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transfer-route-card .route-point {
        width: 100%;
        flex: 1 1 100%;
    }
    
    .transfer-route-card .route-point span {
        font-size: 0.95rem;
    }
    
    .transfer-route-card .route-arrow-small {
        transform: rotate(90deg);
        padding: 5px 0;
        align-self: center;
    }
    
    .transfer-route-card-price {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .transfer-route-price-wrapper {
        justify-content: center;
    }
    
    .transfer-route-price-value {
        font-size: 1.2rem;
    }
    
    .transfer-routes-selector-label {
        font-size: 0.8rem;
    }
    
    .transfer-routes-select {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .transfer-routes-count {
        font-size: 0.7rem;
    }
    
    /* Transfer Details Grid - мобильная версия */
    .transfer-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .transfer-detail-item {
        padding: 15px;
        gap: 12px;
    }
    
    .transfer-detail-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .transfer-detail-label {
        font-size: 0.8rem;
    }
    
    .transfer-detail-value {
        font-size: 1rem;
    }
    
    /* Transfer Description Section - мобильная версия */
    .transfer-description-section {
        margin: 30px 0;
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .transfer-description-content {
        font-size: 1rem;
    }
    
    /* Transfer Included Section - мобильная версия */
    .transfer-included-compact {
        margin-top: 20px;
        padding: 20px;
    }
    
    .transfer-included-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .transfer-included-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .transfer-included-badge {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .transfer-included-badge i {
        font-size: 0.85rem;
        width: 16px;
    }
    
    /* Компактный маршрут в блоке бронирования - мобильная версия */
    .transfer-booking-route {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .booking-route-arrow {
        transform: rotate(90deg);
        font-size: 0.9rem;
        padding: 4px 0;
    }
    
    .booking-route-item {
        width: 100%;
    }
    
    .booking-route-label {
        font-size: 0.65rem;
    }
    
    .booking-route-value {
        font-size: 0.8rem;
    }
    
    /* Тип транспорта в блоке бронирования - мобильная версия */
    .transfer-booking-transport {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .booking-transport-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .booking-transport-label {
        font-size: 0.65rem;
    }
    
    .booking-transport-value {
        font-size: 0.8rem;
    }
    
    /* Адаптивные стили для блока бронирования */
    .transfer-booking-card {
        gap: 10px;
    }
    
    .transfer-booking-card .booking-title {
        font-size: 1.1rem;
    }
    
    .transfer-discount-banner {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
    
    .transfer-price-amount {
        font-size: 1.5rem;
    }
    
    .transfer-price-rub {
        font-size: 0.8rem;
    }
    
    .transfer-info-badge {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .transfer-booking-checkbox {
        font-size: 0.7rem;
        padding: 6px 0;
    }
    
    .transfer-booking-buttons {
        gap: 6px;
    }
    
    /* Что включено в блоке бронирования - мобильная версия */
    .transfer-booking-included {
        padding: 8px 0;
    }
    
    .transfer-booking-included-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    
    .transfer-booking-included-list {
        gap: 5px;
    }
    
    .transfer-booking-included-item {
        padding: 5px 0;
        font-size: 0.75rem;
    }
    
    .transfer-booking-included-item i {
        font-size: 0.7rem;
        width: 12px;
    }
    
    /* Уменьшаем padding контента на мобильных */
    .tour-content {
        padding: 10px 5px !important;
    }
    
    /* Уменьшаем отступы tour-header на мобильных */
    .tour-header {
        margin-bottom: 5px !important;
    }
    
    .tour-meta {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }
    
    /* Показываем мобильный блок бронирования */
    .booking-card-mobile {
        display: block !important;
        position: static !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 12px !important;
        margin-top: 5px !important;
        margin-bottom: 20px !important;
        background: var(--c-white) !important;
    }
    
    /* Скрываем десктопный sidebar с бронированием на мобильных */
    .sidebar {
        display: none !important;
    }
    
    /* Показываем мобильную версию блока бронирования в начале контента */
    .transfer-booking-card-mobile {
        display: block !important;
        margin: 20px 0;
    }
    
    .transfer-booking-card-mobile .transfer-booking-card {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    
    #mobile-booking-placeholder { 
        display: none;
    }
    
    .mobile-bottom-bar { 
        display: flex; 
    }
    
    /* Адаптивные стили для блоков с иконками */
    .tour-meta {
        gap: 12px;
    }
    
    .tour-meta-item {
        min-width: 150px;
    }
    
    .tour-meta-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .tour-meta-label {
        font-size: 0.7rem;
    }
    
    .tour-meta-value {
        font-size: 0.9rem;
    }
    
    .highlights {
        padding: 15px 10px !important;
    }
    
    .booking-card {
        padding: 15px 14px !important;
    }
    
    .booking-header,
    .booking-prices-list,
    .booking-schedule,
    .booking-info,
    .booking-actions {
        padding: 0 2px;
    }
    
    /* Улучшенные отступы для мобильного блока бронирования */
    .booking-card-mobile {
        padding: 18px 16px !important;
    }
    
    .booking-card-mobile .booking-header {
        margin-bottom: 16px !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .booking-card-mobile .booking-price-section {
        margin-bottom: 16px !important;
        padding-bottom: 16px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .booking-card-mobile .booking-prices-list {
        margin-bottom: 16px !important;
        padding: 14px 12px !important;
        background: #f8f9fa !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 10px !important;
        gap: 12px !important;
    }
    
    .booking-card-mobile .booking-price-item {
        padding: 0 !important;
    }
    
    .booking-card-mobile .booking-schedule {
        margin-bottom: 16px !important;
        padding: 14px 12px !important;
        background: #f8f9fa !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 10px !important;
    }
    
    .booking-card-mobile .booking-form {
        margin-bottom: 16px !important;
        gap: 14px !important;
    }
    
    .booking-card-mobile .booking-info-box {
        padding: 12px 14px !important;
        border-radius: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .booking-card-mobile .booking-checkbox {
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    .booking-card-mobile .booking-buttons {
        gap: 12px !important;
    }
    
    .booking-card-mobile .booking-btn {
        padding: 14px 18px !important;
        border-radius: 10px !important;
        font-size: 0.95rem !important;
    }
    
    .booking-card-mobile .booking-note {
        margin-top: 8px !important;
        font-size: 0.75rem !important;
    }
    
    .booking-card-mobile .booking-security {
        margin-top: 16px !important;
        padding: 12px 14px !important;
        background: #f8f9fa !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 10px !important;
    }
    
    /* Улучшаем визуальную иерархию заголовков */
    .booking-card-mobile .booking-title {
        font-size: 1.25rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Улучшаем отступы для price section */
    .booking-card-mobile .booking-price-block {
        margin: 0 !important;
    }
    
    /* Улучшаем отступы для price row */
    .booking-card-mobile .booking-price-row {
        gap: 6px !important;
    }
    
    /* Улучшаем отступы для price rub */
    .booking-card-mobile .booking-price-rub {
        margin-top: 4px !important;
        font-size: 0.82rem !important;
    }
    
    /* Убираем sticky на мобильных */
    #booking-card-element {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    /* Размещаем цену и бейдж на одной линии на мобильных */
    .booking-price-section {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .booking-price-block {
        flex: 1;
        min-width: 0;
    }
    
    .booking-price-amount {
        font-size: 1.6rem !important;
    }
    
    .booking-card-mobile .booking-badge {
        flex-shrink: 0;
        padding: 7px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 20px !important;
    }
    
    .booking-card-mobile .booking-badge-icon {
        font-size: 0.85rem !important;
    }
    
    .booking-card-mobile .booking-badge-text {
        white-space: nowrap;
    }
    
    .booking-card-mobile .booking-price-item-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
    }
    
    .booking-card-mobile .booking-price-item-label {
        font-size: 0.83rem !important;
    }
    
    .booking-card-mobile .booking-price-item-value {
        font-size: 0.88rem !important;
    }
    
    .booking-card-mobile .booking-schedule-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
    }
    
    .booking-card-mobile .booking-schedule-label {
        font-size: 0.83rem !important;
    }
    
    .booking-card-mobile .booking-schedule-value {
        font-size: 0.88rem !important;
    }
    
    .booking-card-mobile .booking-info-icon {
        font-size: 0.95rem !important;
    }
    
    .booking-card-mobile .booking-info-text {
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
    }
    
    .booking-card-mobile .booking-security {
        justify-content: center !important;
        align-items: center !important;
    }
    
    .booking-card-mobile .booking-security-icon {
        font-size: 0.95rem !important;
        margin-top: 0 !important;
    }
    
    .booking-card-mobile .booking-security-text {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
        flex: 0 1 auto !important;
    }
    
    .booking-title-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    .booking-title {
        flex: 1;
        margin: 0;
    }
    
    .booking-discount-sticker {
        font-size: 0.75rem;
        padding: 5px 12px;
        flex-shrink: 0;
    }
    
    .what-to-bring-section {
        padding: 20px 15px !important;
    }
    
    .what-to-bring-section .block-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    
    .what-to-bring-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .inc-exc-icon,
    .what-to-bring-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .inc-exc-text,
    .what-to-bring-text {
        font-size: 0.9rem;
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .timeline-time,
    .timeline-desc {
        font-size: 0.9rem;
    }
    
    /* Timeline photos responsive */
    .timeline-photos {
        gap: 6px;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .timeline-photo-link {
        width: calc(33.333% - 4px);
        height: auto;
        aspect-ratio: 4/3;
        border-radius: 6px;
    }
    
    .booking-card {
        padding: 20px 14px !important;
        gap: 15px;
    }
    
    .booking-header,
    .booking-prices-list,
    .booking-schedule,
    .booking-info,
    .booking-actions {
        padding: 0 4px;
    }
    
    .booking-title {
        font-size: 1.2rem;
    }
    
    .booking-price-amount {
        font-size: 1.8rem;
    }
    
    .booking-price-item-icon,
    .booking-schedule-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .booking-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .booking-btn-icon {
        font-size: 1rem;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .review-card-mini { 
        -webkit-flex: 0 0 280px; 
        -ms-flex: 0 0 280px; 
        flex: 0 0 280px; 
    }
    
    /* СТРАНИЦА О НАС */
    .story-section {
        padding: 60px 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-content .section-header-centered {
        text-align: center;
        align-items: center;
    }
    
    .story-content .section-header-centered h2 {
        text-align: center;
    }
    
    .story-content .section-header-centered span {
        margin-left: auto;
        margin-right: auto;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .values-section {
        padding: 60px 0;
    }
    
    .values-section .section-header-centered {
        margin-bottom: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .value-icon i {
        font-size: 1.8rem;
    }
    
    .value-card h4 {
        font-size: 1.2rem;
    }
    
    .about-cta-section {
        padding: 60px 0;
    }
    
    .about-cta-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-cta-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .about-cta-section .btn-hero {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-section h2 {
        font-size: 2rem;
    }
    
    /* СТРАНИЦА КОНТАКТОВ */
    .page-hero-contact {
        padding: 80px 0 50px;
    }
    
    .page-hero-contact h1 {
        font-size: 2rem;
    }
    
    .page-hero-contact p {
        font-size: 1rem;
    }
    
    .messenger-block, .details-section, .map-section, .contact-section {
        padding: 50px 0;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
        margin-top: 40px;
    }
    
    .messenger-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .messenger-buttons .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .contact-details {
        padding: 30px 20px;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .contact-details strong {
        min-width: 80px;
        display: block;
        margin-bottom: 5px;
    }
    
    .map-section {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .map-section h2 {
        font-size: 1.8rem;
    }
    
    .map-section iframe {
        height: 300px;
    }
    
    .messenger-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-messenger {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid.tour-page-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 280px;
        gap: 15px;
    }
    
    .item-main {
        grid-row: 1 / 3;
        border-radius: var(--radius) 0 0 var(--radius);
    }
    
    .gallery-grid.tour-page-gallery .item-sub {
        display: block;
    }
    
    .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 {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .what-to-bring-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .what-to-bring-section {
        padding: 25px 20px;
    }
    
    .related-tours-section {
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 40px 0;
    }
    
    .related-tours-title {
        font-size: 1.8rem;
    }
    
    .related-tours-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .tour-description-section {
        margin: 50px auto 50px auto;
        padding: 40px 20px;
    }
    
    .tour-description-section .block-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
}

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
    .photo-gallery {
        margin-bottom: 35px;
    }
    
    .gallery-grid.tour-page-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 240px;
        gap: 12px;
        margin-bottom: 0;
        border-radius: var(--radius);
        padding: 0;
    }
    
    .item-main {
        grid-row: 1;
        border-radius: var(--radius);
    }
    
    .gallery-item {
        flex: none;
        scroll-snap-align: unset;
        margin-right: 0;
        border-radius: var(--radius);
        min-width: unset;
    }
    
    .view-all-photos {
        bottom: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.8rem;
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .view-all-photos i {
        font-size: 0.9rem;
    }
    
    /* Keep the original behavior - hide sub items and show view all button */
    .item-sub {
        display: none;
    }
    
    .inc-exc-grid { 
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
    
    .what-to-bring-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .inc-exc-icon,
    .what-to-bring-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .inc-exc-text,
    .what-to-bring-text {
        font-size: 0.9rem;
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .timeline-time,
    .timeline-desc {
        font-size: 0.9rem;
    }
    
    .related-tours-section {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 35px 0;
    }
    
    .related-tours-container {
        padding: 0 15px;
    }
    
    .related-tours-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .related-tours-divider {
        width: 60px;
        height: 3px;
    }
    
    .related-tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-tour-card .tour-image {
        height: 200px;
    }
    
    .tour-description-section {
        margin: 40px auto 40px auto;
        padding: 35px 15px;
    }
    
    .tour-description-section .block-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .related-tour-card .tour-content {
        padding: 18px;
    }
    
    .related-tour-card .tour-content h4 {
        font-size: 1.1rem;
        min-height: 3em;
    }
    
    .price-main-related {
        font-size: 1.3rem;
    }
    
    .tours-grid { 
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
        gap: 20px;
    }
    
    .tour-image {
        height: 160px;
    }
    
    .tour-content {
        padding: 15px;
    }
    
    .tour-content h4 {
        font-size: 1rem;
        min-height: 2.6em;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    /* FAQ и SEO секции на маленьких мобильных - увеличиваем отступы */
    .faq-section .container,
    .seo-section .container.seo-content,
    .seo-content-section .container {
        padding: 0 20px !important;
    }
    
    .seo-section {
        padding: 25px 0 !important;
    }
    
    .photo-gallery {
        margin-bottom: 30px;
    }
    
    .gallery-grid.tour-page-gallery {
        grid-template-rows: 220px;
        gap: 10px;
    }
    
    .view-all-photos {
        bottom: 12px;
        right: 12px;
        padding: 8px 16px;
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .view-all-photos i {
        font-size: 0.85rem;
    }
    
    .related-tours-section {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 30px 0;
    }
    
    .related-tours-container {
        padding: 0 20px;
    }
    
    .related-tours-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .related-tours-divider {
        width: 50px;
        height: 3px;
    }
    
    .related-tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-tour-card .tour-image {
        height: 180px;
    }
    
    .tour-description-section {
        margin: 30px auto 30px auto;
        padding: 30px 15px;
    }
    
    .tour-description-section .block-title {
        font-size: 1.4rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .tour-description-section .block-title::after {
        width: 60px;
        height: 3px;
    }
    
    .related-tour-card .tour-content {
        padding: 15px;
    }
    
    .related-tour-card .tour-content h4 {
        font-size: 1.05rem;
        min-height: auto;
    }
    
    .price-main-related {
        font-size: 1.2rem;
    }
    
    .tour-card-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tours-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .tour-image {
        height: 200px;
    }
    
    .tour-content {
        padding: 18px;
    }
    
    .tour-content h4 {
        font-size: 1.05rem;
        min-height: auto;
    }
    
    .tour-price-small .price-main {
        font-size: 1.2rem;
    }
    
    /* Еще больше уменьшаем отступы на маленьких экранах */
    .tour-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .tour-meta-item {
        min-width: 100%;
        width: 100%;
    }
    
    .tour-meta-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .tour-meta-label {
        font-size: 0.65rem;
    }
    
    .tour-meta-value {
        font-size: 0.85rem;
    }
    
    .highlights {
        padding: 18px 8px !important;
    }
    
    .booking-card {
        padding: 18px 8px !important;
    }
    
    .highlights-list {
        gap: 10px;
    }
    
    .highlight-item {
        gap: 10px;
    }
    
    .highlight-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .highlight-title {
        font-size: 0.9rem;
    }
    
    .highlight-desc {
        font-size: 0.85rem;
    }
    
    .what-to-bring-section {
        padding: 18px 15px !important;
    }
    
    .what-to-bring-section .block-title {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    
    .what-to-bring-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .inc-exc-icon,
    .what-to-bring-icon {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .inc-exc-text,
    .what-to-bring-text {
        font-size: 0.85rem;
    }
    
    .timeline-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .timeline-time,
    .timeline-desc {
        font-size: 0.85rem;
    }
    
    /* Timeline photos - 2 per row on small screens */
    .timeline-photos {
        gap: 5px;
    }
    
    .timeline-photo-link {
        width: calc(50% - 2.5px);
    }
    
    .timeline-list {
        gap: 15px;
    }
    
    .booking-card {
        padding: 18px 14px !important;
        gap: 12px;
    }
    
    .booking-header,
    .booking-prices-list,
    .booking-schedule,
    .booking-info,
    .booking-actions {
        padding: 0 4px;
    }
    
    .booking-price-item,
    .booking-schedule-item {
        padding: 12px 10px;
    }
    
    .booking-title {
        font-size: 1.1rem;
    }
    
    .booking-price-amount {
        font-size: 1.6rem;
    }
    
    .booking-price-item-icon,
    .booking-schedule-icon {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .booking-price-item-label,
    .booking-schedule-label {
        font-size: 0.8rem;
    }
    
    .booking-price-item-value {
        font-size: 0.85rem;
    }
    
    .booking-schedule {
        margin-bottom: 20px !important;
    }
    
    .booking-schedule-value {
        font-size: 0.85rem;
    }
    
    .booking-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .booking-btn-icon {
        font-size: 0.95rem;
    }
    
    .booking-info-text,
    .booking-checkbox,
    .booking-security-text {
        font-size: 0.7rem;
    }
    
    /* Убеждаемся, что текст не выходит за края */
    .highlights ul li,
    .what-to-bring-section ul.check-list li,
    .check-list li {
        min-width: 0;
        max-width: 100%;
    }
    
    .highlights ul li > *:not(i) {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .what-to-bring-section ul.check-list li > *:not(i),
    .check-list li > *:not(i) {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Lightbox adjustments for mobile */
@media (max-width: 768px) {
    .lightbox-swiper .lightbox-image {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-swiper .swiper-button-next::after,
    .lightbox-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .close-lightbox {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    
    .lightbox-counter {
        font-size: 14px;
        top: 15px;
        padding: 6px 12px;
    }
}

/* Mobile Bottom Bar */
.mobile-bottom-bar { 
    display: none; 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: var(--c-white); 
    padding: 15px 20px; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); 
    z-index: 999; 
    justify-content: space-between; 
    align-items: center;
}

.mob-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mob-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    font-family: var(--f-heading);
}

.mob-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--c-text-light);
}

.btn-mob-book { 
    background: var(--c-gold); 
    color: white; 
    padding: 12px 30px; 
    border-radius: 50px; 
    font-weight: 600; 
    border: none; 
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mob-book:hover {
    background: var(--c-deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Адаптивные стили для заголовков на странице экскурсии */
@media (max-width: 768px) {
    .tour-title {
        font-size: 1.8rem;
    }
    
    .block-title {
        font-size: 1.3rem;
        margin-top: 30px;
    }
    
    h4.block-title {
        font-size: 1.1rem;
    }
    
    .booking-title {
        font-size: 1.2rem;
    }
    
    .tour-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tour-title {
        font-size: 1.5rem;
    }
    
    .block-title {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    h4.block-title {
        font-size: 1rem;
    }
    
    .booking-title {
        font-size: 1.1rem;
    }
    
    /* Хлебные крошки на мобильных устройствах */
    .breadcrumbs {
        margin-top: 75px;
        padding: 12px 0 8px;
    }
}

/* Хлебные крошки на планшетах */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 70px;
        padding: 12px 0 8px;
    }
    
    /* Конверсионный блок CTA */
    .conversion-cta-block {
        padding: 20px;
    }
    
    .conversion-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .conversion-cta-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }
    
    .conversion-cta-text {
        min-width: unset;
        width: 100%;
    }
    
    .conversion-cta-title {
        font-size: 1.3rem;
    }
    
    .conversion-cta-description {
        font-size: 0.9rem;
    }
    
    .conversion-cta-checkbox {
        font-size: 0.8rem;
        margin-top: 12px;
    }
    
    .conversion-cta-buttons {
        width: 100%;
        gap: 10px;
        justify-content: center;
        margin-top: 12px;
    }
    
    .conversion-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
        max-width: calc(50% - 5px);
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .conversion-cta-block {
        padding: 15px;
    }
    
    .conversion-cta-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .conversion-cta-title {
        font-size: 1.2rem;
    }
    
    .conversion-cta-description {
        font-size: 0.85rem;
    }
    
    .conversion-cta-checkbox {
        font-size: 0.75rem;
        margin-top: 10px;
    }
    
    .conversion-cta-buttons {
        gap: 8px;
        margin-top: 10px;
    }
    
    .conversion-btn {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .conversion-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-cta-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .mobile-cta-buttons {
        gap: 6px;
        margin-left: 10px;
    }
    
    .reviews-compact-box {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .reviews-compact-content {
        justify-content: center;
        text-align: center;
    }
    
    .btn-reviews-compact {
        width: 100%;
        justify-content: center;
    }
    
    /* Страницы юридических документов */
    .legal-page-content {
        padding: 20px 15px !important;
        margin: 20px 0 40px !important;
    }
    
    .legal-page-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }
    
    .legal-page-text {
        font-size: 0.95rem !important;
    }
    
    .legal-page-text h2 {
        font-size: 1.4rem !important;
        margin-top: 25px !important;
    }
    
    .legal-page-text h3 {
        font-size: 1.2rem !important;
        margin-top: 20px !important;
    }
    
    /* Toast уведомления на мобильных */
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
    
    .toast-notification-content {
        padding: 14px 16px;
        border-radius: 10px;
    }
    
    .toast-notification-icon {
        font-size: 18px;
    }
    
    .toast-notification-message {
        font-size: 13px;
    }
    
    .toast-notification-close {
        font-size: 14px;
        width: 20px;
        height: 20px;
    }
    
    /* Модальное окно с инструкцией на мобильных */
    .messenger-instruction-content {
        padding: 20px 15px;
        max-width: 95%;
        border-radius: 12px;
        gap: 12px;
    }
    
    .messenger-instruction-icon {
        font-size: 35px;
    }
    
    .messenger-instruction-title {
        font-size: 18px;
    }
    
    .messenger-instruction-manual {
        padding: 12px;
    }
    
    .messenger-instruction-manual-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .messenger-instruction-manual-info {
        font-size: 13px;
    }
    
    .manual-contact-item strong {
        font-size: 12px;
    }
    
    .manual-contact-value {
        font-size: 14px;
    }
    
    .messenger-instruction-qr {
        padding: 10px;
    }
    
    .messenger-instruction-qr-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .messenger-instruction-qr img {
        max-width: 120px;
    }
    
    .messenger-instruction-btn {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .messenger-instruction-btn i {
        font-size: 16px;
    }
    
    .messenger-instruction-close {
        top: 12px;
        right: 12px;
        font-size: 18px;
    }
    
    /* Модальное окно контакта экскурсии на мобильных */
    .tour-contact-modal {
        padding: 10px;
    }
    
    .tour-contact-content {
        padding: 16px;
        max-width: 100%;
        max-height: 96vh;
        border-radius: var(--radius);
    }
    
    .tour-contact-content h3 {
        font-size: 1.3rem;
        padding-right: 35px;
    }
    
    .tour-contact-content p {
        font-size: 0.9rem;
    }
    
    .btn-tour-messenger {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .tour-contact-consent {
        font-size: 0.75rem;
    }
    
    .tour-contact-close {
        top: 12px;
        right: 12px;
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
}/* =========================================
   6. CTA SECTION STYLES
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(14, 77, 86, 0.95), rgba(14, 77, 86, 1));
    color: white; 
    text-align: center; 
    margin-top: 80px;
}

.cta-title { 
    font-family: var(--f-heading); 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--c-white); 
}

.cta-desc { 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    opacity: 0.9; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

.cta-buttons { 
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex; 
    gap: 20px; 
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center; 
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; 
}

.btn-cta {
    padding: 15px 35px; 
    border-radius: 50px; 
    font-weight: 700; 
    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: 10px; 
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease; 
    color: white; 
    border: none; 
    font-size: 1rem; 
    text-transform: uppercase;
}

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

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

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

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

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

.btn-cta.viber:hover { 
    background: #5f4dd6; 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 10px 20px rgba(115, 96, 242, 0.3);
    -moz-box-shadow: 0 10px 20px rgba(115, 96, 242, 0.3);
    box-shadow: 0 10px 20px rgba(115, 96, 242, 0.3); 
}

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

.btn-cta.fb:hover { 
    background: #0073e6; 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 10px 20px rgba(0, 132, 255, 0.3);
    -moz-box-shadow: 0 10px 20px rgba(0, 132, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 132, 255, 0.3); 
}

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

.btn-cta.vk:hover { 
    background: #0066e6; 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3);
    -moz-box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 119, 255, 0.3); 
}

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

.btn-cta.max:hover { 
    background: #e65f00; 
    -webkit-transform: translateY(-3px); 
    -moz-transform: translateY(-3px); 
    -ms-transform: translateY(-3px); 
    -o-transform: translateY(-3px); 
    transform: translateY(-3px); 
    -webkit-box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    -moz-box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3); 
}/* =========================================
   7. FAQ SECTION STYLES
   ========================================= */
.faq-section { 
    background: var(--c-sand-bg); 
    padding: 25px 0; 
    border-top: 1px solid var(--c-sand-dark); 
    margin-top: 25px;
}

.faq-grid { 
    max-width: 800px; 
    margin: 15px auto 0; 
}

.faq-item { 
    border-bottom: 1px solid #eee; 
}

.faq-question {
    padding: 20px 0; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--c-deep-blue); 
    transition: color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question:hover { 
    color: var(--c-gold); 
}

.faq-answer {
    max-height: 0; 
    overflow: hidden; 
    color: #666; 
    font-size: 0.95rem; 
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding-bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease-in;
}

.faq-item.active .faq-answer { 
    max-height: 1000px; 
    padding-top: 10px;
    padding-bottom: 20px; 
    opacity: 1;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding-bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease-out;
}

.faq-icon { 
    color: var(--c-gold); 
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
}/* =========================================
   SEO CONTENT SECTION STYLES
   ========================================= */

.seo-content-section {
    background: var(--c-white);
    padding: 60px 0;
    border-top: 1px solid var(--c-sand-dark);
}

.seo-content-section .container {
    max-width: 900px;
}

.seo-content-title {
    font-family: var(--f-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-deep-blue);
    margin-bottom: 25px;
    text-align: center;
}

.seo-content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-main);
    text-align: justify;
}

.seo-content-text p {
    margin-bottom: 15px;
}

.seo-content-text p:last-child {
    margin-bottom: 0;
}

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

.seo-content-text a {
    color: var(--c-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.seo-content-text a:hover {
    color: var(--c-deep-blue);
}

/* Responsive */
@media (max-width: 900px) {
    .seo-content-section {
        padding: 40px 0;
    }
    
    .seo-content-section .container {
        padding: 0 20px !important;
    }
    
    .seo-content-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .seo-content-text {
        font-size: 0.95rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .seo-content-section {
        padding: 30px 0;
    }
    
    .seo-content-section .container {
        padding: 0 20px !important;
    }
    
    .seo-content-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .seo-content-text {
        font-size: 0.9rem;
    }
}


/**
 * Cookie Consent Banner Styles
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    max-width: 580px;
    width: calc(100% - 24px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s ease-out;
    padding: 12px 16px;
}

#cookie-consent-banner.cookie-consent-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-consent-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    flex: 1;
}

.cookie-consent-text a {
    color: var(--c-deep-blue, #0e4d56);
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: var(--c-orange, #ff6b35);
}

.cookie-consent-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--c-deep-blue, #0e4d56);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #0a3d45;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn-decline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    #cookie-consent-banner {
        bottom: 8px;
        width: calc(100% - 16px);
        padding: 10px 12px;
    }
    
    .cookie-consent-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    
    .cookie-consent-text {
        text-align: left;
        font-size: 12px;
        flex: 1 1 100%;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        gap: 6px;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 12px;
    }
}
