/* ===== PÁGINA TIEMPO INVERNAL ===== */
.winter-page {
    background: linear-gradient(180deg, #0c1929 0%, #1a365d 50%, #1e3a5f 100%);
    color: white;
}

/* Hero Section */
.winter-hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(12, 74, 110, 0.9)), 
                url('https://images.unsplash.com/photo-1491002052546-bf38f186af56?w=1920') center/cover;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.winter-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.winter-hero-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.winter-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.winter-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.btn-hero.radar {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-hero.alertas {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.btn-hero.aprende {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Content Container */
.winter-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 60px 0 30px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-title:first-child { margin-top: 0; }
.section-title .icon { font-size: 2rem; }

/* ===== TIPOS DE PRECIPITACIÓN ===== */
.precipitation-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.precipitation-intro {
    text-align: center;
    margin-bottom: 40px;
}

.precipitation-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #7dd3fc;
}

.precipitation-intro p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.precipitation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

@media (max-width: 500px) {
    .precipitation-grid { grid-template-columns: 1fr; }
}

.precip-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.precip-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
}

.precip-card .icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.precip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: white;
}

.precip-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.precip-card .temp-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.3);
    color: #7dd3fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 12px;
}

.precip-card.snow .temp-badge { background: rgba(147, 197, 253, 0.3); }
.precip-card.sleet .temp-badge { background: rgba(96, 165, 250, 0.3); }
.precip-card.freezing .temp-badge { background: rgba(251, 146, 60, 0.3); color: #fdba74; }
.precip-card.rain .temp-badge { background: rgba(34, 197, 94, 0.3); color: #86efac; }

/* Precipitation Diagram */
.precip-diagram {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 30%, #1e3a5f 70%, #0f172a 100%);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.precip-diagram-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.precip-layers {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.layer {
    padding: 20px;
    text-align: center;
    position: relative;
}

.layer-warm {
    background: rgba(251, 146, 60, 0.2);
    border: 1px dashed rgba(251, 146, 60, 0.5);
}

.layer-cold {
    background: rgba(96, 165, 250, 0.2);
    border: 1px dashed rgba(96, 165, 250, 0.5);
}

.layer-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.layer-warm .layer-label { color: #fdba74; }
.layer-cold .layer-label { color: #93c5fd; }

.layer-temp {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ===== ALERTAS INVERNALES ===== */
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.alert-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.alert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.alert-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.alert-header .alert-icon {
    font-size: 2.5rem;
}

.alert-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    flex: 1;
}

.alert-header .severity {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Alert colors */
.alert-card.blizzard .alert-header { background: linear-gradient(135deg, #dc2626, #991b1b); }
.alert-card.winter-storm .alert-header { background: linear-gradient(135deg, #f97316, #ea580c); }
.alert-card.ice-storm .alert-header { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.alert-card.wind-chill .alert-header { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.alert-card.advisory .alert-header { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.alert-card.freeze .alert-header { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.alert-body {
    padding: 20px;
}

.alert-body p {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0 0 12px;
}

.alert-criteria {
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.alert-criteria strong {
    color: #7dd3fc;
}

/* ===== RECOMENDACIONES ===== */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .recommendations-grid { grid-template-columns: 1fr; }
}

.rec-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.rec-header {
    padding: 24px;
    text-align: center;
}

.rec-header .rec-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.rec-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.rec-card.home .rec-header { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.rec-card.road .rec-header { background: linear-gradient(135deg, #f59e0b, #d97706); }
.rec-card.school .rec-header { background: linear-gradient(135deg, #10b981, #059669); }

.rec-body {
    padding: 24px;
}

.rec-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rec-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.rec-body ul li:last-child { border-bottom: none; }

.rec-body ul li::before {
    content: '✓';
    color: #34d399;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== KIT DE EMERGENCIA ===== */
.emergency-kit {
    background: linear-gradient(135deg, #1e3a5f, #0c4a6e);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.kit-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #7dd3fc;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.3);
}

.kit-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kit-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.kit-section ul li::before {
    content: '☐';
    color: #7dd3fc;
    font-size: 1.1rem;
}

/* ===== INFO CARDS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    color: white;
    margin-bottom: 16px;
}

.info-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.info-card ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(255,255,255,0.8);
}

.info-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ===== CTA BOX ===== */
.cta-box {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.cta-box h3 {
    font-size: 1.6rem;
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0 0 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta.white {
    background: white;
    color: #1d4ed8;
}

.btn-cta.outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-cta:hover {
    transform: translateY(-3px);
}

/* ===== SOURCES ===== */
.sources-box {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.sources-box h4 {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.sources-box p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.sources-box a {
    color: #7dd3fc;
}

/* Responsive */
@media (max-width: 768px) {
    .winter-hero { padding: 50px 20px; }
    .winter-content { padding: 40px 16px; }
    .precipitation-section { padding: 24px; }
    .emergency-kit { padding: 24px; }
    .section-title { font-size: 1.5rem; }
}
