/* ════════════════════════════════════════════════════════════════
   NOMAD — Styles & 2026 Animation System
   ════════════════════════════════════════════════════════════════ */

/* ── Document ────────────────────────────────────────────────── */
html, body { overflow-x: hidden; }

/* ── Top bar: minimum 24×24px touch targets (WCAG 2.5.5) ───────── */
.topbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;   /* 24px */
    min-height: 1.5rem;  /* 24px */
    padding: 0 0.125rem;
}

/* ── Hero overlay (index page) ──────────────────────────────────── */
.hero-overlay {
    background: linear-gradient(135deg, rgba(42,42,42,0.55) 0%, rgba(192,84,40,0.25) 100%);
    animation: overlay-pulse 14s ease-in-out infinite alternate;
}
@keyframes overlay-pulse {
    0%   { background: linear-gradient(135deg, rgba(42,42,42,0.50) 0%, rgba(192,84,40,0.22) 100%); }
    100% { background: linear-gradient(135deg, rgba(42,42,42,0.62) 0%, rgba(192,84,40,0.30) 100%); }
}

/* ── Destination cards ──────────────────────────────────────────── */
.destination-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 1rem;
}
.destination-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}
.destination-card:hover img { transform: scale(1.06); }
.destination-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    padding: 1.25rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 55%;
}

/* ── Card 3-D tilt (destination cards) ──────────────────────────── */
.card-tilt {
    transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-tilt:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(0.5deg) translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.16);
}

/* ── Carousel scrollbar hide ────────────────────────────────────── */
#tours-track::-webkit-scrollbar,
#testi-track::-webkit-scrollbar { display: none; }

/* ── Animated hamburger ─────────────────────────────────────────── */
.hbg-line {
    display: block;
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #2A2A2A;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.38s cubic-bezier(0.23,1,0.32,1),
                opacity   0.25s ease,
                width     0.3s ease;
}
.hbg-top { top: 13px; }
.hbg-mid { top: 19px; }
.hbg-bot { top: 25px; }
.hamburger.is-open .hbg-top { transform: translateX(-50%) translateY(6px)  rotate(45deg); }
.hamburger.is-open .hbg-mid { opacity: 0; transform: translateX(-50%) scaleX(0.2); }
.hamburger.is-open .hbg-bot { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ── Skip link target ───────────────────────────────────────────── */
/* Suppress browser focus ring when focus is moved programmatically */
#page-content:focus { outline: none; }

/* ── FAQ summary marker removal ─────────────────────────────────── */
details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; }


/* ════════════════════════════════════════════════════════════════
   2026 ANIMATION SYSTEM
   ════════════════════════════════════════════════════════════════ */

/* ── Respect reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration:        0.01ms !important;
        animation-delay:           0ms   !important;
        animation-iteration-count: 1     !important;
        transition-duration:       0.05ms !important;
    }
}

/* ── MPA smooth page transitions (Chrome 111+) ──────────────────── */
@view-transition { navigation: auto; }

/* ── Section background patterns ────────────────────────────────── */
/* Dot grid — cream / light sections */
.pat-dots {
    background-image: radial-gradient(circle, rgba(42,42,42,0.09) 1px, transparent 1px);
    background-size: 28px 28px;
}
/* Fine line grid — white sections */
.pat-grid {
    background-image:
        linear-gradient(rgba(42,42,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42,42,42,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}
/* Inverted dot — dark / charcoal sections */
.pat-cross {
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ── Animated grain noise overlay (hero sections) ───────────────── */
.grain { position: relative; }
.grain::after {
    content: '';
    position: absolute;
    inset: -150%;
    width: 400%;
    height: 400%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.038;
    animation: grain-drift 12s steps(10) infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes grain-drift {
    0%  { transform: translate(0,0); }
    10% { transform: translate(-4%,-5%); }
    20% { transform: translate(-9%, 4%); }
    30% { transform: translate( 5%,-8%); }
    40% { transform: translate(-4%,13%); }
    50% { transform: translate(-8%, 4%); }
    60% { transform: translate(12%, 0); }
    70% { transform: translate( 0,  8%); }
    80% { transform: translate(-12%,0); }
    90% { transform: translate( 9%, 4%); }
}

/* ── Core keyframes ─────────────────────────────────────────────── */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(38px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-down {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.90); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slide-from-left {
    from { opacity: 0; transform: translateX(-52px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-from-right {
    from { opacity: 0; transform: translateX(52px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes blur-up {
    from { opacity: 0; transform: translateY(26px); filter: blur(12px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes clip-reveal {
    from { clip-path: inset(100% 0 0 0); }
    to   { clip-path: inset(0% 0 0 0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%       { transform: translateY(-7px) rotate(0.4deg); }
    66%       { transform: translateY(-3px) rotate(-0.4deg); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes line-grow-x {
    from { transform: scaleX(0); transform-origin: left; }
    to   { transform: scaleX(1); transform-origin: left; }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192,84,40,0); }
    50%       { box-shadow: 0 0 36px 10px rgba(192,84,40,0.18); }
}
@keyframes reading-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Page reading progress bar (scroll-driven CSS) ──────────────── */
#reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C05428, #e08060);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    pointer-events: none;
    animation: reading-progress linear both;
    animation-timeline: scroll(root);
}

/* ── Hero entrance (above-fold load-time stagger) ───────────────── */
.hero-content > * {
    animation: blur-up 0.85s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.10s; }
.hero-content > *:nth-child(2) { animation-delay: 0.26s; }
.hero-content > *:nth-child(3) { animation-delay: 0.42s; }
.hero-content > *:nth-child(4) { animation-delay: 0.58s; }
.hero-content > *:nth-child(5) { animation-delay: 0.74s; }

/* Hero right-side card fly-in */
.hero-card {
    animation: slide-from-right 0.95s cubic-bezier(0.22,1,0.36,1) 0.48s both;
}

/* ── CSS scroll-driven reveal (modern browsers: Chrome 115+) ─────── */
@supports (animation-timeline: view()) {

    .anim-fade-up {
        animation: fade-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 32%;
    }
    .anim-scale-in {
        animation: scale-in linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 32%;
    }
    .anim-slide-left {
        animation: slide-from-left linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
    .anim-slide-right {
        animation: slide-from-right linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }
    .anim-blur-in {
        animation: blur-up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 28%;
    }
    .anim-clip-up {
        clip-path: inset(100% 0 0 0);
        animation: clip-reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
    }
}

/* ── Fallback for non-scroll-driven browsers ────────────────────── */
@supports not (animation-timeline: view()) {
    .anim-fade-up,
    .anim-scale-in,
    .anim-slide-left,
    .anim-slide-right,
    .anim-blur-in,
    .anim-clip-up {
        opacity: 0;
        transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                    transform 0.65s cubic-bezier(0.22,1,0.36,1),
                    filter    0.65s ease,
                    clip-path 0.65s cubic-bezier(0.22,1,0.36,1);
    }
    .anim-fade-up     { transform: translateY(34px); }
    .anim-scale-in    { transform: scale(0.91); }
    .anim-slide-left  { transform: translateX(-44px); }
    .anim-slide-right { transform: translateX(44px); }
    .anim-blur-in     { transform: translateY(22px); filter: blur(10px); }
    .anim-clip-up     { clip-path: inset(100% 0 0 0); }

    .anim-fade-up.in-view,
    .anim-scale-in.in-view,
    .anim-slide-left.in-view,
    .anim-slide-right.in-view,
    .anim-blur-in.in-view,
    .anim-clip-up.in-view {
        opacity: 1;
        transform: none;
        filter: none;
        clip-path: inset(0% 0 0 0);
    }
}

/* ── Scroll-driven reveal (about.html .reveal class) ────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Staggered card grid (JS-controlled) ────────────────────────── */
.stagger-grid.stagger-active > * {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.58s cubic-bezier(0.22,1,0.36,1),
                transform 0.58s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
}
.stagger-grid.stagger-active.in-view > * { opacity: 1; transform: none; }
.stagger-grid.stagger-active.in-view > *:nth-child(1)  { transition-delay:   0ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(2)  { transition-delay:  80ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(3)  { transition-delay: 160ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(4)  { transition-delay: 240ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(5)  { transition-delay: 320ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(6)  { transition-delay: 400ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(7)  { transition-delay: 480ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(8)  { transition-delay: 560ms; }
.stagger-grid.stagger-active.in-view > *:nth-child(9)  { transition-delay: 640ms; }

/* ── Float utilities ─────────────────────────────────────────────── */
.anim-float      { animation: float        7s ease-in-out infinite; }
.anim-float-slow { animation: float-gentle 11s ease-in-out infinite; }

/* ── Text shimmer (orange gradient, animates) ───────────────────── */
.text-shimmer {
    background: linear-gradient(90deg, #C05428 0%, #e08868 35%, #C05428 65%, #8a3018 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
}

/* ── Text gradient (decorative headings) ────────────────────────── */
.text-gradient {
    background: linear-gradient(135deg, #C05428 0%, #8a3018 55%, #2A2A2A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Section eyebrow label with animated leading line ───────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #C05428;
    border-radius: 2px;
    transform-origin: left;
    animation: line-grow-x 0.55s cubic-bezier(0.22,1,0.36,1) 0.15s both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
}

/* ── Decorative large number watermark ──────────────────────────── */
.section-num {
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(192,84,40,0.12);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

/* ── Book CTA glow pulse ─────────────────────────────────────────── */
.btn-pulse { animation: pulse-glow 3.5s ease-in-out infinite; }

/* ── Marquee / ticker ────────────────────────────────────────────── */
.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 22s linear infinite;
    width: max-content;
}
.marquee-wrap {
    overflow: hidden;
    display: flex;
}

/* ── Horizontal line reveal ──────────────────────────────────────── */
.line-reveal {
    display: block;
    height: 1px;
    background: #C05428;
    transform: scaleX(0);
    transform-origin: left;
}
@supports (animation-timeline: view()) {
    .line-reveal {
        animation: line-grow-x linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }
}

/* ── Back to top button ─────────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2A2A2A;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#back-to-top:hover { background: #C05428; }
#back-to-top:focus-visible {
    outline: 3px solid #C05428;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    #back-to-top { transition: none; }
}

/* ── Image with clip-path reveal ────────────────────────────────── */
.img-clip-wrap {
    overflow: hidden;
}
.img-clip-wrap img {
    transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.img-clip-wrap:hover img { transform: scale(1.05); }


/* ════════════════════════════════════════════════════════════════
   SHARED UTILITIES (all pages)
   ════════════════════════════════════════════════════════════════ */

/* Nav semi-transparent bg utility */
.hover\:bg-white\/8:hover { background-color: rgba(255,255,255,0.08); }
.bg-white\/8 { background-color: rgba(255,255,255,0.08); }

/* Page hero gradient overlay */
.page-hero-overlay {
    background: linear-gradient(160deg, rgba(42,42,42,0.75) 0%, rgba(192,84,40,0.25) 100%);
}

/* Shared form inputs (booking, contact pages) */
.form-input {
    width: 100%; background: #fff;
    border: 1.5px solid #e5e7eb; border-radius: 12px;
    padding: 13px 16px; font-size: 0.875rem; color: #2A2A2A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none; font-family: inherit;
}
.form-input:focus { border-color: #C05428; box-shadow: 0 0 0 3px rgba(192,84,40,0.12); }
.form-input::placeholder { color: #9ca3af; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea.form-input { resize: vertical; min-height: 100px; }

.form-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #2A2A2A; margin-bottom: 6px; }
.form-label .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: #9ca3af; font-size: 0.7rem; }

/* Range input accent (tours, tour-single pages) */
input[type=range] { accent-color: #C05428; }

/* Shared card image zoom (tour-single, blog-single pages) */
.related-card:hover .related-img { transform: scale(1.06); }
.related-img { transition: transform 0.5s ease; }

/* Rating bar fill (tour-single, testimonials pages) */
.rating-bar-fill { height: 6px; border-radius: 3px; background: #C05428; transition: width 0.8s ease; }

/* Shared sidebar widget */
.widget { border-radius: 1rem; }

/* Tag pill (blog pages) */
.tag-pill { transition: background 0.2s, color 0.2s; }

/* Newsletter input focus (blog pages) */
.nl-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(192,84,40,0.2); border-color: #C05428; }


/* ════════════════════════════════════════════════════════════════
   BOOKING PAGE
   ════════════════════════════════════════════════════════════════ */

/* Wizard step indicator */
.step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; }
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}
.step-item.complete:not(:last-child)::after { background: #C05428; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 700;
    border: 2px solid #e5e7eb;
    background: #fff; color: #9ca3af;
    position: relative; z-index: 1;
    transition: all 0.3s ease;
}
.step-item.active .step-num { border-color: #C05428; background: #C05428; color: #fff; }
.step-item.complete .step-num { border-color: #C05428; background: #C05428; color: #fff; }
.step-label { font-size: 0.7rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; }
.step-item.active .step-label { color: #C05428; }
.step-item.complete .step-label { color: #C05428; }

/* Wizard panels */
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

/* Error hints */
.field-error { display: none; color: #ef4444; font-size: 0.7rem; margin-top: 4px; }
.field-error.show { display: block; }

/* Tour selection cards */
.tour-option { position: relative; cursor: pointer; }
.tour-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.tour-option-inner {
    border: 2px solid #e5e7eb; border-radius: 16px; overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tour-option input:checked ~ .tour-option-inner {
    border-color: #C05428;
    box-shadow: 0 0 0 3px rgba(192,84,40,0.12);
}
.tour-option-badge {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    background: #C05428; color: #fff; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 3px 10px; border-radius: 100px;
}
.tour-option input:checked ~ .tour-option-inner .tour-check { opacity: 1; transform: scale(1); }
.tour-check {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    width: 28px; height: 28px; border-radius: 50%;
    background: #C05428; color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Guest stepper */
.stepper-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #2A2A2A; cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #fff; flex-shrink: 0;
}
.stepper-btn:hover { border-color: #C05428; background: #C05428; color: #fff; }
.stepper-btn:disabled { opacity: 0.35; cursor: default; }
.stepper-btn:disabled:hover { border-color: #e5e7eb; background: #fff; color: #2A2A2A; }

/* Accommodation option */
.accomm-option { flex: 1; }
.accomm-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.accomm-inner {
    border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 16px;
    text-align: center; cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accomm-option input:checked ~ .accomm-inner {
    border-color: #C05428; box-shadow: 0 0 0 3px rgba(192,84,40,0.12);
}

/* Add-on toggle */
.addon-toggle { display: none; }
.addon-label {
    display: flex; align-items: center; gap-x: 14px; gap: 14px;
    padding: 14px 16px; border: 1.5px solid #e5e7eb; border-radius: 12px;
    cursor: pointer; transition: border-color 0.2s ease;
}
.addon-toggle:checked ~ .addon-label { border-color: #C05428; }
.addon-box {
    width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #d1d5db;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: border-color 0.2s, background 0.2s;
}
.addon-toggle:checked ~ .addon-label .addon-box { border-color: #C05428; background: #C05428; }

/* Payment tabs */
.pay-tab { flex: 1; padding: 12px 8px; border: 1.5px solid #e5e7eb; border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.2s; font-size: 0.8rem; font-weight: 600; color: #6b7280; background: #fff; }
.pay-tab.active { border-color: #C05428; background: #fff7f4; color: #C05428; }
.pay-panel { display: none; }
.pay-panel.active { display: block; }

@media (min-width: 1024px) {
    .sticky-summary { position: sticky; top: 32px; }
}

.trust-badge { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }


/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════════ */

.stat-num { transition: color 0.3s ease; }

.timeline-item { position: relative; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: -32px;
    width: 2px;
    background: linear-gradient(to bottom, #C05428, #C0542822);
}
.timeline-item:last-child::before { display: none; }

.team-card:hover .team-img { transform: scale(1.04); }
.team-img { transition: transform 0.5s ease; }

.value-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.09); }

.press-logo { transition: opacity 0.2s ease, filter 0.2s ease; filter: grayscale(1); opacity: 0.45; }
.press-logo:hover { filter: grayscale(0); opacity: 1; }


/* ════════════════════════════════════════════════════════════════
   TOURS PAGE
   ════════════════════════════════════════════════════════════════ */

.filter-pill.active { background-color: #C05428; color: #fff; border-color: #C05428; }

.tour-card:hover .tour-img { transform: scale(1.06); }
.tour-img { transition: transform 0.5s ease; }

#filter-bar { backdrop-filter: blur(12px); }

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}


/* ════════════════════════════════════════════════════════════════
   TOUR SINGLE PAGE
   ════════════════════════════════════════════════════════════════ */

.gallery-thumb { cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease; }
.gallery-thumb:hover { opacity: 0.85; transform: scale(1.02); }

#lightbox { transition: opacity 0.25s ease; }
#lightbox.hidden { opacity: 0; pointer-events: none; }

.tab-btn { position: relative; transition: color 0.2s ease; }
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 2px;
    background: #C05428;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.tab-btn.active { color: #C05428; }
.tab-btn.active::after { transform: scaleX(1); }

.day-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.day-body.open { max-height: 600px; }

.booking-card { position: sticky; top: 100px; }

.star-fill { color: #FBBF24; }
.star-empty { color: #D1D5DB; }


/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS PAGE
   ════════════════════════════════════════════════════════════════ */

.testi-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.10); }

.platform-logo { transition: opacity 0.2s, filter 0.2s; filter: grayscale(1); opacity: 0.45; }
.platform-logo:hover { filter: grayscale(0); opacity: 1; }

.featured-quote::before {
    content: '\201C';
    position: absolute;
    top: -0.6rem;
    left: -0.5rem;
    font-size: 8rem;
    line-height: 1;
    color: #C05428;
    opacity: 0.12;
    font-family: Georgia, serif;
    pointer-events: none;
}


/* ════════════════════════════════════════════════════════════════
   BLOG PAGE
   ════════════════════════════════════════════════════════════════ */

.post-card:hover .post-img { transform: scale(1.05); }
.post-img { transition: transform 0.5s ease; }

.cat-link.active { color: #C05428; font-weight: 700; }


/* ════════════════════════════════════════════════════════════════
   BLOG SINGLE PAGE
   ════════════════════════════════════════════════════════════════ */

.post-body p { margin-bottom: 1.4rem; line-height: 1.8; color: #4B5563; }
.post-body h2 { font-size: 1.35rem; font-weight: 900; color: #2A2A2A; margin: 2.2rem 0 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
.post-body h3 { font-size: 1.05rem; font-weight: 800; color: #2A2A2A; margin: 1.8rem 0 0.6rem; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.4rem; }
.post-body li { margin-bottom: 0.5rem; line-height: 1.75; color: #4B5563; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body blockquote { border-left: 4px solid #C05428; padding: 1rem 1.25rem; background: #FFF7F3; border-radius: 0 0.75rem 0.75rem 0; margin: 1.8rem 0; font-style: italic; color: #2A2A2A; font-weight: 600; }
.post-body a { color: #C05428; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { opacity: 0.8; }
.post-body strong { color: #2A2A2A; font-weight: 700; }
.post-body .callout { background: #F5EFD3; border-radius: 1rem; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.post-body .callout p { color: #2A2A2A; margin-bottom: 0; }

.share-btn { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.comment-avatar { flex-shrink: 0; }


/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════ */

/* Contact textarea is taller than booking's */
#contact-form textarea.form-input { min-height: 130px; }

.info-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

#form-success { display: none; }
#form-success.show { display: flex; }

.map-placeholder {
    background: linear-gradient(135deg, #f5f5f0 0%, #ede9d8 100%);
    position: relative;
    overflow: hidden;
}
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(42,42,42,0.07) 1px, transparent 0);
    background-size: 24px 24px;
}


/* ════════════════════════════════════════════════════════════════
   FAQ PAGE
   ════════════════════════════════════════════════════════════════ */

details { border-bottom: 1px solid #e5e7eb; }
details:last-child { border-bottom: none; }

details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #2A2A2A;
    transition: color 0.2s;
    gap: 1rem;
}
details > summary:hover { color: #C05428; }
details[open] > summary { color: #C05428; }

.summary-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s, transform 0.3s;
}
details[open] .summary-icon { border-color: #C05428; background: #C05428; transform: rotate(45deg); }
.summary-icon svg { transition: stroke 0.2s; stroke: #9ca3af; }
details[open] .summary-icon svg { stroke: #fff; }

.faq-answer {
    padding: 0 0 1.25rem 0;
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.7;
}
.faq-answer a { color: #C05428; text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover { color: #c8532a; }

.cat-pill.active { background: #C05428; color: #fff; border-color: #C05428; }

.faq-highlight { background: rgba(192,84,40,0.15); border-radius: 3px; padding: 0 2px; }
