/* ОБЪЕДИНЕННЫЙ ФАЙЛ СТИЛЕЙ - Main + Tilda + Header */

/* === БАЗОВЫЕ СТИЛИ И СБРОС === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === ПЕРЕМЕННЫЕ CSS === */
:root {
    --c-bg: #ffffff;
    --c-accent: #0a7fc0;
    --c-accent-grad: #0a7fc0;
    --c-accent-alt: #06527f;
    --c-text: #132026;
    --c-muted: #5a6a72;
    --c-alt: #f4f9fc;
    --radius: 12px;
    --shadow: 0 4px 16px -4px rgba(0,40,70,.15);
    --shadow-light: 0 2px 8px -2px rgba(0,0,0,.08);
    --transition: all 0.3s ease;
    
    /* Tilda variables */
    --primary-color: #0a7fc0;
    --primary-dark: #06527f;
    --text-color: #132026;
    --text-muted: #5a6a72;
    --background: #ffffff;
    --background-alt: #f4f9fc;
    --border-color: #e3eef4;
}

/* === ШРИФТЫ === */
@font-face {
    font-family: 'Gilroy';
    src: url('/assets/fonts/Gilroy-Light.woff2') format('woff2'),
         url('/assets/fonts/Gilroy-Light.woff') format('woff'),
         url('/assets/fonts/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/assets/fonts/Gilroy-SemiBold.woff2') format('woff2'),
         url('/assets/fonts/Gilroy-SemiBold.woff') format('woff'),
         url('/assets/fonts/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === БАЗОВЫЕ ЭЛЕМЕНТЫ === */
body {
    font-family: 'Gilroy', sans-serif;
    line-height: 1.5;
    color: var(--c-text);
    background: var(--c-bg);
    font-weight: 300;
    overflow-x: hidden;
    padding-top: 80px !important; /* Отступ для fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.2;
}

button {
     font-family: 'Gilroy', sans-serif;
}

.hero-title {
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: var(--c-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* === КРИТИЧНАЯ ФИКСАЦИЯ HEADER === */
header.tilda-header,
.tilda-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(0.5px) !important;
    -webkit-backdrop-filter: blur(0.5px) !important;
    transition: background 0.3s ease, padding 0.3s ease !important;
    padding: 22px 0!important;
    width: 100% !important;
    box-shadow: none !important;
    /* ПРИНУДИТЕЛЬНО БЛОКИРУЕМ ВСЕ TRANSFORM СВОЙСТВА */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    perspective: none !important;
    -webkit-perspective: none !important;
    contain: none !important;
    will-change: auto !important;
    margin: 0 !important;
    border: none !important;
}

/* Состояние при скролле */
header.tilda-header.scrolled,
.tilda-header.scrolled {
    background: rgba(0, 0, 0, 0.55) !important;
    padding: 0.5rem 0 !important;
    /* ПРИНУДИТЕЛЬНО БЛОКИРУЕМ TRANSFORM И ДЛЯ SCROLLED СОСТОЯНИЯ */
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    perspective: none !important;
    -webkit-perspective: none !important;
    contain: none !important;
    will-change: auto !important;
    position: fixed !important;
    top: 0 !important;
}

/* Стили для навигации в header */
.tilda-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tilda-header .logo-title {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0;
	text-transform: uppercase;
}

.tilda-header .logo-link {
    text-decoration: none;
}

.tilda-header .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.tilda-header .nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.tilda-header .nav-list a:hover {
    color: #4CAF50;
}

.tilda-header .nav-list a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #4CAF50;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.tilda-header .nav-list a:hover:after,
.tilda-header .nav-list a:focus-visible:after {
    transform: scaleX(1);
}

/* Социальные сети */
.tilda-header .social-links {
    display: flex;
    gap: 1rem;
}

.tilda-header .social-links a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.tilda-header .social-links a:hover {
    color: #4CAF50;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* === ОБЩИЕ КЛАССЫ LAYOUT === */
.tilda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wrap {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.wrap.narrow {
    width: min(860px, 100% - 2.5rem);
}

.row {
    display: flex;
    align-items: center;
}

.center-between {
    justify-content: space-between;
}

.gap {
    gap: 1rem;
}

.gap-l {
    gap: 2rem;
}

header.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);backdrop-filter:saturate(200%) blur(12px);border-bottom:1px solid #e3eef4}
.logo{font-size:1.25rem;font-weight:600;letter-spacing:.5px}
.logo span{color:var(--c-accent)}
.main-nav ul{display:flex;gap:1.25rem;align-items:center}
.main-nav a{padding:.5rem .75rem;border-radius:6px;font-size:.95rem;font-weight:500}
.main-nav a.btn{color:#fff}
.nav-toggle{display:none;background:none;border:1px solid #c2d6e0;padding:.35rem .65rem;border-radius:8px;font-size:1rem;cursor:pointer}

.btn{--btn-bg:var(--c-accent);--btn-bg-h:var(--c-accent-alt);display:inline-block;background:linear-gradient(135deg,var(--btn-bg),var(--c-accent-grad));color:#fff;font-weight:600;padding:.85rem 1.35rem;border-radius:999px;box-shadow:0 2px 6px -2px rgba(0,0,0,.2);transition:.25s;position:relative;overflow:hidden}
.btn:hover{background:linear-gradient(135deg,var(--btn-bg-h),var(--btn-bg));text-decoration:none;transform:translateY(-2px)}
.btn.ghost{background:transparent;border:2px solid var(--c-accent);color:var(--c-accent);box-shadow:none}
.btn.ghost:hover{background:var(--c-accent);color:#fff}
.btn.small{padding:.55rem .9rem;font-size:.8rem}
.btn.full{width:100%;text-align:center}

.hero{position:relative;min-height:90vh;display:grid;align-content:center;padding-top:4rem;padding-bottom:3rem}
.hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:brightness(.6)}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,25,40,.65),rgba(0,35,55,.2) 50%,#fff);z-index:-1}
.hero-content{color:#fff}
.hero h1{font-size:clamp(2rem,4.2vw,3.3rem);max-width:15ch;margin-bottom:1rem}
.hero .lead{font-size:1.1rem;max-width:62ch;margin-bottom:1rem;color:#eaf6fb}
.tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.tags li{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);padding:.4rem .75rem;font-size:.7rem;letter-spacing:.5px;font-weight:600;border-radius:999px;color:#fff}
.cta-row{display:flex;gap:1rem;flex-wrap:wrap}
.scroll-down{position:absolute;left:50%;bottom:1.25rem;transform:translateX(-50%);color:#fff;font-size:1.5rem;opacity:.85}

.section{padding:4.5rem 0}
.section.alt{background:var(--c-alt)}
.section h2{font-size:clamp(1.8rem,3.2vw,2.3rem);margin-bottom:1.5rem;position:relative}
.section p{margin-bottom:1rem;color:var(--c-muted)}

.grid{display:grid;gap:1.75rem}
.cards-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.cards-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}

.card{background:#fff;border:1px solid #e2edf3;border-radius:var(--radius);padding:1.4rem 1.35rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.65rem;position:relative}
.card h3{font-size:1.15rem}
.card .more{margin-top:auto;font-weight:600;font-size:.85rem;color:var(--c-accent)}
.card .tour-description{font-size:.9rem;color:var(--c-muted);margin-bottom:.5rem}
.card .tour-price{font-size:.95rem;font-weight:600;color:var(--c-accent-alt);margin-bottom:.3rem}
.card .tour-dates{font-size:.8rem;color:var(--c-muted);background:var(--c-alt);padding:.5rem;border-radius:8px;margin-bottom:.5rem}
.loading-tours, .no-tours, .error-tours{text-align:center;padding:2rem;font-size:.9rem;color:var(--c-muted);grid-column:1/-1}
.loading-tours{color:var(--c-accent)}
.error-tours{color:#d32f2f}
.mini-card{background:#fff;border:1px solid #e0ecf2;border-radius:14px;padding:1.1rem;box-shadow:0 2px 6px -2px rgba(0,0,0,.08)}
.mini-card h3{font-size:1rem;margin-bottom:.35rem;color:var(--c-accent-alt)}

.benefits{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.benefit{background:#fff;padding:1rem .95rem;border-radius:14px;border:1px solid #e0ecf2;box-shadow:0 2px 6px -2px rgba(0,0,0,.06)}
.benefit h3{font-size:.9rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.4rem;color:var(--c-accent-alt)}
.benefit p{font-size:.8rem;margin:0;color:var(--c-muted)}

.island{background:linear-gradient(140deg,#0a5f97 0%,#108acb 55%,#32a5df 100%);color:#fff;position:relative;overflow:hidden}
.island:before{content:"";position:absolute;inset:0;background:url('/assets/img/ot13-2.jpg') center/cover;mix-blend-mode:overlay;opacity:.35}
.island p{color:#e6f6ff}

.reviews{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.review{background:#fff;border:1px solid #e2edf3;border-radius:18px;padding:1.2rem 1.15rem;position:relative;box-shadow:0 2px 10px -2px rgba(0,0,0,.08)}
.review:before{content:'"';position:absolute;top:.2rem;right:.7rem;font-size:4rem;line-height:1;color:var(--c-accent);opacity:.12;font-family:serif}
.review p{margin:0 0 .6rem;font-size:.9rem;color:#1d3138}
.review cite{font-size:.7rem;font-style:normal;color:var(--c-accent-alt);letter-spacing:.5px;font-weight:600}

.booking-form{display:flex;flex-direction:column;gap:0;margin-top:.5rem}
.field{display:flex;flex-direction:column;font-size:.75rem;gap:.35rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#28434d}
.field input,.field select,.field textarea{font:inherit;padding:.75rem .8rem;border:1px solid #b9ced7;border-radius:10px;background:#fff;outline:none;transition:.25s;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--c-accent);box-shadow:0 0 0 3px rgba(10,127,192,.15)}
.agree{font-size:.7rem;display:flex;align-items:center;gap:.5rem;line-height:1.2;color:#27454f}
.agree input{width:1rem;height:1rem}
.form-status{margin-top:.35rem;font-size:.7rem;font-weight:600;letter-spacing:.5px;color:var(--c-accent)}
.crm-table{width:100%;border-collapse:collapse;font-size:.8rem}
.crm-table th,.crm-table td{border:1px solid #d2e3ea;padding:.45rem .6rem;text-align:left;vertical-align:top}
.crm-table th{background:#f0f7fa;font-weight:600;font-size:.7rem;letter-spacing:.5px;text-transform:uppercase}
.crm-table tr:nth-child(even){background:#fafdfd}
.badge{display:inline-block;padding:.2rem .5rem;font-size:.65rem;font-weight:600;border-radius:6px;background:#d9edf7}
.badge.status-new{background:#cfe9ff;color:#074f75}
.badge.status-confirmed{background:#d6f5d6;color:#0f5c0f}
.badge.status-paid{background:#ffe8b3;color:#7a4d00}
.badge.status-canceled{background:#ffdddd;color:#7a0000}
.mini-form textarea{width:100%;font:inherit;padding:.4rem;border:1px solid #b9ced7;border-radius:6px}
.mini-form select{font:inherit;padding:.3rem .4rem}

.contacts-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:start}
.social{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem}
.social a{display:inline-block;padding:.35rem .55rem;background:#eef6fa;border-radius:8px}
.map-placeholder{background:#d9ecf4;border:1px dashed #88b4c6;min-height:140px;display:flex;align-items:center;justify-content:center;font-size:.75rem;border-radius:12px;color:#2d5462}

.site-footer{padding:1.2rem 0;background:#0a5f97;color:#e8f6fb;font-size:.75rem}
.site-footer .made{opacity:.75}

@media (max-width:860px){
	.main-nav ul{position:absolute;right:1rem;top:100%;background:#fff;flex-direction:column;padding:1rem 1.25rem;border:1px solid #d5e6ee;border-radius:14px;box-shadow:0 12px 28px -8px rgba(0,30,50,.25);min-width:200px;opacity:0;pointer-events:none;transform:translateY(8px);transition:.3s}
	.main-nav ul.open{opacity:1;pointer-events:auto;transform:translateY(0)}
	.nav-toggle{display:block}
	header.site-header .wrap{align-items:center}
	.hero{min-height:80vh;padding-top:5.5rem}
	.cta-row{flex-direction:column;align-items:stretch}
}

@media (prefers-reduced-motion:reduce){
	*{animation:none!important;transition:none!important;scroll-behavior:auto}
}

/* === СТРАНИЦА 404 === */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    text-align: center;
    min-height: 60vh;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #003867;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.error-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #003867;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    margin: 0 10px;
}

.error-content .btn:hover {
    background: #002856;
    transform: translateY(-2px);
    text-decoration: none;
}

.error-content .btn-outline {
    background: transparent;
    border: 1px solid #003867;
    color: #003867;
}

.error-content .btn-outline:hover {
    background: #003867;
    color: #ffffff;
}

/* === МОБИЛЬНЫЕ СТИЛИ 404 === */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        margin-left: auto;
        order: 3;
    }
    
    .tilda-header .social-links {
        gap: 1rem;
		margin: 6px 3.8rem 0;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        z-index: 1000;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .nav-list {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 0;
    }
    
    .main-navigation .nav-list a {
        color: white;
        font-size: 16px;
        padding: 10px 0;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation .nav-list a:hover {
        color: #ff6b35;
    }
    
    .cta-presentation-btn {
        display: none; /* Скрываем на мобильных, покажем в меню */
    }
    
    .social-links {
        display: none; /* Скрываем на мобильных, покажем в меню */
    }
    
    .main-navigation.open {
        display: block;
    }
    
    .tilda-header .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tilda-header .header-content {
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        margin-left: auto;
        order: 3;
		position: absolute;
        right: 4px;
    }
    
    .error-content h1 { 
        font-size: 4rem; 
    }
    
    .error-content h2 { 
        font-size: 1.5rem; 
    }
    
    .error-content .btn { 
        margin: 5px; 
    }
}

/* === СТРАНИЦА ПРОГРАММЫ ТУРА === */
/* Hero секция для program.php */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('/assets/images/default-hero.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

/* Hero секция для главной страницы index.php - переопределяем для правильной структуры */
main .hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: none; /* убираем фон program.php */
    text-align: left; /* убираем center из program.php */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

/* Hero content для главной страницы */
main .hero-section .hero-content {

    color: white;
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px 0 50%;
    margin: 0 auto;
    text-align: left;

}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    font-family: 'Gilroy', sans-serif;
}

/* Hero title для главной страницы - переопределяем */
main .hero-section .hero-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    font-family: 'Gilroy', sans-serif;
    text-transform: uppercase;
    grid-area: title;
    justify-self: end;
    text-align: left;
}

/* Hero main content - левая сторона */
main .hero-section .hero-main-content {
    grid-area: content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero description для главной страницы - переопределяем */
main .hero-section .hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

main .hero-section .hero-description p {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* CTA кнопки для hero экрана */
.hero-cta {
    margin-top: 30px;
}

.btn-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    color: white;
	text-decoration: none;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.8s ease;
    animation: shine 7s infinite;
    transform: skewX(-20deg);
}

@keyframes shine {
    0% {
        left: -100%;
    }
    14% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    color: white;
}

/* CTA кнопка в header */
.cta-presentation-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Скрываем мобильные кнопки на десктопе */
.mobile-menu-actions {
    display: none;
}

.cta-presentation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 127, 192, 0.3);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.modal-content {
    background: white;
    margin: auto;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background-alt);
    color: var(--text-color);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 127, 192, 0.1);
}

.btn-modal-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-modal-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 127, 192, 0.3);
}

.btn-modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-result-modal {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.form-result-modal.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result-modal.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hero-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    background: rgba(74, 144, 226, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

.cta-button {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    text-decoration: none;
}

/* Что включено */
.included-section {
    padding: 5rem 0;
    background: white;
}

.program-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    letter-spacing: -0.02em;
    font-family: 'Gilroy', sans-serif;
    line-height: 1.2;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.included-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.included-item:hover {
    transform: translateY(-5px);
}

.included-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.included-icon:hover {
    transform: translateY(-3px);
    color: #4a90e2;
}

.included-icon svg {
    transition: all 0.3s ease;
}

.included-icon:hover svg {
    transform: scale(1.1);
}

.included-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.included-text {
    color: #666;
    line-height: 1.6;
}

/* Что необходимо */
.requirements-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.requirements-content {
    max-width: 800px;
    margin: 0 auto;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirements-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.requirement-icon {
    width: 48px;
    height: 48px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.requirement-icon:hover {
    transform: translateY(-2px);
    color: #4a90e2;
}

.requirement-text {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Галерея */
.gallery-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Подпись к изображению галереи */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item.large img {
    height: 300px;
}

/* Скрытие элементов галереи при ошибке загрузки */
.gallery-item[style*="display: none"] {
    display: none !important;
}

/* Сообщение о пустой галерее */
.gallery-empty {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* Минималистичная форма в стиле Codrops */
.booking-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.booking-title {
    color: #1a2c39;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    font-family: 'Gilroy', sans-serif;
}

.minimal-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(26, 44, 57, 0.1);
    position: relative;
    overflow: hidden;
}

.tour-summary {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 15px;
    color: white;
}

.tour-summary h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.price-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price-label {
    opacity: 0.8;
    font-size: 1rem;
}

.minimal-form {
    position: relative;
    height: 400px;
}

.form-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 10;
}

.form-step.prev {
    transform: translateX(-50px);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
    z-index: 20;
}

.step-label {
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a2c39;
    margin-bottom: 2rem;
    line-height: 1.3;
    cursor: default;
    user-select: none;
}

.step-input,
.step-select {
    width: 100%;
    padding: 1.5rem 0;
    border: none;
    border-bottom: 2px solid #e8e8e8;
    background: transparent;
    font-size: 1.3rem;
    font-weight: 300;
    color: #1a2c39;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.step-input:focus,
.step-select:focus {
    outline: none;
    border-bottom-color: #4a90e2;
}

.step-input.error,
.step-select.error {
    border-bottom-color: #dc3545;
}

.step-input::placeholder {
    color: #aaa;
    font-weight: 300;
}

.custom-error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.step-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 300;
}

.final-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-row:last-child {
    margin-bottom: 0;
    font-weight: 700;
    color: #4a90e2;
}

.privacy-agreement {
    margin-bottom: 2rem;
}

.minimal-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.minimal-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark-minimal {
    width: 20px;
    height: 20px;
    border: 2px solid #e8e8e8;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.checkmark-minimal::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.minimal-checkbox input[type="checkbox"]:checked + .checkmark-minimal {
    background: #4a90e2;
    border-color: #4a90e2;
}

.minimal-checkbox input[type="checkbox"]:checked + .checkmark-minimal::after {
    opacity: 1;
}

.checkbox-text-minimal {
    color: #555;
    font-weight: 300;
}

.checkbox-text-minimal a {
    color: #4a90e2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.checkbox-text-minimal a:hover {
    border-bottom-color: #4a90e2;
}

.form-navigation {
    position: absolute;
    bottom: -4rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
}

.nav-btn {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: #4a90e2;
}

.form-result-minimal {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    text-align: center;
}

.form-result-minimal.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result-minimal.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Навигация - темная как в Tilda */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.logo span {
    color: #4a90e2 !important;
}

.nav-menu {
    display: flex !important;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white !important;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 0.9;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: #4a90e2 !important;
    opacity: 1;
    text-decoration: none;
}

/* Burger меню */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Результат отправки формы */
.form-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-result.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.form-result.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

/* Адаптивная верстка для минималистичной формы */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* .booking-form {
        padding: 2rem;
    } */
    
    .requirements-list li {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .requirement-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        background: transparent;
        color: #6b7280;
    }
    
    .requirement-text {
        font-size: 1rem;
    }
    
    .booking-section {
        padding: 4rem 1rem;
        min-height: 80vh;
    }
    
    .booking-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .minimal-form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .tour-summary {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tour-summary h3 {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .step-label {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .step-input,
    .step-select {
        font-size: 1.1rem;
        padding: 1.2rem 0;
    }
    
    .minimal-form {
        height: 350px;
    }
    
    .form-navigation {
        bottom: -3rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .booking-title {
        font-size: 1.8rem;
    }
    
    .minimal-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .step-label {
        font-size: 1.2rem;
    }
    
    .minimal-form {
        height: 320px;
    }
}

/* === СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ === */

/* Контентные секции */
.autumn-section,
.island-section,
.boat-section,
.tour-section-1,
.tour-section-2,
.tour-section-3,
.tour-section-4,
.tour-section-5,
.for-whom-section,
.services-section,
.gallery-section,
.reviews-section,
.booking-section {
    padding: 80px 0;
}

.services-section {
    background: #292929;
    color: white;
}

.services-section .section-header h2,
.services-section .section-header p {
    color: white;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-image.reverse .image-content {
    order: -1;
}

.text-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.text-content h3 {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

.text-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Кнопки */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Gilroy', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 48px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 127, 192, 0.3);
}

/* Заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    filter: brightness(0) invert(1);
}

.service-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.service-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Галерея стили уже определены выше */

/* Отзывы */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.review-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author strong {
    color: var(--text-color);
    font-weight: 600;
}

.review-author span {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* Секция контактной информации */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-wrapper h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.contact-info-section .contact-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-info-section .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-details strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-details a,
.contact-details span {
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Форма бронирования - компактная по центру */
.booking-section {
    padding: 80px 0;
    background: white;
}

.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.booking-header {
    margin-bottom: 40px;
}

.booking-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.booking-header p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.booking-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.booking-content {
    display: block;
}

.booking-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* .booking-form .row.gap {
    gap: 20px;
} */

/* .inline {
    display: inline;
} */

.booking-form .field {
    display: block;
    margin-bottom: 20px;
	text-align: left;
}

.booking-form .field input,
.booking-form .field select,
.booking-form .field textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    margin-top: 5px;
}

.booking-form .field input:focus,
.booking-form .field select:focus,
.booking-form .field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.booking-form .agree {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
	text-align: left;
}

.booking-form .agree input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
	width: fit-content!important;
}

.booking-form .btn.primary.full {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.booking-form .btn.primary.full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 127, 192, 0.3);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-status.show {
    opacity: 1;
    transform: translateY(0);
}

.form-status.loading {
    background: var(--background-alt);
    color: var(--text-color);
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Стили для валидации полей */
.field {
    position: relative;
    margin-bottom: 1rem;
}

.field.error input,
.field.error select,
.field.error textarea {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    animation: shake 0.5s ease-in-out;
}

.field.error .field-error {
    display: block;
	position: absolute;
}

.field-error {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-left: 0.75rem;
    font-weight: 500;
}

.field.error .field-error {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для checkbox валидации */
.agree.error {
    color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

.agree.error input[type="checkbox"] {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
}

/* Адаптивность для главной страницы */
@media (max-width: 768px) {
    main .hero-section .hero-content {
        grid-template-areas: 
            "title"
            "content";
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center;
        padding: 0 15px !important;
    }
    
    main .hero-section .hero-title {
        justify-self: center !important;
        text-align: center !important;
        padding-right: 0 !important;
        padding-top: 0 !important;
    }
    
    main .hero-section .hero-main-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .content-with-image {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }
    
    .content-with-image.reverse .image-content {
        order: 0;
    }
    
    .booking-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .booking-form .row {
        grid-template-columns: 1fr !important;
        gap: 0;
        margin-bottom: 10px;
    }
    
    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .gallery-item img,
    .gallery-item.large img {
        height: 200px;
    }
    
    .benefits-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tilda-container {
        padding: 0 15px;
    }
    
    .tour-section-1,
    .tour-section-2,
    .tour-section-3,
    .tour-section-4,
    .tour-section-5,
    .for-whom-section,
    .services-section,
    .gallery-section,
    .reviews-section,
    .booking-section,
    .contact-info-section {
        padding: 60px 0 !important;
    }
    
    /* Мобильные стили для контактной секции */
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .contact-info-wrapper h2 {
        font-size: 2rem !important;
        margin-bottom: 30px;
    }
    
    .contact-info-section .contact-item {
        padding: 25px 15px;
    }
    
    /* Мобильные стили для формы */
    .booking-form-container {
        padding: 0;
    }
    
    .booking-form-wrapper {
        padding: 25px 20px;
    }
    
    .booking-header h2 {
        font-size: 1.8rem !important;
    }
    
    /* Мобильные стили для CTA кнопок */
    .cta-presentation-btn {
        padding: 8px 16px;
        font-size: 12px;
        margin-left: 10px;
    }
    
    .btn-hero-cta {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    /* Стили для мобильного меню */
    .mobile-menu-actions {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        display: flex !important; /* Показываем на мобильных */
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-cta {
        display: block !important;
        background: #76c029;
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 25px;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.3s ease;
        text-align: center;
    }
    
    .mobile-menu-cta:hover {
        background: #e55a2e;
    }
    
    .mobile-social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .mobile-social-links a {
        color: white;
        padding: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: background 0.3s ease;
    }
    
    .mobile-social-links a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* Мобильные стили для модального окна */
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* === СТИЛИ ДЛЯ КНОПОК БРОНИРОВАНИЯ === */
.tour-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.btn-book-tour {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: 1px solid #357abd;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Gilroy', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    box-sizing: border-box;
}

.btn-book-tour:hover {
    background: linear-gradient(135deg, #357abd, #2a5f8a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    color: white;
}

.btn-book-tour:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn-book-tour::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
    animation: shine-book 6s infinite;
    transform: skewX(-20deg);
    z-index: 1;
}

.btn-book-tour::after {
    content: '🎫 ';
    margin-right: 5px;
    position: relative;
    z-index: 2;
}

@keyframes shine-book {
    0% {
        left: -100%;
    }
    16% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Карточки туров */
.tour-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tour-card-image {
    flex: 0 0 300px;
    height: 250px;
    position: relative;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-image .tour-card-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card:hover .tour-card-image .tour-card-actions {
    opacity: 1;
}

.tour-card-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.tour-card-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    font-family: 'Gilroy', sans-serif;
}

.tour-card-content .tour-description {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.tour-card-content .tour-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a90e2;
    margin-bottom: 10px;
}

.tour-card-content .tour-dates {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

/* Для карточек туров в грид */
.tour-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.tour-card-actions .tour-link {
    background: rgba(255,255,255,0.9);
    color: #4a90e2;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    font-family: 'Gilroy', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid #4a90e2;
}

.tour-card-actions .tour-link:hover {
    background: #4a90e2;
    color: white;
}

.btn-book-tour-card {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Gilroy', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.btn-book-tour-card:hover {
    background: linear-gradient(135deg, #357abd, #2a5f8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.btn-book-tour-card:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn-book-tour-card::before {
    content: '🎫 ';
    margin-right: 3px;
}

.tour-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.tour-link:hover {
    color: #ff6b35;
}

/* Мобильные стили для кнопок бронирования */
@media (max-width: 768px) {
    .tour-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .btn-book-tour {
        padding: 10px 20px;
        font-size: 14px;
        text-align: center;
    }
    
    .tour-card {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .tour-card-image {
        flex: none;
        height: 200px;
    }
    
    .tour-card-content {
        padding: 20px;
    }
    
    .tour-card-actions {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .btn-book-tour-card {
        padding: 10px 16px;
        font-size: 13px;
        text-align: center;
    }
}

/* Стили для выделения выбранного тура в форме */
.booking-form select.tour-selected {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
