h2 {
    font-size: clamp(3.4rem, 5vw, 4.4rem);
}

/* LAPTO */
@media (max-width: 1134px) {
    h2 {
        font-size: clamp(3.4rem, 6vw, 4rem);
    }
}
/* PRE - CELULAR */
@media (max-width: 590px) {
    h2 {
        font-size: clamp(3rem, 6vw, 3.4rem);
    }
}


.hero_contenedor {
    margin-top: -2.5rem;
    grid-template-columns: 1fr;
}

.hero_texto .hero_titulo {
    text-align: center;
}

.hero_texto .hero_parrafo {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero_boton {
    width: fit-content;
    padding: 1.5rem 3rem;
    border-radius: 1.2rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}

@media (max-width: 585px) {
    .hero_texto .hero_titulo{
        text-align: start;
    }

    .hero_texto .hero_parrafo {
        text-align: start;
        margin-left: initial;
    }

    .hero_boton {
        margin-left: initial;
    }
}

/* SECCION TRAYECTORIA */

.trayectoria {
    background-color: #ffffff;
}

/* --- BLOQUE SUPERIOR --- */
.trayectoria__principal {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 6rem;
}

.trayectoria__titulo {
    color: var(--P2);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.trayectoria__linea {
    width: 80px;
    height: 8px;
    background-color: var(--P1);
    margin-bottom: 3rem;
    border-radius: 9999px;
}

.trayectoria__texto p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 2rem;
}

.trayectoria__texto strong {
    color: var(--P2);
}

.trayectoria__imagen-contenedor {
    position: relative;
    margin: auto 0;
}

.trayectoria__imagen {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

/* --- BLOQUE INFERIOR (Misión/Visión/Valores) --- */
.trayectoria__objetivos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.trayectoria__objetivos::before {
    position: absolute;
    content: '';
    background-color: rgba(226, 232, 240, 0.65);
    width: 100%;
    height: 1px;

    top: -2rem;
}

.tarjeta-objetivo {
    padding: 0 4rem;
    text-align: left;
    position: relative;
}
.tarjeta-objetivo:nth-child(1) {
    padding-left: 2rem;
}
.tarjeta-objetivo:nth-child(3) {
    padding-right: 2rem;
}

/* Líneas divisorias */
.tarjeta-objetivo:not(:last-child) {
    border-right: 1px solid rgba(226, 232, 240, 0.6);
}

.tarjeta-objetivo__icono {
    margin-bottom: 2rem;
}

.tarjeta-objetivo__titulo {
    font-size: 2rem;
    color: var(--P2);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.tarjeta-objetivo__descripcion {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #555555;
}

/* ==========================================
   RESPONSIVO (Breakpoints de tu proyecto)
   ========================================== */

@media (max-width: 1134px) {
    .trayectoria__principal {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 875px) {
    .trayectoria__objetivos {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .tarjeta-objetivo:nth-child(1) {
        padding-left: 0;
    }
    .tarjeta-objetivo:nth-child(3) {
        padding-right: 0;
    }

    .tarjeta-objetivo {
        padding: 0;
        border-right: none !important;
        border-bottom: 1px solid #E0E0E0;
        padding-bottom: 4rem;
    }

    .tarjeta-objetivo:last-child {
        border-bottom: none;
    }
}

@media (max-width: 495px) {
    .trayectoria__titulo {
        font-size: 2.8rem;
    }
    
    .trayectoria {
        padding: 5rem 0;
    }
}










/* SECCION - EQUIPO */


.equipo {
    background-color: var(--P2); /* Tu azul oscuro */
    padding: 9rem 0;
    position: relative;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.equipo__encabezado {
    text-align: center;
    margin-bottom: 6rem;
}

.equipo__titulo {
    position: relative;
    letter-spacing: 1px;
    margin-bottom: 2rem;

    color: var(--P3);
}
.equipo__titulo::after {
    position: absolute;
    content: '';
    width: 180px;
    height: 6px;
    background-color: var(--P1);
    border-radius: 2px;

    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.equipo__titulo .equipo__titulo--resaltado {
    color: var(--P1);
}

/* --- GRID DEL EQUIPO --- */
.equipo__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.equipo__card {
    text-align: center;
    transition: transform 0.3s ease;
}

.equipo__card:hover {
    transform: translateY(-10px);
}

.equipo__imagen-contenedor {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
}

.equipo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipo__nombre {
    font-size: 1.6rem;
    color: var(--P1);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}
.equipo__card:nth-child(2) .equipo__nombre,
.equipo__card:nth-child(4) .equipo__nombre {
    color: var(--P3); 
}

.equipo__cargo {
    font-size: 1.5rem;
    color: #e0e0e0;
    font-weight: 400;
}


.equipo__cargo--resaltado {
    color: var(--P1);
    font-weight: 600;
}


/* ==========================================
   RESPONSIVO
   ========================================== */

/* Laptop / Tablet */
@media (max-width: 1134px) {
    .equipo__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* Móvil */
@media (max-width: 495px) {
    .equipo {
        padding: 6rem 0;
    }

    .equipo__grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .equipo__titulo {
        font-size: 2.6rem;
        line-height: 1.2;
    }
}







.metodologia {
    background-color: #ffffff;
    overflow: hidden;
}

.metodologia__encabezado {
    text-align: center;
    margin-bottom: 8rem;
}

.metodologia__linea-titulo {
    width: 192px;
    height: 8px;
    border-radius: 999px;
    background-color: var(--P1);
    margin: 2rem auto 0;
}

/* --- CONTENEDOR DE LA RUTA --- */
.metodologia__ruta {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Línea vertical central */
.metodologia__ruta::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--P1);
    transform: translateX(-50%);
}

.metodologia__item {
    display: grid;
    grid-template-columns: 1fr 100px 1fr; /* Izquierda - Punto - Derecha */
    align-items: center;
    margin-bottom: 6rem;
}

.metodologia__item:last-child {
    margin-bottom: 0;
}

/* --- INFORMACIÓN Y MARCA DE AGUA --- */
.metodologia__info {
    position: relative;
    z-index: 1;
}

/* El número gigante de fondo */
.metodologia__info::after {
    content: attr(data-paso);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 900;
    color: var(--P1);
    opacity: 0.08; /* Muy tenue como en la imagen */
    z-index: -1;
}

.metodologia__item--izquierda .metodologia__info {
    text-align: right;
    padding-right: 1.6rem;
}

.metodologia__item--izquierda .metodologia__info::after {
    right: 0;
}

.metodologia__item--derecha .metodologia__info {
    text-align: left;
    padding-left: 1.8rem;
}

.metodologia__item--derecha .metodologia__info::after {
    left: 0;
}

.metodologia__paso-titulo {
    font-size: 2.4rem;
    color: var(--P2);
    font-weight: 700;
    margin-bottom: 1rem;
}

.metodologia__paso-desc {
    font-size: 1.6rem;
    color: #475569;
    line-height: 1.6;
}

/* --- EL PUNTO/CÍRCULO --- */
.metodologia__punto {
    display: flex;
    justify-content: center;
    z-index: 2;
}

.metodologia__circulo {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 3px solid var(--P1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--P1);
}

/* --- RESPONSIVO --- */

@media (max-width: 900px) {
    .metodologia__ruta::before {
        left: 30px;
    }

    .metodologia__item {
        grid-template-columns: 60px 1fr; /* Punto a la izquierda, texto a la derecha */
        gap: 2rem;
    }

    .metodologia__espacio {
        display: none;
    }

    .metodologia__item--izquierda .metodologia__info,
    .metodologia__item--derecha .metodologia__info {
        text-align: left;
        padding: 0;
        grid-column: 2;
    }

    .metodologia__item--izquierda .metodologia__info::after,
    .metodologia__item--derecha .metodologia__info::after {
        left: 0;
        right: auto;
    }

    .metodologia__punto {
        grid-column: 1;
        justify-content: flex-start;
    }
}

@media (max-width: 495px) {
    .metodologia__titulo {
        font-size: 2.4rem;
    }
    
    .metodologia__info::after {
        font-size: 8rem;
    }
}


/* ==========================================================================
   SECCIÓN CTA
========================================================================== */
.cta {
    padding: 9rem 0;
    position: relative;
    background-image: url('../media/bg_5.webp');
    background-size: cover;
    background-position: bottom;
    text-align: center;

    display: flex;
    flex-direction: column;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 14, 77, 0.5);
    mix-blend-mode: multiply;
    z-index: 1;
}

.cta_contenedor {
    position: relative;
    z-index: 2;

    margin: auto;
}

.cta_titulo {
    color: var(--P3);
    font-size: 6rem;
    max-width: 84rem;
    margin: 0 auto 2.5rem;
    line-height: 1.1;
}

.cta_titulo span {
    color: var(--P1);
    font-style: italic;
}

.cta_texto {
    font-size: 2rem;
    margin-bottom: 4.8rem;
    color: var(--P3);
    opacity: 0.85;

    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

/* Botón de WhatsApp */
.btn_whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.92rem 3.98rem;
    border-radius: 1.6rem;
    font-size: 1.7rem;
    letter-spacing: .8px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn_whatsapp:hover {
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* LAPTO */
@media (max-width: 1134px) {
    .cta_titulo {
        font-size: 5rem;
        margin: 0 auto 2.4rem;
    }

    .cta_texto {
        font-size: 1.8rem;
        margin-bottom: 4.6rem;
        max-width: 55rem;
    }

    .btn_whatsapp {
        gap: 1.4rem;
        padding: 1.75rem 3.6rem;
        border-radius: 1.5rem;
        font-size: 1.6rem;
        letter-spacing: .7px;
    }

    .btn_whatsapp svg {
        position: relative;
        top: 2px;

        width: 26px;
        height: 26px;
    }
}

/* TABLET */
@media (max-width: 785px) {
    .cta_titulo {
        font-size: 4.8rem;
        margin: 0 auto 2.4rem;
    }

    .cta_texto {
        font-size: 1.75rem;
        margin-bottom: 4.5rem;
        max-width: 55rem;
    }

    .btn_whatsapp {
        gap: 1.4rem;
        padding: 1.7rem 3.5rem;
        border-radius: 1.4rem;
        font-size: 1.55rem;
        letter-spacing: .65px;
    }

    .btn_whatsapp svg {
        position: relative;
        top: 2.2px;

        width: 24px;
        height: 24px;
    }
}

/* PRE - CELULAR */
@media (max-width: 650px) {
    .cta_titulo {
        font-size: 4.4rem;
    }

    .cta_texto {
        font-size: 1.7rem;
        max-width: 50rem;
    }

    .btn_whatsapp {
        gap: 1.3rem;
        padding: 1.65rem 3.45rem;
        font-size: 1.5rem;
    }

    .btn_whatsapp svg {
        top: 2.1px;

        width: 22px;
        height: 22px;
    }
}

/* CELULAR */
@media (max-width: 550px) {
    .cta_titulo {
        font-size: 4.2rem;
        margin: 0 auto 2.4rem;
    }

    .cta_texto {
        font-size: 1.6rem;
        margin-bottom: 4.5rem;
        max-width: 55rem;
    }

    .btn_whatsapp {
        gap: 1.2rem;
        padding: 1.6rem 3.4rem;
        font-size: 1.4rem;
        border-radius: 1.4rem;
        letter-spacing: .65px;
    }

    .btn_whatsapp svg {
        top: 2px;

        width: 20px;
        height: 20px;
    }
}

@media (max-width: 522px) {
    .cta_titulo {
        font-size: 4rem;
        margin: 0 auto 2.4rem;
    }
}

@media (max-width: 496px) {
    .cta_titulo {
        font-size: 3.8rem;
        margin: 0 auto 2.4rem;
    }
}