:root {
    --np-red: #c62828;
    --np-red-dark: #8f1d1d;
    --np-green: #178766;
    --np-ink: #16202a;
    --np-muted: #5f6f7a;
    --np-line: #dce5e9;
    --np-soft: #f5f8f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--np-ink);
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 74px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(22, 32, 42, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(22, 32, 42, 0.18);
}

.landing-brand,
.landing-menu a,
.landing-footer a {
    color: #ffffff;
    text-decoration: none;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.landing-brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: var(--np-red);
    color: #ffffff;
}

.landing-menu {
    display: flex;
    gap: 24px;
    font-weight: 700;
}

.landing-menu a {
    color: rgba(255, 255, 255, 0.82);
}

.landing-menu a:hover {
    color: #ffffff;
}

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

.landing-actions .btn,
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 800;
}

.hero-section {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    padding: 150px clamp(22px, 6vw, 88px) 92px;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("../assets/landing-educacion.png");
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 33%, rgba(255, 255, 255, 0.18) 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 76%, #ffffff 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.hero-kicker,
.section-heading span,
.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--np-red);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.9rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--np-muted);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.landing-section,
.impact-section {
    padding: 78px clamp(22px, 6vw, 88px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2,
.impact-section h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.feature-grid,
.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.opinion-grid article {
    border: 1px solid var(--np-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(22, 32, 42, 0.08);
}

.feature-card {
    min-height: 235px;
    padding: 28px;
}

.feature-card i {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 8px;
    background: #fbe9e9;
    color: var(--np-red);
    font-size: 1.35rem;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 900;
}

.feature-card p,
.impact-section p,
.opinion-grid p {
    color: var(--np-muted);
    line-height: 1.65;
}

.impact-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 34px;
    align-items: center;
    background: var(--np-soft);
}

.impact-stats {
    display: grid;
    gap: 14px;
}

.impact-stats div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 92px;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(22, 32, 42, 0.08);
}

.impact-stats strong {
    color: var(--np-green);
    font-size: 2.1rem;
    font-weight: 900;
}

.impact-stats span {
    color: var(--np-muted);
    font-weight: 700;
}

.opinions-section {
    background: #ffffff;
}

.opinion-grid article {
    padding: 26px;
}

.opinion-grid strong {
    color: var(--np-red-dark);
}

.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px clamp(22px, 6vw, 88px);
    background: var(--np-ink);
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 980px) {
    .landing-nav {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        background: var(--np-ink);
    }

    .landing-menu,
    .landing-actions {
        width: 100%;
    }

    .landing-menu {
        justify-content: space-between;
        gap: 12px;
    }

    .landing-actions .btn {
        flex: 1 1 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 68px;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(255, 255, 255, 0.28) 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, #ffffff 100%);
    }

    .feature-grid,
    .opinion-grid,
    .impact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .landing-menu {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .landing-actions,
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .impact-stats div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .landing-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
