/* libviajes-bootstrap.css
   Subset de Bootstrap 5 solo para la vista index.
   Mantiene nombres de clases para no tocar el HTML existente.
*/

/* ===== DESIGN TOKENS ===== */
:root {

    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    --bs-breakpoint-sm: 576px;
    --bs-breakpoint-md: 768px;
    --bs-breakpoint-lg: 992px;
    --bs-breakpoint-xl: 1200px;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;


    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    /* Paleta: verde selva profundo + blanco puro + gris cálido + acento dorado */
    --color-forest: #0f4c2a;
    /* Verde selva principal */
    --color-forest-mid: #166534;
    /* Verde medio — buttons primarios */
    --color-forest-lt: #22c55e;
    /* Verde claro — accents */
    --color-wa: #25d366;
    /* WhatsApp */
    --color-gold: #b45309;
    /* Acento dorado — precios, highlights */
    --color-gold-lt: #fef3c7;
    /* Fondo dorado suave */
    --color-ink: #111827;
    /* Texto principal */
    --color-ink-mid: #374151;
    /* Texto secundario */
    --color-ink-soft: #6b7280;
    /* Texto terciario */
    --color-surface: #ffffff;
    /* Blanco puro */
    --color-surface-2: #f9fafb;
    /* Fondo gris muy suave */
    --color-surface-3: #f3f4f6;
    /* Fondo gris medio */
    --color-border: #e5e7eb;
    /* Borde suave */
    --color-star: #f59e0b;
    /* Estrellas */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg:
        0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-ink);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Accesibilidad: foco visible */
:focus-visible {
    outline: 2px solid var(--color-forest-mid);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== NAVBAR ===== */
#mainNav {
    transition:
        background var(--transition),
        box-shadow var(--transition),
        padding var(--transition);
    padding: 1rem 0;
    background: transparent;
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    padding: 0.65rem 0;
}

#mainNav .navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: none;
}

.logo_transparent {
    display: block;
}

#mainNav.scrolled .logo {
    display: block;
}

#mainNav.scrolled .logo_transparent {
    display: none;
}

#mainNav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: var(--radius-sm);
    transition:
        color var(--transition),
        background var(--transition);
}

#mainNav.scrolled .nav-link {
    color: var(--color-ink) !important;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus-visible {
    color: white !important;
    background: rgba(255, 255, 255, 0.12);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link:focus-visible {
    color: var(--color-forest-mid) !important;
    background: rgba(22, 101, 52, 0.06);
}

#mainNav .dropdown-menu {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

#mainNav .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink-mid);
    transition:
        background var(--transition),
        color var(--transition);
}

#mainNav .dropdown-item:hover {
    background: rgba(22, 101, 52, 0.07);
    color: var(--color-forest-mid);
}

.btn-nav-phone {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
    text-decoration: none;
}

#mainNav.scrolled .btn-nav-phone {
    color: var(--color-forest-mid) !important;
    border-color: var(--color-forest-mid);
}

.btn-nav-phone:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white !important;
}

#mainNav.scrolled .btn-nav-phone:hover {
    background: var(--color-forest-mid);
    color: white !important;
}

.btn-nav-wa {
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-wa);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition:
        background var(--transition),
        transform var(--transition);
}

.btn-nav-wa:hover {
    background: #1fb855;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.6rem;
}

#mainNav.scrolled .navbar-toggler {
    border-color: var(--color-border);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817,24,39,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 105vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Video de fondo (solo desktop) */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: none;
    /* oculto en móvil */
}

/* Imagen de fondo (fallback y móvil) */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

@media (min-width: 769px) {
    .hero-video {
        display: block;
    }

    .hero-bg-img {
        display: none;
    }
}

/* Overlay degradado — mejora legibilidad sin oscurecer demasiado */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-forest-lt);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.5rem;
}

.hero-h1 {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-h1 span {
    color: var(--color-forest-lt);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-forest-mid);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.875rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--color-forest-mid);
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn-hero-primary:hover {
    background: var(--color-forest);
    border-color: var(--color-forest);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 101, 52, 0.4);
}

.btn-hero-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-wa);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.875rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--color-wa);
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn-hero-wa:hover {
    background: #1fb855;
    border-color: #1fb855;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Trust badges en el hero */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 2.5rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--color-forest-lt);
    font-size: 1rem;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ===== BUSCADOR ===== */
.search-section {
    display: flex;
    top: -20px;
    background: var(--color-surface);
    position: relative;
    z-index: 10;
}

.btn-search {
    background: var(--color-forest-mid);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background var(--transition),
        transform var(--transition);
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--color-forest);
    transform: translateY(-1px);
}

/* ===== STATS / TRUST BAR ===== */
.stats-section {
    padding: 4rem 0 3rem;
    background: var(--color-surface);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-forest-mid);
    line-height: 1;
    display: block;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-ink-soft);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--color-border);
    align-self: stretch;
    margin: 0.75rem 0;
}

/* ===== SECTION HEADERS ===== */
.section-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-forest-mid);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.875rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-ink-soft);
    line-height: 1.7;
    max-width: 560px;
}

/* ===== TARJETAS DE DESTINOS (game-section) ===== */
.destinations-section {
    padding: 5rem 0;
    background: var(--color-surface-2);
}

.dest-card {
    height: 320px;
    display: flex;
    align-items: flex-end;
    background: #1a2a1a no-repeat center center / cover;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.dest-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%
    );
    z-index: 1;
}

.dest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.dest-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
}

.dest-card-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.dest-card-content span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.dest-card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition:
        background var(--transition),
        transform var(--transition);
}

.dest-card:hover .dest-card-arrow {
    background: var(--color-forest-mid);
    transform: translateX(3px);
}

/* ===== PROMOCIONES ===== */
.promo-section {
    padding: 5rem 0;
    background: var(--color-surface);
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: var(--shadow-md);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-card-bg {
    transform: scale(1.04);
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%
    );
}

.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc2626;
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
}

.promo-content h3 {
    color: white;
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}

/* ===== TOURS SECTION ===== */
.tours-section {
    padding: 5rem 0;
    background: var(--color-surface-2);
}

.tour-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.tour-card-img-wrap {
    display: inline-flex;
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--color-surface-3);
}

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

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

.tour-type-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-ink);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.tour-card-title:hover {
    color: var(--color-forest-mid);
}

.tour-card-location {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-forest-mid);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.625rem;
}

.tour-stars {
    display: inline-flex;
    gap: 1px;
    margin-bottom: 0.875rem;
}

.tour-stars i {
    color: var(--color-star);
    font-size: 0.875rem;
}

.tour-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tour-features li {
    font-size: 0.8125rem;
    color: var(--color-ink-soft);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tour-features li i {
    color: var(--color-forest-mid);
    font-size: 1rem;
    flex-shrink: 0;
}

.tour-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-forest-mid);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.125rem;
    border-radius: 50px;
    text-decoration: none;
    transition:
        background var(--transition),
        transform var(--transition);
}

.btn-explore:hover {
    background: var(--color-forest);
    color: white;
    transform: translateX(2px);
}

/* ===== CTA CONTACTO ===== */
.cta-section {
    padding: 5rem 0;
    background: var(--color-forest);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-wa);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn-cta-wa:hover {
    background: #1fb855;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition:
        border-color var(--transition),
        background var(--transition);
}

.btn-cta-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Partners */
.partner-logo-wrap {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    transition: background var(--transition);
}

.partner-logo-wrap:hover {
    background: rgba(255, 255, 255, 0.12);
}

.partner-logo-wrap img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

/* ===== NOSOTROS + RESEÑAS ===== */
.about-section {
    padding: 5rem 0;
    background: var(--color-surface);
}

.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition:
        box-shadow var(--transition),
        transform var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

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

.review-stars i {
    color: var(--color-star);
    font-size: 0.875rem;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--color-ink-mid);
    line-height: 1.7;
    font-style: italic;
    margin: 0.75rem 0;
}

.review-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-ink);
}

.review-meta {
    font-size: 0.75rem;
    color: var(--color-ink-soft);
}

.review-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-forest-mid);
    background: rgba(22, 101, 52, 0.07);
    padding: 0.2rem 0.625rem;
    border-radius: 50px;
}

/* Imagen destacada */
.featured-tour-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.featured-tour-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    display: block;
    transition: transform var(--transition);
}

.featured-tour-card:hover {
    transform: scale(1.01);
}

.featured-tour-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 55%);
}

.featured-tour-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 2rem;
}

.featured-tour-content h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.featured-tour-content span {
    color: var(--color-forest-lt);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== GALERÍA DE VIDEOS ===== */
.videos-section {
    padding: 5rem 0;
    background: var(--color-surface-2);
}

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
    display: block;
    text-decoration: none;
}

.video-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition:
        background var(--transition),
        transform var(--transition);
}

.video-card:hover .video-play-btn {
    background: var(--color-forest-mid);
    border-color: var(--color-forest-mid);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 5rem 0;
    background: var(--color-surface);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    background: var(--color-surface);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-ink);
    transition: background var(--transition);
    gap: 1rem;
}

.faq-question:hover {
    background: var(--color-surface-2);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink-soft);
    font-size: 1.125rem;
    flex-shrink: 0;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.faq-item.open .faq-icon {
    background: var(--color-forest-mid);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        padding 0.25s ease;
    padding: 0 1.5rem;
    background: var(--color-surface-2);
}

.faq-answer.open {
    max-height: 300px;
    padding: 1rem 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--color-ink-mid);
    line-height: 1.7;
    margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-ink);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
    margin-bottom: 0.625rem;
}

.footer-contact-item:hover {
    color: white;
}

.footer-contact-item i {
    color: var(--color-forest-lt);
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    text-decoration: none;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

.rnt-img {
    max-width: 180px;
    margin-top: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.65;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== CTA VER TODOS ===== */
.btn-outline-forest {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-forest-mid);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1.875rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--color-forest-mid);
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.btn-outline-forest:hover {
    background: var(--color-forest-mid);
    color: white;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-h1 {
        font-size: clamp(1.75rem, 7vw, 3rem);
    }

    .stat-divider {
        display: none;
    }

    /* .search-wrapper { margin: -1.5rem 1rem 0; } */
    .search-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 767.98px) {
    .hero-trust {
        gap: 0.35rem 0.875rem;
    }

    .search-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .btn-search {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .dest-card {
        height: 250px;
    }

    .stats-section {
        padding: 3rem 0 2rem;
    }

    .whatsapp {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 50px;
        height: 50px;
        font-size: 1.375rem;
    }
}

/* ===== COLLAPSE NAVBAR MOBILE ===== */
@media (max-width: 991.98px) {
    #navbarResponsive {
        background: rgba(15, 20, 15, 0.97);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    #mainNav.scrolled #navbarResponsive {
        background: white;
    }

    #mainNav.scrolled #navbarResponsive .nav-link {
        color: var(--color-ink) !important;
    }
}

img {
    vertical-align: middle;
}

a {
    color: inherit;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
}

address {
    margin-bottom: 0;
}

/* Layout */
.container {
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

/* md */
@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* lg */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333333%;
    }
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.333333%;
    }
}

/* xl */
@media (min-width: 1200px) {
    .col-xl-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Gutters */
.g-0 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}
.g-5 {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

/* Display */
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.d-flex {
    display: flex !important;
}
.d-inline-flex {
    display: inline-flex !important;
}

@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
    .flex-sm-row {
        flex-direction: row !important;
    }
}

@media (min-width: 992px) {
    .d-lg-inline {
        display: inline !important;
    }
    .d-lg-none {
        display: none !important;
    }
}

/* Flex utilities */
.flex-column {
    flex-direction: column !important;
}
.flex-wrap {
    flex-wrap: wrap !important;
}
.justify-content-center {
    justify-content: center !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.align-items-center {
    align-items: center !important;
}
.align-items-end {
    align-items: flex-end !important;
}
.align-items-start {
    align-items: flex-start !important;
}
.align-self-start {
    align-self: flex-start !important;
}

@media (min-width: 992px) {
    .align-items-lg-center {
        align-items: center !important;
    }
}

/* Gap */
.gap-2 {
    gap: 0.5rem !important;
}
.gap-3 {
    gap: 1rem !important;
}

@media (min-width: 992px) {
    .gap-lg-1 {
        gap: 0.25rem !important;
    }
}

/* Spacing */
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.ms-1 {
    margin-left: 0.25rem !important;
}
.ms-auto {
    margin-left: auto !important;
}
.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-0\.5 {
    margin-top: 0.125rem !important;
}
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.p-4 {
    padding: 1.5rem !important;
}
.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
.h-75 {
    height: 75% !important;
}

@media (min-width: 992px) {
    .my-lg-0 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .ms-lg-3 {
        margin-left: 1rem !important;
    }
    .mt-lg-0 {
        margin-top: 0 !important;
    }
    .p-lg-4 {
        padding: 1.5rem !important;
    }
    .px-lg-5 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
    .text-lg-end {
        text-align: right !important;
    }
}

/* Text */
.text-center {
    text-align: center !important;
}
.text-decoration-none {
    text-decoration: none !important;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    color: #fff;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.bg-primary {
    background-color: var(--color-forest-lt) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}

/* Navbar */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-toggler {
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
}

/* Collapse */
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
}

@media (min-width: 992px) {
    .navbar-expand-lg .collapse {
        display: flex !important;
    }
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 12rem;
    margin: 0.125rem 0 0;
    padding: 0.5rem 0;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    text-decoration: none;
    background-color: transparent;
    border: 0;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal.fade .modal-dialog {
    transition: transform 0.2s ease-out;
    transform: translate(0, -40px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-dialog-centered {
    min-height: calc(100% - 1rem);
    display: flex;
    align-items: center;
}

.modal-lg {
    max-width: 800px;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

    .modal-lg {
        max-width: 800px;
    }
}

body.modal-open {
    overflow: hidden;
}
