/* ==========================================================================
   RESET & VARIABLES GLOBALES RENOVADAS (Colores Vivos + Profundidad)
   ========================================================================== */
:root {
    /* Azules más eléctricos, vivos y profundos */
    --azul-simmons: #0052CC;
    --azul-oscuro: #061933;
    --azul-premium: #0B3C7E;
    --gradient-oscuro: linear-gradient(135deg, #06152B 0%, #0D2C54 100%);
    --gradient-premium: linear-gradient(135deg, #0B3C7E 0%, #0052CC 100%);
    
    /* Dorado enérgico de alto impacto */
    --dorado-premium: #F4B41A;
    --dorado-claro: #FFF9E6;
    
    /* Textos y estados */
    --texto-oscuro: #1A2536;
    --texto-mutado: #62728D;
    --fondo-gris: #EBEAE4;
    --blanco: #F5F4F0;
    
    /* Botón de acción masiva con brillo neón */
    --whatsapp-green: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    
    --fuente-principal: 'Montserrat', sans-serif;
    --shadow-premium: 0 10px 30px rgba(6, 25, 51, 0.08);
    --shadow-glow: 0 8px 25px rgba(0, 82, 204, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Quita el flash gris al tocar en celulares */
}

body {
    font-family: var(--fuente-principal);
    color: var(--texto-oscuro);
    background-color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
}

/* Animaciones orgánicas flotantes y de pulso */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { transform: scale(1); box-shadow: 0 4px 15px var(--whatsapp-glow); }
    50% { transform: scale(1.02); box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
    100% { transform: scale(1); box-shadow: 0 4px 15px var(--whatsapp-glow); }
}

/* ==========================================================================
   HEADER (Premium Oscuro - Co-Branding Unificado)
   ========================================================================== */
.main-header {
    background-color: rgba(6, 21, 43, 0.98); /* Azul muy oscuro casi negro */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0; /* Un pelín más compacto para equilibrar los dos logos */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria súper sutil */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🟢 NUEVO: Contenedor flexible para alinear los dos logos matemáticamente */
.header-brand-group {
    display: flex;
    align-items: center;
    gap: 12px; /* Separación justa para mobile */
    height: 100%;
}

/* Control estricto de El Descanso en Mobile */
.logo-el-descanso-header img {
    height: 24px; 
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-el-descanso-header:hover img {
    transform: scale(1.03);
}

/* Línea divisoria vertical fina */
.header-brand-separator {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Control estricto de Simmons en Mobile */
.logo-simmons-header img {
    height: 13px; /* Al ser horizontal equilibra perfecto visualmente */
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); 
}

/* Botón de Mapa (Tu estilo original intacto) */
.btn-header-map {
    background: rgba(255, 255, 255, 0.05);
    color: var(--blanco);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.map-icon {
    width: 16px;
    height: 16px;
    color: var(--dorado-premium);
}

.btn-header-map:hover,
.btn-header-map:active {
    background: var(--dorado-premium);
    color: var(--azul-oscuro);
    border-color: var(--dorado-premium);
}
.btn-header-map:hover .map-icon,
.btn-header-map:active .map-icon {
    color: var(--azul-oscuro);
}

/* ==========================================================================
   Media Queries para Escritorio (A partir de tablets y PC)
   ========================================================================== */
@media (min-width: 768px) {
    .main-header {
        padding: 16px 0;
    }

    .header-brand-group {
        gap: 18px; /* Más aire entre logos en pantallas grandes */
    }

    /* Escalado premium para los logos en PC */
    .logo-el-descanso-header img { 
        height: 32px; 
    }
    
    .header-brand-separator {
        height: 20px;
    }

    .logo-simmons-header img { 
        height: 16px; 
    }

    .btn-header-map { 
        padding: 8px 16px; 
        font-size: 0.85rem; 
    }
}

/* ==========================================================================
   HERO MASSIVE (Ajuste Fino de Puntitos al Ras del Piso)
   ========================================================================== */
.hero-massive {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 120px; /* Mantenemos tu espacio original abajo */
}

.massive-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.massive-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.massive-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
}

/* 🟢 AJUSTE: Aseguramos que el contenedor picture y la imagen vertical ocupen todo el espacio */
.massive-slide picture,
.massive-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.massive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 25, 51, 0.8) 0%, rgba(6, 25, 51, 0.4) 50%, rgba(6, 25, 51, 0.8) 100%);
    z-index: 2;
}

.massive-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.hero-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 800px;
}

.hero-brand-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-el-descanso img {
    height: 38px;
    width: auto;
    display: block;
}

.logo-simmons-hero img {
    height: 20px;
    width: auto;
    display: block;
}

.brand-separator {
    width: 1px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-eyebrow {
    display: block;
    color: var(--dorado-premium);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.hero-phrase {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 5px auto 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-text-box h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8); 
    letter-spacing: -0.5px;
}

.hero-text-box h1 span {
    color: var(--dorado-premium);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.direccion-badge {
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px; 
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ffffff;
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.direccion-badge strong {
    color: var(--dorado-premium);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 🟢 AJUSTE: Cambiamos bottom negativo por píxeles fijos reales dentro del contenedor */
.slider-dots {
    position: absolute;
    bottom: 75px; /* 🎯 Se acomoda perfecto al ras del celu arriba de tus tarjetas de promos */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--dorado-premium);
    width: 25px;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .hero-text-box h1 { font-size: 3.2rem; }
    .logo-el-descanso img { height: 45px; }
    .logo-simmons-hero img { height: 24px; }
    .hero-eyebrow { font-size: 0.9rem; }
    .hero-phrase { font-size: 1.15rem; }
    .slider-dots { bottom: 95px; } /* 🎯 Despega los puntos en PC para convivir con el margen negativo de las promos */
}

/* ==========================================================================
   BANNER DE PROMO PREMIUM - OPTION B (Botón Inferior Integrado)
   ========================================================================== */
.promo-banner-premium {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background-color: var(--azul-oscuro); 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.promo-premium-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, rgba(6, 21, 43, 1) 100%);
    z-index: 1;
}

.promo-premium-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px; 
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(244, 180, 26, 0.3); 
    background: #06152B;
    animation: float 5s ease-in-out infinite; 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.promo-premium-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

.promo-premium-media {
    width: 100%;
    overflow: hidden;
}

.promo-premium-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; 
    object-fit: contain;  
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* El Badge de Oportunidad se queda fijo arriba a la izquierda intacto */
.promo-premium-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #EF4444; 
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 🟢 NUEVO: Barra inferior oscura que contiene el botón */
.promo-premium-footer-action {
    background: rgba(6, 21, 43, 0.85);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 4;
}

/* El Botón Verde ahora es un bloque limpio y centrado abajo */
.btn-promo-premium-cta {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1EBE55 100%);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    max-width: 400px; /* Ancho controlado estético */
}

/* EFECTO SHIMMER CONTINUO */
.promo-premium-shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-30deg);
    z-index: 3;
    animation: promoShimmer 6s infinite ease-in-out;
}

@keyframes promoShimmer {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* Hover generales de la tarjeta */
.promo-premium-container:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--dorado-premium);
    box-shadow: 0 40px 80px rgba(244, 180, 26, 0.15);
}

.promo-premium-container:hover img {
    transform: scale(1.01); 
}

.promo-premium-container:hover .btn-promo-premium-cta {
    background: linear-gradient(135deg, #1EBE55 0%, #17A34A 100%);
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   Adaptación Estricta para Celulares
   ========================================================================== */
@media (max-width: 768px) {
    .promo-banner-premium {
        padding: 40px 0;
    }
    
    .promo-premium-container {
        width: 92%;
        border-radius: 24px;
        max-width: 420px; 
    }

    .promo-premium-container img {
        aspect-ratio: 9 / 16; 
        height: auto;
    }

    .promo-premium-badge {
        top: 15px;
        left: 15px;
        padding: 6px 14px;
        font-size: 0.7rem;
    }

    .promo-premium-footer-action {
        padding: 15px;
    }

    .btn-promo-premium-cta {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}
/* ==========================================================================
   PROMOS SECTION (SUPERPUESTAS AL HERO - Rediseño Premium)
   ========================================================================== */
.promos-section {
    padding: 0 0 50px 0;
    background-color: transparent;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.promos-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-info {
    position: relative;
    z-index: 2;
}

.promo-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.promo-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 280px;
    margin: 0 auto;
}

.promo-card.promo-tarjeta {
    background: linear-gradient(135deg, var(--azul-premium) 0%, var(--azul-oscuro) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-card.promo-tarjeta h3 { color: #ffffff; }
.promo-card.promo-tarjeta p { color: #B0C4DE; }

.promo-card.promo-contado {
    background: linear-gradient(135deg, var(--dorado-premium) 0%, #E09F00 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-card.promo-contado h3 { color: var(--azul-oscuro); }
.promo-card.promo-contado p { color: rgba(6, 25, 51, 0.8); }

.promo-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

@media (min-width: 768px) {
    .promos-section { margin-top: -80px; }
    .promos-grid { flex-direction: row; }
    .promo-card { flex: 1; padding: 40px 30px; }
    .promo-info h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   CATÁLOGO SURTIDO (Mini Carruseles, Hover y Layout Exclusivo Centrado)
   ========================================================================== */
.catalog-section {
    padding: 70px 0;
    background-color: var(--blanco);
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--azul-premium);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--texto-mutado);
    font-size: 1rem;
    margin-top: 8px;
}

/* 🎯 CAMBIO CLAVE: Pasamos a Flexbox responsivo para centrar huérfanos */
.catalog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Esto centra de forma automática la última fila */
    gap: 30px;
    width: 100%;
}

.catalog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid #EAF0F9;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    width: 100%; /* Por defecto ocupa todo el ancho en mobile */
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 🎯 NUEVO: Cursor de lupa premium para indicar que es cliqueable */
.catalog-zoom-img {
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.2s ease;
}

.catalog-card:hover .card-slide img.catalog-zoom-img {
    transform: scale(1.04);
}

.card-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-slide {
    min-width: 100%;
    width: 100%;
}

.card-slide img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    object-position: top; 
    display: block;
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-premium);
    color: var(--blanco);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--azul-oscuro);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.card-slider-container:hover .card-slider-btn {
    opacity: 1;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 8px;
    font-weight: 800;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--texto-mutado);
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-card-wa {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--whatsapp-glow);
}

/* 🎯 NUEVO: ESTILOS DEL LIGHTBOX MODAL (Pantalla Completa) */
.catalog-modal {
    display: none; 
    position: fixed;
    z-index: 9999; /* Por encima de la barra y el botón de WhatsApp */
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 21, 43, 0.96); /* Tu color azul oscuro con opacidad alta */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 850px;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    animation: zoomModal 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.modal-close:hover {
    color: var(--dorado-premium);
}

@keyframes zoomModal {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Media Queries para Escritorio y Mobile Adaptivo
   ========================================================================== */
@media (max-width: 768px) {
    .card-slider-btn { opacity: 0.7; width: 32px; height: 32px; }
    .catalog-modal { padding-top: 80px; }
    .modal-content { width: 95%; }
    .modal-close { top: 15px; right: 25px; font-size: 38px; }
}

@media (min-width: 768px) {
    /* 🎯 Ajustamos el ancho exacto para que entren 2 por fila manteniendo el gap de 40px */
    .catalog-grid { gap: 40px; }
    .catalog-card { width: calc(50% - 20px); max-width: 450px; } 
}

/* ==========================================================================
   QUIZ INTERACTIVO - ESTILO WIDGET PREMIUM
   ========================================================================== */
.quiz-section {
    padding: 90px 0;
    background: var(--gradient-oscuro);
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 32px;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(6, 21, 43, 0.4);
}

.quiz-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 8px;
}

.quiz-header p {
    font-size: 0.95rem;
    color: #94A3B8;
    text-align: center;
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Barra de progreso fluida */
.progress-bar {
    background: rgba(255, 255, 255, 0.06);
    height: 6px;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress {
    background: linear-gradient(90deg, var(--dorado-premium), #FFD066);
    height: 100%;
    width: 0%; /* Inicia en 0 y se mueve fluido con JS */
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Pasos y transiciones */
.quiz-step {
    display: none;
    opacity: 0;
}

.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.5s ease forwards;
}

.quiz-step h3 {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
}

/* Grilla de Tarjetas Visuales (Opciones) */
.quiz-grid-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.quiz-card-option {
    background: rgba(255, 255, 255, 0.96);
    color: var(--azul-oscuro);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quiz-card-option:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(244, 180, 26, 0.4);
}

/* Tarjeta Seleccionada (Iluminada en Dorado) */
.quiz-card-option.selected {
    border-color: var(--dorado-premium);
    background: var(--dorado-claro);
    box-shadow: 0 0 20px rgba(244, 180, 26, 0.2);
}

/* Íconos de las Opciones */
.option-icon {
    font-size: 1.8rem;
    color: var(--azul-simmons);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.quiz-card-option:hover .option-icon {
    transform: scale(1.1);
}

.option-icon.alert-icon { color: #EF4444; }
.option-icon.success-icon { color: #10B981; }

.option-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.option-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--texto-mutado);
    line-height: 1.3;
}

/* Pantalla de Espera (Calculando) */
.step-loading, .step-result {
    text-align: center;
}

.loading-wrapper {
    padding: 30px 0;
}

.premium-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--dorado-premium);
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 0.8s linear infinite;
}

/* Cierre y Botón de WhatsApp Masivo */
.result-badge {
    display: inline-block;
    background: rgba(244, 180, 26, 0.15);
    color: var(--dorado-premium);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(244, 180, 26, 0.3);
}

.btn-quiz-submit {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #1EBE55 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    max-width: 450px;
    padding: 18px;
    border-radius: 50px;
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-quiz-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Animaciones */
@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Grillas */
@media (min-width: 576px) {
    .quiz-grid-options {
        grid-template-columns: repeat(3, 1fr);
    }
    .quiz-grid-options.grid-two-cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .quiz-header h2 { font-size: 2.2rem; }
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS (Fase 3)
   ========================================================================== */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--fondo-gris);
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card {
    background-color: var(--blanco);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #EBF1FA;
}

.stars {
    color: var(--dorado-premium);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.review {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--texto-oscuro);
    margin-bottom: 15px;
    line-height: 1.5;
}

.author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--azul-premium);
    display: block;
}

/* ==========================================================================
   LOCATION SECTION (Premium Dividida y Renovada)
   ========================================================================== */
.location-section-premium {
    padding: 90px 0;
    background-color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna en mobile */
    gap: 40px;
    align-items: center;
}

/* --- Columna Izquierda (Media) --- */
.location-media-box {
    width: 100%;
    height: 300px; /* Altura fija para mobile */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- Columna Derecha (Información) --- */
.location-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
}

.location-header {
    margin-bottom: 10px;
}

.location-main-icon {
    color: var(--dorado-premium);
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(244, 180, 26, 0.3));
}

.location-info-box h2 {
    font-size: 1.7rem;
    color: var(--azul-oscuro);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Ítems de Información Minimalistas */
.info-item {
    display: flex;
    align-items: start;
    gap: 18px;
}

.info-icon {
    color: var(--azul-simmons);
    font-size: 1.3rem;
    margin-top: 3px;
}

.info-text strong {
    display: block;
    font-size: 0.8rem;
    color: var(--texto-mutado);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.info-text p {
    font-size: 1rem;
    color: var(--texto-oscuro);
    line-height: 1.5;
}

/* Botón CTA Nuevo */
.btn-location-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-premium);
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 15px rgba(0, 82, 204, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-location-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}

.btn-location-cta i {
    font-size: 1rem;
}

/* ==========================================================================
   Media Queries para Escritorio
   ========================================================================== */
@media (min-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr 1fr; /* Dos columnas en PC */
        gap: 70px;
    }
    
    .location-media-box {
        height: 450px; /* Más alto en PC */
    }
    
    .location-info-box h2 {
        font-size: 2.3rem;
    }
    
    .btn-location-cta {
        margin-top: 15px; /* Separación extra arriba del botón */
    }
}

/* ==========================================================================
   FOOTER COORPORATIVO (Fase 3)
   ========================================================================== */
.main-footer {
    background-color: #111111;
    color: #999999;
    padding: 50px 0 90px 0;
    font-size: 0.85rem;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.badge-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.badge-item h4 {
    color: var(--blanco);
    font-size: 1rem;
    margin-bottom: 6px;
}

.badge-item p {
    color: #777777;
    max-width: 280px;
    margin: 0 auto;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #222222;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dev-credits {
    color: #555555;
    font-size: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE LAYOUT DESKTOP
   ========================================================================== */
@media (min-width: 768px) {
    .testimonials-grid {
        flex-direction: row;
        gap: 24px;
    }
    .testimonial-card {
        flex: 1;
    }
    .location-card {
        padding: 50px;
        max-width: 800px;
        margin: 0 auto;
    }
    .trust-badges {
        flex-direction: row;
        justify-content: space-between;
    }
    .badge-item {
        flex: 1;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    .main-footer {
        padding-bottom: 40px;
    }
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================= */
.floating-wa-btn {
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    background-color: var(--whatsapp-green);
    width: 65px; 
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); 
    z-index: 2147483647; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: pulse-glow 3s infinite;
}

.wa-img-icon {
    width: 38px; 
    height: 38px;
    object-fit: contain; 
    display: block; 
}

.floating-wa-btn:active {
    transform: scale(0.9);
}