/* ============================================
   HOME HERO — EARTH VIDEO BACKGROUND
   ============================================ */
.hero {
    background: #0d1b4b;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    min-height: 380px;
    max-height: 100vh;
}

/* Pull hero up behind the sticky glass header so gradient shows through the blur */
.page-home .hero {
    margin-top: -80px;
    padding-top: 200px;
}

/* Soft top-to-bottom vignette so white text stays legible */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 8, 20, 0.45) 0%,
        rgba(5, 8, 20, 0.18) 55%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero .hero-buttons {
    margin-top: 20px;
}

/* Text sits above the video and the vignette */
.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* ===== Atlas hero accents — home (append, delete to revert; left-aligned) ===== */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: #e8b24a;
    margin-bottom: 22px;
}
.hero-eyebrow::before,
.hero-eyebrow::after { content: ''; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, #e8b24a); }
.hero-eyebrow::after { background: linear-gradient(90deg, #e8b24a, transparent); }
.hero-rule {
    width: 70px;
    height: 3px;
    border-radius: 2px;
    margin: 22px 0 4px;
    background: linear-gradient(90deg, #e8b24a, #b8842a, transparent);
}
.page-home .hero-eyebrow { animation: blurRevealUp .85s cubic-bezier(.4,0,.2,1) .15s both; }
.page-home .hero-rule    { animation: blurRevealUp .85s cubic-bezier(.4,0,.2,1) .75s both; }

/* ============================================
   EARTH VIDEO — commented out (replaced by gradient)
.hero-earth-video {
    position: absolute;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 140vw;
    min-width: 420px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0.75) saturate(1.2) hue-rotate(10deg);
}
@media (max-width: 900px) {
    .hero-earth-video { width: 120vw; max-width: 700px; min-width: unset; bottom: -180px; }
}
@media (max-width: 600px) {
    .hero-earth-video { width: 150vw; max-width: 600px; bottom: -60px; }
}
============================================ */

/* ============================================
   MOVING GRADIENT BACKGROUND
   ============================================ */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0d1b4b 0%,
        #1a1464 15%,
        #6b21a8 35%,
        #9333ea 50%,
        #db2777 65%,
        #4f46e5 80%,
        #0d1b4b 100%
    );
    background-size: 400% 400%;
    animation: heroGradientFlow 10s ease infinite;
    z-index: 0;
}

/* Radial blobs that slowly pulse for extra depth */
.hero-gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 15% 85%, rgba(147, 51, 234, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 85% 15%, rgba(219, 39, 119, 0.38) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79, 70, 229, 0.25) 0%, transparent 60%);
    animation: heroGradientPulse 7s ease-in-out infinite alternate;
}

@keyframes heroGradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroGradientPulse {
    from { opacity: 0.55; }
    to   { opacity: 1; }
}

/* ============================================
   ENTRANCE ANIMATIONS (home page only)
   ============================================ */
@keyframes navFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes blurRevealUp {
    from {
        opacity: 0;
        transform: translateY(32px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* earthFadeIn commented out (earth video replaced by gradient)
@keyframes earthFadeIn {
    from { opacity: 0; transform: translateX(-50%) scale(0.94); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}
*/

.page-home .top-nav-rectangle {
    animation: navFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-home .hero h1 {
    animation: blurRevealUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.page-home .hero p {
    animation: blurRevealUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.page-home .hero-buttons {
    animation: blurRevealUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

/* Gradient bg fades in on load */
.page-home .hero-gradient-bg {
    animation: heroGradientFlow 10s ease infinite, gradientFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes gradientFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .top-nav-rectangle,
    .page-home .hero h1,
    .page-home .hero p,
    .page-home .hero-buttons {
        animation: none;
    }
    .page-home .hero-gradient-bg {
        animation: none;
    }
}

/* ============================================
   SECTION SUBTITLE
   ============================================ */
.section-subtitle {
    text-align: center;
    max-width: 680px;
    margin: -30px auto 60px;
    color: #666;
    font-size: 17px;
    line-height: 1.65;
}

.section-subtitle-dark {
    text-align: center;
    max-width: 680px;
    margin: -30px auto 60px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 17px;
    line-height: 1.65;
}

/* ============================================
   "ДЛЯ ВАС" SECTION
   ============================================ */
.for-you-section {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6ff 100%);
    padding: 100px 0;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.for-you-card {
    text-align: center;
    padding: 40px 22px 36px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(30, 62, 161, 0.08);
    border-bottom: 4px solid #f5b63a;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.for-you-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E3EA1, #2b7afc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.for-you-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(30, 62, 161, 0.16);
}

.for-you-card:hover::before {
    opacity: 1;
}

.for-you-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #1E3EA1 0%, #2b7afc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 8px 20px rgba(30, 62, 161, 0.3);
    transition: transform 0.3s ease;
}

.for-you-card:hover .for-you-icon {
    transform: scale(1.1) rotate(5deg);
}

.for-you-icon i {
    font-size: 28px;
    color: white;
}

.for-you-card h3 {
    font-family: 'Playfair Display', serif;
    color: #1E3EA1;
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.for-you-card p {
    color: #666;
    line-height: 1.65;
    font-size: 0.95rem;
}

.for-you-cta {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    border: 2px solid #1E3EA1;
    color: #1E3EA1;
    background: transparent;
}

.btn-outline-blue:hover {
    background: #1E3EA1;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 62, 161, 0.3);
}

/* ============================================
   TRAVEL FORMATS — TIER CARDS — commented out (tiers not in use)
.travel-formats {
    background: linear-gradient(160deg, #08112a 0%, #0f1e45 50%, #08112a 100%);
    padding: 100px 0;
}

.travel-formats .section-title {
    color: white !important;
}

.travel-formats .section-title::after {
    background-color: #f5b63a;
}

.tier-formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tier-format-card {
    display: block;
    text-decoration: none;
    border-radius: 20px;
    padding: 44px 32px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Shimmer sweep on hover */
.tier-format-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.tier-format-card:hover::before {
    transform: translateX(100%);
}

.tier-format-card:hover {
    transform: translateY(-14px);
}

/* Silver card */
.tier-format-silver {
    background: linear-gradient(160deg, #252525 0%, #3a3a3a 45%, #252525 100%);
    border: 1px solid rgba(200, 200, 200, 0.2);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}
.tier-format-silver:hover {
    box-shadow: 0 28px 65px rgba(200, 200, 200, 0.2), 0 0 35px rgba(200, 200, 200, 0.1);
    border-color: rgba(200, 200, 200, 0.4);
}

/* Gold card */
.tier-format-gold {
    background: linear-gradient(160deg, #180e00 0%, #2a1800 45%, #180e00 100%);
    border: 1px solid rgba(218, 165, 32, 0.3);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}
.tier-format-gold:hover {
    box-shadow: 0 28px 65px rgba(218, 165, 32, 0.25), 0 0 35px rgba(255, 215, 0, 0.12);
    border-color: rgba(218, 165, 32, 0.5);
}

/* Platinum card */
.tier-format-platinum {
    background: linear-gradient(160deg, #05090f 0%, #0c1422 45%, #05090f 100%);
    border: 1px solid rgba(160, 190, 220, 0.25);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}
.tier-format-platinum:hover {
    box-shadow: 0 28px 65px rgba(160, 190, 220, 0.2), 0 0 35px rgba(144, 184, 216, 0.1);
    border-color: rgba(160, 190, 220, 0.45);
}

/* Badge */
.tier-format-badge {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.75;
}
.tier-format-silver .tier-format-badge  { color: #c8c8c8; }
.tier-format-gold   .tier-format-badge  { color: #daa520; }
.tier-format-platinum .tier-format-badge { color: #a8bcd0; }

/* Icon symbol */
.tier-format-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}
.tier-format-silver   .tier-format-icon { color: #e0e0e0; }
.tier-format-gold     .tier-format-icon { color: #ffd700; }
.tier-format-platinum .tier-format-icon { color: #c0d4e8; }

/* Heading */
.tier-format-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.tier-format-silver   h3 { color: #f0f0f0; }
.tier-format-gold     h3 { color: #ffd700; }
.tier-format-platinum h3 { color: #d0e4f8; }

/* Description */
.tier-format-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 26px;
    opacity: 0.8;
}
.tier-format-silver   p { color: #aaa; }
.tier-format-gold     p { color: #c8a060; }
.tier-format-platinum p { color: #8898b0; }

/* Feature list */
.tier-format-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 32px;
    display: inline-block;
}
.tier-format-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9rem;
}
.tier-format-silver   ul li { color: #c0c0c0; }
.tier-format-gold     ul li { color: #c8a060; }
.tier-format-platinum ul li { color: #8898b0; }
.tier-format-card ul li i { font-size: 11px; }
.tier-format-silver   ul li i { color: #e0e0e0; }
.tier-format-gold     ul li i { color: #ffd700; }
.tier-format-platinum ul li i { color: #c0d4e8; }

/* CTA label */
.tier-format-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.tier-format-silver   .tier-format-cta {
    background: rgba(200,200,200,0.12);
    color: #e0e0e0;
    border: 1px solid rgba(200,200,200,0.28);
}
.tier-format-gold     .tier-format-cta {
    background: rgba(218,165,32,0.14);
    color: #ffd700;
    border: 1px solid rgba(218,165,32,0.3);
}
.tier-format-platinum .tier-format-cta {
    background: rgba(160,190,220,0.1);
    color: #c0d4e8;
    border: 1px solid rgba(160,190,220,0.25);
}
.tier-format-card:hover .tier-format-cta {
    transform: translateX(6px);
}
============================================ */

/* ============================================
   MAIN CTA SECTION
   ============================================ */
.main-cta-section {
    background: linear-gradient(135deg, #1E3EA1 0%, #2b7afc 50%, #1E3EA1 100%);
    padding: 100px 0;
    text-align: center;
}

.main-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.25;
}

.main-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.65;
}

.main-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* ============================================
   SELECTED TOURS — hide price + center button
   ============================================ */
.tour-price-simple {
    display: none !important;
}

.view-tours-btn {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .for-you-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* @media (max-width: 992px) {
    .tier-formats-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
} */

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .for-you-section,
    /* .travel-formats, — commented out (tiers not in use) */
    .main-cta-section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    /* Swipeable carousel — "Для вас"
       margin: 0 -20px cancels the container's 20px padding so the
       scroll area spans the full viewport width. padding: 10vw on
       each side centres 80vw cards perfectly. */
    .for-you-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 10vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 16px;
        padding: 8px 10vw 28px;
        margin: 0 -20px 40px;
        max-width: none;
    }
    .for-you-grid::-webkit-scrollbar { display: none; }
    .for-you-card {
        flex: 0 0 80vw;
        scroll-snap-align: center;
    }

    /* Swipeable carousel — "Формат подорожей" — commented out (tiers not in use)
    .tier-formats-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 10vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 16px;
        padding: 8px 10vw 28px;
        margin: 0 -20px;
        max-width: none;
    }
    .tier-formats-grid::-webkit-scrollbar { display: none; }
    .tier-format-card {
        flex: 0 0 80vw;
        scroll-snap-align: center;
    }
    */

    .for-you-cta {
        flex-direction: column;
        align-items: center;
    }

    .for-you-cta .btn,
    .for-you-cta .btn-outline-blue {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .main-cta-content h2 {
        font-size: 28px;
    }

    .main-cta-content p {
        margin-bottom: 28px;
    }

    .main-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .main-cta-buttons .btn,
    .main-cta-buttons .btn-cta-outline {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-subtitle,
    .section-subtitle-dark {
        margin: -20px auto 40px;
        font-size: 16px;
    }
}

/* On very small phones the container padding shrinks to 15px,
   so carousels must match to stay flush with viewport edges. */
@media (max-width: 480px) {
    .for-you-grid {
        margin-left: -15px;
        margin-right: -15px;
    }
    /* .tier-formats-grid — commented out (tiers not in use) */
}

/* ============================================================
   GLOBE SECTION
   ============================================================ */
.globe-section {
    position: relative;
    background: #060e25;
    padding: 70px 0 80px;
    overflow: hidden;
    /* Ambient left-side glow to frame the globe */
    background-image:
        radial-gradient(ellipse 55% 70% at 25% 50%, rgba(30, 62, 161, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 30% 50% at 70% 55%, rgba(10, 20, 60, 0.4)   0%, transparent 70%);
}

/* Subtle starfield */
.globe-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12%  18%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px   1px   at 28%  72%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px   1px   at 43%  35%, rgba(255,255,255,0.4)  0%, transparent 100%),
        radial-gradient(2px   2px   at 58%  80%, rgba(255,255,255,0.2)  0%, transparent 100%),
        radial-gradient(1px   1px   at 67%  22%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 81%  55%, rgba(255,255,255,0.3)  0%, transparent 100%),
        radial-gradient(1px   1px   at 92%  10%, rgba(255,255,255,0.5)  0%, transparent 100%),
        radial-gradient(1px   1px   at 7%   60%, rgba(255,255,255,0.3)  0%, transparent 100%),
        radial-gradient(1px   1px   at 37%  90%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px   1px   at 74%  42%, rgba(255,255,255,0.35) 0%, transparent 100%);
}

/* Thin gold-blue divider line at the top of the section */
.globe-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(245, 182, 58, 0.35) 30%,
        rgba(80, 130, 255, 0.45) 60%,
        transparent
    );
    pointer-events: none;
}

/* Heading + subheading stay above the stars */
.globe-section > .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.globe-heading {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
}

/* Gold accent line beneath the heading */
.globe-heading::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #f5b63a, rgba(245, 182, 58, 0.25));
    border-radius: 2px;
    margin: 14px auto 0;
}

.globe-subheading {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 44px;
}

/* ── Two-column wrapper ──────────────────────────────────── */
.globe-columns {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
}

/* ── Left column ─────────────────────────────────────────── */
.globe-col-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.globe-layout {
    display: flex;
    align-items: center;
    gap: 11px;
}

.globe-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Globe sphere */
.globe-wrapper {
    width: 490px;
    height: 490px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    animation: globeGlow 5s ease-in-out infinite;
}

@keyframes globeGlow {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(255,255,255,0.06),
            0 0 52px 6px rgba(30, 80, 255, 0.35),
            inset 0 0 30px rgba(0,0,0,0.3);
    }
    50% {
        box-shadow:
            0 0 0 2px rgba(255,255,255,0.09),
            0 0 82px 15px rgba(30, 80, 255, 0.52),
            0 0 30px  5px  rgba(245,182,58,0.07),
            inset 0 0 30px rgba(0,0,0,0.3);
    }
}

.globe-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Country name labels on the globe (HTML overlay, not 3D text) */
.globe-marker-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    transform: translateY(-27px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
    user-select: none;
}

/* Navigation dots */
.globe-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.globe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.globe-dot.active {
    background: #f5b63a;
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(245,182,58,0.6);
}

/* Region label below dots */
.globe-region-label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-align: center;
    min-height: 18px;
}

/* Prev / Next arrows */
.globe-arrow {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.7);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.2s ease;
}
.globe-arrow:hover {
    background: rgba(245,182,58,0.18);
    border-color: rgba(245,182,58,0.5);
    color: #f5b63a;
    transform: scale(1.1);
}

/* ── Right column ────────────────────────────────────────── */
.globe-col-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: stretch;
    padding-left: 8px;
}

/* ── Photo panel ─────────────────────────────────────────── */
.globe-photo-panel {
    position: relative;
    flex: 1;
    min-height: 270px;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    background: #0a1430;
}

.globe-photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}
.globe-photo-slide.active { opacity: 1; }

/* Two-layer gradient: top vignette + bottom for the caption */
.globe-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(6,14,37,0.25) 0%, transparent 35%),
        linear-gradient(to top,    rgba(6,14,37,0.82) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Country/region name shown over the photo */
.globe-photo-caption {
    position: absolute;
    bottom: 22px;
    left: 26px;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.65);
    pointer-events: none;
    transition: opacity 0.4s ease;
    letter-spacing: 0.3px;
}

/* ── Tours panel ─────────────────────────────────────────── */
.globe-tours-panel {
    flex: 0 0 auto;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.09);
    border-right: none;
    border-radius: 20px 0 0 20px;
    padding: 18px 24px 16px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(4px);
}

/* Small "Тури регіону" label above the list */
.globe-tours-label {
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}

.globe-tour-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.globe-tour-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 9px 8px;
    margin: 0 -8px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
    cursor: default;
}
.globe-tour-item:last-child { border-bottom: none; }
.globe-tour-item:hover { background: rgba(255,255,255,0.05); }

.globe-tour-thumb {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    background: #1a2a4a;
    transition: transform 0.25s ease;
}
.globe-tour-item:hover .globe-tour-thumb { transform: scale(1.06); }

.globe-tour-info h4 {
    color: rgba(255,255,255,0.88);
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 3px;
    line-height: 1.3;
}
.globe-tour-info span {
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* "All [Country] Tours" link */
.globe-all-link {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.22s ease, gap 0.22s ease;
}
.globe-all-link:hover {
    color: #f5b63a;
    gap: 12px;
}
.globe-all-arrow {
    font-size: 13px;
    transition: transform 0.22s ease;
}
.globe-all-link:hover .globe-all-arrow { transform: translateX(3px); }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .globe-wrapper    { animation: none; }
    .globe-section::before { display: none; }
}

/* ── Responsive ──────────────────────────────────────────── */

/* Scale globe down a bit on medium screens before stacking */
@media (max-width: 1300px) and (min-width: 1001px) {
    .globe-wrapper { width: 410px; height: 410px; }
}

/* Stack columns vertically on tablet */
@media (max-width: 1000px) {
    .globe-columns {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        padding: 0 20px;
    }
    .globe-col-left  { flex: none; width: auto; padding: 0; }
    .globe-col-right { width: 100%; padding-left: 0; align-self: auto; }
    .globe-wrapper   { width: 400px; height: 400px; }
    .globe-photo-panel  { border-radius: 20px; min-height: 220px; }
    .globe-tours-panel  {
        border-radius: 20px;
        border-right: 1px solid rgba(255,255,255,0.09);
    }
}

@media (max-width: 768px) {
    .globe-wrapper    { width: 300px; height: 300px; }
    .globe-layout     { gap: 10px; }
    .globe-arrow      { width: 38px; height: 38px; font-size: 16px; }
    .globe-heading    { font-size: 28px; }
    .globe-subheading { margin-bottom: 28px; }
    .globe-photo-caption { font-size: 20px; bottom: 16px; left: 18px; }
}

@media (max-width: 480px) {
    .globe-wrapper     { width: 240px; height: 240px; }
    .globe-arrow       { width: 32px; height: 32px; font-size: 14px; }
    .globe-photo-panel { min-height: 180px; }
}

/* ============================================================
   ATLAS HERO — HOME (match other pages; append, delete to revert)
   Replaces the animated-gradient hero with the same photo +
   navy/gold scrim + contour treatment used on about/news/club,
   while keeping the home glass-header pull-up.
   ============================================================ */
.page-home .hero {
    background: none;                 /* drop the navy flat-fill */
    /* V1 "bright" hero: sunny coastal photo with a light wash (was the dark aurora) */
    background-image:
        linear-gradient(180deg, rgba(8,18,40,.45) 0%, rgba(10,18,38,.38) 50%, rgba(255,255,255,.05) 100%),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1900&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    /* keep the hero pulled up behind the sticky glass header */
    margin-top: -80px;
    padding: 200px 0 110px;
    min-height: auto;
    max-height: none;
}
/* repurpose ::before (was the flat vignette) for the contour texture */
.page-home .hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    opacity: .45; mix-blend-mode: soft-light; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.5'%3E%3Ccircle cx='380' cy='380' r='90'/%3E%3Ccircle cx='380' cy='380' r='170'/%3E%3Ccircle cx='380' cy='380' r='250'/%3E%3Ccircle cx='380' cy='380' r='330'/%3E%3Ccircle cx='130' cy='120' r='60'/%3E%3Ccircle cx='130' cy='120' r='130'/%3E%3Ccircle cx='650' cy='640' r='70'/%3E%3Ccircle cx='650' cy='640' r='150'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 680px 680px;
}
/* gold→blue divider along the bottom edge */
.page-home .hero::after {
    content: ''; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(232,182,58,.45) 30%, rgba(80,130,255,.5) 60%, transparent);
}
.page-home .hero .hero-content {
    position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center;
}
.page-home .hero h1 {
    font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(38px, 6vw, 64px);
    line-height: 1.06; letter-spacing: -.02em; margin-bottom: 0; color: #fff;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
    animation: heroReveal .85s cubic-bezier(.4,0,.2,1) .3s both;
}
.page-home .hero h1 em { font-style: italic; font-weight: 500; color: #e8b24a; }
.page-home .hero p {
    font-size: clamp(16px, 2.1vw, 20px); line-height: 1.7; color: rgba(255,255,255,.9);
    max-width: 720px; margin: 0 auto;
    animation: heroReveal .85s cubic-bezier(.4,0,.2,1) .6s both;
}
.page-home .hero .hero-buttons {
    margin-top: 28px; justify-content: center;
    animation: heroReveal .85s cubic-bezier(.4,0,.2,1) .78s both;
}
.page-home .hero-rule {
    margin: 24px auto;
    background: linear-gradient(90deg, transparent, #e8b24a, #b8842a, transparent);
}
@keyframes heroReveal { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
    .page-home .hero h1, .page-home .hero p, .page-home .hero .hero-buttons, .page-home .hero-rule { animation: none; }
}

/* ============================================================
   HOME HEADER — now handled site-wide.
   The V4 "transparent over hero" header was promoted to the
   shared assets/style.css (block "V4 TRANSPARENT OVER HERO
   HEADER", gated behind body.nav-overlay) so every photo-hero
   page shares it. The home <body> carries `page-home nav-overlay`.
   Nothing header-specific lives here anymore.
   ============================================================ */

/* ============================================================
   BRIGHT GLOBE SECTION — light "white" treatment to match the
   home-aurora-bright preview. Recolour-only override (layout &
   globe mechanics unchanged): the dark navy band becomes a cream
   band, with the 3D earth sitting in a glowing white porthole.
   Delete this whole block to revert to the dark globe section.
   ============================================================ */
.globe-section{
    background:#faf6ec;
    background-image:
        radial-gradient(ellipse 60% 60% at 22% 45%, rgba(232,178,74,.16), transparent 70%),
        radial-gradient(ellipse 50% 55% at 80% 60%, rgba(30,62,161,.10), transparent 70%);
    border-top:1px solid rgba(21,32,74,.10);
    border-bottom:1px solid rgba(21,32,74,.10);
}
.globe-section::before{ display:none; }            /* drop the starfield (white dots on light bg) */
.globe-heading{ color:#19224a; }
.globe-subheading{ color:#54607a; }

/* Globe porthole: bright cream ring + soft gold glow (static, no blue pulse) */
.globe-section .globe-wrapper{
    animation:none;
    background:#060e25;                              /* keep the sphere backdrop dark so the earth reads */
    box-shadow:
        0 0 0 1px rgba(21,32,74,.10),
        0 0 0 12px #fffdf8,
        0 30px 70px -30px rgba(21,32,74,.55),
        0 0 70px -8px rgba(232,178,74,.5);
}
.globe-section .globe-wrapper::after{
    content:'';position:absolute;inset:0;border-radius:50%;pointer-events:none;
    box-shadow:inset 0 0 60px rgba(6,14,37,.6);
}

/* Controls + labels → on light */
.globe-section .globe-dot{ background:rgba(21,32,74,.2); }
.globe-section .globe-dot.active{ background:#e8b24a; box-shadow:0 0 8px rgba(232,178,74,.6); }
.globe-section .globe-region-label{ color:#b8842a; }
.globe-section .globe-arrow{ background:#fffdf8; border:1.5px solid rgba(21,32,74,.12); color:#54607a; }
.globe-section .globe-arrow:hover{ background:#e8b24a; border-color:#e8b24a; color:#2a1c04; }

/* Tours card → light */
.globe-section .globe-tours-panel{ background:#fffefb; border-color:rgba(21,32,74,.12); backdrop-filter:none; }
.globe-section .globe-tours-label{ color:#b8842a; }
.globe-section .globe-tour-item{ border-bottom-color:rgba(21,32,74,.10); }
.globe-section .globe-tour-item:hover{ background:rgba(232,178,74,.08); }
.globe-section .globe-tour-thumb{ background:#ece6d6; }
.globe-section .globe-tour-info h4{ color:#19224a; }
.globe-section .globe-tour-info span{ color:#54607a; }
.globe-section .globe-all-link{ border-top-color:rgba(21,32,74,.10); color:#b8842a; }
.globe-section .globe-all-link:hover{ color:#e8b24a; }
@media (prefers-reduced-motion: reduce){ .globe-section .globe-wrapper{ animation:none; } }
