/* -------------------------
   CONFIGURACIÓN GENERAL
------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #56328c;
    background: #ffffff;
}

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

/* -------------------------
   ENCABEZADO
------------------------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.encabezado {
    position: relative;
    background: #ffffff;
    z-index: 10;
}

.barra-colores {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 7px;
}

.barra-colores span:nth-child(1) {
    background: #56328c;
}

.barra-colores span:nth-child(2) {
    background: #8e43a3;
}

.barra-colores span:nth-child(3) {
    background: #c9adff;
}

.barra-colores span:nth-child(4) {
    background: #ca2d68;
}

.barra-colores span:nth-child(5) {
    background: #f26722;
}

.barra-colores span:nth-child(6) {
    background: #ffb65e;
}

.navegacion {
    width: min(1180px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.imagen-logo {
    display: block;
    width: 138px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-enlace,
.boton-sumate {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 23px;
    border-radius: 999px;

    color: #5b3192;
    background: #f4f1f7;

    font-size: 13px;
    font-weight: 700;

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

.menu-enlace:hover,
.boton-sumate:hover {
    color: #ffffff;
    background: #7c3f9b;
    transform: translateY(-2px);
}

/* -------------------------
   HERO
------------------------- */

.hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #ffffff;
}

.galeria-hero {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    width: max-content;
    padding: 14px 0;

    transform: translateX(0);
    will-change: transform;
}

.foto {
    position: relative;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    overflow: hidden;
    border-radius: 22px;

    color: #ffffff;
    background:
        linear-gradient(135deg,
            #5e3490,
            #c4a5e8);

    font-size: 14px;
    font-weight: 700;
}

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

.foto-1 {
    width: 190px;
    height: 130px;
    margin-top: 0;
}

.foto-2 {
    width: 140px;
    height: 190px;
    margin-top: 35px;
}

.foto-3 {
    width: 210px;
    height: 280px;
    margin-top: 0;
}

.foto-4 {
    width: 135px;
    height: 180px;
    margin-top: 30px;
}

.foto-5 {
    width: 210px;
    height: 140px;
    margin-top: 12px;
}

.foto-6 {
    width: 140px;
    height: 190px;
    margin-top: 70px;
}

.foto-7 {
    width: 140px;
    height: 180px;
    margin-top: 45px;
}

.foto-8 {
    width: 200px;
    height: 145px;
    margin-top: 15px;
}

.degradado-hero {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to bottom,
            transparent 22%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0.72) 61%,
            #ffffff 79%);

    pointer-events: none;
}

.contenido-hero {
    position: absolute;
    left: 50%;
    bottom: 38px;

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

    transform: translateX(-50%);
    text-align: center;
}

.contenido-hero h1 {
    margin: 0;

    font-size: clamp(36px, 4.4vw, 46px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.contenido-hero p {
    margin: 10px 0 0;

    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    font-weight: 300;
    text-transform: uppercase;
}

/* -------------------------
   COMPROMISOS
------------------------- */

.compromisos {
    min-height: 320px;
    padding: 38px 5%;

    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 45px;

    overflow: hidden;
    color: #ffffff;
    background: #57328c;
}

.titulo-compromisos {
    display: flex;
    align-items: center;
    height: 100%;
}

.titulo-compromisos h2 {
    max-width: 300px;
    margin: 0;

    font-size: clamp(32px, 3vw, 44px);
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
}

.titulo-compromisos span {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 14px;

    color: #57328c;
    background: #ffb45b;
}

.contenedor-carteles {
    width: 100%;

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

    overflow: visible;
}

.imagen-carteles {
    display: block;
    width: min(100%, 900px);
    height: auto;
    margin: 0;

    transform: scale(1.45);
    transform-origin: center;
}

@media (max-width: 700px) {
    .compromisos {
        min-height: auto;
        padding: 45px 24px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .titulo-compromisos h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .imagen-carteles {
        width: 100%;
    }
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 900px) {

    .navegacion {
        width: min(100% - 30px, 700px);
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .menu {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .menu-enlace {
        flex-shrink: 0;
    }

    .hero {
        min-height: 500px;

    }

    .galeria-hero {
        left: -35px;
        gap: 14px;
    }

    .compromisos {
        grid-template-columns: 1fr;
        padding: 31px 4.8% 0;
    }

    .footer-contenido {
        width: min(100% - 36px, 500px);
        padding: 35px 0;
    }

    .footer-izquierda {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo img {
        width: 125px;
    }

    .footer-enlaces {
        flex-direction: column;
        gap: 14px;
    }

}

/* -------------------------
   ACERCA DEL PROGRAMA
------------------------- */

.pagina-acerca {
    color: #56328c;
    background: #ffffff;
}

.acerca-hero {
    min-height: 390px;
    padding: 70px 24px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background:
        linear-gradient(135deg, #56328c, #9144a5);
}

.acerca-hero-contenido {
    width: min(900px, 100%);
    text-align: center;
}

.acerca-etiqueta,
.acerca-subtitulo {
    margin: 0 0 14px;

    color: #ca2d68;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.acerca-hero .acerca-etiqueta {
    color: #ffb65e;
}

.acerca-hero h1 {
    margin: 0;

    font-size: clamp(46px, 8vw, 88px);
    line-height: 0.95;
    text-transform: uppercase;
}

.acerca-introduccion {
    max-width: 680px;
    margin: 28px auto 0;

    font-size: clamp(20px, 3vw, 29px);
    line-height: 1.35;
}

.acerca-presentacion {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 90px 0;

    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: 70px;
}

.acerca-texto h2,
.acerca-encabezado-seccion h2,
.acerca-invitacion h2 {
    margin: 0;

    font-size: clamp(34px, 5vw, 55px);
    line-height: 1;
    text-transform: uppercase;
}

.acerca-texto>p:not(.acerca-subtitulo) {
    margin: 25px 0 0;

    color: #3f3450;

    font-size: 18px;
    line-height: 1.7;
}

.acerca-destacado {
    padding: 42px;
    border-radius: 28px;

    color: #56328c;
    background: #ffb65e;

    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
}

.acerca-destacado p {
    margin: 0;
}

.acerca-ejes {
    padding: 85px 24px 100px;
    background: #f4f1f7;
}

.acerca-encabezado-seccion {
    width: min(1100px, 100%);
    margin: 0 auto 50px;
}

.acerca-tarjetas {
    width: min(1100px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.acerca-tarjeta {
    min-height: 280px;
    padding: 32px;
    border-radius: 24px;

    color: #ffffff;
    background: #56328c;
}

.acerca-tarjeta:nth-child(2) {
    background: #8e43a3;
}

.acerca-tarjeta:nth-child(3) {
    background: #ca2d68;
}

.acerca-tarjeta span {
    color: #ffb65e;
    font-size: 19px;
    font-weight: 900;
}

.acerca-tarjeta h3 {
    margin: 55px 0 14px;
    font-size: 27px;
    text-transform: uppercase;
}

.acerca-tarjeta p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.acerca-invitacion {
    padding: 70px max(24px, calc((100% - 1100px) / 2));

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    color: #ffffff;
    background: #ca2d68;
}

.acerca-invitacion .acerca-subtitulo {
    color: #ffb65e;
}

.acerca-boton {
    flex-shrink: 0;
    padding: 16px 30px;
    border-radius: 999px;

    color: #56328c;
    background: #ffb65e;

    font-size: 16px;
    font-weight: 900;
}

@media (max-width: 800px) {

    .acerca-presentacion {
        padding: 65px 0;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .acerca-tarjetas {
        grid-template-columns: 1fr;
    }

    .acerca-tarjeta {
        min-height: 230px;
    }

    .acerca-invitacion {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 500px) {

    .acerca-hero {
        min-height: 330px;
        padding: 55px 22px;
    }

    .acerca-presentacion {
        width: min(100% - 36px, 1100px);
    }

    .acerca-destacado {
        padding: 30px;
        font-size: 21px;
    }

    .acerca-ejes {
        padding: 65px 18px 75px;
    }
}

/* -------------------------
   FOOTER
------------------------- */

.footer {
    color: #ffffff;
    background: #4b287a;
}

.footer-contenido {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    padding: 38px 0 42px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 80px;
}

.footer-izquierda {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    display: block;
    width: 190px;
    height: auto;
}

.footer-texto {
    max-width: 290px;
}

.footer-texto p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.footer-texto .footer-copyright {
    margin-top: 18px;
    font-size: 12px;
    opacity: 0.75;
}

.footer-derecha {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 25px;
}

.footer-enlaces {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-enlaces a {
    font-size: 13px;
    font-weight: 700;
}

.footer-redes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-redes a {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, 0.15);
}

.footer-redes img {
    display: block;
    width: 19px;
    height: 19px;
}

@media (max-width: 600px) {

    .logo-temporal {
        width: 120px;
        font-size: 12px;
    }

    .boton-sumate {
        padding: 10px 18px;
    }

    /* HERO EN CELULAR */

    .hero {
        min-height: 460px;
    }

    .galeria-hero {
        gap: 12px;
        padding-top: 12px;
        left: -45px;
    }

    .foto-1 {
        width: 155px;
        height: 105px;
        margin-top: 0;
    }

    .foto-2 {
        width: 105px;
        height: 155px;
        margin-top: 32px;
    }

    .foto-3 {
        width: 145px;
        height: 215px;
        margin-top: 0;
    }

    .foto-4 {
        width: 105px;
        height: 155px;
        margin-top: 24px;
    }

    .foto-5 {
        display: block;
        width: 155px;
        height: 105px;
        margin-top: 10px;
    }

    .foto-6 {
        width: 105px;
        height: 155px;
        margin-top: 55px;
    }

    .foto-7 {
        width: 110px;
        height: 160px;
        margin-top: 35px;
    }

    .foto-8 {
        width: 150px;
        height: 110px;
        margin-top: 15px;
    }

    .contenido-hero {
        bottom: 34px;
    }

    .contenido-hero h1 {
        font-size: 32px;
    }

    .contenido-hero p {
        font-size: 21px;
        line-height: 1.1;
    }

    .compromisos {
        padding: 35px 24px 0;
    }

    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-derecha {
        width: 100%;
        align-items: flex-start;
    }

    .footer-enlaces {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* -------------------------
   SECCIÓN ACERCA DEL PROGRAMA
------------------------- */

.seccion-acerca {
    position: relative;
    min-height: 620px;
    padding: 70px 24px;

    display: grid;
    place-items: center;

    overflow: hidden;
    background: #ffffff;
}

.tarjeta-acerca {
    width: min(780px, calc(100% - 48px));
    min-height: 440px;
    border-radius: 55px;
}

.tarjeta-acerca-fondo {
    position: absolute;
    top: 100px;
    left: 50%;

    background: #813c9e;

    transform:
        translateX(-44%) rotate(2deg);
}

.tarjeta-acerca-principal {
    position: relative;
    z-index: 2;

    padding: 55px 48px;

    color: #56328c;
    background: #c2a8ff;
}

.tarjeta-acerca-principal::before {
    content: "";
    display: block;

    width: calc(100% - 55px);
    margin-bottom: 44px;
    border-top: 2px dotted rgba(255, 255, 255, 0.7);
}

.icono-informacion {
    position: absolute;
    top: 28px;
    right: 28px;

    width: 54px;
    height: 54px;
    border-radius: 10px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: #56328c;

    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.tarjeta-acerca h2 {
    margin: 0 0 34px;

    font-size: clamp(40px, 6vw, 66px);
    line-height: 0.95;
    text-transform: uppercase;
}

.contenido-acerca {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: stretch;
    gap: 48px;
}

.texto-acerca p {
    margin: 0 0 15px;

    font-size: 16px;
    line-height: 1.3;
}

.imagen-acerca {
    display: block;
    width: 100%;
    height: 210px;
    border-radius: 8px;

    object-fit: cover;
    background: #ffffff;
}

@media (max-width: 750px) {

    .seccion-acerca {
        min-height: auto;
        padding: 55px 18px 80px;
    }

    .tarjeta-acerca {
        width: min(100% - 18px, 620px);
        min-height: 0;
        border-radius: 38px;
    }

    .tarjeta-acerca-fondo {
        top: 85px;
        transform:
            translateX(-47%) rotate(2deg);
    }

    .tarjeta-acerca-principal {
        padding: 42px 30px;
    }

    .tarjeta-acerca-principal::before {
        margin-bottom: 35px;
    }

    .contenido-acerca {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .imagen-acerca {
        height: 220px;
    }
}

@media (max-width: 450px) {

    .tarjeta-acerca-principal {
        padding: 35px 24px;
    }

    .icono-informacion {
        top: 20px;
        right: 20px;

        width: 46px;
        height: 46px;

        font-size: 34px;
    }

    .tarjeta-acerca h2 {
        font-size: 38px;
    }

    .texto-acerca p {
        font-size: 15px;
    }
}

.imagen-carteles {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

/* -------------------------
   SECCIÓN MÓDULOS
------------------------- */

.seccion-modulos {
    position: relative;
    min-height: 700px;
    padding: 70px max(24px, calc((100% - 1180px) / 2)) 90px;

    overflow: hidden;
    color: #56328c;
    background: #ffffff;
}

.encabezado-modulos {
    margin-bottom: 45px;
    text-align: center;
}

.encabezado-modulos h2 {
    margin: 0;

    font-size: clamp(37px, 5vw, 58px);
    line-height: 1;
    text-transform: uppercase;
}

.linea-modulos {
    width: min(390px, 70%);
    height: 14px;
    margin: 12px auto 0;

    background-image:
        url("../imagenes/modulos/linea_amarilla.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.lista-modulos {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 25px;
}

.tarjeta-modulo {
    position: relative;
    min-height: 310px;
    padding: 42px 22px 22px;
    border-radius: 35px;

    display: flex;
    align-items: center;
    flex-direction: column;

    color: #ffffff;
    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tarjeta-modulo:hover {
    transform: translateY(-8px) rotate(0);
    box-shadow: 0 18px 30px rgba(86, 50, 140, 0.2);
}

.punto-modulo {
    position: absolute;
    top: 16px;
    left: 18px;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    background: #ffffff;
}

.tarjeta-modulo h3 {
    margin: 0 0 10px;
    font-size: 25px;
}

.tarjeta-modulo p {
    min-height: 64px;
    margin: 0;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.05;
}

.tarjeta-modulo img {
    display: block;
    width: 95%;
    height: 190px;
    margin: 12px auto 0;
    object-fit: contain;
}

.modulo-1 {
    color: #8e43a3;
    background: #eeeeee;
    transform: rotate(1.5deg);
}

.modulo-2 {
    background: #66309a;
    transform: rotate(-1deg);
}

.modulo-3 {
    color: #56328c;
    background: #bda4ff;
    transform: rotate(2deg);
}

.modulo-4 {
    background: #ca2d68;
    transform: rotate(-1deg);
}

.modulo-5 {
    grid-column: 2 / 4;
    justify-self: center;

    width: min(310px, 100%);
    margin-top: 18px;

    background: #56328c;
    transform: rotate(3deg);
}

.imagen-modulo-temporal {
    margin-top: 12px;
    font-size: 125px;
    line-height: 1;
}


@media (max-width: 850px) {

    .seccion-modulos {
        padding: 60px 24px 80px;
    }

    .lista-modulos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modulo-5 {
        grid-column: 1 / 3;
    }
}

@media (max-width: 520px) {

    .lista-modulos {
        grid-template-columns: 1fr;
    }

    .tarjeta-modulo,
    .modulo-5 {
        grid-column: auto;
        justify-self: stretch;

        width: 100%;
        max-width: 340px;
        margin: 0 auto;

        transform: none;
    }

    .tarjeta-modulo {
        min-height: 280px;
    }

    .encabezado-modulos h2 {
        font-size: 36px;
    }
}

/* -------------------------
   SECCIÓN TESTIMONIOS
------------------------- */

.seccion-testimonios {
    padding: 70px 24px 90px;

    color: #56328c;
    background: #c72d70;
}

.contenedor-testimonios {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.encabezado-testimonios {
    margin-bottom: 45px;
}

.encabezado-testimonios h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(45px, 7vw, 72px);
    line-height: 1;
    text-transform: uppercase;
}

.linea-testimonios {
    width: 300px;
    max-width: 70%;
    height: 5px;
    margin-top: 14px;
    border-radius: 50%;

    background: #ffb65e;
    transform: rotate(-1deg);
}

.cuadricula-testimonios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 38px 42px;
}

.tarjeta-testimonio {
    position: relative;
    width: 100%;
    min-height: 200px;
    padding: 26px 30px 38px;
    border-radius: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #56328c;
    background: #ffffff;
}

.tarjeta-testimonio p {
    margin: 0 0 14px;

    font-size: 17px;
    line-height: 1.25;
}

.tarjeta-testimonio h3 {
    margin: 0;

    font-size: 29px;
    line-height: 1;
    text-transform: capitalize;
}

.simbolo-testimonio {
    position: absolute;
    right: 18px;
    bottom: -24px;

    display: block;
    width: 76px;
    height: 76px;

    object-fit: contain;
}

.foto-testimonios {
    margin: 0;
    padding: 10px;
    border-radius: 12px;

    background: #ffb65e;
    transform: rotate(1deg);
}

.foto-testimonios img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 8px;

    object-fit: cover;
}

@media (max-width: 720px) {

    .seccion-testimonios {
        padding: 60px 20px 75px;
    }

    .cuadricula-testimonios {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .tarjeta-testimonio {
        min-height: 200px;
    }

    .foto-testimonios {
        transform: none;
    }
}

@media (max-width: 450px) {

    .encabezado-testimonios h2 {
        font-size: 43px;
    }

    .tarjeta-testimonio {
        padding: 30px 28px 45px;
    }

    .tarjeta-testimonio p {
        font-size: 16px;
    }
}

/* -------------------------
   SECCIÓN ÚNETE A LA RED
------------------------- */

.seccion-unete {
    padding: 75px 24px 100px;

    color: #56328c;
    background: #ffffff;
}

.contenedor-unete {
    width: min(1100px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.2fr);
    align-items: center;
    gap: 55px;
}

.encabezado-unete {
    margin-bottom: 28px;
}

.encabezado-unete h2 {
    margin: 0;

    font-size: clamp(45px, 6vw, 68px);
    line-height: 1;
    text-transform: uppercase;
}

.linea-unete {
    width: 250px;
    max-width: 75%;
    height: 5px;
    margin-top: 12px;

    background: #ffb65e;
    transform: rotate(-2deg);
}

.formulario-unete {
    padding: 26px;
    border-radius: 3px;

    background: #d8c7f5;
}

.formulario-unete h3 {
    margin: 0 0 20px;

    font-size: 18px;
    line-height: 1.1;
}

.etiqueta-campo {
    display: block;
    margin-bottom: 10px;
}

.etiqueta-campo span {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.etiqueta-campo input,
.etiqueta-campo textarea {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 12px 15px;

    color: #56328c;
    background: #ffffff;

    font: inherit;
    outline: none;
}

.etiqueta-campo textarea {
    min-height: 115px;
    border-radius: 15px;
    resize: vertical;
}

.etiqueta-campo input:focus,
.etiqueta-campo textarea:focus {
    box-shadow: 0 0 0 3px rgba(86, 50, 140, 0.25);
}

.formulario-unete button {
    border: 0;
    border-radius: 12px;
    padding: 8px 18px;

    color: #56328c;
    background: #b89de5;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;
}

.galeria-unete {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 175px 175px;
    gap: 18px;
}

.foto-unete {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
}

.foto-unete img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.foto-unete-1 {
    grid-row: 1 / 3;
}

.foto-unete-2 {
    grid-column: 2;
    grid-row: 1;
}

.foto-unete-3 {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 800px) {

    .contenedor-unete {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .galeria-unete {
        order: -1;
    }
}

@media (max-width: 500px) {

    .seccion-unete {
        padding: 60px 18px 75px;
    }

    .galeria-unete {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 220px);
    }

    .foto-unete-1,
    .foto-unete-2,
    .foto-unete-3 {
        grid-column: auto;
        grid-row: auto;
    }

    .encabezado-unete h2 {
        font-size: 44px;
    }

    .formulario-unete {
        padding: 22px 18px;
    }
}

/* -------------------------
   AJUSTE FINAL: GALERÍA HERO
------------------------- */

.hero .galeria-hero {
    inset: 14px auto auto -20px;

    width: calc(100% + 40px);
    height: 315px;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows:
        clamp(115px, 12vw, 150px) clamp(125px, 13vw, 165px);
    align-items: stretch;
    gap: 10px;

    transform: none;
}

.hero .foto {
    width: auto;
    height: auto;
    margin: 0;
    left: auto;

    display: block;
    border-radius: 20px;
}

.hero .foto-1 {
    grid-column: 1;
    grid-row: 1;
}

.hero .foto-2 {
    grid-column: 2;
    grid-row: 1;
}

.hero .foto-3 {
    grid-column: 3;
    grid-row: 1 / 3;
}

.hero .foto-4 {
    grid-column: 4;
    grid-row: 1;
    margin-top: 16px;
}

.hero .foto-5 {
    grid-column: 5 / 7;
    grid-row: 1;
}

.hero .foto-6 {
    grid-column: 1;
    grid-row: 2;
    margin-left: 14px;
}

.hero .foto-7 {
    grid-column: 5;
    grid-row: 2;
}

.hero .foto-8 {
    grid-column: 6;
    grid-row: 2;
    margin-left: 8px;
}

@media (max-width: 760px) {

    .hero {
        min-height: 500px;
    }

    .hero .galeria-hero {
        inset: 12px auto auto -15px;

        width: calc(100% + 30px);
        height: 255px;

        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: 115px 130px;
        gap: 10px;
    }

    .hero .foto-4 {
        display: block;
        margin-top: 18px;
    }

    .hero .foto-6 {
        margin-left: 20px;
    }
}

@media (max-width: 520px) {

    .hero {
        min-height: 470px;
    }

    .hero .galeria-hero {
        left: -12px;
        width: calc(100% + 24px);

        grid-template-rows: 105px 120px;
        gap: 8px;
    }

    .hero .contenido-hero {
        bottom: 30px;
    }
}
/* -------------------------
   FOOTER SIMPLE
------------------------- */

.footer {
    background: #c9adff;
}

.footer-simple {
    width: min(1100px, calc(100% - 48px));
    min-height: 110px;
    margin: 0 auto;

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

.footer-redes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-redes a {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: #ffffff;

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

.footer-redes a:hover {
    background: #ffb65e;
    transform: translateY(-2px);
}

.footer-redes img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-simple {
        width: calc(100% - 36px);
        min-height: 95px;
        justify-content: center;
    }
}