/* assets/css/landing.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #F5F7FA;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 30%, #0288D1 60%, #4FC3F7 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(15deg);
}

/* Glassmorphism Card */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: #4FC3F7 !important;
    text-shadow: 0 0 40px rgba(79, 195, 247, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-item i {
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: white;
    color: #0D47A1;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.95);
}

.hero-actions .btn-outline-primary {
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-outline-primary:hover {
    background: white;
    color: #0D47A1;
    border-color: white;
    transform: translateY(-3px);
}

/* Floating Cards */
.hero-illustration {
    position: relative;
    padding: 2rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.card-3 {
    top: 30%;
    left: -5%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 30%;
    right: -5%;
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

.particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particles span:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particles span:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particles span:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particles span:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 20s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -200px) scale(0);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        padding: 0.3rem 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
}

/* ===== CLAVERIA ECO-GUARD MODERN PUBLIC LANDING ===== */
:root {
    --eg-navy: #071e3d;
    --eg-blue: #0b67d8;
    --eg-sky: #169bff;
    --eg-green: #16a34a;
    --eg-teal: #0f766e;
    --eg-red: #dc2626;
    --eg-orange: #ea580c;
    --eg-yellow: #f59e0b;
    --eg-bg: #f6f9fd;
    --eg-card: #ffffff;
    --eg-text: #102033;
    --eg-muted: #5d728a;
    --eg-border: #e3eaf3;
    --eg-shadow: 0 18px 48px rgba(8, 30, 61, .09);
    --eg-radius: 18px;
}

html { scroll-padding-top: 92px; }
body { background: var(--eg-bg); color: var(--eg-text); font-family: "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--eg-border); box-shadow: 0 8px 28px rgba(8,30,61,.06); position: sticky; top: 0; z-index: 1000; }
.landing-nav { align-items: center; display: grid; gap: 1rem; grid-template-columns: minmax(230px, 1fr) auto auto; margin: 0 auto; max-width: 1220px; min-height: 76px; padding: .65rem 1.25rem; }
.brand { align-items: center; display: flex; gap: .75rem; min-width: 0; text-decoration: none; }
.brand img { height: 52px; object-fit: contain; width: 52px; }
.brand strong { color: var(--eg-navy); display: block; font-size: 1rem; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.brand small { color: var(--eg-muted); display: block; font-size: .72rem; font-weight: 750; line-height: 1.2; }
.nav-links { align-items: center; display: flex; gap: .25rem; }
.nav-links a { border-radius: 999px; color: #40566e; font-size: .88rem; font-weight: 800; padding: .55rem .75rem; text-decoration: none; transition: background .2s ease, color .2s ease; }
.nav-links a:hover { background: #eaf3ff; color: var(--eg-blue); }
.nav-register, .btn-primary-action, .btn-secondary-action { align-items: center; border-radius: 999px; display: inline-flex; font-weight: 900; gap: .5rem; justify-content: center; min-height: 2.85rem; padding: .75rem 1rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-register, .btn-primary-action { background: var(--eg-blue); color: #fff; box-shadow: 0 10px 22px rgba(11,103,216,.2); }
.btn-secondary-action { background: #fff; border: 1px solid #cfe0f5; color: var(--eg-blue); }
.nav-register:hover, .btn-primary-action:hover, .btn-secondary-action:hover { transform: translateY(-2px); }
.nav-toggle { align-items: center; background: #eaf3ff; border: 1px solid #d7e7fb; border-radius: 12px; color: var(--eg-blue); display: none; height: 2.75rem; justify-content: center; width: 2.75rem; }

main { overflow: hidden; }
.hero-section { background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%); display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); margin: 0 auto; max-width: 1220px; min-height: auto; overflow: visible; padding: 5rem 1.25rem 3rem; position: relative; }
.hero-section::before { background: linear-gradient(90deg, rgba(11,103,216,.06) 1px, transparent 1px), linear-gradient(rgba(11,103,216,.05) 1px, transparent 1px); background-size: 48px 48px; bottom: 0; content: ""; left: 0; opacity: .65; position: absolute; right: 0; top: 0; transform: none; width: auto; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.section-eyebrow { align-items: center; color: var(--eg-teal); display: inline-flex; font-size: .78rem; font-weight: 900; gap: .45rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy h1 { color: var(--eg-navy); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 950; letter-spacing: 0; line-height: .98; margin: 1rem 0; max-width: 760px; }
.hero-copy p { color: #40566e; font-size: 1.08rem; max-width: 680px; }
.hero-actions, .cta-actions, .office-actions, .section-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.btn-primary-action.emergency { background: var(--eg-red); box-shadow: 0 10px 22px rgba(220,38,38,.2); }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.hero-trust-row span { align-items: center; background: #fff; border: 1px solid var(--eg-border); border-radius: 999px; color: #415970; display: inline-flex; font-size: .82rem; font-weight: 850; gap: .4rem; padding: .45rem .7rem; }
.hero-trust-row i { color: var(--eg-blue); }

.hero-visual { align-self: center; background: #fff; border: 1px solid var(--eg-border); border-radius: 24px; box-shadow: var(--eg-shadow); overflow: hidden; }
.map-visual-header { align-items: center; border-bottom: 1px solid var(--eg-border); display: flex; justify-content: space-between; padding: 1rem; }
.map-visual-header span { color: var(--eg-navy); font-weight: 900; }
.map-visual-header strong { background: #dcfce7; border-radius: 999px; color: #15803d; font-size: .78rem; padding: .25rem .65rem; }
.map-visual-grid { aspect-ratio: 1.12; background: linear-gradient(135deg, #dbeafe, #eff6ff); overflow: hidden; position: relative; }
.map-visual-grid::before { background-image: linear-gradient(rgba(255,255,255,.75) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.75) 2px, transparent 2px); background-size: 42px 42px; content: ""; inset: 0; position: absolute; }
.risk-zone { border-radius: 38% 62% 58% 42%; opacity: .55; position: absolute; }
.zone-low { background: #86efac; height: 12rem; left: 10%; top: 18%; width: 14rem; }
.zone-med { background: #fde68a; bottom: 12%; height: 10rem; right: 15%; width: 12rem; }
.zone-high { background: #fecaca; height: 11rem; right: 24%; top: 26%; width: 11rem; }
.map-path { border: 6px solid rgba(11,103,216,.26); border-left: 0; border-top: 0; border-radius: 0 0 140px 0; height: 48%; left: 15%; position: absolute; top: 18%; transform: rotate(-10deg); width: 64%; }
.map-pin { align-items: center; animation: markerPulse 2.3s ease-in-out infinite; border: 4px solid #fff; border-radius: 999px; box-shadow: 0 12px 26px rgba(8,30,61,.24); color: #fff; display: flex; height: 3rem; justify-content: center; position: absolute; width: 3rem; }
.pin-alert { background: var(--eg-red); left: 48%; top: 36%; }
.pin-flood { background: var(--eg-blue); right: 16%; top: 22%; }
.pin-safe { background: var(--eg-green); bottom: 22%; left: 22%; }
.response-card { background: rgba(255,255,255,.94); border: 1px solid var(--eg-border); border-radius: 16px; bottom: 1rem; box-shadow: 0 12px 30px rgba(8,30,61,.12); left: 1rem; padding: .9rem 1rem; position: absolute; }
.response-card span { color: var(--eg-muted); display: block; font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.response-card strong { color: var(--eg-navy); display: block; font-size: .95rem; }
@keyframes markerPulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.04); } }

.stats-strip, .content-section, .report-cta { margin: 0 auto; max-width: 1220px; padding-left: 1.25rem; padding-right: 1.25rem; }
.stats-strip { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); padding-bottom: 2.5rem; }
.stats-strip article, .incident-card, .map-card, .office-info-card, .office-map-card, .current-weather, .forecast-row, .steps-grid article, .preparedness-grid article, .risk-preview { background: #fff; border: 1px solid var(--eg-border); border-radius: var(--eg-radius); box-shadow: var(--eg-shadow); }
.stats-strip article { align-items: center; display: grid; gap: .75rem; grid-template-columns: 3rem 1fr; padding: 1rem; }
.stats-strip i { align-items: center; background: #eaf3ff; border-radius: 999px; color: var(--eg-blue); display: flex; font-size: 1.3rem; height: 3rem; justify-content: center; width: 3rem; }
.stats-strip span { color: var(--eg-muted); display: block; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.stats-strip strong { color: var(--eg-navy); display: block; font-size: 1.55rem; font-weight: 950; line-height: 1; }

.content-section { padding-bottom: 4rem; padding-top: 2rem; }
.section-heading { margin-bottom: 1.5rem; max-width: 720px; }
.section-heading h2, .risk-copy h2, .report-cta h2 { color: var(--eg-navy); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 950; line-height: 1.05; margin: .5rem 0; }
.section-heading p, .risk-copy p, .report-cta p { color: var(--eg-muted); font-size: 1rem; }
.incident-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.incident-card { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.incident-card:hover { box-shadow: 0 24px 56px rgba(8,30,61,.13); transform: translateY(-4px); }
.incident-top { align-items: center; display: flex; gap: .75rem; }
.incident-icon { align-items: center; border-radius: 16px; color: #fff; display: flex; flex: 0 0 auto; font-size: 1.35rem; height: 3rem; justify-content: center; width: 3rem; }
.incident-icon.flood, .legend-dot.flood { background: var(--eg-blue); }
.incident-icon.fire, .legend-dot.fire { background: var(--eg-orange); }
.incident-icon.landslide, .legend-dot.landslide { background: #a16207; }
.incident-icon.medical, .legend-dot.medical { background: var(--eg-red); }
.incident-icon.weather { background: #0891b2; }
.incident-icon.other, .legend-dot.other { background: var(--eg-yellow); }
.incident-card h3 { font-size: 1rem; font-weight: 950; margin: 0; }
.incident-meta { color: var(--eg-muted); font-size: .82rem; font-weight: 750; }
.incident-desc { color: #40566e; flex: 1; font-size: .9rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.status-pill, .severity-pill { border-radius: 999px; font-size: .72rem; font-weight: 950; padding: .3rem .55rem; text-transform: uppercase; }
.status-pill { background: #eaf3ff; color: var(--eg-blue); }
.severity-pill.high, .severity-pill.urgent { background: #fee2e2; color: #991b1b; }
.severity-pill.medium { background: #ffedd5; color: #9a3412; }
.severity-pill.low { background: #dcfce7; color: #166534; }
.incident-card button { align-self: flex-start; background: transparent; border: 0; color: var(--eg-blue); cursor: pointer; font-weight: 950; padding: 0; }
.incident-skeleton, .forecast-skeleton { animation: skeleton 1.2s ease-in-out infinite alternate; background: linear-gradient(90deg, #eef4fb, #fff, #eef4fb); border-radius: var(--eg-radius); min-height: 220px; }
@keyframes skeleton { from { opacity: .55; } to { opacity: 1; } }

.map-card { overflow: hidden; position: relative; }
#incidentMap, #officeMap { height: 470px; width: 100%; }
.map-legend { background: rgba(255,255,255,.95); border: 1px solid var(--eg-border); border-radius: 12px; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .75rem; left: 1rem; padding: .65rem .8rem; position: absolute; right: 1rem; z-index: 500; }
.map-legend span { align-items: center; color: var(--eg-navy); display: inline-flex; font-size: .78rem; font-weight: 900; gap: .35rem; }
.legend-dot { border-radius: 999px; display: inline-block; height: .8rem; width: .8rem; }
.map-empty-note { background: rgba(255,255,255,.95); border: 1px solid var(--eg-border); border-radius: 12px; color: var(--eg-muted); font-size: .84rem; font-weight: 850; left: 50%; max-width: min(420px, calc(100% - 2rem)); padding: .8rem 1rem; position: absolute; text-align: center; top: 50%; transform: translate(-50%, -50%); z-index: 501; }

.office-grid, .weather-layout, .risk-section, .report-cta { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.office-map-card { min-height: 420px; overflow: hidden; position: relative; }
.office-map-fallback { align-items: center; background: rgba(255,255,255,.9); border-radius: 12px; bottom: 1rem; color: var(--eg-muted); display: flex; font-weight: 850; left: 1rem; padding: .75rem; position: absolute; right: 1rem; z-index: 501; }
.office-info-card { padding: 1.5rem; }
.office-info-card img { height: 78px; object-fit: contain; width: 78px; }
.office-info-card h3 { color: var(--eg-navy); font-size: 1.45rem; font-weight: 950; margin: 1rem 0 .25rem; }
.office-info-card ul { display: grid; gap: .8rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.office-info-card li { align-items: flex-start; color: #40566e; display: flex; font-weight: 800; gap: .65rem; }
.office-info-card i { color: var(--eg-blue); }

.current-weather { align-items: center; display: grid; gap: 1rem; grid-template-columns: 5rem 1fr; min-height: 210px; padding: 1.25rem; }
.weather-icon-big { align-items: center; background: #eaf3ff; border-radius: 22px; color: var(--eg-blue); display: flex; font-size: 3rem; height: 5rem; justify-content: center; width: 5rem; }
.current-weather strong { color: var(--eg-navy); display: block; font-size: 2.4rem; font-weight: 950; line-height: 1; }
.weather-stats { display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.weather-stats span { background: #f8fbff; border: 1px solid var(--eg-border); border-radius: 12px; color: var(--eg-muted); font-size: .78rem; font-weight: 850; padding: .65rem; }
.weather-stats b { color: var(--eg-navy); display: block; }
.forecast-row { display: grid; gap: .75rem; grid-template-columns: repeat(5, 1fr); padding: 1rem; }
.forecast-card { background: #f8fbff; border: 1px solid var(--eg-border); border-radius: 14px; min-width: 0; padding: .9rem; text-align: center; }
.forecast-card i { color: var(--eg-blue); font-size: 1.9rem; }
.forecast-card strong { color: var(--eg-navy); display: block; font-size: .95rem; margin-top: .4rem; }
.forecast-card span, .forecast-card small { color: var(--eg-muted); display: block; font-size: .78rem; font-weight: 800; }

.steps-grid, .preparedness-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps-grid article, .preparedness-grid article { padding: 1.2rem; }
.steps-grid article span { color: var(--eg-blue); font-size: .78rem; font-weight: 950; }
.steps-grid i, .preparedness-grid i { color: var(--eg-blue); display: block; font-size: 2rem; margin: .7rem 0; }
.steps-grid h3, .preparedness-grid h3 { color: var(--eg-navy); font-size: 1.05rem; font-weight: 950; }
.steps-grid p, .preparedness-grid p { color: var(--eg-muted); font-size: .9rem; margin: 0; }
.preparedness-grid { grid-template-columns: repeat(3, 1fr); }

.risk-section { align-items: center; }
.risk-copy { min-width: 0; }
.risk-legend { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.risk-legend span { align-items: center; background: #fff; border: 1px solid var(--eg-border); border-radius: 999px; color: #40566e; display: inline-flex; font-size: .82rem; font-weight: 850; gap: .4rem; padding: .4rem .65rem; }
.risk-dot { border-radius: 999px; display: inline-block; height: .75rem; width: .75rem; }
.risk-dot.low { background: #22c55e; } .risk-dot.moderate { background: #f59e0b; } .risk-dot.high { background: #ef4444; } .risk-dot.critical { background: #7f1d1d; }
.risk-preview { aspect-ratio: 1.55; background: linear-gradient(135deg, #dbeafe, #ecfdf5); overflow: hidden; position: relative; }
.risk-area { border-radius: 45%; opacity: .68; position: absolute; }
.risk-area.low { background: #86efac; height: 48%; left: 10%; top: 16%; width: 42%; }
.risk-area.moderate { background: #fde68a; height: 40%; right: 12%; top: 20%; width: 38%; }
.risk-area.high { background: #fecaca; bottom: 12%; height: 36%; left: 35%; width: 35%; }
.risk-marker { align-items: center; background: var(--eg-blue); border: 4px solid #fff; border-radius: 999px; box-shadow: 0 12px 28px rgba(8,30,61,.22); color: #fff; display: flex; height: 3rem; justify-content: center; position: absolute; width: 3rem; }
.risk-marker.one { left: 32%; top: 34%; } .risk-marker.two { background: var(--eg-red); right: 24%; top: 42%; } .risk-marker.three { background: var(--eg-green); bottom: 20%; left: 52%; }

.report-cta { align-items: center; background: #071e3d; border-radius: 26px; color: #fff; margin-bottom: 4rem; margin-top: 2rem; padding-bottom: 2rem; padding-top: 2rem; }
.report-cta h2, .report-cta p { color: #fff; }
.report-cta .section-eyebrow { color: #7dd3fc; }
.report-cta .btn-secondary-action { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); color: #fff; }

.site-footer { background: var(--eg-navy); color: #d9e8f7; padding: 3rem 1.25rem 1.25rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.35fr repeat(3, 1fr); margin: 0 auto; max-width: 1220px; }
.footer-brand { align-items: center; display: flex; gap: .75rem; margin-bottom: .8rem; }
.footer-brand img { height: 54px; width: 54px; }
.footer-brand strong, .site-footer h3 { color: #fff; font-size: 1rem; font-weight: 950; text-transform: uppercase; }
.site-footer a { color: #d9e8f7; display: block; font-weight: 800; margin: .45rem 0; text-decoration: none; }
.footer-login, .footer-register { border-radius: 999px; padding: .65rem .85rem; text-align: center; }
.footer-login { background: var(--eg-blue); color: #fff !important; }
.footer-register { border: 1px solid rgba(255,255,255,.22); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin: 2rem auto 0; max-width: 1220px; padding-top: 1rem; text-align: center; }

.section-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.section-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    .landing-nav { grid-template-columns: 1fr auto auto; }
    .nav-toggle { display: inline-flex; }
    .nav-links { background: #fff; border: 1px solid var(--eg-border); border-radius: 18px; box-shadow: var(--eg-shadow); display: none; flex-direction: column; left: 1rem; padding: .75rem; position: absolute; right: 1rem; top: 82px; }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; }
    .hero-section, .office-grid, .weather-layout, .risk-section, .report-cta { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .incident-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid, .preparedness-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .landing-nav { grid-template-columns: 1fr auto; }
    .nav-register { grid-column: 1 / -1; min-height: 2.65rem; }
    .brand small { display: none; }
    .hero-section { padding-top: 3rem; }
    .stats-strip, .incident-grid, .steps-grid, .preparedness-grid, .footer-grid { grid-template-columns: 1fr; }
    .forecast-row { display: flex; overflow-x: auto; }
    .forecast-card, .forecast-skeleton { flex: 0 0 150px; }
    #incidentMap, #officeMap { height: 360px; }
    .weather-stats { grid-template-columns: 1fr; }
    .current-weather { grid-template-columns: 1fr; }
    .map-legend { max-height: 110px; overflow: auto; }
}

@media (max-width: 430px) {
    .landing-nav { padding-left: .9rem; padding-right: .9rem; }
    .brand img { height: 44px; width: 44px; }
    .brand strong { font-size: .86rem; }
    .hero-actions, .cta-actions, .office-actions { flex-direction: column; }
    .btn-primary-action, .btn-secondary-action { width: 100%; }
    .hero-visual { border-radius: 18px; }
    .stats-strip article { grid-template-columns: 2.6rem 1fr; }
    .stats-strip i { height: 2.6rem; width: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
