/* ==========================================
   БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ
   ========================================== */
:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.14);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-orange: #ff5500;
    --accent-yellow: #ffb800;
    --accent-green: #10b981;
    --gradient-cta: linear-gradient(135deg, #ff3b00 0%, #ff8800 100%);
    --gradient-text: linear-gradient(90deg, #ff9900 0%, #ff3b00 50%, #ff0066 100%);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(255, 85, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(0, 140, 255, 0.12) 0%, transparent 45%);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
}

i[class^="ri-"] {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================
   1. ШАПКА САЙТА (HEADER)
   ========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo strong {
    color: var(--accent-orange);
}

.logo-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--gradient-cta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.35);
}

.header-promo-badge {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e2e8f0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: dotPulse 1.8s infinite;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid rgba(255, 85, 0, 0.5);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-header:hover {
    background: var(--gradient-cta);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

/* ==========================================
   2. ГЛАВНЫЙ ЭКРАН (HERO-БАННЕР)
   ========================================== */
.hero-section {
    padding: 20px 0 36px;
}

.hero-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-glass);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 36px 20px;
    min-height: 460px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.hero-banner:hover {
    border-color: rgba(255, 136, 0, 0.5);
    transform: translateY(-3px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(8, 12, 24, 0.92) 0%,
        rgba(8, 12, 24, 0.78) 55%,
        rgba(8, 12, 24, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 740px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.badge-fire {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 59, 0, 0.4);
}

.badge-glass {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.badge-discount {
    background: var(--accent-yellow);
    color: #0b0f19;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.02rem;
    color: #e2e8f0;
    margin-bottom: 28px;
    max-width: 600px;
    font-weight: 400;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-cta);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 18px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(255, 59, 0, 0.5);
    overflow: hidden;
    transition: var(--transition);
    animation: ctaPulse 2.4s infinite;
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 40px rgba(255, 59, 0, 0.75);
}

.btn-glare::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: glareSweep 3.2s infinite;
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.hero-banner:hover .arrow,
.bottom-cta-banner:hover .arrow {
    transform: translate(4px, -2px);
}

.hero-timer-note {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}

.icon-accent {
    color: var(--accent-yellow);
    margin-right: 6px;
    font-size: 1rem;
}

/* ==========================================
   3. ВИТРИНА «ГОРЯЩИЕ НАПРАВЛЕНИЯ»
   ========================================== */
.destinations-section {
    padding: 20px 0 48px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tour-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 85, 0, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 85, 0, 0.15);
}

.card-image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

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

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

.card-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-cta);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 5px 11px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.card-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 15, 25, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.card-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.card-meta i,
.card-location i {
    color: var(--accent-orange);
    font-size: 0.95rem;
}

.card-price-row {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-old {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-yellow);
}

.btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tour-card:hover .btn-card {
    background: var(--gradient-cta);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(255, 59, 0, 0.35);
}

/* ==========================================
   4. БЛОК ПРЕИМУЩЕСТВ (ПОЛОСА ДОВЕРИЯ)
   ========================================== */
.features-section {
    padding: 12px 0 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(12px);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--accent-orange);
    font-size: 1.45rem;
    background: linear-gradient(135deg, rgba(255, 85, 0, 0.18) 0%, rgba(255, 184, 0, 0.05) 100%);
    border: 1px solid rgba(255, 136, 0, 0.35);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================
   5. НИЖНИЙ ФИНАЛЬНЫЙ БАННЕР (CTA-БЛОК)
   ========================================== */
.bottom-cta-section {
    padding-bottom: 48px;
}

.bottom-cta-banner {
    background: linear-gradient(135deg, rgba(255, 59, 0, 0.22) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 136, 0, 0.4);
    border-radius: var(--radius-lg);
    padding: 36px 20px;
    text-align: center;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.bottom-cta-banner:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-3px);
}

.bottom-cta-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.bottom-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
}

.bottom-cta-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ==========================================
   6. ФУТЕР
   ========================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0 32px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================
   АНИМАЦИИ
   ========================================== */
@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.65), 0 10px 30px rgba(255, 59, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 85, 0, 0), 0 10px 30px rgba(255, 59, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0), 0 10px 30px rgba(255, 59, 0, 0.5);
    }
}

@keyframes glareSweep {
    0% {
        left: -60%;
    }
    35%, 100% {
        left: 130%;
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ==========================================
   АДАПТИВНОСТЬ (ПЛАНШЕТЫ И ДЕСКТОПЫ)
   ========================================== */
@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }

    .btn-primary {
        width: auto;
    }

    .hero-banner {
        padding: 48px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .header-promo-badge {
        display: inline-flex;
    }

    .hero-banner {
        padding: 64px 56px;
        min-height: 520px;
    }

    .hero-title {
        font-size: 3.1rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .bottom-cta-banner {
        padding: 52px 40px;
    }

    .bottom-cta-title {
        font-size: 2.1rem;
    }
}