/* =====================================================================
   PAGE MODULE — promociones
   Extracted verbatim from inline <style> of: promociones.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* Hero Neon Glow Styles */
.hero-neon {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-navy);
    overflow: hidden;
    padding: 8rem 5% 6rem;
}

.neon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(23, 167, 175, 0.3), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(166, 25, 99, 0.2), transparent 50%);
    filter: blur(80px);
    opacity: 0.6;
    animation: neonPulse 8s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.neon-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.neon-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 500;
}

.neon-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.glass-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(23, 167, 175, 0.5);
    box-shadow: 0 20px 60px rgba(23, 167, 175, 0.3);
}

.glass-card h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.glass-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* Gradient text for light backgrounds */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--primary-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile Responsive - Aggressive stacking for ALL layouts */
@media (max-width: 768px) {
    .hero-neon {
        padding-top: 8rem !important;
        min-height: auto;
    }
    
    .neon-title {
        margin-top: 2rem;
    }
    
    .glass-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
    
    /* CRITICAL: Force ALL grids to single column on mobile */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Force ALL flex layouts to column on mobile */
    [style*="display: flex"][style*="gap:"] {
        flex-direction: column !important;
    }
    
    /* Ensure CONTENT images are responsive (NOT header/footer logos) */
    section img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Mobile padding adjustments */
    section {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}
