/*
Theme Name: AtacamaDevTheme
Theme URI: http://atacamaextrema.com
Author: Atacama Extrema
Author URI: http://atacamaextrema.com
Description: Tema personalizado para Atacama Extrema enfocado en paquetes turísticos. Diseño en Modo Claro.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atacamadevtheme
Tags: light-mode, e-commerce, custom-colors, custom-menu, featured-images
*/

:root {
    --primary-color: #f97316; /* Naranjo del botón Ver Itinerario */
    --primary-hover: #ea580c;
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-secondary: #f4f4f4;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

.site-main {
    min-height: 70vh;
}

/* ==================================================
   NAVIGATION & SUBMENU (INTERIOR) DROPDOWNS
   ================================================== */
.main-navigation {
    position: relative;
}
.main-navigation > ul,
.main-navigation > div > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}
.main-navigation li {
    position: relative;
    list-style: none;
}
.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    text-decoration: none;
}
.main-navigation a:hover {
    color: var(--primary-color);
}
.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    vertical-align: middle;
    margin-top: -3px;
}
.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}
/* Menús interiores / desplegables (Sub-menus) */
.main-navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}
.main-navigation li:hover > ul.sub-menu {
    display: flex;
}
.main-navigation ul.sub-menu li {
    width: 100%;
}
.main-navigation ul.sub-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.main-navigation ul.sub-menu li:last-child a {
    border-bottom: none;
}
.main-navigation ul.sub-menu li a:hover {
    background: #fff8f3;
    color: var(--primary-color);
    padding-left: 22px;
}
/* Sub-sub menus (tercer nivel) */
.main-navigation ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    margin-left: 2px;
}
.main-navigation ul.sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);
    margin-left: auto;
    margin-top: 0;
}

/* ==================================================
   MOBILE RESPONSIVE OVERRIDES
   ================================================== */
@media (max-width: 768px) {
    /* Header */
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 20px !important;
    }
    .main-navigation-wrapper {
        flex-direction: column !important;
        padding: 15px !important;
    }
    .site-branding {
        margin: 15px 0 !important;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px !important;
    }
    .main-navigation a {
        font-size: 12px;
    }

    /* ==================================================
       FILA 2: HERO SECTION & SLIDERS RESPONSIVOS EN MÓVIL
       ================================================== */
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        flex-direction: column !important;
        display: flex !important;
        align-items: stretch !important;
        background: #0f172a !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Slider de Fondo Principal */
    .hero-section > .swiper.hero-bg-swiper {
        position: relative !important;
        width: 100% !important;
        height: 520px !important;
        min-height: 480px !important;
        max-height: 85vh !important;
    }

    /* Slide y Overlay Inmersivo */
    .hero-section .swiper-slide {
        position: relative !important;
        background-position: center center !important;
        background-size: cover !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .hero-section .swiper-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(15,23,42,0.35) 0%, rgba(15,23,42,0.82) 100%);
        z-index: 1;
        pointer-events: none;
    }

    /* Contenedor del contenido (ADIÓS al 50% de ancho en móvil) */
    .hero-section .swiper-slide > div:first-child,
    .hero-section .hero-slide-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        padding: 30px 18px 55px 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    /* Tarjeta translúcida con blur de alta gama */
    .hero-section .hero-content {
        width: 100% !important;
        max-width: 440px !important;
        padding: 26px 20px !important;
        background: rgba(15, 23, 42, 0.72) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
        text-align: center !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .hero-section .hero-content span {
        font-size: 11.5px !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        display: inline-block !important;
    }

    .hero-section .hero-content h1 {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        color: #ffffff !important;
        text-align: center !important;
        font-weight: 800 !important;
        letter-spacing: -0.2px !important;
    }

    .hero-section .hero-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        color: #e2e8f0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-section .hero-content div[style*="margin-top"] {
        margin-top: 16px !important;
        text-align: center !important;
    }

    .hero-section .hero-content a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 11px 24px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4) !important;
    }

    /* Paginación de píldoras centrada en móvil */
    .hero-bg-pagination {
        bottom: 14px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        z-index: 10 !important;
    }

    /* Carrusel de Tarjetas de Tours (Overlay que pasa abajo en móvil) */
    .hero-products-overlay {
        position: relative !important;
        width: 100% !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        background: #f8fafc !important;
        padding: 24px 16px 30px 16px !important;
        box-sizing: border-box !important;
        border-top: 1px solid #e2e8f0 !important;
        max-width: 100% !important;
    }

    .hero-cards-swiper {
        overflow: visible !important;
        padding: 10px 0 20px 0 !important;
    }

    .hero-cards-swiper .swiper-slide {
        width: 270px !important;
        max-width: 82vw !important;
    }

    .hero-cards-swiper .carousel-card {
        padding: 14px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #e2e8f0 !important;
    }

    .hero-cards-swiper .carousel-card > div:first-child {
        height: 160px !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
    }

    .hero-cards-swiper .carousel-card h3 {
        font-size: 15px !important;
        height: auto !important;
        margin: 0 0 6px 0 !important;
        line-height: 1.3 !important;
    }

    .hero-cards-swiper .carousel-card p {
        font-size: 12px !important;
        height: auto !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Flechas del carrusel de tarjetas: corregidas para que no se corten */
    .hero-products-overlay .cards-prev {
        left: 4px !important;
        width: 36px !important;
        height: 36px !important;
        z-index: 10 !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    }

    .hero-products-overlay .cards-next {
        right: 4px !important;
        width: 36px !important;
        height: 36px !important;
        z-index: 10 !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    }

    /* Fila 2.5: Cyber */
    #cyber-section {
        padding: 30px 15px !important;
    }
    #cyber-section h2 {
        font-size: 24px !important;
    }
    #cyber-main-timer {
        font-size: 18px !important;
    }

    /* Fila 3: Destinos Banners */
    .destinos-banners {
        padding: 40px 15px !important;
    }
    .destinos-banners h2 {
        font-size: 28px !important;
    }
    .destinos-banners > .container > div:last-child {
        flex-direction: column !important;
    }
    .banner-destino {
        min-width: 100% !important;
        height: 250px !important;
    }

    /* Fila 4: Banner Central */
    .banner-central {
        padding: 40px 15px !important;
    }
    .banner-central h2 {
        font-size: 26px !important;
    }

    /* Fila 5: Tours */
    .tours-grid-nacionales, .tours-grid-internacionales {
        padding: 40px 15px !important;
    }
    .destacados-wrapper {
        padding: 20px 15px !important;
    }
    .destacados-wrapper > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }
    .tours-internacionales-swiper .swiper-slide,
    .tours-nacionales-swiper .swiper-slide,
    .cyber-swiper .swiper-slide {
        width: 270px !important;
        max-width: 82vw !important;
    }

    /* Fila 6: Producto Destacado */
    .featured-products-section {
        padding: 40px 15px !important;
    }
    .featured-products-section .swiper-slide > div {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    .featured-products-section .product-image {
        height: 250px !important;
        min-width: 100% !important;
    }
    .featured-products-section .product-gallery-preview {
        min-width: 100% !important;
    }
    .featured-products-section .product-gallery-preview > div:first-child {
        height: 250px !important;
    }
    .featured-products-section h2 {
        font-size: 24px !important;
    }
    .featured-products-section .product-price span {
        font-size: 22px !important;
    }
    .featured-products-section > .container > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    /* Single Product Template */
    .single-product-container {
        grid-template-columns: 1fr !important;
        padding: 20px 15px !important;
    }
    .single-product-sidebar {
        position: static !important;
        margin-top: 30px;
    }
    .product-images-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* ==================================================
   CHECKOUT ATACAMA EXTREMA - CENTRADO Y EXPERIENCIA DE RESERVA
   ================================================== */
body.woocommerce-checkout .site-main > .container,
.woocommerce-checkout .site-main .container,
.page-id-9 .site-main .container {
    max-width: 900px !important;
    margin: 0 auto !important;
}

body.woocommerce-checkout .entry-header {
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* ==================================================
   FILA 6.5: BENEFICIOS Y ALIANZAS EXCLUSIVAS
   ================================================== */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.beneficio-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.beneficio-accent-bar {
    height: 5px;
    width: 100%;
}

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

.beneficio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    min-height: 48px;
}

.beneficio-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    border: 1px solid;
}

.beneficio-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.beneficio-card:hover .beneficio-icon-wrap {
    transform: scale(1.08);
}

.beneficio-logo-img {
    max-height: 38px;
    max-width: 44px;
    object-fit: contain;
}

.beneficio-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.beneficio-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.beneficio-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 18px;
    margin-top: auto;
}

.beneficio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.beneficio-btn:hover {
    gap: 12px;
    opacity: 0.85;
}

@media (max-width: 992px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    .beneficio-card-body {
        padding: 24px 20px;
    }
}

/* Paginación de píldoras estilizadas para Hero Slider */
.hero-bg-pagination {
    position: absolute !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    bottom: 25px !important;
    left: 40px !important;
    width: auto !important;
    z-index: 10 !important;
}

.hero-bg-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-bg-pagination .swiper-pagination-bullet-active {
    width: 24px !important;
    border-radius: 6px !important;
    background: var(--primary-color, #ff6600) !important;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

/* ==================================================
   FILA 7: QUIÉNES SOMOS, VIDEO CORPORATIVO & PILARES
   ================================================== */
.atacama-about-section {
    position: relative;
    padding: 85px 20px 75px;
    background: #ffffff;
    overflow: hidden;
}

.atacama-about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Nivel 1: Storytelling & Video Corporativo */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 55px;
    align-items: center;
    margin-bottom: 75px;
}

.about-story-col {
    display: flex;
    flex-direction: column;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color, #f97316);
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.22);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
    align-self: flex-start;
}

.about-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.about-desc {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

.about-desc p {
    margin: 0 0 14px 0;
}

.about-desc p:last-child {
    margin-bottom: 0;
}

/* 3 Métricas de Impacto */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.about-stat-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat-box:hover {
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.about-stat-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color, #f97316);
    line-height: 1.2;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Botón CTA Historia */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color, #f97316);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
}

.about-cta-btn:hover {
    background: var(--primary-hover, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.38);
    color: #ffffff !important;
}

/* Tarjeta Cinemática de Video */
.about-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    min-height: 380px;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.about-video-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
}

.about-video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.88) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.about-video-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.about-video-badge {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
}

.video-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: videoLivePulse 1.6s infinite ease-in-out;
}

@keyframes videoLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Botón Central Play Pulsante */
.play-pulse-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-pulse-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--primary-color, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6);
    transition: all 0.3s ease;
    position: relative;
}

.play-pulse-btn::before,
.play-pulse-btn::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(249, 115, 22, 0.7);
    animation: pulseRings 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.play-pulse-btn::after {
    animation-delay: 1.2s;
}

@keyframes pulseRings {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.about-video-card:hover .play-pulse-btn {
    transform: scale(1.12);
    background: var(--primary-hover, #ea580c);
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.85);
}

.play-pulse-btn svg {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.about-video-card:hover .play-pulse-btn svg {
    transform: scale(1.1);
}

.about-video-footer {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.about-video-footer-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.about-video-footer-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox Modal para el Video */
.atacama-video-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.atacama-video-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
}

.video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
    padding: 4px;
}

.video-modal-close:hover {
    opacity: 1;
    color: var(--primary-color, #f97316);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Nivel 2: ¿Por qué viajar con nosotros? */
.about-why-wrapper {
    border-top: 1px solid #f0f2f5;
    padding-top: 65px;
}

.about-why-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.about-why-title {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.about-why-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* Grilla de los 6 Pilares */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 50px;
}

.about-pillar-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 30px 26px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.about-pillar-card:hover {
    transform: translateY(-5px);
    border-color: #d1d5db;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

.pillar-top-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.about-pillar-card:hover .pillar-top-indicator {
    background: var(--pillar-color, #f97316);
}

.pillar-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.about-pillar-card:hover .pillar-icon-box {
    transform: scale(1.08);
}

.pillar-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.pillar-card-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* Barra de Sellos Oficiales de Confianza */
.about-seals-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.seal-card-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.seal-card-box:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.seal-logo-wrap {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.seal-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.seal-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seal-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.seal-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 6px;
}

.badge-sernatur {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-atacama {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.seal-reg-num {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.seal-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.seal-card-sub {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0 0 14px 0;
    line-height: 1.45;
}

.seal-buttons-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.seal-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.seal-btn-outline {
    background: #ffffff;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

.seal-btn-outline:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.seal-btn-pdf {
    background: #fef2f2;
    color: #b91c1c !important;
    border: 1px solid #fecaca;
}

.seal-btn-pdf:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.seal-btn-brand {
    background: #ffffff;
    color: var(--primary-color, #f97316) !important;
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.seal-btn-brand:hover {
    background: #fff7ed;
    border-color: var(--primary-color, #f97316);
    transform: translateY(-1px);
}

/* Responsividad */
@media (max-width: 991px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .about-main-title {
        font-size: 32px;
    }
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .about-seals-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .atacama-about-section {
        padding: 60px 16px 50px;
    }
    .about-main-title {
        font-size: 26px;
    }
    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .about-video-card {
        min-height: 260px;
        padding: 18px;
    }
    .play-pulse-btn {
        width: 62px;
        height: 62px;
    }
    .about-pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-why-title {
        font-size: 26px;
    }
    .about-seals-bar {
        padding: 16px;
    }
    .seal-card-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }
    .seal-buttons-row {
        width: 100%;
    }
    .seal-btn {
        width: 100%;
        justify-content: center;
    }
    .video-modal-dialog {
        border-radius: 10px;
    }
    .video-modal-close {
        top: -38px;
        font-size: 22px;
    }
}

/* ==========================================================================
   NUESTROS SOCIOS / PARTNERS (ALIANZAS ESTRATÉGICAS)
   ========================================================================== */
.about-partners-block {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.partners-header {
    max-width: 850px;
    margin: 0 auto 40px auto;
}

.partners-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary-color, #f97316);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.partners-title {
    font-size: 34px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

.partners-subtitle {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 740px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 105px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.partner-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color, #f97316);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.partner-card:hover::after {
    width: 60%;
}

.partner-logo-img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.72);
    transition: all 0.35s ease;
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-name-hint {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name-hint {
    color: var(--primary-color, #f97316);
}

@media (max-width: 991px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .partners-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .about-partners-block {
        margin-top: 40px;
        padding-top: 35px;
    }
    .partners-title {
        font-size: 24px;
    }
    .partners-subtitle {
        font-size: 14px;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .partner-card {
        padding: 14px;
        min-height: 90px;
    }
    .partner-logo-img {
        max-height: 40px;
        max-width: 110px;
    }
}

/* ==========================================================================
   FILA 8: TESTIMONIOS (RESEÑAS TRIPADVISOR)
   ========================================================================== */
.testimonials-section {
    position: relative;
    padding: 85px 20px 95px;
    background: #f8fafc;
    border-top: 1px solid #eaeef4;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px auto;
}

.testimonials-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.08);
    color: var(--primary-color, #f97316);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.testimonials-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.testimonials-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0 auto 18px auto;
    max-width: 680px;
    line-height: 1.5;
}

.reviews-summary-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px auto 0 auto;
}

.review-summary-pill,
.tripadvisor-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 13px;
    color: #475569;
}

.review-pill-score,
.ta-score {
    font-weight: 800;
    font-size: 15px;
}

.ta-score {
    color: #00aa6c;
}

.google-score {
    color: #1e293b;
}

.ta-circles {
    color: #00aa6c;
    font-size: 13px;
    letter-spacing: 2px;
}

.google-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonials-slider-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 20px;
}

.swiper.testimonials-swiper {
    padding: 15px 4px 55px;
    overflow: hidden !important;
}

.testimonial-card {
    background: #ffffff;
    padding: 30px 26px;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.testimonial-rating-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
}

.testimonial-score {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
}

.tripadvisor-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.testimonial-body {
    position: relative;
    flex-grow: 1;
    margin-bottom: 24px;
}

.testimonial-quote-icon {
    color: #e2e8f0;
    margin-bottom: 8px;
    display: block;
}

.testimonial-quote-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

.testimonial-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}

.testimonial-author-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.testimonial-author-meta h4 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.testimonial-author-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.testimonial-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #059669;
    font-size: 11px;
    font-weight: 600;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 8px;
}

/* Flechas de navegación prev / next */
.testimonials-nav-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    z-index: 10;
}

.testimonials-nav-btn:hover {
    background: var(--primary-color, #f97316);
    color: #ffffff;
    border-color: var(--primary-color, #f97316);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.testimonials-prev {
    left: -22px;
}

.testimonials-next {
    right: -22px;
}

.testimonials-pagination {
    position: absolute;
    bottom: 0 !important;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: var(--primary-color, #f97316) !important;
    opacity: 1;
}

@media (max-width: 1260px) {
    .testimonials-nav-btn {
        display: none;
    }
}

@media (max-width: 991px) {
    .testimonials-title {
        font-size: 30px;
    }
    .testimonials-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 60px 16px 70px;
    }
    .testimonials-title {
        font-size: 24px;
    }
    .testimonials-subtitle {
        font-size: 14px;
    }
    .reviews-summary-badges {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .review-summary-pill,
    .tripadvisor-summary-pill {
        justify-content: center;
        width: 100%;
        max-width: 380px;
        gap: 8px;
        border-radius: 24px;
        padding: 8px 14px;
        font-size: 12px;
    }
    .testimonials-btn {
        width: 100%;
        max-width: 380px;
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 13px !important;
    }
    .testimonial-card {
        padding: 22px 18px;
    }
}

/* TripAdvisor & Google Reviews Interactivas y Botones Oficiales */
a.tripadvisor-summary-pill,
a.tripadvisor-pill {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

a.tripadvisor-summary-pill:hover,
a.tripadvisor-pill:hover {
    border-color: #00aa6c;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 170, 108, 0.12);
}

a.tripadvisor-summary-pill:hover .ta-label strong,
a.tripadvisor-pill:hover .review-pill-label strong {
    color: #00aa6c;
}

a.google-pill {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

a.google-pill:hover {
    border-color: #4285f4;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(66, 133, 244, 0.15);
}

a.google-pill:hover .review-pill-label strong {
    color: #2563eb;
}

.testimonials-cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.testimonials-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.testimonials-tripadvisor-btn {
    color: #1e293b;
    border: 2px solid #00aa6c;
    box-shadow: 0 4px 14px rgba(0, 170, 108, 0.1);
}

.testimonials-tripadvisor-btn:hover {
    background: #00aa6c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 170, 108, 0.28);
}

.testimonials-tripadvisor-btn:hover svg {
    transform: scale(1.15);
}

.testimonials-tripadvisor-btn:hover svg path {
    fill: #ffffff;
}

.testimonials-google-btn {
    color: #1e293b;
    border: 2px solid #4285f4;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.12);
}

.testimonials-google-btn:hover {
    background: #4285f4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.28);
}

.testimonials-google-btn:hover svg {
    transform: scale(1.15);
}

a.tripadvisor-card-badge,
a.google-card-badge {
    text-decoration: none;
    transition: all 0.2s ease;
}

a.tripadvisor-card-badge:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: scale(1.05);
}

.google-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

a.google-card-badge:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: scale(1.05);
}

/* ==========================================================================
   Clickable Tour Cards & Interactive Elevations
   ========================================================================== */
.tour-card {
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12) !important;
}

.tour-card .tour-image {
    transition: transform 0.35s ease;
}

.tour-card:hover .tour-image {
    filter: brightness(1.02);
}

.tour-card .wishlist-heart {
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.tour-card .wishlist-heart:hover {
    transform: scale(1.15);
}

.tour-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tour-card:hover h3 a {
    color: var(--primary-color, #ea580c);
}

/* ==========================================================================
   Category Archive & Destination Catalog Pages (taxonomy-product-cat.php)
   ========================================================================== */
.atacama-category-archive-page {
    background: #f8fafc;
    color: #1e293b;
}

/* Hero Header */
.cat-archive-hero {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 70px 20px 60px 20px;
    position: relative;
}

.cat-hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

.cat-hero-breadcrumbs {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-hero-breadcrumbs a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cat-hero-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.cat-hero-breadcrumbs .bc-sep {
    color: #94a3b8;
}

.cat-hero-breadcrumbs .bc-curr {
    color: #f8fafc;
    font-weight: 700;
}

.cat-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cat-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.cat-badge-dest {
    background: var(--primary-color, #ea580c);
    color: #ffffff;
}

.cat-badge-reviews {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cat-badge-reviews .stars {
    color: #fbbf24;
}

.cat-badge-reviews .score {
    font-weight: 800;
}

.cat-badge-sernatur {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.cat-hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cat-hero-desc {
    font-size: 17px;
    line-height: 1.6;
    max-width: 800px;
    color: #f1f5f9;
    margin: 0 0 25px 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.cat-hero-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.cat-hero-meta-strip .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-hero-meta-strip strong {
    color: #ffffff;
}

/* Category Quick-Nav Pills Bar */
.cat-pills-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cat-pills-scroller {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cat-pills-scroller::-webkit-scrollbar {
    display: none;
}

.cat-pills-label {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-right: 5px;
}

.cat-nav-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cat-nav-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.cat-nav-pill.is-active {
    background: var(--primary-color, #ea580c);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
}

/* Toolbar & Grid */
.cat-archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.cat-archive-toolbar .section-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.cat-archive-toolbar .section-subtext {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.tours-count-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.cat-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .cat-tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .cat-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .cat-tours-grid {
        grid-template-columns: 1fr;
    }
    .cat-archive-hero {
        padding: 50px 20px 40px 20px;
    }
    .cat-hero-title {
        font-size: 28px;
    }
    .cat-hero-desc {
        font-size: 15px;
    }
}

/* Pagination */
.cat-archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.cat-archive-pagination ul.page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-archive-pagination .page-numbers a,
.cat-archive-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-archive-pagination .page-numbers a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--primary-color, #ea580c);
}

.cat-archive-pagination .page-numbers .current {
    background: var(--primary-color, #ea580c);
    color: #ffffff;
    border-color: var(--primary-color, #ea580c);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

/* Empty State */
.cat-empty-state {
    background: #ffffff;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    max-width: 720px;
    margin: 40px auto;
    border: 1px dashed #cbd5e1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.cat-empty-state .empty-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.cat-empty-state h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.cat-empty-state p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.cat-empty-state .empty-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.empty-btn-whatsapp:hover {
    background: #16a34a;
}

.empty-btn-home {
    display: inline-flex;
    align-items: center;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.empty-btn-home:hover {
    background: #1e293b;
}

/* Trust Strip */
.cat-trust-strip {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.cat-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

@media (max-width: 860px) {
    .cat-trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-box {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-box .trust-icon {
    font-size: 28px;
    line-height: 1;
}

.trust-box h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.trust-box p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.cat-whatsapp-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 35px 40px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.cat-whatsapp-cta-box h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.cat-whatsapp-cta-box p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
}

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
    white-space: nowrap;
}

.cta-whatsapp-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* ==========================================================================
   LANDING DE ALTA GAMA: GIRAS DE ESTUDIO
   ========================================================================== */

/* Botones de acción directa en Hero */
.cat-hero-actions-giras {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 28px 0;
    align-items: center;
}

.hero-giras-btn-cotizar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f97316;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-giras-btn-cotizar:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.hero-giras-btn-destinos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-giras-btn-destinos:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-giras-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-giras-btn-wa:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* Grilla de Beneficios Exclusivos */
.gira-benefits-section {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.gira-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gira-benefit-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.gira-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.gira-benefit-card .benefit-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}

.gira-benefit-card .benefit-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gira-benefit-card:hover .benefit-img-wrapper img {
    transform: scale(1.06);
}

.gira-benefit-card .benefit-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #fb923c;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(251, 146, 60, 0.4);
}

.gira-benefit-card .benefit-body {
    padding: 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gira-benefit-card .benefit-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.gira-benefit-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.gira-benefit-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Franja de Profesores Acompañantes */
.gira-teacher-strip {
    margin-top: 35px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.gira-teacher-strip .teacher-strip-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.gira-teacher-strip .teacher-strip-content h4 {
    margin: 0 0 4px 0;
    font-size: 17px;
    font-weight: 800;
    color: #1e3a8a;
}

.gira-teacher-strip .teacher-strip-content p {
    margin: 0;
    font-size: 14px;
    color: #2563eb;
    line-height: 1.5;
}

/* Botón Cotizar en Tarjetas de Tour */
.btn-tour-quote-gira {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f97316;
    color: #ffffff !important;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-tour-quote-gira:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

/* Tarjeta y Formulario Escolar */
.gira-quote-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.quote-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 30px 36px;
    border-bottom: 3px solid #f97316;
}

.quote-card-header h3 {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.quote-card-header p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

#atacama-gira-form {
    padding: 36px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.form-group .req {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f97316;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.gira-dest-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.gira-checkbox-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    user-select: none;
}

.gira-checkbox-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.gira-checkbox-pill input[type="checkbox"] {
    accent-color: #f97316;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.gira-btn-submit {
    background: #f97316;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.gira-btn-submit:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.45);
}

.gira-btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gira-form-msg {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.gira-form-msg.is-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.gira-form-msg.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.gira-wa-followup-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #22c55e;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
    margin-top: 8px;
}

.gira-wa-followup-btn:hover {
    background: #16a34a;
}

/* Acordeón FAQs */
.gira-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gira-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gira-faq-item:hover {
    border-color: #cbd5e1;
}

.gira-faq-item.is-open {
    border-color: #fdba74;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.08);
}

.gira-faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-family: inherit;
    transition: color 0.2s ease;
}

.gira-faq-q:hover {
    color: #ea580c;
}

.gira-faq-q .faq-icon {
    font-size: 20px;
    font-weight: 800;
    color: #f97316;
    flex-shrink: 0;
}

.gira-faq-a {
    display: none;
    padding: 0 22px 20px 22px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.gira-faq-item.is-open .gira-faq-a {
    display: block;
}

/* Responsive Giras */
@media (max-width: 992px) {
    .gira-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gira-benefits-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .cat-hero-actions-giras {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-giras-btn-cotizar,
    .hero-giras-btn-destinos,
    .hero-giras-btn-wa {
        justify-content: center;
    }
    #atacama-gira-form {
        padding: 22px 18px;
    }
    .quote-card-header {
        padding: 22px 18px;
    }
    .gira-teacher-strip {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ==========================================================================
   MENÚ SÁNDWICH MÓVIL DE DOS ETAPAS (DESTINOS + EMPRESA EN EL MISMO LUGAR)
   ========================================================================== */

.atacama-drawer-stages-nav {
    position: relative;
    display: flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    margin: 12px 18px 6px 18px;
    flex-shrink: 0;
    user-select: none;
}

.stage-indicator-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: #ffffff;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.atacama-drawer-stages-nav.stage-2-active .stage-indicator-pill {
    transform: translateX(100%);
}

.drawer-stage-tab {
    flex: 1;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 9px 10px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    color: #64748b;
    transition: color 0.2s ease;
}

.drawer-stage-tab .stage-tab-icon {
    font-size: 15px;
    line-height: 1;
}

.drawer-stage-tab .stage-tab-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.drawer-stage-tab .stage-tab-badge {
    font-size: 10px;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.drawer-stage-tab.is-active {
    color: #0f172a;
}

.drawer-stage-tab.is-active .stage-tab-badge {
    background: #ffedd5;
    color: #ea580c;
}

.atacama-drawer-stages-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.atacama-drawer-stages-track {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.atacama-drawer-stages-track.stage-2-active {
    transform: translateX(-50%);
}

.atacama-drawer-stage-panel {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 18px 20px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.drawer-stage-intro {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.stage-mini-pill {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: #0f172a;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 4px;
}

.stage-title-text {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mobile-nav-item {
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.mobile-nav-item:hover {
    border-color: #e2e8f0;
    background: #fafafa;
}

.mobile-nav-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.mobile-nav-link {
    flex: 1;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-link-icon {
    font-size: 20px !important;
    line-height: 1 !important;
    width: 24px !important;
    text-align: center !important;
    flex-shrink: 0;
}

.nav-link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.nav-link-sub {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.3;
}

.mobile-nav-link:hover .nav-link-title {
    color: #ea580c;
}

.mobile-nav-link.is-giras-highlight {
    background: #fff7ed;
    border-radius: 10px;
}

.mobile-nav-link.is-giras-highlight .nav-link-title {
    color: #c2410c;
}

.nav-link-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 6px;
    flex-shrink: 0;
}

.tag-hot {
    background: #fee2e2;
    color: #dc2626;
}

.tag-school {
    background: #f97316;
    color: #ffffff;
}

.mobile-accordion-toggle {
    background: transparent;
    border: none;
    border-left: 1px solid #f1f5f9;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.mobile-accordion-toggle:hover {
    color: #f97316;
    background: #fff7ed;
}

.mobile-accordion-toggle svg {
    transition: transform 0.25s ease;
}

.mobile-nav-item.is-expanded .mobile-accordion-toggle svg {
    transform: rotate(180deg);
    stroke: #ea580c;
}

.mobile-submenu-list {
    display: none;
    list-style: none !important;
    padding: 6px 12px 10px 42px !important;
    margin: 0 !important;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.mobile-nav-item.is-expanded .mobile-submenu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.mobile-submenu-list a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
}

.mobile-submenu-list a:hover {
    background: #ffffff !important;
    color: #ea580c !important;
}

.mobile-submenu-list a.sub-all-link {
    color: #ea580c !important;
    font-weight: 700 !important;
    margin-top: 4px;
}

.drawer-step-switch-card {
    margin-top: 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-step-switch-card:hover {
    background: #fff7ed;
    border-color: #fdba74;
}

.step-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-card-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.drawer-step-switch-card strong {
    font-size: 12px;
    color: #0f172a;
}

.drawer-step-switch-card:hover strong {
    color: #ea580c;
}

.step-card-icon {
    font-size: 20px;
}

.drawer-sernatur-box {
    margin-top: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sernatur-badge-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sernatur-badge-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sernatur-badge-info strong {
    font-size: 12px;
    color: #166534;
}

.sernatur-badge-info span {
    font-size: 10.5px;
    color: #15803d;
}

/* ===================================================
   CENTRO DE INFORMACIÓN Y PÁGINAS LEGALES (v1.3.1)
=================================================== */
.legal-page-main {
    background-color: #f8fafc;
}

.legal-document-content a {
    color: var(--primary-color, #ff6b00);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-document-content a:hover {
    color: var(--primary-hover, #ea580c);
}


