/*
Theme Name: CHECK IN Premium
Theme URI: https://viajescheckin.com/
Author: Antigravity
Description: Tema premium personalizado para Viajes Check In.
Version: 1.1.3
Template: twentytwentyfive
*/

/* 
=========================================
SISTEMA DE DISEÑO (DESIGN SYSTEM)
=========================================
*/
/* Google Fonts cargado vía <link rel="preload"> en header.php para eliminar render-blocking */

:root {
    --primary: #d9230f;
    --primary-light: #ff3c29;
    --secondary: #0a0a0b;
    --text: #1e293b;
    --text-light: #475569;
    --bg: #f1f5f9;
    --bg-secondary: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    overflow-x: clip; /* Modern alternative that doesn't break position: sticky */
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    font-size: 0.9rem;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--secondary);
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1440px; /* Expandido de 1200px */
    margin: 0 auto;
    padding: 0 24px;
}

/* 
=========================================
HEADER & NAVEGACIÓN
=========================================
*/
.top-notice-bar {
    background: var(--primary);
    color: white;
    padding: 6px 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1001;
    position: relative;
    line-height: 1;
}

.top-notice-bar p {
    margin: 0;
    padding: 0;
}

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04); /* Sombra más sutil y premium estilo LifeMiles */
    border-bottom: 1px solid rgba(0,0,0,0.03); /* Borde finísimo para definición */
    position: sticky;
    top: 0;
    z-index: 2000; /* Asegurar que esté sobre todo el contenido */
    padding: 8px 0; /* Compactado a 8px solicitado */
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.main-nav ul {
    vertical-align: middle;
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.btn-agencias {
    background: var(--primary);
    border-radius: 50px;
}

.btn-agencias a {
    color: white !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    display: block;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

/* Hamburguesa / Nav Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Animación Hamburguesa Activa */
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 992px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 80px 30px;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
    }

    .main-nav.active { right: 0; }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .main-nav a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }

    .btn-agencias {
        width: 100%;
        margin-top: 20px;
    }

    .btn-agencias a {
        text-align: center;
    }
}


/* 
=========================================
HERO SECTION
=========================================
*/
.premium-hero {
    background-color: #0d1b2a;
    background-image: url('assets/img/hero-bora-bora.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    overflow: visible;    /* permite que el trust bar se monte encima */
    width: 100%;
    position: relative;
    padding-bottom: 40px; /* espacio para que el card no tape contenido */
}

/* Gradiente de oscurecimiento: fuerte izquierda → transparente derecha */
.premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(10,20,35,0.93) 0%,
        rgba(10,20,35,0.78) 38%,
        rgba(10,20,35,0.30) 65%,
        rgba(10,20,35,0.05) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #1a1a1a;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
    pointer-events: none;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Mobile ordering for detail page */
/* Slide Content Overlay */
.slide-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.slide-content-overlay {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.slide-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease forwards;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

@media (max-width: 992px) {
    .slide-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

.slide-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .hero-nav-btn.prev { left: 10px; }
    .hero-nav-btn.next { right: 10px; }
}

.hero-nav-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.hero-nav-btn.prev { left: 20px; }
.hero-nav-btn.next { right: 20px; }

/* Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}

@media (max-width: 768px) {
    .hero-dots {
        bottom: 15px;
        gap: 6px;
    }
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .hero-dots .dot {
        width: 8px;
        height: 8px;
    }
}

.hero-dots .dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

/* CSS Auto-slider removed for JS robustness */

.hero-content {
    width: 100%;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through to banners */
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 
=========================================
SEARCH BOX SYSTEM
=========================================
*/
.search-box-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.home-search {
    margin-top: 40px;
}

.archive-search {
    margin: 10px auto 30px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Common Tabs Stylings */
.search-tabs {
    display: flex;
    justify-content: center;
}

.search-tab {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Style 1: Minimalist Glass */
.search-style-minimalist {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

.search-style-minimalist .search-tab {
    color: white;
    opacity: 0.7;
}

.search-style-minimalist .search-tab.active {
    opacity: 1;
}

.search-style-minimalist .search-tab.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: white;
}

/* Style 2: Solid (Default) */
.search-style-solid .search-tabs {
    background: #f8fafc;
    padding: 10px;
    gap: 10px;
}

.search-style-solid .search-tab {
    background: #e2e8f0;
    color: var(--text-light);
    border-radius: 50px;
    padding: 8px 20px;
}

.search-style-solid .search-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(217,35,15,0.2);
}

/* Style 3: Panoramic */
.search-style-panoramic {
    background: transparent;
    box-shadow: none;
}

.search-style-panoramic .search-tabs {
    margin-bottom: 20px;
}

.search-style-panoramic .search-tab {
    color: white;
    font-size: 1.1rem;
}

.search-style-panoramic .search-tab.active {
    color: var(--primary);
    background: white;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.search-style-panoramic .search-form-inner {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Style 4: OTA Modern (New) */
.search-style-ota-modern {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.search-style-ota-modern .search-tabs {
    background: transparent !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    margin-bottom: -1px; /* Solapar con el contenedor */
    padding: 0 20px !important;
    position: relative;
    z-index: 2;
}

.search-style-ota-modern .search-tab {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-bottom: none !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.8;
}

.search-style-ota-modern .search-tab.active {
    background: white !important;
    color: var(--secondary) !important;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    opacity: 1;
}

.search-style-ota-modern .search-form-inner {
    background: white !important;
    padding: 40px 30px !important;
    border-radius: 0 20px 20px 20px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    border: none !important;
}

.search-style-ota-modern .search-grid {
    gap: 15px !important;
}

.search-style-ota-modern .search-field select {
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    padding: 15px 20px !important;
    font-size: 1rem !important;
}

/* Search Grid */
.search-form-inner {
    padding: 24px 30px;
}

.search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.search-field {
    flex: 1 1 180px;
    min-width: 0;
}

@media (max-width: 768px) {
    .search-grid {
        gap: 8px;
    }
    .search-field {
        flex: 1 1 calc(50% - 10px);
    }
}

.search-field select {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s;
}

.search-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217,35,15,0.1);
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: var(--radius-md);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(217, 35, 15, 0.3);
}

.btn-search:hover {
    background: #c11f0d;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(217, 35, 15, 0.4);
}

/* 
=========================================
PROMO CARDS & GRID
=========================================
*/
.featured-promos {
    padding: 28px 0 !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

/* Default Grid (used in Home and sections with scroll) */
.promos-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 5px 30px;
    scrollbar-width: none;
}

/* Archive & Explorer Specific Grid (Wrapping) */
.promotions-catalog .promos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forzamos 4 columnas */
    gap: 30px; /* Mayor espacio en blanco para un look más premium con el nuevo ancho */
    overflow-x: visible;
    flex-wrap: wrap;
    padding: 20px 0;
}

.promotions-catalog .promo-card {
    flex: none;
    width: auto;
    min-width: 0;
}

.promos-grid::-webkit-scrollbar { display: none; }

.promo-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    scroll-snap-align: start;
}

/* ==========================================
   PROMOTIONS ARCHIVE & CARDS
   ========================================== */
.archive-header {
    background: transparent;
    padding: 15px 0 0; /* Reducido drásticamente de 60px */
    text-align: left;
}

.archive-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
    text-align: center;
    margin-bottom: 10px; /* Reducido de 40px */
}

.archive-title {
    font-size: 1.8rem !important;
    font-weight: 800;
    color: #111;
    margin: 0;
    padding-bottom: 5px; /* Control fino de espacio bajo el texto */
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.title-group {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centramos el subtítulo y título */
}

.archive-subtitle {
    margin-bottom: 5px; 
    opacity: 0.7; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.archive-title::after {
    display: none;
}

.promotions-catalog {
    padding: 0 0 40px;
    background: transparent;
    margin-top: 0;
}

.promotions-catalog .promos-grid {
    display: grid;
    gap: 20px;
    padding-top: 0; /* Eliminado el padding top para compactar */
}

/* View Selector Tabs */
.view-selector {
    display: flex;
    gap: 8px;
    justify-content: flex-start; /* Forzamos alineación izquierda */
}

/* Espaciador para equilibrar el grid y que el título quede al centro total */
.header-spacer {
    display: block;
}

.view-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.view-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(217, 35, 15, 0.2);
}

/* Explorer Layout */
.view-explorer .archive-layout-wrapper {
    display: grid;
    grid-template-columns: 290px 1fr; /* Sidebar ensanchado un poco más para evitar truncamiento */
    gap: 20px; /* Separación Sidebar - Contenido reducida */
    align-items: flex-start;
    min-height: 800px; /* Asegura espacio para sticky sidebar */
}

/* Ajuste de columnas para el grid en modo explorer (4 columnas siempre) */
.view-explorer .promos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Gap optimizado para ganar ancho de tarjeta */
}

.archive-sidebar {
    background: #fff;
    padding: 16px; /* Reducido de 20px para ganar espacio horizontal útil para texto */
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eef2f6;
    position: sticky;
    top: 90px; /* Ajuste más ceñido al header */
    z-index: 50;
    max-height: calc(100vh - 120px); /* Evitamos que sea más alto que el viewport */
    overflow-y: auto; /* Scroll interno si es necesario */
    scrollbar-width: thin;
}

/* Hide scrollbar for Chrome/Safari */
.archive-sidebar::-webkit-scrollbar {
    width: 6px;
}
.archive-sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Sidebar Navigation Elements */
.nav-group {
    margin-bottom: 30px;
}

.nav-group:last-child {
    margin-bottom: 0;
}

.nav-group-title {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    cursor: pointer; /* Indicar que es clickeable */
    user-select: none;
    padding: 5px 0;
}

.nav-group.is-collapsed .root-list {
    display: none !important;
}

.nav-group .nav-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
    opacity: 0.5;
}

/* ==========================================
   NEWS BAR / MARQUEE (Fix for duplication)
   ========================================== */
.checkin-news-marquee {
    background: var(--primary);
    color: white;
    padding: 6px 0;
    font-size: 0.8rem;
    text-align: center;
    z-index: 2001;
    position: relative;
}

.marquee-items {
    display: flex;
    justify-content: center;
    gap: 50px;
    overflow: hidden;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-action-btn {
    background: white;
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-group.is-collapsed .nav-toggle-icon {
    transform: rotate(-90deg);
}

.nav-group-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

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

.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background: #f1f5f9;
    color: var(--primary);
}

/* Hierarchical Sidebar Adjustments */
.nav-list {
    margin-bottom: 0px !important;
}

.children-list {
    margin-left: 15px !important;
    padding-left: 10px !important;
    border-left: 1.5px solid #e2e8f0;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

.nav-item {
    position: relative;
    margin-bottom: 2px;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 5px;
}

.nav-link-wrapper .nav-link {
    flex-grow: 1;
    margin: 0 !important;
    display: block !important; /* Dejar de ser flex para no estirar el texto */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-addon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    justify-content: flex-end;
}

.nav-toggle-btn, .nav-toggle-placeholder {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}













.nav-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 0;
}

.nav-toggle-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.is-collapsed > .children-list {
    display: none;
}

.is-expanded > .nav-link-wrapper .nav-toggle-btn i {
    transform: rotate(180deg);
}

.is-expanded > .nav-link-wrapper .nav-link {
    font-weight: 700;
    color: var(--secondary);
}

/* Filtros rápidos de categorías destacadas */
.sidebar-featured-filters {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-featured-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.sidebar-featured-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-featured-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}

.sidebar-featured-chip:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.sidebar-featured-chip.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

.sidebar-reset {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
}

.reset-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.reset-link i {
    font-size: 1.1rem;
    color: var(--text-light);
}

.reset-link:hover {
    background: #fffafa;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(217, 35, 15, 0.1);
}

.reset-link:hover i {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .view-explorer .promos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .view-explorer .archive-layout-wrapper {
        grid-template-columns: 1fr;
    }
    .promotions-catalog .promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Related items: Smaller on mobile */
    .related-grid-lg {
        gap: 15px !important;
    }
    .related-card-lg .promo-content {
        padding: 12px !important;
    }
    .related-card-lg .promo-title {
        font-size: 0.75rem !important;
        height: 2.4em !important;
    }
    .related-card-lg .promo-price span {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .promotions-catalog .promos-grid {
        grid-template-columns: 1fr;
    }
}

/* Removed redundant archive-search-wrapper styles */

/* Modern Filters UI */
.archive-search-wrapper .search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: center;
}

.search-form-inner.archive-inner {
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    margin-top: 10px;
}

.search-form-inner.archive-inner .search-grid {
    gap: 8px;
    padding: 0;
}

.archive-inner .search-field select {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    background-color: #fcfcfc !important;
}

.archive-inner .btn-search {
    padding: 10px 30px !important;
    font-size: 0.8rem !important;
}

.archive-search-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M1 4l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.archive-search-wrapper select:hover {
    border-color: var(--primary);
    background-color: #fff;
}

.archive-search-wrapper .btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.archive-search-wrapper .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ==========================================
   PREMIUM ARCHIVE HEADER
   ========================================== */
/* =========================================
   ARCHIVE TOPBAR UNIFICADA
   ========================================= */

.archive-header-line {
    height: 1px;
    background: rgba(217, 35, 15, 0.12);
}

.archive-topbar {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 10px 0;
    position: relative;
    z-index: 10;

}

.archive-topbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    position: relative;
}

/* Título — centrado absoluto sobre la barra */
.atb-title-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}

.atb-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
    font-weight: 700;
    line-height: 1;
}

.atb-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--secondary);
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tabs integrados */
.atb-tabs {
    flex-shrink: 0;
}

/* Buscador rápido */
.atb-search-form {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 16px;
    gap: 8px;
    max-width: 320px;
    width: 100%;
    margin-left: auto;
    transition: all 0.2s;
}

.atb-search-form:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217,35,15,0.08);
}

.atb-search-icon {
    color: var(--text-light);
    font-size: 16px;
    flex-shrink: 0;
}

.atb-search-input {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--secondary);
    width: 100%;
    outline: none;
    font-family: inherit;
}

.atb-search-input::placeholder {
    color: #bbc;
}

/* =========================================
   CHIPS DE FILTROS ACTIVOS
   ========================================= */

.active-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 14px;
}

.active-filters-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    flex-shrink: 0;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1.5px solid var(--primary);
}

.active-filter-chip i {
    font-size: 14px;
    opacity: 0.8;
}

.active-filter-chip:hover {
    background: #b01a08;
    border-color: #b01a08;
    color: #fff;
}

.active-filter-chip--parent {
    background: #fff;
    color: var(--primary);
}

.active-filter-chip--parent:hover {
    background: #fff5f5;
}

.active-filter-chip--current {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    cursor: default;
}

.active-filter-chip--current .chip-remove {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    transition: color 0.2s;
}

.active-filter-chip--current .chip-remove:hover {
    color: #fff;
}

.active-filters-clear {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    margin-left: 4px;
    padding: 4px 8px;
    border-radius: 50px;
    transition: all 0.2s;
}

.active-filters-clear:hover {
    color: var(--primary);
    background: #fff0ee;
}

@media (max-width: 768px) {
    .archive-topbar-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    .atb-title-wrap {
        position: static;
        transform: none;
        order: -1;
        width: 100%;
        pointer-events: auto;
    }
    .atb-title {
        font-size: 1rem;
    }
    .atb-search-form {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
    }
}

.archive-header {
    background: #fff;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.archive-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.header-center {
    text-align: center;
}

.archive-title-premium {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0;
    color: var(--secondary);
    text-transform: uppercase;
}

.title-accent {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* View Selector Pills */
.view-selector-premium {
    display: inline-flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 50px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.view-pill {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-pill i {
    font-size: 18px;
    margin-top: -2px;
}

.view-pill:hover {
    color: var(--secondary);
}

.view-pill.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
    .archive-header {
        padding: 40px 0 20px;
        margin-bottom: 20px;
    }
    .archive-header-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    .header-left, .header-center, .header-right {
        order: 2;
        display: flex;
        justify-content: center;
    }
    .header-center {
        order: 1;
    }
    .archive-title-premium {
        font-size: 1.6rem;
    }
    .view-selector-premium {
        margin: 10px 0;
    }
    
    /* Search Grid Spacing Fix */
    .search-form-inner {
        padding: 15px !important;
    }
    .search-grid {
        gap: 10px !important;
    }
    .search-field {
        flex: 1 1 auto !important;
        width: 100%;
    }
    .search-field select {
        padding: 12px 15px !important;
        font-size: 1rem !important;
        height: auto !important;
    }

    /* Explorer Mode Fix: Prevent sidebar overlap */
    .archive-layout-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }
    .archive-sidebar {
        position: static !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        z-index: 10;
    }
    .archive-content-main {
        width: 100% !important;
    }
}


/* Premium Promo Card */
.promo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.promo-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Ratio adjustments */
.promo-card.ratio-4-3 .promo-image { aspect-ratio: 4/3; }
.promo-card.ratio-1-1 .promo-image { aspect-ratio: 1/1; }
.promo-card.ratio-16-9 .promo-image { aspect-ratio: 16/9; }
.promo-card.ratio-4-5 .promo-image { aspect-ratio: 4/5; }

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Badge dentro del promo-content, antes del título */
.promo-badge-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.promo-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Compensar el padding-top del promo-content cuando hay badge */
.promo-content:has(.promo-badge-bar) {
    padding-top: 10px !important;
}

/* Indicador de term destacado en el sidebar */
.nav-term-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    flex-shrink: 0;
    vertical-align: middle;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.8), 0 0 0 3px currentColor;
}

.nav-link.term-destacada-link,
.term-destacada > .nav-link-wrapper > .nav-link {
    font-weight: 700;
    color: var(--secondary);
}

.promo-content {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-title {
    font-size: 0.82rem !important;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em !important;
    text-decoration: none;
}

.promo-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.promo-price {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.promo-price span {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 900;
}

.btn-view-detail-link {
    text-decoration: none !important;
}

.btn-view-detail {
    background: #f8f8f8;
    color: #333;
    padding: 8px 10px; /* Reducido de 14px a 10px */
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid #eee;
    white-space: nowrap; /* Prevent wrapping */
    letter-spacing: -0.2px; /* Ajuste para ganar espacio */
}

.promo-card:hover .btn-view-detail {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Flyer Download Button & Overlay */
.promo-card {
    position: relative;
}

.promo-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 4px; /* Reducido de 6px a 4px */
    position: relative;
    z-index: 5;
    margin-left: 5px; /* Reducido de 10px a 5px */
}

.btn-download-flyer {
    background: #fff;
    color: var(--primary);
    width: 30px; /* Slightly smaller to fit better */
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.btn-download-flyer:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(217, 35, 15, 0.25);
}

.btn-download-flyer i {
    font-size: 16px;
    margin-top: 1px;
}

/* Botón Personalizar Flyer — ícono customizer rojo de marca */
.btn-customizer-flyer {
    background: #fff !important;
    border: 1.5px solid var(--primary) !important;
    width: 32px !important;
    height: 32px !important;
}

.btn-customizer-flyer i {
    color: var(--primary);
    font-size: 17px;
}

.btn-customizer-flyer:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(217, 35, 15, 0.3) !important;
}

.btn-customizer-flyer:hover i {
    color: #fff;
}

/* Empty State */
.no-promos {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #eee;
}

.no-promos i {
    font-size: 50px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-promos h3 {
    color: #666;
    margin-bottom: 15px;
}

/* Pagination Refinement */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ==========================================
   NEWS MARQUEE BAR
   ========================================== */
.checkin-news-marquee {
    background: #000; /* Fondo negro solicitado */
    color: white !important;
    height: 34px; /* Aumentado ligeramente para aire */
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 34px;
    transition: all 0.35s ease;
    padding-right: 40px;
}

.checkin-news-marquee.news-bar-hidden {
    max-height: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    border: none !important;
}

.news-close-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.news-close-btn:hover {
    background: #e62419;
}

.marquee-content-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-items {
    display: flex;
    white-space: nowrap;
    animation: marqueeMove 30s linear infinite;
    align-items: center;
    flex-shrink: 0;
}

.marquee-items:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    height: 32px;
}

.news-text {
    font-size: 12px; /* 12px exacto solicitado */
    font-weight: 500;
    margin-right: 12px;
    line-height: 1; /* Para ayudar a cuadrar verticalmente */
}

.news-action-btn {
    background: #fff;
    color: #000;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
}

.news-action-btn:hover {
    background: #e62419;
    color: #fff;
    transform: scale(1.05);
}

@keyframes marqueeMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   GENERIC PREMIUM BUTTONS
   ========================================== */
.btn-checkin {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
/* ==========================================
   HOME BLOG — Noticias & Blog (rediseño)
   Layout: 1 card featured (izquierda, span 2 filas) + 2 cards derechas
   ========================================== */

.home-blog {
    max-width: 1320px;
    margin: 20px auto 0;
    border-radius: 20px;
    background: #ffffff;
    padding: 36px 40px 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef0f4;
}

.home-blog-inner {
    /* sin max-width adicional, el <section> ya lo controla */
}

.home-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.home-blog-header .section-title-centered {
    margin-bottom: 4px;
    text-align: left;
}
.home-blog-header .section-title-centered::after {
    left: 0;
    transform: none;
}

.home-blog-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.home-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s;
}
.home-blog-link:hover { gap: 10px; }

/* Grid: 1 featured (span 2 rows) + 2 cards a la derecha */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* ── News Card base ── */
.news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
    border-color: var(--primary);
}

/* ── Featured card: ocupa las 2 filas de la columna izquierda ── */
.news-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: #ffffff;
}
.news-card--featured .news-card__image {
    height: 280px;
}
.news-card--featured .news-card__title {
    font-size: 1.25rem;
}
.news-card--featured .news-card__excerpt {
    -webkit-line-clamp: 4;
}

/* ── Cards secundarias: horizontal (thumbnail izquierda, texto derecha) ── */
.news-card:not(.news-card--featured) {
    flex-direction: row;
    grid-column: 2;
}
.news-card:not(.news-card--featured) .news-card__image {
    width: 220px;
    min-width: 220px;
    height: auto;
    flex-shrink: 0;
}
.news-card:not(.news-card--featured) .news-card__body {
    padding: 14px 14px;
}
.news-card:not(.news-card--featured) .news-card__excerpt {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Partes de la card ── */
.news-card__image {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.news-card--featured:hover .news-card__image,
.news-card:not(.news-card--featured):hover .news-card__image {
    transform: scale(1.04);
}

/* Wrapper para contener el overflow del zoom en la imagen */
.news-card {
    overflow: hidden;
}

.news-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.news-card__cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.news-card__dot {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.news-card__date {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.news-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.35;
    margin: 0 0 8px;
    transition: color 0.2s;
}
.news-card:hover .news-card__title { color: var(--primary); }

.news-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card__cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.news-card:hover .news-card__cta { gap: 8px; }

.news-empty {
    grid-column: 1 / -1;
    color: var(--text-light);
    padding: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .news-card--featured {
        grid-column: 1;
        grid-row: auto;
    }
    .news-card:not(.news-card--featured) {
        grid-column: 1;
        flex-direction: row;
    }
    .home-blog {
        padding: 28px 24px 32px;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .news-card:not(.news-card--featured) {
        flex-direction: column;
    }
    .news-card:not(.news-card--featured) .news-card__image {
        width: 100%;
        height: 160px;
    }
    .home-blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==========================================
   NEWS VERTICAL CARDS (HOME) — LEGACY (no borrar, se usa en otras páginas)
   ========================================== */
.news-vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 10px;
}

/* ── News Card base ── */
.news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
    border-color: var(--primary);
}

/* ── Featured card: ocupa las 2 filas de la columna izquierda ── */
.news-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
    background: #ffffff;
}
.news-card--featured .news-card__image {
    height: 280px;
}
.news-card--featured .news-card__title {
    font-size: 1.25rem;
}
.news-card--featured .news-card__excerpt {
    -webkit-line-clamp: 4;
}

/* ── Cards secundarias: horizontal (thumbnail izquierda, texto derecha) ── */
.news-card:not(.news-card--featured) {
    flex-direction: row;
    grid-column: 2;
}
.news-card:not(.news-card--featured) .news-card__image {
    width: 220px;
    min-width: 220px;
    height: auto;
    flex-shrink: 0;
}
.news-card:not(.news-card--featured) .news-card__body {
    padding: 14px 14px;
}
.news-card:not(.news-card--featured) .news-card__excerpt {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Partes de la card ── */
.news-card__image {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.news-card--featured:hover .news-card__image,
.news-card:not(.news-card--featured):hover .news-card__image {
    transform: scale(1.04);
}

/* Wrapper para contener el overflow del zoom en la imagen */
.news-card {
    overflow: hidden;
}

.news-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.news-card__cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.news-card__dot {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.news-card__date {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.news-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.35;
    margin: 0 0 8px;
    transition: color 0.2s;
}
.news-card:hover .news-card__title { color: var(--primary); }

.news-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card__cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.news-card:hover .news-card__cta { gap: 8px; }

.news-empty {
    grid-column: 1 / -1;
    color: var(--text-light);
    padding: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .news-card--featured {
        grid-column: 1;
        grid-row: auto;
    }
    .news-card:not(.news-card--featured) {
        grid-column: 1;
        flex-direction: row;
    }
    .home-blog {
        padding: 28px 24px 32px;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .news-card:not(.news-card--featured) {
        flex-direction: column;
    }
    .news-card:not(.news-card--featured) .news-card__image {
        width: 100%;
        height: 160px;
    }
    .home-blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ==========================================
   NEWS VERTICAL CARDS (HOME) — LEGACY (no borrar, se usa en otras páginas)
   ========================================== */
.news-vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.news-vertical-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    height: 100%;
}

.news-vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.news-card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.news-vertical-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-card-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.news-card-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 700;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-vertical-card:hover .news-card-title {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-more {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.news-vertical-card:hover .news-card-more {
    color: var(--primary);
    gap: 10px;
}

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

@media (max-width: 600px) {
    .news-vertical-grid {
        grid-template-columns: 1fr;
    }
}

/*
=========================================
NEWS HORIZONTAL BAR — LEGACY (estructura antigua, mantenida por compatibilidad)
=========================================
*/
.news-horizontal-bar { background: transparent; padding: 0; }
.news-flex { display: block; }
.news-item { display: flex; align-items: center; gap: 15px; }
.news-item-thumb { width: 150px; height: 150px; border-radius: 16px; background-size: cover; }
.news-item-info { max-width: 300px; }
.news-item-category { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: var(--primary); }
.news-item-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    color: var(--secondary);
    margin-bottom: 12px;
}

.news-item-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    opacity: 0.9;
    margin-top: 5px;
    display: inline-block;
}

.news-item-link:hover { opacity: 1; }

/*
=========================================
FOOTER
=========================================
*/

.main-footer {
    background: var(--secondary);
    color: white;
    padding: 56px 0 0;
    margin-top: 0;
    border-top: 3px solid var(--primary); /* acento rojo en la parte superior */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* ── Columna 1: Logo + descripción + redes ── */
.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}
.footer-logo-link:hover { transform: translateY(-2px); }

.footer-logo-svg {
    height: 52px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255,255,255,0.6);
    max-width: 300px;
    font-size: 0.875rem;
    line-height: 1.75;
    margin: 0 0 24px;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.7);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
}
.footer-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-social-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Títulos de columna ── */
.footer-widget-title {
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ── Listas de links ── */
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-col li { margin-bottom: 10px; }
.footer-links-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links-col a::before {
    content: '›';
    font-size: 1rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.2s;
}
.footer-links-col a:hover {
    color: white;
    padding-left: 4px;
}
.footer-links-col a:hover::before { opacity: 1; }

/* ── Datos de contacto ── */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-contact-item i {
    color: var(--primary);
    font-size: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-item p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

/* ── Badges de compliance ── */
.footer-compliance {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
}
.compliance-badges {
    display: flex;
    align-items: center;
    gap: 24px;
}
.compliance-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.85;
}
.compliance-img:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* ── Copyright bar ── */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}
.footer-bottom a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-bottom a:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .compliance-badges { gap: 20px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .compliance-badges { flex-wrap: wrap; gap: 16px; }
    .compliance-img { height: 44px; }
}

/* 
=========================================
BLOG SYSTEM (Premium)
=========================================
*/
.blog-hero {
    padding: 60px 0 30px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.blog-hero .hero-title {
    color: var(--secondary) !important;
    font-size: 2.22rem;
    margin-top: 10px;
}

.blog-hero .hero-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.post-header {
    background: var(--secondary);
    padding: 120px 0 80px;
    color: white;
}

.post-meta {
    display: flex;
    gap: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
    align-items: center;
}

.post-title {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.1;
    color: white;
    font-weight: 800;
}

.post-category-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 0;
}

.post-featured-image {
    margin-bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
}

.entry-content p {
    margin-bottom: 25px;
}

.post-nav {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.post-nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
}

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

/* Archive Blog Styles */
.blog-archive-grid {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 40px;
}


.home-post-card {
    margin-bottom: 50px;
    overflow: hidden;
    display: flex;
    gap: 40px;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    background: white;
    height: 320px;
}

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

.post-card-thumb {
    flex: 0 0 320px;
    background-size: cover;
    background-position: center;
}

.post-card-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.post-card-title {
    font-size: 1.3rem;
    margin: 0 0 10px;
    line-height: 1.2;
}


.post-card-excerpt {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.post-card-more {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Styles */
.sidebar-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.sidebar-help-cta {
    background: var(--secondary);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sidebar-help-cta h4 {
    color: white;
    margin-bottom: 20px;
}

.cat-list {
    list-style: none;
    padding: 0;
}

.cat-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.cat-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

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

/* 
=========================================
MODERN BLOG GRID & EDITORIAL
=========================================
*/

/* 1. Archive/Home Layout */
.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-featured-card {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.blog-featured-card:hover {
    transform: translateY(-8px);
}

.featured-thumb-link {
    display: block;
    height: 320px;
    overflow: hidden;
}


.featured-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured-card:hover .featured-thumb-link img {
    transform: scale(1.05);
}

.featured-content {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.blog-standard-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.standard-thumb {
    height: 220px;
    overflow: hidden;
}

.standard-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.standard-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta-inline {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a { color: var(--secondary); text-decoration: none; }
.blog-title a:hover { color: var(--primary); }

/* 2. Single Post Editorial */
.editorial-container {
    max-width: 800px !important;
    margin: 0 auto;
}

.editorial-header {
    text-align: center;
    padding: 40px 0 30px;
}


.editorial-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    color: var(--secondary);
}


.editorial-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-family: 'Inter', sans-serif;
}


.editorial-body p { margin-bottom: 30px; }

.editorial-media {
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.editorial-media img { width: 100%; display: block; }

/* 3. Related Content */
.related-promos-section {
    background: #f8fafc;
    padding: 80px 0;
    margin-top: 80px;
    border-top: 1px solid #e2e8f0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .blog-posts-container { grid-template-columns: repeat(2, 1fr); }
    .blog-featured-card { grid-template-columns: 1fr; }
    .featured-thumb-link { height: 350px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .blog-archive-grid { grid-template-columns: 1fr; gap: 30px; }
    .blog-sidebar { margin-top: 20px; }
    .blog-posts-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-posts-container { grid-template-columns: 1fr; }
    .blog-featured-card { grid-column: span 1; }
    .editorial-title { font-size: 2.2rem; }
    .related-grid { grid-template-columns: 1fr; }
    .blog-standard-card { flex-direction: column; }
    .standard-thumb { height: 200px; flex: none; }
}


/* 
=========================================
SINGLE PROMOTION REFINEMENT
=========================================
*/
.promo-detail-header {
    background: transparent; /* Unificado con el fondo de la página */
    padding: 20px 0 0; /* Sin espacio inferior */
    border-bottom: none; /* Eliminamos la división visual */
}

.promo-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.promo-detail-header .promo-title {
    font-size: 1.4rem !important; /* Más compacto */
    margin: 0;
    line-height: 1.1;
    font-weight: 800;
    color: var(--secondary);
    flex: 1; /* Permite que el título ocupe el espacio necesario */
}


.header-actions {
    display: flex;
    gap: 8px; /* Más compacto */
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-download, .btn-quote {
    padding: 7px 14px; /* Más compacto */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-download {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 35, 15, 0.2);
}

.btn-quote {
    background: var(--secondary);
    color: white;
}

.btn-download:hover, .btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-flyer-detail {
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.btn-flyer-detail:hover {
    background: var(--primary) !important;
    color: white !important;
}

.promo-main-container {
    padding: 25px 0 25px;
}

/* Horizontal Info Box (replaces Sidebar) */
.promo-horizontal-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    margin-top: 20px; /* Separar del header */
}

.hi-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid var(--border);
    padding-right: 30px;
}

.hi-price-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
}

.hi-price-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.hi-price-suffix {
    font-size: 0.75rem;
    color: var(--text-light);
}

.hi-details-group {
    display: flex;
    gap: 30px;
    flex: 1;
    padding-left: 10px;
}

.hi-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hi-info-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.hi-row-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.hi-row-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.hi-tax-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.hi-badge {
    background: #f1f5f9;
    color: var(--secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #e2e8f0;
}

.hi-actions-group {
    display: flex;
    gap: 10px;
}

.hi-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.hi-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.hi-quick-description {
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hi-quick-description i {
    color: var(--primary);
}

@media (max-width: 991px) {
    .promo-horizontal-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .hi-price-box {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
    }
    .hi-details-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 0;
        width: 100%;
    }
}

/* =========================================
   HEADER UNIFICADO — PHU (Promo Header Unified)
   ========================================= */

.promo-detail-header {
    background: #fff;
    border-top: 1px solid rgba(217, 35, 15, 0.12);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 0;
}

.promo-header-unified {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
}

/* --- Col 1: Info --- */
.phu-col-info {
    padding: 14px 24px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

/* Fila 1: breadcrumb + descargas */
.phu-nav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.phu-nav-row .btn-back-archive {
    margin-bottom: 0;
    flex-shrink: 0;
}

.phu-nav-downloads {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Fila 2: título + precio */
.phu-title-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phu-col-info .promo-title {
    font-size: 1.15rem !important;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
    line-height: 1.2;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
    flex: 1;
}

.phu-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.phu-price-label {
    font-size: 0.65rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
}

.phu-price-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.phu-price-suffix {
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* --- Col 2: Meta datos --- */
.phu-col-meta {
    padding: 14px 24px;
    background: #fafafa;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

/* Fila superior col 2: validez + CTA */
.phu-meta-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.phu-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.phu-meta-item > i {
    width: 28px;
    height: 28px;
    background: #fff0ee;
    color: var(--primary);
    font-size: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phu-meta-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-light);
    font-weight: 700;
}

.phu-meta-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
}

.phu-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.phu-badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 9px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.phu-extra-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

/* Botón protagonista Dark SPACE (Opción A) */
@keyframes phu-space-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    }
    50% {
        transform: scale(1.25);
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(52, 211, 153, 0);
    }
}

.phu-space-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 12px;
    border-radius: 50px;
    background: #0f172a;
    border: 1px solid #334155;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    transition: all 0.22s ease;
    white-space: nowrap;
}

.phu-space-btn:hover,
.phu-space-btn:focus-visible {
    background: #1e293b;
    border-color: #475569;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.26);
}

.phu-space-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
    animation: phu-space-pulse 1.8s infinite ease-in-out;
}

.phu-space-badge {
    background: rgba(255, 255, 255, 0.14);
    color: #6ee7b7;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.phu-space-text {
    color: #ffffff;
    line-height: 1.2;
}

.phu-space-arrow {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.phu-space-btn:hover .phu-space-arrow {
    transform: translate(2px, -2px);
    color: #6ee7b7;
}

.phu-extra-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all 0.2s;
}

.phu-extra-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* --- Col 3: Acciones --- */
.phu-col-actions {
    padding: 14px 0 14px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    min-width: 230px;
}

/* Grupos con etiqueta */
.phu-action-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phu-group-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbc;
}

/* Grupo A: Descargas directas — pills outline */
.phu-download-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.phu-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.phu-dl-btn i {
    font-size: 15px;
    color: var(--primary);
}

.phu-dl-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff5f5;
    transform: translateY(-1px);
}

/* Grupo B: Herramientas Agencia — tarjetas con ícono circular */
.phu-tool-btns {
    display: flex;
    gap: 6px;
}

.phu-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex: 1;
    padding: 10px 6px 8px;
    border-radius: 10px;
    background: #fff;
    border: 1.5px solid #ffd6d0;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.3;
    transition: all 0.2s;
    cursor: pointer;
}

.phu-tool-btn .phu-tool-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.phu-tool-btn .phu-tool-icon i {
    font-size: 17px;
    color: #fff;
}

.phu-tool-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(217,35,15,0.25);
}

.phu-tool-btn:hover .phu-tool-icon {
    background: rgba(255,255,255,0.25);
}

.phu-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--primary) 0%, #b01a08 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217,35,15,0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.phu-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217,35,15,0.4);
    color: #fff;
    filter: brightness(1.08);
}

.phu-cta-btn i {
    font-size: 16px;
}

/* Responsive PHU */
@media (max-width: 1100px) {
    .phu-col-actions {
        min-width: 200px;
    }
    .phu-tool-btn {
        min-width: 54px;
    }
}

@media (max-width: 991px) {
    .promo-header-unified {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .phu-col-actions {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border);
        border-right: none;
        padding: 14px 0 0;
        flex-direction: row;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 10px;
        min-width: unset;
    }
    .phu-action-group {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .phu-cta-btn {
        flex-shrink: 0;
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .promo-header-unified {
        grid-template-columns: 1fr;
    }
    .phu-col-info,
    .phu-col-meta {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px 0;
    }
    .phu-col-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0 0;
    }
    .phu-action-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .phu-cta-btn {
        width: 100%;
        margin-left: 0;
    }
    .phu-space-btn {
        width: 100%;
        justify-content: center;
        padding: 9px 16px;
    }
}

.promo-content-full {
    width: 100%;
}


.promo-featured-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related Promos LG — 3 columnas + carrusel horizontal */
.related-promos-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.related-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.related-title {
    font-size: 1.4rem;
    margin: 0;
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.related-carousel-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (min-width: 993px) {
    .related-carousel-nav.only-mobile-tablet {
        display: none;
    }
}

.related-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #ffffff;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 0;
}

.related-nav-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 35, 15, 0.25);
}

.related-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.related-grid-lg {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.related-grid-lg::-webkit-scrollbar {
    height: 6px;
}

.related-grid-lg::-webkit-scrollbar-track {
    background: transparent;
}

.related-grid-lg::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
}

.related-card-lg {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

/* Sidebar Refinement */
.sticky-sidebar-card {
    background: white;
    padding: 25px; /* Más compacto de 35px a 25px */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.price-box {
    margin-bottom: 20px; /* Reducido de 25px */
    text-align: center;
}

.price-label {
    font-size: 0.75rem; /* Más compacto */
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.price-value {
    font-size: 2.5rem; /* Reducido de 3rem */
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}

.price-suffix {
    font-size: 0.75rem;
    color: var(--text-light);
}

.promo-quick-description {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.sidebar-info-footer {
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.info-row i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.row-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.row-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.sidebar-tax-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.sidebar-badge {
    background: #f1f5f9;
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #e2e8f0;
}

.sidebar-extra-actions {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
}

.outline-btn {
    border: 1px solid var(--border);
    color: var(--text);
}

.outline-btn:hover {
    background: #f8fafc;
    border-color: var(--secondary);
    color: var(--secondary);
}

@media (max-width: 992px) {
    .promo-layout-grid {
        display: flex;
        flex-direction: column;
    }
    .promo-sidebar {
        order: -1;
        margin-bottom: 30px;
    }
    .sticky-sidebar-card {
        position: relative;
        top: 0;
    }
    .promo-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .related-card-lg {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .related-card-lg {
        flex: 0 0 85%;
    }
    .price-value {
        font-size: 2.5rem;
    }
}

/* 
=========================================
QUOTE MODAL STYLES
=========================================
*/
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85); /* Slate oscuro con transparencia */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    padding: 20px 25px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    max-height: 95vh;
    overflow-y: auto;
}

.quote-modal-overlay.active .quote-modal-content {
    transform: translateY(0);
}

.quote-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s;
}

.quote-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.quote-modal-header {
    text-align: center;
    margin-bottom: 12px;
}

.quote-modal-header h2 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 2px;
    font-weight: 800;
}

.quote-modal-header p {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0;
}

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

.quote-form .form-group {
    margin-bottom: 10px;
}

.quote-form .form-row .form-group {
    margin-bottom: 0;
}

.quote-form label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-form input, 
.quote-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 0.8rem;
    transition: all 0.3s;
    outline: none;
}

.quote-form input:focus, 
.quote-form textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(217, 35, 15, 0.08);
}

.btn-submit-quote {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(217, 35, 15, 0.3);
}

.btn-submit-quote:hover {
    background: #c11f0d;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(217, 35, 15, 0.4);
}

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

.form-response {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-response.success {
    display: block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-response.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .quote-modal-content {
        padding: 30px 20px;
    }
    .quote-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* 
=========================================
PERFORMANCE & UX OPTIMIZATION
=========================================
*/

/* 1. Global Top Progress Bar (NProgress Style) */
#checkin-top-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: #ff0000 !important;
    z-index: 2147483647 !important;
    box-shadow: 0 0 20px #ff0000;
    transition: width 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

#checkin-top-progress.active {
    opacity: 1 !important;
    visibility: visible !important;
}

#checkin-top-progress.done {
    width: 100% !important;
    opacity: 0;
}

/* 2. Skeleton Loader Effect */
.skeleton-loading {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.skeleton-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: skeleton-pulse 1.5s infinite;
    z-index: 10;
}

@keyframes skeleton-pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 3. Smooth Content Fade In */
.ajax-fade-in {
    animation: contentFadeIn 0.5s ease backwards;
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. AJAX Target area blur */
#ajax-target-content.is-loading {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* 
=========================================
PROMOTION UI REFINEMENTS
=========================================
*/
.btn-back-archive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-back-archive:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(217, 35, 15, 0.1);
}

.btn-back-archive i {
    font-size: 16px;
    margin-top: -1px;
}

@media (max-width: 768px) {
    .promo-detail-header .promo-title {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
    }
    .related-promos-section {
        margin-top: 30px !important;
    }
    .related-promos-section .related-title {
        font-size: 1.1rem !important;
        margin-bottom: 0 !important;
    }
    .related-grid-lg {
        display: flex !important;
        gap: 15px !important;
    }
    .related-card-lg {
        flex: 0 0 84% !important;
    }
    
    .related-card-lg .promo-title {
        font-size: 0.7rem !important;
        height: 2.2em !important;
        margin-bottom: 8px !important;
    }
    
    .related-card-lg .promo-content {
        padding: 10px !important;
    }
    
    .related-card-lg .btn-view-detail {
        display: none !important; /* Hide button on tiny cards to save space */
    }
    
    .related-card-lg .promo-price span {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .promo-detail-header .promo-title {
        font-size: 1.1rem !important;
    }
    .promo-main-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .editorial-body-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Footer duplicates removed — ver bloque principal "FOOTER" más arriba */

/* 
=========================================
404 ERROR PAGE
=========================================
*/
.error-404-container {
    padding: 100px 0;
    text-align: center;
    background-color: var(--bg-secondary);
    min-height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404-illustration {
    max-width: 500px;
    width: 90%;
    margin-bottom: 40px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
0% { transform: translatey(0px); }
50% { transform: translatey(-20px); }
100% { transform: translatey(0px); }
}

.error-404-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.error-404-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-back-home {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(217, 35, 15, 0.2);
}

.btn-back-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(217, 35, 15, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .error-404-title {
        font-size: 2.5rem;
    }
    .error-404-text {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* ==========================================================================
   FLYER CUSTOMIZER
   ========================================================================== */
.btn-customize-flyer {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-customize-flyer:hover {
    background: var(--primary);
    color: #fff;
}

.customizer-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.customizer-tools .outline-btn {
    display: inline-block;
    padding: 12px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.customizer-tools .outline-btn:hover {
    background: var(--primary);
    color: #fff;
}

.customizer-canvas-area {
    box-shadow: inset 0 0 15px rgba(0,0,0,0.05); 
    border-radius: 8px;
    user-select: none;
}

#drag-logo-wrapper {
    z-index: 10;
}

#drag-logo-wrapper img {
    pointer-events: none; /* Para evitar problemas de drag con la imagen */
}

/* =========================================
   DOCX CONVERTED CONTENT
   ========================================= */
.word-content-section {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #eee;
    background-color: #fff;
    border-radius: 8px;
    margin: 20px 0;
    padding: 30px;
    overflow: hidden; /* Protect card boundaries */
}

.word-content-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.word-content-title i {
    font-size: 20px;
    margin-top: 4px;
}

.word-content-body {
    line-height: 1.7;
    color: #333;
    overflow-wrap: break-word; 
    word-wrap: break-word;
    word-break: normal !important;
    hyphens: none !important;
    max-width: 100%;
    text-align: justify;
}

.word-content-body h1, .word-content-body h2, .word-content-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.word-content-body h2,
.word-content-body h3,
.word-content-body h4 {
    margin-bottom: 0.75rem;
    color: var(--secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.word-content-body h2 { font-size: 1.25rem; font-weight: 800; }
.word-content-body h3 { font-size: 1.05rem; font-weight: 700; }
.word-content-body h4 { font-size: 0.95rem; font-weight: 700; }

.word-content-body p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.word-content-body .docx-table {
    width: auto !important;
    max-width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem !important; /* Reduced to stick footer/notes */
    display: table;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Word Table Perspective Alignment */
.word-content-body .docx-table-center { margin-left: auto !important; margin-right: auto !important; }
.word-content-body .docx-table-left   { margin-left: 0 !important; margin-right: auto !important; }
.word-content-body .docx-table-right  { margin-left: auto !important; margin-right: 0 !important; }

.word-content-body .docx-table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    vertical-align: middle; /* Centers prices/text relative to other cells */
}

.word-content-body .docx-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.word-content-body strong {
    color: var(--secondary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .word-content-section {
        padding: 20px !important;
        margin: 15px 0;
    }
    .word-content-body .docx-table {
        display: block;
        overflow-x: auto;
    }
}

/* Nuevos Estilos para Mejora de Word */
/* Consolidated consolidated styles */
.word-content-body {
    font-size: 0.85rem;
    color: #444;
    hyphens: none !important;
}

.docx-list {
    margin: 0.25rem 0 0.5rem 2rem !important;
    list-style-type: disc !important;
}

.docx-list li {
    margin-bottom: 0.2rem;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* .word-content-body .docx-table removed from here, consolidated above */

.word-content-body .docx-table-header {
    background-color: var(--primary) !important;
}

.word-content-body .docx-table-header th, 
.word-content-body .docx-table-header td {
    background-color: var(--primary) !important;
    color: #fff !important;
    text-align: center;
    vertical-align: middle;
    padding: 8px 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

.word-content-body .docx-table-header strong {
    color: #fff !important;
}

.word-content-body .docx-table td {
    font-size: 0.8rem;
    padding: 8px 6px;
    vertical-align: middle;
}

.table-responsive {
    margin: 20px 0;
    border-radius: 4px;
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important; /* Allows horizontal scroll for wide tables (Iguazu) */
    -webkit-overflow-scrolling: touch;
}

.docx-cell-p {
    margin-bottom: 0px; /* Reduced to avoid extra spacing between Enters */
    min-height: 1.2em;   /* Ensures empty lines take up space */
}

.docx-cell-p:last-child {
    margin-bottom: 0;
}

/* Bloques Sensibles (Comisiones/Incentivos) */
.docx-sensitive-block {
    background-color: #fff9c4 !important;
    border-left: 4px solid #fbc02d !important;
    padding: 10px 15px !important;
    margin: 12px 0 !important;
    position: relative;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.docx-sensitive-block::before {
    content: "INFO EXCLUSIVA AGENCIA";
    position: absolute;
    top: -10px;
    right: 15px;
    background: #fbc02d;
    color: #442e00;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* Estilos para el Programa Descargable (Membrete) */
.branded-program-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.branded-header-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

.branded-header-info {
    text-align: right;
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 0.85rem;
    line-height: 1.4;
}

.branded-header-info strong {
    font-size: 1.1rem;
    color: #000;
    display: block;
    margin-bottom: 4px;
}

@media print {
    .docx-sensitive-block {
        display: none !important;
    }

}

/* Estilos para el Cropper Modal */
#cropper-modal {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cropper-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#cropper-modal .quote-modal-content {
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#cropper-modal.active .quote-modal-content {
    transform: translateY(0);
}

.cropper-controls .outline-btn {
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cropper-controls .outline-btn:hover {
    background: #f5f5f5;
    border-color: var(--primary);
    color: var(--primary);
}

/* Ajuste fino para el contenedor del cropper */
.cropper-container {
    direction: ltr; /* Asegura que los controles no se inviertan en RTL */
}


/* =========================================
   WHATSAPP FLOTANTE (GLOBAL)
   ========================================= */
.checkin-wa-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.checkin-wa-btn-circle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #128C7E;
    background-image: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(18, 140, 126, 0.42), 0 2px 8px rgba(0, 0, 0, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.92);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    flex-shrink: 0;
}

.checkin-wa-float .dashicons,
.checkin-wa-float .checkin-wa-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.checkin-wa-status {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.checkin-wa-tooltip {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #0f172a;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.07);
    line-height: 1.25;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.checkin-wa-tooltip__title {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.checkin-wa-tooltip__sub {
    font-size: 11px;
    font-weight: 600;
    color: #128C7E;
}

.checkin-wa-float:hover .checkin-wa-btn-circle,
.checkin-wa-float:focus-visible .checkin-wa-btn-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.18);
}

.checkin-wa-float:hover .checkin-wa-tooltip,
.checkin-wa-float:focus-visible .checkin-wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulso de atención cada 4 segundos (GPU-composited con transform + opacity) */
@keyframes wa-pulse-gpu {
    0%, 30%   { transform: scale(1); opacity: 0; }
    50%       { transform: scale(1.32); opacity: 0.36; }
    75%, 100% { transform: scale(1.48); opacity: 0; }
}

.checkin-wa-btn-circle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.55);
    z-index: -1;
    pointer-events: none;
    animation: wa-pulse-gpu 4s ease-in-out infinite;
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .checkin-wa-float {
        bottom: 18px;
        right: 16px;
    }
    .checkin-wa-btn-circle {
        width: 54px;
        height: 54px;
    }
    .checkin-wa-float .dashicons,
    .checkin-wa-float .checkin-wa-icon {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
    .checkin-wa-tooltip {
        display: none;
    }
}


/* =========================================
   HERO CONTENT (texto + CTAs sobre el slider)
   ========================================= */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    padding: 0 24px 36px;
    width: 100%;
    max-width: 1440px;
    pointer-events: none; /* el slider sigue siendo clickeable */
}

.hero-content * {
    pointer-events: auto;
}

.hero-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin: 0 0 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.55);
    line-height: 1.15;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 22px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-checkin {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-checkin.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(217,35,15,0.5);
}

.btn-checkin.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217,35,15,0.55);
    color: #ffffff;
}

.btn-checkin.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-checkin.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .hero-content {
        padding-bottom: 24px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-checkin {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}


/* =========================================
   BARRA DE CONFIANZA (Trust Bar) — Feature Cards
   ========================================= */
.trust-bar {
    background: #ffffff;
    border: 1px solid #eef0f4;
    padding: 24px 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    max-width: 1320px;
    margin: -40px auto 0;   /* se monta 40px sobre el final del hero */
    border-radius: 20px;    /* esquinas ovaladas */
    position: relative;
    z-index: 10;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 0 24px;
    min-width: 200px;
}

.trust-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0f4f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.trust-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: #4a5568;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-feature-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.trust-feature-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.trust-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .trust-feature { padding: 0 14px; min-width: 160px; }
}

@media (max-width: 768px) {
    .trust-bar-inner { gap: 20px; justify-content: center; }
    .trust-feature { flex: 0 0 calc(50% - 10px); padding: 0 10px; }
    .trust-divider { display: none; }
}

@media (max-width: 480px) {
    .trust-feature { flex: 0 0 100%; justify-content: flex-start; }
}

/* =========================================
   SECCIÓN DE SERVICIOS
   ========================================= */
.services-section {
    background: var(--bg);
    padding: 36px 40px 32px;
    max-width: 1320px;
    margin: 20px auto 0;
    border-radius: 20px;   /* esquinas ovaladas igual que el trust bar */
}

.section-header-centered {
    text-align: center;
    margin-bottom: 24px;
}

.section-title-centered {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px;
}

.section-title-underline {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 16px 24px;
    text-align: center;
    border: 1px solid #eef0f4;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(185,28,28,0.10);
    border-color: var(--primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: transform 0.2s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Lucide renderiza <i data-lucide> → <svg>; también aplica a SVGs inline */
.service-icon i[data-lucide] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: #b91c1c;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.service-desc {
    font-size: 0.74rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title-centered { font-size: 1.35rem; }
}


/* =========================================
   BARRA DE STATS + CTA
   ========================================= */

.stats-cta-bar {
    background: #0d1b2a;
    padding: 32px 40px;
    max-width: 1320px;
    margin: 20px auto 0;
    border-radius: 20px;   /* esquinas ovaladas consistente */
}

.stats-cta-inner {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    color: var(--primary);
}

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

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
    max-width: 140px;
}

.stat-cta {
    padding: 0 0 0 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
}

.stat-cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.stat-cta-sub {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 10px;
}

.btn-stat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #075E54;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn-stat-cta:hover {
    background: #1ebe5b;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .stats-cta-inner {
        flex-wrap: wrap;
        gap: 24px;
    }
    .stat-item {
        flex: 0 0 calc(50% - 12px);
        border-right: none;
        padding: 0;
    }
    .stat-cta {
        padding: 0;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .stat-item { flex: 0 0 100%; }
    .stat-cta { flex-direction: column; align-items: flex-start; }
}

/* =========================================
   BOTÓN "AFILIARME" EN EL MENÚ
   ========================================= */
.btn-afiliarme {
    border-radius: 50px;
    border: 2px solid var(--primary);
}

.btn-afiliarme a {
    color: var(--primary) !important;
    padding: 7px 18px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    display: block;
}

.btn-afiliarme a:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-radius: 50px;
}

@media (max-width: 992px) {
    .btn-afiliarme {
        width: 100%;
        margin-top: 10px;
    }
    .btn-afiliarme a {
        text-align: center;
    }
}

/* =========================================
   HERO FULL-BG — Texto izquierda + Slider flotante derecha
   ========================================= */
.hero-split {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    min-height: 520px;
    width: 100%;
    max-width: 1440px;    /* el contenido se contiene, el fondo se extiende full */
    margin: 0 auto;
    gap: 0;
}

.hero-split-divider { display: none; }

/* Panel base — el derecho sobreescribe flex */
.hero-main-panel {
    position: relative;
    flex: 1;
}

/* El panel izquierdo NO recorta: necesita mostrar texto sobre fondo */
.hero-left-panel {
    overflow: visible;
}

/* Panel derecho: floating card — centrado verticalmente */
.hero-right-panel {
    flex: 0 0 360px;
    max-width: 360px;
    min-width: 0;
    align-self: center;
    height: 440px;            /* explicit height — needed so overflow:hidden doesn't collapse to 0 */
    margin: 40px 56px 40px 16px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.72), 0 0 0 1px rgba(255,255,255,0.13);
}

.hero-main-panel .hero-slider,
.hero-main-panel .hero-slide {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

/* Slider dentro del card flotante: altura reducida */
.hero-right-panel .hero-slider,
.hero-right-panel .hero-slide {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0;
}

/* ── Panel izquierdo: transparente sobre el fondo del hero ── */
.hero-left-panel,
.hero-placeholder-left {
    background: transparent !important;
}

/* El slider del panel izquierdo también debe ser transparente para mostrar el fondo hero */
.hero-left-panel .hero-slider {
    background: transparent !important;
}

.hero-left-panel .hero-slide {
    justify-content: flex-start;
    text-align: left;
    background: transparent !important;
}

.hero-left-panel .slide-content-overlay {
    text-align: left;
    padding: 0 48px 0 64px;
    max-width: 100%;
}

.hero-left-panel .slide-actions {
    justify-content: flex-start;
    margin-top: 8px;
}

.hero-placeholder-left {
    align-items: flex-start;
}

/* Acento rojo antes del subtítulo */
.hero-left-panel .slide-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-shadow: none;
}
.hero-left-panel .slide-subtitle::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--primary);
    flex-shrink: 0;
}

/* Botones del panel hero: más rectangulares y compactos */
.hero-left-panel .btn-checkin {
    border-radius: 8px;
    padding: 12px 26px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}
.hero-left-panel .btn-checkin.btn-primary {
    box-shadow: 0 4px 20px rgba(217,35,15,0.4);
}
.hero-left-panel .btn-checkin.btn-outline-white {
    border-width: 1.5px;
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.85);
}

/* Limita el ancho del overlay de contenido dentro del split */
.hero-split .slide-content-overlay {
    max-width: 460px;
}

/* ── Etiqueta editorial (badge) en slides del panel izquierdo ── */
.hero-panel-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 10;
}

/* ── Párrafo descriptivo en slides y placeholder ── */
.slide-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
    margin: 0 0 22px;
    line-height: 1.6;
}

/* ── Titular de alto impacto en el panel izquierdo ── */
.slide-title-hero {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.hero-word-accent {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .slide-title-hero { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .slide-title-hero { font-size: 1.6rem; }
}

/* ── Placeholder izquierdo: sin banners de propuesta de valor ── */
.hero-placeholder-left {
    background: linear-gradient(150deg, #1e3455 0%, #112035 50%, #0a1520 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Especificidad elevada para centrar verticalmente
   (sobrescribe justify-content:flex-start de .hero-left-panel .hero-slide) */
.hero-left-panel .hero-placeholder-left {
    justify-content: center;
}

/* Pseudo-elementos desactivados — fondo viene del .premium-hero */
.hero-placeholder-left::before,
.hero-placeholder-left::after {
    display: none;
}

.hero-placeholder-left .slide-content-overlay {
    text-align: left;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

/* Botones tamaño compacto para paneles reducidos */
.btn-checkin.btn-sm {
    padding: 7px 16px;
    font-size: 0.78rem;
}

/* ── Divisor visual entre paneles ── */
.hero-split-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.12);
    z-index: 30;
    pointer-events: none;
}

/* ── Responsive Option C ── */
@media (max-width: 1024px) {
    /* Tablet landscape: mantener 50/50 */
    .hero-main-panel { flex: 0 0 50%; max-width: 50%; }
    .hero-split .slide-content-overlay { max-width: 380px; }
}

@media (max-width: 768px) {
    /* Móvil: apilado vertical */
    .hero-split {
        flex-direction: column;
        min-height: auto;
        display: block;
    }
    .hero-main-panel {
        flex: none;
        max-width: 100%;
        width: 100%;
        position: relative;
    }
    /* El panel izquierdo necesita altura y posición relativa para sus hijos */
    .hero-left-panel {
        min-height: auto;
        height: auto;
        display: flex;
        align-items: flex-start;
        padding-top: 20px;
        overflow: visible;
    }
    .hero-left-panel .hero-slider {
        position: relative !important;
        height: auto !important;
        min-height: 280px !important;
        width: 100%;
        background: transparent !important;
    }
    /* El panel derecho (card) necesita centrado y ajuste de ancho */
    .hero-right-panel {
        min-height: 400px;
        margin: 0 auto 40px !important;
        flex: 0 0 auto;
        max-width: calc(100% - 32px);
        display: block;
        height: 400px;
        position: relative;
    }
    .hero-right-panel .hero-slider {
        position: relative !important;
        height: 100% !important;
        min-height: 400px !important;
    }
    .hero-left-panel .slide-content-overlay {
        padding: 15px 20px;
        max-width: 100%;
    }
    .hero-split-divider {
        display: none;
    }
    .slide-title-hero {
        font-size: 1.6rem !important;
        margin-bottom: 12px;
    }
    .slide-desc {
        font-size: 0.85rem;
    }
}

/*
=========================================
PÁGINA NOSOTROS
=========================================
*/

/* ── Hero ── */
.nosotros-hero {
    position: relative;
    padding: 70px 0 56px;
    overflow: hidden;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.nosotros-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,11,0.38) 0%, rgba(10,10,11,0.62) 100%);
}
.nosotros-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 80%, rgba(217, 35, 15, 0.10) 0%, transparent 65%);
}
.nosotros-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.nosotros-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.nosotros-hero-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255,107,107,0.35);
    flex-shrink: 0;
}
.nosotros-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(10, 20, 45, 0.75);
}
.nosotros-hero-sub {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 8px rgba(10, 20, 45, 0.75);
}

/* ── Tags y títulos compartidos ── */
.nosotros-section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.nosotros-section-tag.light {
    color: rgba(255,255,255,0.7);
}
.nosotros-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.nosotros-section-title.centered {
    text-align: center;
}

/* ── Sección Esencia ── */
.nosotros-esencia {
    padding: 64px 0;
    background: var(--bg);
}
.nosotros-esencia-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.nosotros-esencia-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 28px;
}
.nosotros-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.nosotros-stat {
    flex: 1;
    padding: 16px 14px;
    text-align: center;
}
.nosotros-stat-number {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.nosotros-stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
.nosotros-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}
/* Visual derecho */
.nosotros-esencia-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.nosotros-esencia-card {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: white;
    position: relative;
    overflow: hidden;
}
.nosotros-esencia-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: rgba(217, 35, 15, 0.12);
    border-radius: 50%;
}
.nosotros-esencia-card-icon {
    width: 38px;
    height: 38px;
    background: rgba(217, 35, 15, 0.15);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.nosotros-esencia-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
}
.nosotros-esencia-card-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}
.nosotros-esencia-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text);
}
.nosotros-esencia-badge-icon {
    width: 28px;
    height: 28px;
    background: rgba(217, 35, 15, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nosotros-esencia-badge-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
}

/* ── Sección Cómo Generamos Valor ── */
.nosotros-valor {
    padding: 64px 0;
    background: var(--bg-secondary);
}
.nosotros-valor-header {
    text-align: center;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nosotros-pilares {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.nosotros-pilar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nosotros-pilar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.nosotros-pilar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nosotros-pilar-icon--rojo {
    background: rgba(217, 35, 15, 0.1);
}
.nosotros-pilar-icon--rojo svg {
    stroke: var(--primary);
    width: 22px;
    height: 22px;
}
.nosotros-pilar-icon--oscuro {
    background: rgba(10, 10, 11, 0.07);
}
.nosotros-pilar-icon--oscuro svg {
    stroke: var(--secondary);
    width: 22px;
    height: 22px;
}
.nosotros-pilar-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.nosotros-pilar-desc {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* ── Sección CTA Final ── */
.nosotros-cta {
    padding: 64px 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}
.nosotros-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(217, 35, 15, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.nosotros-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.nosotros-cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.nosotros-cta-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}
.nosotros-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.nosotros-cta-actions .btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nosotros-cta-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.nosotros-cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    line-height: 1.4;
}
.nosotros-cta-feature-icon {
    width: 26px;
    height: 26px;
    background: rgba(217, 35, 15, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nosotros-cta-feature-icon svg {
    width: 13px;
    height: 13px;
    stroke: var(--primary-light);
}

/* ── Responsive Nosotros ── */
@media (max-width: 1024px) {
    .nosotros-esencia-inner,
    .nosotros-cta-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .nosotros-pilares {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nosotros-hero { padding: 56px 0 44px; }
    .nosotros-esencia,
    .nosotros-valor,
    .nosotros-cta { padding: 48px 0; }
    .nosotros-stats { flex-direction: column; }
    .nosotros-stat-divider { width: 100%; height: 1px; }
    .nosotros-cta-actions { flex-direction: column; }
    .nosotros-pilar { flex-direction: column; }
}

/*
=========================================
PÁGINA CONTACTO
=========================================
*/

/* ── Hero ── */
.contacto-hero {
    position: relative;
    padding: 64px 0 52px;
    overflow: hidden;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.contacto-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,11,0.38) 0%, rgba(10,10,11,0.62) 100%);
}
.contacto-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(217, 35, 15, 0.10) 0%, transparent 60%);
}
.contacto-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.contacto-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.contacto-hero-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255,107,107,0.35);
    flex-shrink: 0;
}
.contacto-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.contacto-hero-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.6;
    margin: 0;
}

/* ── Layout principal ── */
.contacto-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 64px;
    align-items: start;
}

/* ── Formulario ── */
.contacto-form-header {
    margin-bottom: 24px;
}
.contacto-form-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.contacto-form-sub {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contacto-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contacto-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contacto-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}
.contacto-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.contacto-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 35, 15, 0.08);
}
.contacto-input::placeholder {
    color: #b0bec5;
}
.contacto-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.contacto-textarea {
    height: 130px;
    resize: none;
    line-height: 1.6;
}
.contacto-form-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.contacto-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.contacto-form-note {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}
.contacto-feedback {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 4px;
}
.contacto-feedback--ok {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #1e7e44;
}
.contacto-feedback--err {
    background: rgba(217, 35, 15, 0.08);
    border: 1px solid rgba(217, 35, 15, 0.25);
    color: var(--primary);
}

/* ── Sidebar ── */
.contacto-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* WhatsApp CTA */
.contacto-wa-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #25D366;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.contacto-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    color: #fff;
}
.contacto-wa-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contacto-wa-icon svg {
    width: 22px;
    height: 22px;
}
.contacto-wa-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.contacto-wa-label {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contacto-wa-cta {
    font-size: 0.92rem;
    font-weight: 700;
    margin-top: 1px;
}
.contacto-wa-arrow {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    flex-shrink: 0;
}

/* Info card */
.contacto-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.contacto-info-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.contacto-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.contacto-info-item:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.contacto-info-icon {
    width: 34px;
    height: 34px;
    background: rgba(217, 35, 15, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contacto-info-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}
.contacto-info-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.contacto-info-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-light);
}
.contacto-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.55;
}

/* Horario */
.contacto-horario {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.contacto-horario-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-light);
    margin-bottom: 10px;
}
.contacto-horario-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contacto-horario-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--text);
}
.contacto-horario-row span:last-child {
    font-weight: 700;
    color: var(--secondary);
}

/* ── Responsive Contacto ── */
@media (max-width: 1024px) {
    .contacto-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contacto-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contacto-wa-btn { flex: 1 1 280px; }
    .contacto-info-card { flex: 1 1 280px; }
}
@media (max-width: 640px) {
    .contacto-hero { padding: 52px 0 40px; }
    .contacto-body { padding-top: 32px; padding-bottom: 48px; }
    .contacto-form-row { grid-template-columns: 1fr; }
    .contacto-form-footer { flex-direction: column; align-items: flex-start; }
    .contacto-sidebar { flex-direction: column; }
    .contacto-wa-btn, .contacto-info-card { flex: none; width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════
   PÁGINA: LIBRO DE RECLAMACIONES
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.libro-hero {
    position: relative;
    background: #1a0a08;
    background-image:
        linear-gradient(135deg, #1a0a08 0%, #3d0c0c 50%, #1a0a08 100%);
    overflow: hidden;
    padding: 64px 0 56px;
}
.libro-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.libro-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.libro-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
}
.libro-hero-badge-wrap {
    flex-shrink: 0;
}
.libro-badge-img {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.libro-hero-text {
    flex: 1;
}
.libro-hero-tag {
    display: inline-block;
    background: rgba(192,57,43,0.25);
    border: 1px solid rgba(192,57,43,0.4);
    color: #fca5a5;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.libro-hero-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.libro-hero-sub {
    margin: 0;
    font-size: 0.97rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.libro-hero-sub strong { color: #fca5a5; }

/* ── Container ── */
.libro-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

/* ── Intro bar ── */
.libro-intro-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 32px;
    font-size: 0.84rem;
    color: #1e40af;
}
.libro-intro-bar .dashicons {
    color: #2563eb;
    flex-shrink: 0;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ── Sections ── */
.libro-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.libro-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.libro-section-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #c0392b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 50%;
    margin-top: 2px;
}
.libro-section-title {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 800;
    color: #0a0a0b;
    line-height: 1.3;
}
.libro-section-sub {
    margin: 0;
    font-size: 0.81rem;
    color: #64748b;
}

/* ── Fields ── */
.libro-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.libro-field {
    margin-bottom: 16px;
}
.libro-field:last-child { margin-bottom: 0; }
.libro-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}
.libro-label .req { color: #c0392b; margin-left: 2px; }
.libro-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0a0a0b;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.libro-input:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.libro-select { cursor: pointer; }
.libro-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

/* ── Menor checkbox ── */
.libro-minor-toggle {
    margin-top: 16px;
}
.libro-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    user-select: none;
}
.libro-checkbox-label input[type=checkbox] { display: none; }
.libro-checkbox-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.libro-checkbox-label input:checked + .libro-checkbox-box {
    background: #c0392b;
    border-color: #c0392b;
}
.libro-checkbox-label input:checked + .libro-checkbox-box::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}
.libro-guardian {
    margin-top: 14px;
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

/* ── Radio tipo ── */
.libro-radio-group {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}
.libro-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.libro-radio-label:has(input:checked) {
    border-color: #c0392b;
    background: #fff5f5;
}
.libro-radio-label input[type=radio] { display: none; }
.libro-radio-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.libro-radio-label:has(input:checked) .libro-radio-box {
    border-color: #c0392b;
}
.libro-radio-label:has(input:checked) .libro-radio-box::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #c0392b;
    border-radius: 50%;
    display: block;
}
.libro-radio-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0a0a0b;
    margin-bottom: 2px;
}
.libro-radio-text small {
    font-size: 0.76rem;
    color: #64748b;
}

/* ── Response ── */
.libro-response {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.libro-response--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.libro-response--ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #14532d;
}

/* ── Submit ── */
.libro-submit-wrap {
    text-align: center;
    padding-top: 8px;
}
.libro-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.libro-submit-btn:hover:not(:disabled) {
    background: #a93226;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.45);
}
.libro-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.libro-submit-note {
    margin: 12px 0 0;
    font-size: 0.76rem;
    color: #94a3b8;
}

/* ── Legal footer ── */
.libro-legal-footer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.81rem;
    color: #64748b;
    line-height: 1.6;
}
.libro-legal-footer .dashicons {
    color: #94a3b8;
    flex-shrink: 0;
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}
.libro-legal-footer p { margin: 0; }
.libro-legal-footer strong { color: #374151; }

/* ── Success overlay ── */
.libro-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,11,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.libro-success-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    animation: libroFadeIn 0.3s ease;
}
@keyframes libroFadeIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.libro-success-icon {
    width: 64px;
    height: 64px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.libro-success-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #c0392b;
}
.libro-success-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0a0a0b;
}
.libro-success-sub {
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: #64748b;
}
.libro-success-num-wrap {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border-radius: 10px;
    padding: 16px 24px;
    margin-bottom: 20px;
}
.libro-success-num-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 4px;
}
.libro-success-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
}
.libro-success-info {
    margin: 0 0 24px;
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.6;
}
.libro-success-info strong { color: #0a0a0b; }
.libro-success-btn {
    display: inline-block;
    background: #0a0a0b;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s;
}
.libro-success-btn:hover { background: #374151; }

/* Spin animation para loading */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 0.8s linear infinite; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .libro-hero-content { flex-direction: column; gap: 24px; text-align: center; }
    .libro-badge-img { width: 80px; }
    .libro-hero-tag { font-size: 0.68rem; }
    .libro-section { padding: 22px 20px; }
    .libro-grid-2 { grid-template-columns: 1fr; }
    .libro-radio-group { flex-direction: column; }
    .libro-success-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
    .libro-hero { padding: 48px 0 40px; }
    .libro-container { padding: 32px 16px 48px; }
    .libro-section-header { flex-direction: column; gap: 10px; }
    .libro-submit-btn { width: 100%; justify-content: center; }
}



/* ═══════════════════════════════════════════════════════════════
   PÁGINA: TÉRMINOS Y CONDICIONES
   ═══════════════════════════════════════════════════════════════ */

/* ── Page background ── */
.tc-page { background: #f4f6f9; }

/* ── Hero ── */
.tc-hero {
    position: relative;
    background-image: linear-gradient(135deg, rgba(10, 20, 45, 0.74) 0%, rgba(14, 28, 64, 0.48) 100%), url('assets/img/hero-mountains-hd.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 72px 0 64px;
}
.tc-hero::after {
    display: none;
}
.tc-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 85% 40%, rgba(217,35,15,0.2) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(217,35,15,0.08) 0%, transparent 45%);
    pointer-events: none;
}
.tc-hero-deco {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 260px;
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.tc-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.tc-hero-content {
    flex: 1;
    max-width: 680px;
}
.tc-hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.tc-hero-badge-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(217,35,15,0.25), rgba(217,35,15,0.1));
    border: 1px solid rgba(217,35,15,0.4);
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    backdrop-filter: blur(4px);
}
.tc-hero-badge-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}
.tc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217,35,15,0.15);
    border: 1px solid rgba(217,35,15,0.3);
    color: #fca5a5;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.tc-hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #d9230f;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(217,35,15,0.3);
}
.tc-hero-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.025em;
}
.tc-hero-title em {
    font-style: normal;
    color: #ef4444;
}
.tc-hero-sub {
    margin: 0 0 24px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.tc-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.tc-hero-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.tc-hero-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #d9230f;
    opacity: 0.7;
}

/* ── Layout ── */
.tc-layout {
    display: grid;
    grid-template-columns: 256px 1fr;
    gap: 32px;
    align-items: start;
    padding: 40px 0 80px;
}

/* ── TOC sidebar ── */
.tc-toc {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}
.tc-toc-inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.tc-toc-header {
    background: linear-gradient(135deg, #1a1a1b, #2d1a18);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(217,35,15,0.2);
}
.tc-toc-header-icon {
    width: 28px;
    height: 28px;
    background: rgba(217,35,15,0.25);
    border: 1px solid rgba(217,35,15,0.4);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tc-toc-header-icon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #ef4444;
}
.tc-toc-title {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
}
.tc-toc-body {
    padding: 10px 10px 12px;
}
.tc-toc nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.tc-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 0.77rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    line-height: 1.4;
}
.tc-toc-link::before {
    content: '';
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.15s, background 0.15s;
}
.tc-toc-link:hover {
    background: #f8fafc;
    color: #1e293b;
    padding-left: 14px;
}
.tc-toc-link:hover::before { opacity: 0.7; }
.tc-toc-link.active {
    background: linear-gradient(90deg, #fef2f2, #fff5f5);
    color: #c0392b;
    font-weight: 700;
    padding-left: 14px;
}
.tc-toc-link.active::before {
    background: #d9230f;
    opacity: 1;
    width: 4px;
    height: 4px;
}
.tc-toc-footer {
    padding: 12px;
    border-top: 1px solid #f1f5f9;
}
.tc-toc-contact-label {
    margin: 0 0 8px;
    font-size: 0.69rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tc-toc-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0a0a0b;
    color: #fff;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s;
}
.tc-toc-contact-btn:hover { background: #374151; }
.tc-toc-contact-btn .dashicons { font-size: 13px; width: 13px; height: 13px; }

/* ── Intro box ── */
.tc-intro-box {
    background: linear-gradient(135deg, #fff, #fefce8);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.tc-intro-box::before {
    content: '§';
    position: absolute;
    right: 24px;
    top: -10px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(217,35,15,0.05);
    line-height: 1;
    pointer-events: none;
}
.tc-intro-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.tc-intro-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #d9230f;
}
.tc-intro-icon strong {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d9230f;
}
.tc-intro-box p { margin: 0 0 14px; }
.tc-intro-box p:last-child { margin: 0; }

/* ── Articles ── */
.tc-article {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    scroll-margin-top: 90px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.tc-article:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}
.tc-article--last { margin-bottom: 0; }
.tc-article-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: linear-gradient(90deg, #f9fafb, #ffffff);
    border-bottom: 1px solid #f1f5f9;
    cursor: default;
}
.tc-article-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #d9230f, #ef4444);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(217,35,15,0.35);
}
.tc-article-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a0a0b;
    line-height: 1.3;
}
.tc-article-body {
    padding: 20px 24px 22px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.8;
}
.tc-article-body p { margin: 0 0 12px; }
.tc-article-body p:last-child { margin: 0; }

/* ── Lists ── */
.tc-list {
    margin: 10px 0 12px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tc-list li {
    display: flex;
    gap: 10px;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.65;
    padding: 8px 12px;
    background: #fafafa;
    border-radius: 7px;
    border: 1px solid #f1f5f9;
}
.tc-list li::before {
    content: '›';
    color: #d9230f;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: -1px;
}

/* ── Highlight boxes ── */
.tc-highlight-box {
    background: linear-gradient(135deg, #fef2f2, #fff5f5);
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: #374151;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}
.tc-highlight-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #d9230f, #ef4444);
    border-radius: 4px 0 0 4px;
}
.tc-highlight-box p { margin: 0 0 8px; }
.tc-highlight-box p:last-child { margin: 0; }
.tc-highlight-box--warning {
    background: linear-gradient(135deg, #fffbeb, #fefce8);
    border-color: #fde68a;
}
.tc-highlight-box--warning::before {
    background: linear-gradient(to bottom, #f59e0b, #fbbf24);
}

/* ── Info grid ── */
.tc-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 14px 0 0;
}
.tc-info-item {
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.count {
    min-width: 25px;
    text-align: right;
    display: inline-block;
    font-size: 0.75rem !important;
    color: var(--secondary);
    background: transparent;
    font-weight: 500;
}
.tc-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d9230f, #ef4444);
}
.tc-info-label {
    display: block;
    font-size: 0.69rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.tc-info-value {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #0a0a0b;
}

/* ── Subsection ── */
.tc-subsection {
    margin-top: 16px;
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}
.tc-subsection:first-child { margin-top: 0; }
.tc-subsection-title {
    margin: 0 0 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tc-subsection-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #d9230f;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Links ── */
.tc-link {
    color: #d9230f;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted rgba(217,35,15,0.35);
    transition: border-color 0.15s;
}
.tc-link:hover {
    border-bottom-style: solid;
    border-bottom-color: #d9230f;
}

/* ── CTA Reclamo ── */
.tc-cta-reclamo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #0a0a0b, #1a1a1b);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.tc-cta-reclamo p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}
.tc-btn-reclamo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d9230f;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(217,35,15,0.4);
}
.tc-btn-reclamo:hover { background: #b71c0c; transform: translateY(-1px); }
.tc-btn-reclamo .dashicons { font-size: 14px; width: 14px; height: 14px; }

/* ── Legal signature ── */
.tc-legal-signature {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #0a0a0b 0%, #1e0f0d 50%, #0a0a0b 100%);
    border-radius: 14px;
    margin-top: 24px;
    border: 1px solid rgba(217,35,15,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.tc-sig-logo-img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
.tc-signature-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.tc-signature-info {
    flex: 1;
}
.tc-sig-name {
    margin: 0 0 3px;
    font-size: 0.9rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}
.tc-sig-ruc,
.tc-sig-address {
    margin: 0;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

/* ── Article grouping label ── */
.tc-section-group {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin: 28px 0 10px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tc-section-group::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tc-layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .tc-hero-badge { display: none; }
}
@media (max-width: 768px) {
    .tc-layout { grid-template-columns: 1fr; padding-top: 28px; }
    .tc-toc { position: static; max-height: none; overflow: visible; }
    .tc-hero { padding: 52px 0 44px; }
    .tc-hero-meta { flex-direction: column; gap: 10px; }
    .tc-info-grid { grid-template-columns: 1fr 1fr; }
    .tc-article-body { padding: 18px 20px; }
    .tc-article-header { padding: 14px 20px; }
    .tc-cta-reclamo { flex-direction: column; align-items: flex-start; }
    .tc-legal-signature { flex-direction: column; text-align: center; gap: 16px; }
    .tc-signature-divider { display: none; }
    .tc-intro-box { padding: 22px 24px; }
}
@media (max-width: 480px) {
    .tc-info-grid { grid-template-columns: 1fr; }
    .tc-list li { padding: 8px 10px; }
    .tc-article-num { border-radius: 6px; width: 28px; height: 28px; min-width: 28px; font-size: 0.74rem; }
}

/* ==============================================
   HERO HOME MOBILE OVERRIDES (Final Cascade)
   Corrige: espacio vacío arriba, imagen cortada
   y margen excesivo entre paneles en <768px
   ============================================== */
@media (max-width: 768px) {

    /* Hero background móvil optimizado (40KB) */
    .premium-hero {
        background-image: url('assets/img/hero-bora-bora-mobile.jpg') !important;
    }

    /* Panel izquierdo: sin altura fija — se adapta al contenido */
    .hero-left-panel {
        min-height: unset !important;
        height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Slider izquierdo: altura automática */
    .hero-left-panel .hero-slider {
        height: auto !important;
        min-height: unset !important;
        position: relative !important;
    }

    /* Slide izquierdo: centra verticalmente el texto sin espacio muerto */
    .hero-left-panel .hero-slide,
    .hero-left-panel .hero-placeholder-left {
        position: relative !important;
        height: auto !important;
        min-height: unset !important;
        padding-top: 32px !important;
        padding-bottom: 32px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    /* Contenido del texto: padding reducido, sin excesos */
    .hero-left-panel .slide-content-overlay {
        padding: 0 20px !important;
        max-width: 100% !important;
    }

    /* Panel derecho: card del banner/flyer centrado y sin bandas negras */
    .hero-right-panel {
        height: 440px !important;
        min-height: 380px !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto 40px !important;
        display: block !important;
        position: relative !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        background: transparent !important;
        box-shadow: 0 16px 48px rgba(0,0,0,0.55) !important;
    }

    /* Slider derecho: fondo transparente para no generar cuadros negros */
    .hero-right-panel .hero-slider {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        background: transparent !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    /* Slide derecho: llenar la tarjeta sin bandas negras laterales */
    .hero-right-panel .hero-slide {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        border-radius: 18px !important;
    }
}


/* ==============================================
   DROPDOWN / SUBMENU PREMIUM SYSTEM
   Estilo profesional para submenús del header
   ============================================== */

/* Padre con submenú: posición relativa + indicador */
.main-nav ul li.menu-item-has-children {
    position: relative;
}

/* Flecha indicadora en el item padre */
.main-nav ul li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 7px;
    vertical-align: middle;
    transition: transform 0.25s ease;
    opacity: 0.65;
}

.main-nav ul li.menu-item-has-children.dropdown-open > a::after {
    transform: rotate(225deg) translateY(-2px);
    opacity: 1;
}

/* Panel del submenú */
.main-nav ul .sub-menu {
    position: absolute;
    top: 100%;           /* Pegado al borde inferior del <li> — sin gap que rompa el hover */
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 200px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 0 8px 0; /* padding-top crea el espacio visual (reemplaza el gap) */
    list-style: none;
    gap: 0;
    flex-direction: column;
    align-items: stretch;

    /* Animación de entrada */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 3000;
    margin-top: 0;
}

/* Triángulo decorativo flotando en el área de padding superior */
.main-nav ul .sub-menu::before {
    content: '';
    position: absolute;
    top: 8px;            /* dentro del padding-top de 20px */
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 7px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

/* Mostrar cuando JS agrega .dropdown-open al li padre */
.main-nav ul li.menu-item-has-children.dropdown-open > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    display: flex;
}

/* Items del submenú */
.main-nav ul .sub-menu li {
    width: 100%;
}

.main-nav ul .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
    white-space: nowrap;
    border-radius: 0;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.main-nav ul .sub-menu li a:hover {
    background: rgba(217, 35, 15, 0.06);
    color: var(--primary);
    padding-left: 26px;
}

/* Línea divisoria entre items */
.main-nav ul .sub-menu li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Primero y último con bordes redondeados */
.main-nav ul .sub-menu li:first-child a {
    border-radius: 14px 14px 0 0;
}
.main-nav ul .sub-menu li:last-child a {
    border-radius: 0 0 14px 14px;
}
.main-nav ul .sub-menu li:only-child a {
    border-radius: 14px;
}

/* --- DESKTOP: Corrección de posición del submenú --- */
.main-nav ul li.menu-item-has-children {
    position: relative !important;
}

/* ── MOBILE: Submenú en acordeón ── */
@media (max-width: 992px) {

    .main-nav ul li.menu-item-has-children > a::after {
        float: right;
        margin-top: 6px;
    }

    .main-nav ul .sub-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8fafc;
        border-left: 3px solid var(--primary);
        margin: 8px 0 0 0;
        padding: 4px 0;
        display: none; /* JS lo controla con .active */
        flex-direction: column;
        min-width: unset;
        width: 100%;
    }

    .main-nav ul li.menu-item-has-children.active > .sub-menu {
        display: flex;
    }

    .main-nav ul .sub-menu::before { display: none; }

    .main-nav ul .sub-menu li a {
        font-size: 0.95rem;
        padding: 10px 20px;
        color: var(--secondary);
    }

    .main-nav ul .sub-menu li a:hover {
        padding-left: 26px;
        background: transparent;
    }
}


/* ==========================================================================
   VIAJES CHECK IN B2C (viajescheckin.com) — SISTEMA DE DISEÑO RENOVADO
   Paleta: Rojo Check In (#ef0017), Navy (#152e61), Slate (#0f172a / #475569)
   ========================================================================== */

:root {
    --vc-red: #ef0017;
    --vc-red-dark: #c80013;
    --vc-navy: #152e61;
    --vc-navy-dark: #0e2044;
    --vc-slate-900: #0f172a;
    --vc-slate-600: #475569;
    --vc-slate-200: #e2e8f0;
    --vc-bg-soft: #f8fafc;
}

.viajescheckin-b2c .main-nav > ul > li > a {
    white-space: nowrap;
}
.viajescheckin-b2c .main-header .btn-reserva-online a {
    background: var(--vc-red) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 9px 18px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    transition: background .2s ease, transform .2s ease;
}
.viajescheckin-b2c .main-header .btn-reserva-online a:hover {
    background: var(--vc-red-dark) !important;
    transform: translateY(-1px);
}

/* ── HERO PRINCIPAL B2C ── */
.vc-b2c-hero {
    background-size: cover;
    background-position: center;
    padding: 54px 0 68px;
    color: #fff;
    position: relative;
}
.vc-b2c-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.vc-hero-copy {
    max-width: 820px;
}
.vc-hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.vc-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(239, 0, 23, 0.92);
    color: #fff;
}
.vc-hero-badge--soft {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.vc-hero-h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(10, 20, 45, 0.75), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.vc-hero-accent {
    color: #ffd1d5;
    text-decoration: underline;
    text-decoration-color: var(--vc-red);
    text-underline-offset: 6px;
}
.vc-hero-lead {
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.96);
    margin: 0;
    max-width: 720px;
    text-shadow: 0 1px 8px rgba(10, 20, 45, 0.75);
}

/* ── HUB INTERACTIVO DE 8 PRODUCTOS (booking.viajescheckin.com) ── */
.vc-hub-widget {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 50px -12px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    color: var(--vc-slate-900);
}
.vc-hub-tabs {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    background: #f1f5f9;
    border-bottom: 1px solid var(--vc-slate-200);
    overflow-x: auto;
    scrollbar-width: none;
}
.vc-hub-tabs::-webkit-scrollbar { display: none; }
.vc-hub-tab {
    appearance: none;
    border: none;
    background: transparent;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: var(--vc-slate-600);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.vc-hub-tab:hover {
    color: var(--vc-navy);
    background: rgba(255, 255, 255, 0.65);
}
.vc-hub-tab.is-active {
    background: #fff;
    color: var(--vc-red);
    border-bottom-color: var(--vc-red);
}
.vc-hub-tab-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}
.vc-hub-panels {
    padding: 24px 28px;
}
.vc-hub-panel {
    display: none;
}
.vc-hub-panel.is-active {
    display: block;
}
.vc-hub-panel-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}
.vc-hub-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.vc-hub-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    color: var(--vc-red);
}
.vc-hub-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-hub-desc {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--vc-slate-600);
}
.vc-hub-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.vc-hub-hl {
    font-size: 12px;
    font-weight: 600;
    color: var(--vc-navy);
}
.vc-hub-panel-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vc-hub-search-form {
    display: flex;
    gap: 8px;
}
.vc-hub-search-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: var(--vc-slate-900);
}
.vc-hub-search-input:focus {
    outline: none;
    border-color: var(--vc-red);
}
.vc-hub-secondary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--vc-slate-600);
}
.vc-hub-online-link {
    color: var(--vc-navy);
    font-weight: 700;
    text-decoration: none;
}
.vc-hub-online-link:hover {
    color: var(--vc-red);
    text-decoration: underline;
}

/* ── BOTONES B2C ── */
.vc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--vc-red);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.vc-btn-primary:hover {
    background: var(--vc-red-dark);
    transform: translateY(-1px);
}
.vc-btn-lg {
    padding: 14px 26px;
    font-size: 15px;
}
.vc-btn-navy-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--vc-navy) !important;
    border: 2px solid var(--vc-navy);
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.vc-btn-navy-outline:hover {
    background: var(--vc-navy);
    color: #fff !important;
}
.vc-btn-wa-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ecfdf5;
    color: #047857 !important;
    border: 1.5px solid #a7f3d0;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.vc-btn-wa-outline:hover {
    background: #10b981;
    color: #fff !important;
    border-color: #10b981;
}

/* ── SECCIÓN 8 PRODUCTOS 360° ── */
.vc-products-section {
    padding: 64px 0;
    background: var(--vc-bg-soft);
}
.vc-section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vc-red);
    margin-bottom: 8px;
}
.vc-section-eyebrow--left { display: block; }
.vc-eyebrow-light { color: #fda4af; }
.vc-section-lead {
    max-width: 660px;
    margin: 12px auto 0;
    color: var(--vc-slate-600);
    font-size: 15px;
}
.vc-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.vc-product-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 14px;
    padding: 20px;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -10px rgba(21, 46, 97, 0.14);
    border-color: var(--vc-red);
}
.vc-product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.vc-product-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef2f2;
    color: var(--vc-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.vc-product-icon svg { width: 22px; height: 22px; }
.vc-product-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--vc-navy);
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 999px;
}
.vc-product-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-product-tagline {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--vc-slate-600);
    flex: 1;
}
.vc-product-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--vc-red);
}

/* ── TARJETAS DE PROMOCIÓN B2C ── */
.vc-b2c-promos-section {
    padding: 64px 0;
    background: #fff;
}
.vc-view-all-link {
    color: var(--vc-red);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.vc-quick-destinations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 26px;
}
.vc-dest-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--vc-slate-200);
    background: #fff;
    color: var(--vc-slate-600) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.vc-dest-pill:hover,
.vc-dest-pill.is-active {
    background: var(--vc-navy);
    border-color: var(--vc-navy);
    color: #fff !important;
}
.promos-grid.vc-b2c-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.archive-content-main .promos-grid.vc-b2c-grid {
    grid-template-columns: repeat(3, 1fr);
}
.vc-promo-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vc-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.16);
}
.vc-promo-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e2e8f0;
}
.vc-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.35s ease;
}
.vc-promo-card:hover .vc-promo-img {
    transform: scale(1.04);
}
.vc-promo-media-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}
.vc-card-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.vc-card-duration {
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 8px;
    margin-left: auto;
}
.vc-promo-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vc-card-dest {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vc-red);
    margin-bottom: 4px;
}
.vc-card-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vc-card-title a {
    color: var(--vc-slate-900);
    text-decoration: none;
}
.vc-card-title a:hover { color: var(--vc-red); }
.vc-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}
.vc-srv-chip {
    font-size: 11px;
    font-weight: 600;
    color: var(--vc-slate-600);
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}
.vc-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}
.vc-price-from {
    display: block;
    font-size: 11px;
    color: #64748b;
}
.vc-price-usd {
    font-size: 20px;
    font-weight: 800;
    color: var(--vc-navy);
    line-height: 1.1;
}
.vc-price-pen {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}
.vc-price-consult {
    font-size: 15px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.vc-btn-wa-sm {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #25d366;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background 0.15s ease;
}
.vc-btn-wa-sm:hover { background: #1da851; }
.vc-btn-detail {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 9px;
    background: var(--vc-navy);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}
.vc-btn-detail:hover { background: var(--vc-red); }

/* ── CADENAS HOTELERAS Y CIRCUITOS ── */
.vc-partners-section {
    padding: 56px 0;
    background: var(--vc-bg-soft);
}
.vc-partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.vc-partner-box {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 18px;
    padding: 28px;
}
.vc-partner-box--navy {
    background: var(--vc-navy);
    border-color: var(--vc-navy);
    color: #fff;
}
.vc-partner-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
}
.vc-partner-box--navy .vc-partner-title { color: #fff; }
.vc-partner-desc {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--vc-slate-600);
}
.vc-partner-box--navy .vc-partner-desc { color: rgba(255, 255, 255, 0.82); }
.vc-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.vc-partner-chip {
    display: inline-flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--vc-slate-200);
    background: #f8fafc;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.vc-partner-chip strong {
    font-size: 13px;
    color: var(--vc-navy);
}
.vc-partner-chip span {
    font-size: 11px;
    color: var(--vc-slate-600);
}
.vc-partner-chip:hover {
    border-color: var(--vc-red);
    background: #fff5f5;
}
.vc-partner-chip--dark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}
.vc-partner-chip--dark strong { color: #fff; }
.vc-partner-chip--dark span { color: #cbd5e1; }
.vc-partner-chip--dark:hover {
    background: var(--vc-red);
    border-color: var(--vc-red);
}

/* ── BARRA ARCHIVE ONLINE ── */
.vc-archive-online-strip {
    background: var(--vc-navy);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}
.vc-archive-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.vc-archive-strip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.vc-archive-strip-links a {
    color: #ffd1d5;
    font-weight: 700;
    text-decoration: none;
}
.vc-archive-strip-links a:hover { color: #fff; text-decoration: underline; }

/* ── SINGLE PROMOCIÓN B2C ── */
.vc-single-header {
    background: linear-gradient(135deg, var(--vc-navy) 0%, var(--vc-navy-dark) 100%);
    color: #fff;
    padding: 28px 0 34px;
}
.vc-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 12px;
}
.vc-single-breadcrumb a { color: #fff; text-decoration: none; }
.vc-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.vc-single-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}
.vc-single-badge--red { background: var(--vc-red); color: #fff; }
.vc-single-badge--navy { background: rgba(255, 255, 255, 0.16); color: #fff; }
.vc-single-title {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
}
.vc-single-subtitle {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    max-width: 780px;
}
.vc-single-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 32px;
    margin-top: 28px;
    align-items: start;
}
.vc-single-hero-media {
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 20px;
    border: 1px solid var(--vc-slate-200);
}
.vc-single-hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #0f172a;
    display: block;
}
.vc-single-includes-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.vc-include-pill {
    background: #f8fafc;
    border: 1px solid var(--vc-slate-200);
    color: var(--vc-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
}
.vc-program-box {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 16px;
    padding: 26px;
}
.vc-program-box-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--vc-slate-200);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.vc-program-box-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-btn-print {
    background: #f1f5f9;
    color: var(--vc-navy);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.vc-btn-print:hover { background: #e2e8f0; }

/* Sticky Booking Card B2C */
.vc-single-sidebar {
    position: sticky;
    top: 96px;
}
.vc-booking-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.14);
}
.vc-booking-card-price {
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.vc-bc-label {
    font-size: 12px;
    color: #64748b;
    display: block;
}
.vc-bc-amount {
    font-size: 34px;
    font-weight: 800;
    color: var(--vc-red);
    line-height: 1.1;
    margin: 4px 0;
}
.vc-bc-sub { font-size: 12px; color: #64748b; }
.vc-bc-pen {
    margin-top: 8px;
    display: inline-block;
    background: #f8fafc;
    border: 1px solid var(--vc-slate-200);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--vc-navy);
}
.vc-booking-card-meta {
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}
.vc-bc-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--vc-slate-600);
}
.vc-bc-meta-row strong { color: var(--vc-slate-900); text-align: right; }
.vc-booking-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.vc-btn-wa-full, .vc-btn-navy-full, .vc-btn-outline-full {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.vc-btn-wa-full { background: #25d366; color: #fff !important; }
.vc-btn-wa-full:hover { background: #1da851; }
.vc-btn-navy-full { background: var(--vc-navy); color: #fff !important; }
.vc-btn-navy-full:hover { background: var(--vc-navy-dark); }
.vc-btn-outline-full { background: #fff; color: var(--vc-navy) !important; border: 1.5px solid #cbd5e1; }
.vc-btn-outline-full:hover { border-color: var(--vc-red); color: var(--vc-red) !important; }
.vc-booking-card-cross {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.vc-booking-card-cross p {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--vc-slate-600);
}
.vc-cross-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vc-cross-links a {
    font-size: 12px;
    font-weight: 700;
    color: var(--vc-navy);
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
}
.vc-cross-links a:hover { background: var(--vc-red); color: #fff; }

/* ── FORMULARIO B2C REUTILIZABLE ([viajescheckin_cotizador]) ── */
.vc-b2c-form-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 16px;
    padding: 26px;
}
.vc-b2c-form-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-b2c-form-sub {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--vc-slate-600);
}
.vc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.vc-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--vc-slate-900);
    margin-bottom: 5px;
}
.vc-field input, .vc-field select, .vc-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.vc-field input:focus, .vc-field select:focus, .vc-field textarea:focus {
    outline: none;
    border-color: var(--vc-red);
}
.vc-form-actions {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vc-form-feedback {
    font-size: 13px;
    font-weight: 600;
}
.vc-form-feedback.is-success { color: #047857; background: #ecfdf5; padding: 10px 14px; border-radius: 8px; }
.vc-form-feedback.is-error { color: #b91c1c; background: #fef2f2; padding: 10px 14px; border-radius: 8px; }

/* Footer B2C Navy */
.vc-b2c-footer {
    background: var(--vc-navy-dark) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1120px) {
    .vc-products-grid,
    .promos-grid.vc-b2c-grid { grid-template-columns: repeat(3, 1fr); }
    .vc-hub-tabs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .vc-hub-panel-content,
    .vc-partners-grid,
    .vc-single-layout { grid-template-columns: 1fr; }
    .vc-products-grid,
    .promos-grid.vc-b2c-grid,
    .archive-content-main .promos-grid.vc-b2c-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-single-sidebar { position: static; }
}
@media (max-width: 600px) {
    .vc-b2c-hero { padding: 34px 0 46px; }
    .vc-hub-tab { padding: 10px 4px; font-size: 10.5px; letter-spacing: -0.02em; }
    .vc-hub-tab-icon svg { width: 18px; height: 18px; }
    .vc-hub-panels { padding: 18px 16px; }
    .vc-hub-search-form { flex-direction: column; }
    .vc-products-grid,
    .promos-grid.vc-b2c-grid,
    .archive-content-main .promos-grid.vc-b2c-grid,
    .vc-form-grid { grid-template-columns: 1fr; }
}

/* ── IMPRESIÓN LIMPIA B2C (Guardar Programa en PDF) ── */
@media print {
    .main-header, .checkin-news-marquee, .vc-single-sidebar, #cotizar-programa,
    .main-footer, .checkin-wa-float, .vc-btn-print { display: none !important; }
    .vc-single-layout { display: block !important; }
    .vc-program-box { border: none !important; padding: 0 !important; }
}


/* ==========================================================================
   BARRA DE CONFIANZA SUTIL, CLIENTES, REVIEWS, GRUPOS & ESCOLARES, CONÓCENOS
   ========================================================================== */

/* ── Barra de Confianza Sutil y Compacta (Home) ── */
.vc-trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--vc-slate-200);
    padding: 16px 0;
}
.vc-trust-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: center;
}
.vc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px;
}
.vc-trust-item + .vc-trust-item {
    border-left: 1px solid #f1f5f9;
}
.vc-trust-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--vc-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vc-trust-ic svg { width: 17px; height: 17px; }
.vc-trust-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--vc-slate-900);
    line-height: 1.2;
}
.vc-trust-item span {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    margin-top: 2px;
}

/* ── Divisiones Especializadas en Home (Escolares + Grupos) ── */
.vc-specialties-home {
    padding: 64px 0;
    background: #fff;
}
.vc-specialties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}
.vc-specialty-banner {
    background: #f8fafc;
    border: 1px solid var(--vc-slate-200);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.vc-specialty-banner h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-specialty-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vc-slate-600);
}
.vc-specialty-banner--navy {
    background: linear-gradient(135deg, var(--vc-navy) 0%, var(--vc-navy-dark) 100%);
    border-color: var(--vc-navy);
    color: #fff;
}
.vc-specialty-banner--navy h3 { color: #fff; }
.vc-specialty-banner--navy p { color: rgba(255, 255, 255, 0.85); }
.vc-spec-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vc-red);
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 999px;
}
.vc-spec-tag-light {
    background: rgba(255, 255, 255, 0.14);
    color: #ffd1d5;
}
.vc-srv-chip--dark {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ── Ellos Confían en Nosotros + Reviews de Viajeros ── */
.vc-trust-social-section {
    padding: 64px 0;
    background: var(--vc-bg-soft);
}
.vc-clients-section {
    padding: 56px 0;
    background: #fff;
}
.vc-clients-strip-wrap {
    margin: 26px auto 0;
    max-width: 920px;
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.vc-clients-strip-img {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    object-fit: contain;
}
.vc-reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 44px 0 20px;
}
.vc-reviews-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-reviews-rating {
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 6px 14px;
    border-radius: 999px;
}
.vc-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.vc-review-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vc-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.vc-review-dest {
    font-size: 12px;
    font-weight: 800;
    color: var(--vc-navy);
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 999px;
}
.vc-review-stars {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 1px;
}
.vc-review-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.58;
    color: var(--vc-slate-600);
    flex: 1;
}
.vc-review-author {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.vc-review-author strong {
    display: block;
    font-size: 13px;
    color: var(--vc-slate-900);
}
.vc-review-author span {
    font-size: 11.5px;
    color: #64748b;
}

/* ── 6 Valores en Conócenos ── */
.vc-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.vc-value-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 14px;
    padding: 24px;
}
.vc-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.vc-value-icon.is-red { background: #fef2f2; color: var(--vc-red); }
.vc-value-icon.is-navy { background: #eff6ff; color: var(--vc-navy); }
.vc-value-icon svg { width: 22px; height: 22px; }
.vc-value-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-value-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--vc-slate-600);
}

/* ── Páginas Especializadas: Viajes Escolares & Viajes en Grupo ── */
.vc-spec-hero {
    background-size: cover;
    background-position: center;
    padding: 68px 0 74px;
    color: #fff;
}
.vc-spec-hero-inner { max-width: 860px; }
.vc-spec-h1 {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin: 14px 0;
    color: #fff;
}
.vc-spec-lead {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
    max-width: 720px;
}
.vc-spec-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.vc-spec-pillars, .vc-spec-section {
    padding: 60px 0;
}
.vc-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 32px;
}
.vc-pillar-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 14px;
    padding: 22px;
}
.vc-pillar-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--vc-red);
    background: #fef2f2;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.vc-pillar-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-pillar-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--vc-slate-600);
}
.vc-spec-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 26px;
}
.vc-group-lines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.vc-spec-card {
    background: #fff;
    border: 1px solid var(--vc-slate-200);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vc-spec-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--vc-navy);
}
.vc-spec-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vc-slate-600);
    flex: 1;
}
.vc-spec-card--navy {
    border-top: 4px solid var(--vc-navy);
}
.vc-spec-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--vc-red);
    text-decoration: none;
    margin-top: 6px;
}
.vc-spec-card-link:hover { text-decoration: underline; }
.vc-school-includes-box {
    margin-top: 34px;
    background: var(--vc-navy);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
}
.vc-school-includes-box h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.vc-school-includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 18px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1024px) {
    .vc-trust-strip-inner,
    .vc-reviews-grid,
    .vc-pillars-grid,
    .vc-school-includes-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-values-grid,
    .vc-group-lines-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-trust-item + .vc-trust-item { border-left: none; }
}
@media (max-width: 720px) {
    .vc-specialties-grid,
    .vc-spec-cards-grid,
    .vc-values-grid,
    .vc-group-lines-grid,
    .vc-reviews-grid,
    .vc-pillars-grid,
    .vc-school-includes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .vc-trust-strip-inner { grid-template-columns: 1fr; gap: 8px; }
}
