@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');



:root {
    --azul: #98C2FC;
    --azul-claro: #DDEBFF;
    --naranja: #FF7043;
    --naranja-claro: #F9CAA1;
    --violeta: #AF64E3;
    --violeta-claro: #E7CFFF;
    --negro: #252A30;
    --gris: #62676D;
    --crema: #FFF8EF;
    --blanco: #FFFFFF;
    --radio: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--negro);
    background: var(--crema);
    line-height: 1.6;
}

header {
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6vw;
    background: var(--negro);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid var(--naranja);
}


header img {
    width: 80px;
    height: auto;
    display: block;
}


nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

nav a:hover {
    background: var(--naranja);
    color: var(--negro);
}

nav li:first-child a {
    background: var(--naranja);
    color: var(--negro);
}


main {
    width: min(1180px, 88%);
    margin: 0 auto;
}

main > h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.9;
    max-width: 900px;
    margin: 90px 0 35px;
    letter-spacing: -4px;
}

main > h1::first-line {
    color: var(--azul);
}

main > img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
    border-radius: var(--radio);
    box-shadow: 12px 12px 0 var(--azul);
    margin-bottom: 100px;
}

img.mapa {
    width: 100%;          
    max-width: 100%;
    margin: 0 auto 100px auto;
}

section {
    margin-bottom: 90px;
}

article {
    background: var(--blanco);
    padding: 35px;
    border-radius: var(--radio);
    margin-bottom: 25px;
    border: 2px solid var(--negro);
    box-shadow: 7px 7px 0 var(--negro);
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    margin-bottom: 12px;
}

p {
    max-width: 750px;
    font-size: 17px;
    color: var(--gris);
}

article:first-child {
    background: var(--azul);
    position: relative;
    overflow: hidden;
}

article:first-child::after {
    content: "✦";
    position: absolute;
    right: 35px;
    top: 25px;
    font-size: 90px;
    color: var(--blanco);
    opacity: 0.7;
}

article ul {
    margin-top: 20px;
    padding-left: 20px;
}

article li {
    margin-bottom: 7px;
}

.nombres {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin-top: 30px;
}

.nombres li {
    margin: 0;
}

.nombres a {
    display: inline-block;
    text-decoration: none;
    color: var(--negro);
    background: var(--naranja);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease;
}
.integrantes {
    background-color: var(--color-fondo-cuadros);
}

.integrantes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    }

.integrantes img {
    border-radius: 10px;
    border-color: var(--color-fondo-cuadros);
}

.integrantes img:hover  {
transform: scale(1.08);
transform: rotate(170deg);
}

.integrantes a {
    text-decoration: none;
    color: var(--color-subtitulo-oscuro);
    font-weight: var(--peso-semibold);
}


.integrantes article { 
    padding: 14px;
    border-style: solid;
    border-radius: 14px;
}

.integrantes a:hover { 
    color: var(--naranja);   
    transform: translateY(5px);
    transform: translateX(5px);
    text-shadow: 0px 0px 20px;
}

section .integrantes { 
    margin-top: 20px;
    }

.nombres a:hover {
    transform: translateY(-4px);
}


section article:nth-child(2),
section article:nth-child(3) {
    background: var(--azul);
}

.academica article {
    aspect-ratio: 1 / 1;
    min-height: auto;
}

.academica {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.academica article {
    background: var(--naranja-claro);
    min-height: 260px;
    padding: 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.academica h2 {
    font-size: 27px;
    line-height: 1.05;
}

.academica ul {
    font-size: 15px;
}

section article:last-child p {
    color: var(--blanco);
}


footer {
    margin-top: 100px;
    padding: 45px 6vw;
    background: var(--negro);
    color: var(--blanco);
}

footer p {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.5;
    color: #D5D8DC;
}

main::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--naranja);
    border-radius: 50%;
    right: -60px;
    top: 400px;
    opacity: 0.7;
    z-index: -1;
}

@media (max-width: 768px) {
        header{
            padding: 15px 5vw;
            flex-direction: column;
            gap: 15px;
            }
            
        header img {
            width: 70px;
            }
            
        nav ul {
            flex-wrap: wrap;
            justify-content: center;
        }
        nav a {
            font-size: 12px;
            padding: 8px 12px;
        }
        main {
            width: 90%;
        }
        main > h1 {
            font-size: 52px;
            margin-top: 60px;
            letter-spacing: -2px;
        }
        main > img {
            box-shadow: 7px 7px 0 var(--azul);
            margin-bottom: 60px;
        }
        article {
            padding: 25px;
            box-shadow: 5px 5px 0 var(--negro);
        }
        h2 {
            font-size: 32px;
        }
        p {
            font-size: 16px;
        }
        .nombres {
            flex-direction: column;
            align-items: flex-start;
            }
}

@media (max-width: 768px) {
    
.academica {
            grid-template-columns: 1fr;
            }
    .academica article {
            aspect-ratio: auto;
            min-height: 240px;
        }

        .integrantes {
            grid-template-columns: 1fr;
            }
    .integrantes article {
            aspect-ratio: auto;
            min-height: 240px;
        }
}
