/* =========================================================
   LANDING PAGE PROGRAMA DEL
   NUEVO COLEGIO MONTE GRANDE
   CSS PRINCIPAL
========================================================= */


/* =========================================================
   VARIABLES GENERALES
========================================================= */

:root {

    --green: #0b7a43;
    --green-dark: #083f31;
    --green-deep: #062f26;

    --red: #e30613;

    --gray: #6d6e71;
    --gray-light: #a8aca9;

    --dark: #17191b;
    --text: #242629;
    --muted: #6f7479;

    --white: #ffffff;

    --soft: #f5f7f5;
    --soft-red: #fbf2f2;

    --line: #e3e7e4;

    --radius: 24px;

    --shadow:
        0 16px 50px rgba(0, 0, 0, 0.08);

    --container: 1180px;

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;

}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.95);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.04);

    backdrop-filter: blur(12px);

    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;

}

.site-header.scrolled {

    background:
        rgba(255, 255, 255, 0.99);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

}


/* =========================================================
   ESTRUCTURA HEADER
========================================================= */

.header-inner {

    min-height: 96px;

    display: grid;

    grid-template-columns:
        220px
        1fr
        auto;

    align-items: center;

    gap: 28px;

}


/* =========================================================
   LOGO DEL DEL HEADER
========================================================= */

.brand {

    display: flex;

    align-items: center;

}

.brand img {

    width: 190px;

    height: 80px;

    object-fit: contain;

    object-position: left center;

}


/* =========================================================
   NAVEGACIÓN
========================================================= */

.main-nav {

    justify-self: center;

    display: flex;

    align-items: center;

    gap: 34px;

}

.main-nav a {

    position: relative;

    padding: 10px 0;

    font-size: 0.95rem;

    font-weight: 700;

    color: var(--text);

}

.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    right: 100%;

    bottom: 2px;

    height: 2px;

    background: var(--green);

    transition: right 0.25s ease;

}

.main-nav a:hover::after {

    right: 0;

}


/* =========================================================
   MENÚ MOBILE
========================================================= */

.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

}


/* =========================================================
   BOTONES
========================================================= */

.btn {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:

        0
        22px;

    border-radius: 10px;

    border:
        1px solid transparent;

    font-weight: 800;

    text-align: center;

    transition:

        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;

}

.btn:hover {

    transform:
        translateY(-2px);

}

.btn-primary {

    background: var(--green);

    color: var(--white);

    box-shadow:
        0 10px 24px rgba(11, 122, 67, 0.18);

}

.btn-primary:hover {

    background: #086a3a;

}

.header-cta {

    background: var(--red);

    box-shadow:
        0 10px 24px rgba(227, 6, 19, 0.16);

}

.header-cta:hover {

    background: #c8000d;

}

.btn-outline {

    border-color: var(--green);

    color: var(--green);

    background: var(--white);

}

.btn-outline:hover {

    background: var(--green);

    color: var(--white);

}

.btn-full {

    width: 100%;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    padding:

        72px
        0
        54px;

    background:

        radial-gradient(
            circle at 76% 18%,
            rgba(11, 122, 67, 0.06),
            transparent 30%
        ),

        var(--white);

}

.hero-grid {

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 56px;

    align-items: center;

}


/* =========================================================
   TEXTOS HERO
========================================================= */

.eyebrow {

    margin:
        0
        0
        10px;

    color: var(--green);

    text-transform: uppercase;

    letter-spacing: 0.11em;

    font-size: 0.78rem;

    font-weight: 900;

}

.eyebrow-light {

    color: #a8dfc3;

}

.hero h1 {

    max-width: 650px;

    margin: 0;

    font-size:
        clamp(
            2.7rem,
            5vw,
            5.1rem
        );

    line-height: 1.03;

    letter-spacing: -0.035em;

}

.hero h1 span {

    color: var(--red);

}

.hero-lead {

    max-width: 650px;

    margin:
        24px
        0
        0;

    color: #50555a;

    font-size: 1.08rem;

    line-height: 1.7;

}

.hero-actions {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 30px;

}


/* =========================================================
   IMAGEN PRINCIPAL HERO
========================================================= */

.hero-visual {

    position: relative;

}

.hero-photo {

    position: relative;

    width: 100%;

    height: 500px;

    overflow: hidden;

    border-radius:
        36px
        8px
        36px
        8px;

    box-shadow: var(--shadow);

}

.hero-photo picture {

    display: block;

    width: 100%;

    height: 100%;

}

.hero-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.6s ease;

}


/* =========================================================
   EFECTO HOVER HERO
========================================================= */

@media (min-width: 1024px) {

    .hero-photo:hover img {

        transform:
            scale(1.025);

    }

}


/* =========================================================
   FORMAS DECORATIVAS HERO
========================================================= */

.hero-accent {

    position: absolute;

    pointer-events: none;

    border-radius: 999px;

    opacity: 0.95;

}

.hero-accent-green {

    width: 420px;

    height: 22px;

    right: -80px;

    bottom: 38px;

    background: var(--green);

    transform:
        rotate(-7deg);

}

.hero-accent-red {

    width: 300px;

    height: 24px;

    right: -40px;

    bottom: 66px;

    background: var(--red);

    transform:
        rotate(-7deg);

}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {

    position: relative;

    padding:
        88px
        0;

}

.section-soft {

    background: var(--soft);

}


/* =========================================================
   SECCIÓN OSCURA - QUÉ ES DEL
========================================================= */

.section-dark {

    position: relative;

    overflow: hidden;

    color: var(--white);

    background:

        radial-gradient(
            circle at 12% 20%,
            rgba(255,255,255,0.04),
            transparent 24%
        ),

        radial-gradient(
            circle at 88% 80%,
            rgba(255,255,255,0.035),
            transparent 24%
        ),

        linear-gradient(
            135deg,
            var(--green-deep),
            var(--green-dark)
        );

}

.section-pattern {

    position: absolute;

    inset: -10%;

    opacity: 0.3;

    background-image:

        radial-gradient(
            circle at 20% 20%,
            rgba(255,255,255,0.08)
            0
            1px,
            transparent
            1px
        ),

        radial-gradient(
            circle at 80% 80%,
            rgba(255,255,255,0.06)
            0
            1px,
            transparent
            1px
        );

    background-size:
        28px 28px,
        38px 38px;

    pointer-events: none;

}


/* =========================================================
   CABECERA "QUÉ ES DEL?"
========================================================= */

.del-intro {

    position: relative;

    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 70px;

    align-items: center;

    margin-bottom: 52px;

}


/* =========================================================
   LOGO NCMG EN QUÉ ES DEL
========================================================= */

.del-intro-logo {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 150px;

}


/*
   IMPORTANTE:
   Acá controlamos el tamaño del logo NCMG.
*/

.del-intro-logo img {

    width: 200px;

    max-width: 100%;

    height: auto;

    max-height: 200px;

    object-fit: contain;

}


/* =========================================================
   TEXTO QUÉ ES DEL
========================================================= */

.del-intro-copy {

    text-align: left;

}

.del-intro-copy h2 {

    margin: 0;

    color: var(--white);

    font-size:

        clamp(
            2.3rem,
            4vw,
            3.6rem
        );

    line-height: 1;

    letter-spacing: -0.035em;

}

.del-intro-copy p:last-child {
    max-width: 650px;
    margin: 20px 0 0 0;

    color: rgba(255,255,255,0.80);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   TARJETAS QUÉ ES DEL
========================================================= */

.feature-grid {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 18px;

}

.feature-card {

    min-height: 260px;

    padding: 28px;

    border-radius: 18px;

    background: var(--white);

    color: var(--text);

    box-shadow:
        0 16px 40px rgba(0,0,0,0.12);

    transition:

        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.feature-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.16);

}

.feature-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--green);

    color: var(--white);

    font-size: 1.5rem;

    font-weight: 900;

}

.feature-icon-red {

    background: var(--red);

}

.feature-icon-gray {

    background: var(--gray);

}

.feature-card h3 {

    margin:

        22px
        0
        8px;

    font-size: 1.16rem;

}

.feature-card p {

    margin: 0;

    color: #676c70;

    font-size: 0.94rem;

    line-height: 1.6;

}


/* =========================================================
   CABECERAS GENERALES DE SECCIÓN
========================================================= */

.section-heading {

    position: relative;

    max-width: 780px;

    margin:

        0
        auto
        42px;

    text-align: center;

}

.section-heading h2 {

    margin: 0;

    font-size:

        clamp(
            2rem,
            4vw,
            3.2rem
        );

    line-height: 1.08;

    letter-spacing: -0.035em;

}

.section-heading p:last-child {

    margin:

        18px
        auto
        0;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.7;

}


/* =========================================================
   CAMINO DE CRECIMIENTO
========================================================= */

.journey {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 16px;

}

.journey-card {

    position: relative;

    min-height: 245px;

    padding:
        30px
        24px;

    background: var(--white);

    border:
        1px solid var(--line);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.04);

    transition:

        transform 0.25s ease,
        box-shadow 0.25s ease;

}

.journey-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.08);

}

.journey-card:not(:last-child)::after {

    content: "→";

    position: absolute;

    top: 50%;

    right: -22px;

    z-index: 3;

    color: #9eb5a9;

    font-size: 1.4rem;

    font-weight: 900;

    transform:
        translateY(-50%);

}

.journey-number {

    font-size: 2rem;

    color: #b4bab7;

    font-weight: 900;

}

.journey-dot {

    width: 12px;

    height: 12px;

    display: inline-block;

    margin-left: 8px;

    border-radius: 50%;

}

.green {

    background: var(--green);

}

.red {

    background: var(--red);

}

.gray {

    background: var(--gray);

}

.journey-card h3 {

    margin:

        18px
        0
        8px;

    font-size: 1.25rem;

}

.journey-card p {

    margin: 0;

    color: #6c7275;

    line-height: 1.6;

}


/* =========================================================
   COMPETENCIAS
========================================================= */

.competency-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    overflow: hidden;

    background: var(--white);

    border:
        1px solid var(--line);

    border-radius: 22px;

    box-shadow:
        0 14px 40px rgba(0,0,0,0.05);

}

.competency {

    min-height: 140px;

    display: grid;

    place-items: center;

    padding: 25px;

    text-align: center;

    font-weight: 900;

    border-right:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);

    transition:
        background 0.25s ease;

}

.competency:hover {

    background: var(--soft);

}


/* =========================================================
   SECCIÓN INSTITUCIONAL NCMG
========================================================= */

.institution {

    overflow: hidden;

    background:

        linear-gradient(
            90deg,
            #f4f8f5,
            #ffffff
        );

}

.institution-bg {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 18% 50%,
            rgba(11,122,67,0.11),
            transparent 26%
        ),

        radial-gradient(
            circle at 80% 50%,
            rgba(227,6,19,0.05),
            transparent 24%
        );

    pointer-events: none;

}

.institution-grid {

    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 52px;

    align-items: center;

}


/* =========================================================
   IMAGEN NIÑO
========================================================= */

.institution-photo {

    position: relative;

    width: 100%;

    height: 330px;

    overflow: hidden;

    border-radius: 24px;

    box-shadow: var(--shadow);

}

.institution-photo picture {

    display: block;

    width: 100%;

    height: 100%;

}

.institution-photo img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


/* =========================================================
   TEXTO INSTITUCIONAL
========================================================= */

.institution-copy h2 {

    margin: 0;

    color: var(--green);

    font-size:

        clamp(
            2rem,
            4vw,
            3.1rem
        );

    line-height: 1.08;

    letter-spacing: -0.035em;

}

.institution-copy p:last-child {

    color: var(--muted);

    font-size: 1.06rem;

    line-height: 1.7;

}


/* =========================================================
   CONTACTO
========================================================= */

.section-contact {

    background:

        linear-gradient(
            180deg,
            #ffffff,
            var(--soft-red)
        );

}

.contact-grid {

    display: grid;

    grid-template-columns:
        0.78fr
        1.2fr
        0.8fr;

    gap: 28px;

    align-items: start;

}

.contact-copy h2 {

    margin: 0;

    color: var(--green);

    font-size:

        clamp(
            2rem,
            4vw,
            3.1rem
        );

    line-height: 1.08;

    letter-spacing: -0.035em;

}

.contact-copy p:last-child {

    color: var(--muted);

    font-size: 1.06rem;

    line-height: 1.7;

}


/* =========================================================
   FORMULARIO
========================================================= */

.lead-form {

    padding: 28px;

    background: var(--white);

    border-radius: 22px;

    border:
        1px solid var(--line);

    box-shadow: var(--shadow);

}

.form-row {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 14px;

}

.field {

    margin-bottom: 14px;

}

.field label {

    display: block;

    margin-bottom: 6px;

    font-size: 0.83rem;

    font-weight: 800;

}

.field input,
.field textarea,
.field select {

    width: 100%;

    padding:
        13px
        14px;

    border:
        1px solid #d9dedb;

    border-radius: 10px;

    outline: none;

    background: var(--white);

    transition:

        border-color 0.2s ease,
        box-shadow 0.2s ease;

}

.field textarea {

    resize: vertical;

}

.field input:focus,
.field textarea:focus,
.field select:focus {

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(11,122,67,0.09);

}

.form-status {

    min-height: 1.4em;

    margin:
        12px
        0
        0;

    color: var(--green);

    font-weight: 700;

}


/* =========================================================
   TARJETAS DE CONTACTO
========================================================= */

.contact-options {

    display: grid;

    gap: 16px;

}

.contact-card {

    min-height: 135px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    padding: 24px;

    border-radius: 18px;

    border:
        1px solid var(--line);

    transition:

        transform 0.2s ease,
        box-shadow 0.2s ease;

}

.contact-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.08);

}

.contact-card-whatsapp {

    background: #edf8f1;

    color: #116b42;

}

.contact-card-interview {

    background: #fff2f2;

    color: #b90b16;

}

.contact-card span {

    font-size: 0.9rem;

    line-height: 1.5;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding:
        28px
        0;

    background: var(--white);

    border-top:
        1px solid var(--line);

}

.footer-inner {

    display: grid;

    grid-template-columns:
        150px
        1fr
        auto;

    gap: 28px;

    align-items: center;

}

.footer-brand img {

    width: 130px;

    height: 65px;

    object-fit: contain;

}

.footer-copy {

    display: flex;

    flex-direction: column;

    color: #666;

    font-size: 0.88rem;

}

.footer-copy strong {

    color: var(--text);

}

.back-top {

    color: var(--green);

    font-weight: 800;

}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-float {

    position: fixed;

    right: 28px;

    bottom: 28px;

    z-index: 9999;

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #25D366;

    color: var(--white);

    border-radius: 50%;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.22);

    transition:

        transform 0.2s ease,
        box-shadow 0.2s ease;

}

.whatsapp-float svg {

    width: 34px;

    height: 34px;

}

.whatsapp-float:hover {

    transform:
        scale(1.08);

    box-shadow:
        0 12px 32px rgba(0,0,0,0.28);

}


/* =========================================================
   ANIMACIONES REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(22px);

    transition:

        opacity 0.7s ease,

        transform
        0.7s
        cubic-bezier(
            0.2,
            0.8,
            0.2,
            1
        );

}

.reveal.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}

.reveal-delay-1 {

    transition-delay: 0.08s;

}

.reveal-delay-2 {

    transition-delay: 0.16s;

}

.reveal-delay-3 {

    transition-delay: 0.24s;

}
/* =========================================================
   GALERÍA DEL
========================================================= */

.del-gallery-section {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f5f7f5 0%,
            #ffffff 100%
        );
}

.gallery-slider {
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;

    overflow-x: auto;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    padding: 10px 2px 25px;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px);

    height: 390px;

    margin: 0;

    overflow: hidden;

    border-radius: 22px;

    scroll-snap-align: start;

    box-shadow:
        0 14px 40px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}


/* FLECHAS */

.gallery-arrow {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,0.95);

    color: var(--green);

    font-size: 32px;
    line-height: 1;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.15);

    transform: translateY(-50%);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.gallery-arrow:hover {
    background: var(--green);
    color: #ffffff;
}

.gallery-prev {
    left: -24px;
}

.gallery-next {
    right: -24px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1023px) {


    /* HEADER */

    .header-inner {

        grid-template-columns:
            180px
            1fr
            auto;

        gap: 18px;

    }

    .brand img {

        width: 165px;

        height: 72px;

    }

    .main-nav {

        gap: 18px;

    }

    .header-cta {

        display: none;

    }


    /* HERO */

    .hero-grid {

        grid-template-columns: 1fr;

    }

    .hero-photo {

        height: 440px;

    }


    /* QUÉ ES DEL */

    .del-intro {

        grid-template-columns:
            0.7fr
            1.3fr;

        gap: 40px;

    }

    .del-intro-logo img {

        width: 175px;

        max-height: 130px;

    }


    /* TARJETAS */

    .feature-grid {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }


    /* CAMINO */

    .journey {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }

    .journey-card:nth-child(2)::after {

        display: none;

    }


    /* INSTITUCIÓN */

    .institution-grid {

        grid-template-columns: 1fr;

    }


    /* CONTACTO */

    .contact-grid {

        grid-template-columns:
            1fr
            1fr;

    }

    .contact-copy {

        grid-column:
            1
            /
            -1;

        max-width: 720px;

    }

}
@media (max-width: 1023px) {

    .gallery-item {
        flex: 0 0 calc(50% - 10px);
        height: 340px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {


    /* GENERAL */

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );

    }


    /* HEADER */

    .header-inner {

        min-height: 74px;

        grid-template-columns:
            1fr
            auto;

    }

    .brand img {

        width: 145px;

        height: 60px;

    }


    /* BOTÓN MENÚ */

    .menu-toggle {

        width: 46px;

        height: 42px;

        display: grid;

        place-content: center;

        gap: 5px;

    }

    .menu-toggle span {

        width: 24px;

        height: 2px;

        display: block;

        background: var(--text);

    }


    /* NAVEGACIÓN MOBILE */

    .main-nav {

        position: absolute;

        top: 74px;

        left: 14px;

        right: 14px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px;

        border-radius: 14px;

        background: var(--white);

        box-shadow: var(--shadow);

    }

    .main-nav.open {

        display: flex;

    }

    .main-nav a {

        padding:
            13px
            12px;

    }

    .main-nav a::after {

        display: none;

    }


    /* HERO */

    .hero {

        padding:
            42px
            0
            32px;

    }

    .hero-grid {

        gap: 34px;

    }

    .hero h1 {

        font-size:

            clamp(
                2.25rem,
                11vw,
                3.5rem
            );

    }

    .hero-lead {

        font-size: 1rem;

    }

    .hero-actions {

        display: grid;

        grid-template-columns: 1fr;

    }

    .hero-photo {

        height: 360px;

        border-radius: 24px;

    }

    .hero-accent {

        display: none;

    }


    /* SECCIONES */

    .section {

        padding:
            62px
            0;

    }


    /* QUÉ ES DEL */

    .del-intro {

        grid-template-columns: 1fr;

        gap: 26px;

        margin-bottom: 38px;

    }

    .del-intro-logo {

        min-height: auto;

    }

    .del-intro-logo img {

        width: 145px;

        max-height: 110px;

    }

    .del-intro-copy {

        text-align: center;

    }

    .del-intro-copy p:last-child {

        margin:
            18px
            auto
            0;

    }


    /* TARJETAS */

    .feature-grid {

        grid-template-columns: 1fr;

    }

    .feature-card {

        min-height: auto;

    }


    /* CAMINO */

    .journey {

        grid-template-columns: 1fr;

    }

    .journey-card {

        min-height: auto;

    }

    .journey-card::after {

        display: none !important;

    }


    /* COMPETENCIAS */

    .competency-grid {

        grid-template-columns: 1fr;

    }

    .competency {

        min-height: 92px;

        border-right: 0;

    }


    /* INSTITUCIÓN */

    .institution-grid {

        gap: 30px;

    }

    .institution-photo {

        height: 280px;

    }


    /* CONTACTO */

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .contact-copy {

        grid-column: auto;

    }

    .form-row {

        grid-template-columns: 1fr;

    }

    .lead-form {

        padding: 20px;

    }


    /* FOOTER */

    .footer-inner {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .footer-brand img {

        margin:
            0
            auto;

    }

    .back-top {

        justify-self: center;

    }


    /* WHATSAPP */

    .whatsapp-float {

        width: 56px;

        height: 56px;

        right: 18px;

        bottom: 18px;

    }

    .whatsapp-float svg {

        width: 31px;

        height: 31px;

    }


    /*
       En mobile eliminamos el parallax.
       Priorizamos fluidez y rendimiento.
    */

    [data-parallax] {

        transform:
            none !important;

    }

}
@media (max-width: 767px) {

    .gallery-track {
        gap: 14px;

        padding-left: 0;
        padding-right: 35px;
    }

    .gallery-item {
        flex: 0 0 88%;

        height: 330px;

        border-radius: 18px;
    }

    .gallery-arrow {
        display: none;
    }

}

/* =========================================================
   REDUCIR MOVIMIENTOS POR ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

    [data-parallax] {

        transform:
            none !important;

    }

    .reveal {

        opacity: 1;

        transform: none;

    }

}

/* =========================================================
SIGNIFICADO DEL
========================================================= */

.del-meaning {
    margin-top: 70px;
    margin-bottom: 70px;
    padding-top: 55px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.del-meaning-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.del-meaning-heading h3 {
    margin: 0;
    max-width: 720px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.del-meaning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.del-meaning-item {
    position: relative;
    min-height: 270px;
    padding: 34px 30px 30px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    overflow: hidden;
    transition:
        transform .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}

.del-meaning-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.2);
}

.del-letter {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 28px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.del-letter-green {
    background: #498b42;
}

.del-letter-red {
    background: #b52025;
}

.del-letter-gray {
    background: #777777;
}

.del-meaning-content h4 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 1.25rem;
    line-height: 1.2;
}

.del-meaning-content p {
    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 1rem;
    line-height: 1.65;
}


/* Línea visual que conecta D - E - L en desktop */

@media (min-width: 901px) {

    .del-meaning-grid {
        position: relative;
    }

    .del-meaning-grid::before {
        content: "";
        position: absolute;

        top: 72px;
        left: 12%;
        right: 12%;

        height: 1px;

        background: rgba(255,255,255,.18);

        z-index: 0;
    }

    .del-meaning-item {
        z-index: 1;
    }

}


/* TABLET */

@media (max-width: 900px) {

    .del-meaning {
        margin-top: 55px;
        margin-bottom: 55px;
        padding-top: 45px;
    }

    .del-meaning-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .del-meaning-item {
        min-height: auto;

        display: grid;
        grid-template-columns: 82px 1fr;

        align-items: center;

        gap: 22px;

        padding: 26px;
    }

    .del-letter {
        width: 68px;
        height: 68px;

        margin-bottom: 0;

        font-size: 2.25rem;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .del-meaning {
        margin-top: 42px;
        margin-bottom: 46px;
        padding-top: 38px;
    }

    .del-meaning-heading {
        margin-bottom: 28px;
    }

    .del-meaning-heading h3 {
        font-size: 1.8rem;
    }

    .del-meaning-item {
        grid-template-columns: 60px 1fr;

        gap: 17px;

        padding: 22px 18px;

        border-radius: 14px;
    }

    .del-letter {
        width: 56px;
        height: 56px;

        font-size: 1.9rem;
    }

    .del-meaning-content h4 {
        font-size: 1.1rem;
        margin-bottom: 7px;
    }

    .del-meaning-content p {
        font-size: .94rem;
        line-height: 1.5;
    }

}

/* =========================================================
ESTADO DEL FORMULARIO
========================================================= */

.form-status {
    margin-top: 18px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-status.success {
    padding: 14px 18px;
    color: #245c36;
    background: #e9f6ed;
    border: 1px solid #b9dfc5;
    border-radius: 8px;
}

.form-status.error {
    padding: 14px 18px;
    color: #8b1f24;
    background: #fbeaec;
    border: 1px solid #efc1c4;
    border-radius: 8px;
}

.lead-form button:disabled {
    opacity: .65;
    cursor: not-allowed;
}