.landing-shell {
    --primary: #3a69c0;
    --primary-dark: #2b529c;
    --secondary: #16a0db;
    --yellow: #fcd85c;
    --yellow-hover: #e2b320;
    --pink: #f472b6;
    --green: #06d6a0;
    --light: #f4f9ff;
    --dark: #0f172a;
    --home-muted: #64748b;
    min-height: 100vh;
    background: var(--light);
    color: var(--dark);
    font-family: "Quicksand", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.landing-shell *,
.home-page * {
    box-sizing: border-box;
}

.landing-inner {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

body:has(.ambiente-banner) .landing-header {
    top: 32px;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(90deg, #3a69c0, #16a0db);
    box-shadow: 0 8px 24px rgba(22, 160, 219, 0.28);
}

.landing-header-bar {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 80px;
    padding: 0.2rem 0;
}

.landing-brand {
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.landing-brand-chip {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
}

.landing-brand-mark {
    height: 76px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.22));
}

.marca-colegio {
    font-family: "DynaPuff", cursive;
    font-weight: 800;
}

.marca-cole { color: #7dd3fc; }
.marca-sor { color: #fcd85c; }
.marca-juana { color: #f472b6; }

.landing-nav {
    display: flex;
    gap: 1.4rem;
    margin-left: 0.5rem;
}

.landing-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.15);
}

.landing-nav a:hover {
    color: var(--yellow);
}

.landing-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.landing-user {
    font-size: 0.85rem;
    color: #e0f2fe;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-header-btn,
.landing-shell a.landing-header-btn,
.landing-shell a.landing-header-btn:link,
.landing-shell a.landing-header-btn:visited,
.landing-footer a.landing-header-btn,
.landing-mobile-nav a.landing-header-btn,
.home-btn-yellow,
.landing-shell a.home-btn-yellow,
.landing-shell a.home-btn-yellow:link,
.landing-shell a.home-btn-yellow:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: var(--yellow);
    color: #1e3a5f;
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.landing-header-btn:hover,
.landing-shell a.landing-header-btn:hover,
.landing-footer a.landing-header-btn:hover,
.home-btn-yellow:hover,
.landing-shell a.home-btn-yellow:hover {
    background: var(--yellow-hover);
    color: #1e3a5f;
}

.landing-header-link {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.landing-menu-btn {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.4rem;
}

.landing-mobile-nav {
    display: none;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-mobile-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.65rem 0;
}

.landing-mobile-cta {
    width: 100%;
    margin-top: 0.5rem;
}

.home-page {
    background: var(--light);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    color: #fff;
}

.landing-banner-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.landing-banner-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 15, 45, 0.62), rgba(40, 120, 235, 0.55));
}

.landing-hero-grid {
    position: relative;
    z-index: 2;
}

.landing-hero-copy {
    max-width: 38rem;
}

.home-kicker {
    margin: 0 0 12px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.home-kicker .marca-colegio {
    font-size: 0.95em;
    text-transform: none;
    letter-spacing: 0;
}

.landing-hero h1,
.landing-services h2,
.landing-programs h2,
.landing-spaces h2,
.landing-access h2,
.service-card h3,
.program-card h3,
.spaces-panel h3,
.access-panel h3,
.landing-footer h4 {
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
}

.landing-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15;
    color: #fff;
    max-width: 14ch;
}

.home-lead {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 34rem;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.home-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.home-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.home-status.is-ok { color: #d1fae5; }
.home-status.is-down { color: #fecaca; }

.home-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.section-kicker {
    margin: 0 0 8px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.landing-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.landing-section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #1e293b;
}

.section-lead {
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 40rem;
}

#colegio,
#servicios,
#programas,
#instalaciones,
#acceso {
    scroll-margin-top: 96px;
}

.landing-services {
    background: #fff;
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(240, 249, 255, 0.7);
    border: 2px solid #e0f2fe;
    border-radius: 28px;
    padding: 28px 24px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(58, 105, 192, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 18px;
}

.service-icon.is-blue { background: var(--primary); }
.service-icon.is-yellow { background: var(--yellow); color: #0f172a; }
.service-icon.is-navy { background: var(--primary-dark); }
.service-icon.is-green { background: var(--green); }
.service-icon.is-pink { background: var(--pink); }
.service-icon.is-cyan { background: var(--secondary); }

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.service-card p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.55;
}

.landing-programs {
    background: linear-gradient(180deg, #f0f9ff, #fff);
    padding: 80px 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.program-card {
    background: #fff;
    border: 2px solid #e0f2fe;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(58, 105, 192, 0.06);
}

.program-head {
    color: #fff;
    text-align: center;
    padding: 22px 16px 18px;
}

.program-head.is-cyan { background: #16a0db; }
.program-head.is-yellow { background: #fcd85c; color: #1e3a5f; }
.program-head.is-pink { background: #f472b6; }
.program-head.is-green { background: #06d6a0; color: #0f172a; }

.program-head span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.program-head.is-yellow span,
.program-head.is-green span {
    background: rgba(15, 23, 42, 0.12);
}

.program-head h3 {
    margin: 10px 0 0;
    font-size: 1.45rem;
}

.program-card > p {
    margin: 18px 20px 12px;
    color: var(--home-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.program-card ul {
    margin: 0 20px 22px;
    padding: 0;
    list-style: none;
}

.program-card li {
    padding: 5px 0 5px 1.4rem;
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
}

.program-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.landing-spaces {
    background: #fff;
    padding: 80px 0;
}

.spaces-panel {
    background: rgba(240, 249, 255, 0.6);
    border: 1px solid #e0f2fe;
    border-radius: 32px;
    padding: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.spaces-panel h3 {
    margin: 0 0 12px;
    font-size: 1.7rem;
}

.spaces-panel > div > p {
    color: var(--home-muted);
    line-height: 1.65;
    margin: 0 0 16px;
}

.about-points {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.about-points li {
    padding: 6px 0 6px 1.6rem;
    position: relative;
    font-weight: 700;
}

.about-points li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.spaces-mascot {
    display: flex;
    align-items: center;
    gap: 14px;
}

.spaces-mascot img {
    width: 72px;
}

.spaces-mascot p {
    margin: 0;
    color: var(--home-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.landing-access {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
}

.landing-access-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.access-badge {
    display: inline-block;
    margin: 0 0 12px;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-access h2 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.landing-access p {
    color: #e0f2fe;
    line-height: 1.7;
}

.access-points {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.access-points article {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 14px;
}

.access-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.access-icon.is-yellow { background: var(--yellow); color: #0f172a; }
.access-icon.is-white { background: #fff; color: var(--primary); }

.access-points h4 {
    margin: 0 0 2px;
    font-family: "Fredoka", sans-serif;
}

.access-points p {
    margin: 0;
    font-size: 0.85rem;
    color: #bae6fd;
}

.access-panel {
    background: #fff;
    color: var(--dark);
    border-radius: 28px;
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.access-panel img,
.access-mascot {
    height: 200px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 12px;
    display: block;
    object-fit: contain;
}

.access-panel h3 {
    margin: 0 0 4px;
}

.access-panel p {
    color: var(--home-muted);
    font-size: 0.85rem;
    margin: 0 0 22px;
}

.access-panel .home-btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--primary);
    color: #fff;
}

.access-panel .home-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.landing-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 56px 0 28px;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.landing-footer-mark {
    height: 44px;
}

.landing-footer h4 {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 1.05rem;
}

.landing-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-footer li,
.landing-footer p {
    margin: 0 0 8px;
    line-height: 1.5;
}

.landing-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.landing-footer a:hover {
    color: var(--yellow);
}

.landing-footer-copy {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 980px) {
    .landing-nav,
    .landing-header-actions {
        display: none;
    }

    .landing-menu-btn,
    .landing-mobile-nav {
        display: block;
    }

    .service-grid,
    .program-grid,
    .landing-access-grid,
    .landing-footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        min-height: 460px;
        padding: 48px 0;
        text-align: center;
    }

    .landing-hero h1,
    .home-lead {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .home-actions,
    .home-status {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-footer-grid {
        text-align: left;
    }
}
