* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    width: 100%;
}

/* LOGO */
.site-header {
    width: 100%;
    text-align: center;
    padding: 28px 20px 30px;
}

.logo {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto;
}

/* FOTOGRAFIAS */
.photo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* TITULO SOBRE LA FOTO */
.photo-title {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90%);
    text-align: center;
    color: #fff;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.6);
}

/* FLECHAS */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.slider-button.prev {
    left: 18px;
}

.slider-button.next {
    right: 18px;
}

/* PUNTOS */
.slider-dots {
    position: absolute;
    z-index: 6;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: #fff;
}

/* DESCRIPCION */
.description {
    width: 100%;
    text-align: center;
    padding: 30px 20px 20px;
}

.description p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    color: #55708f;
}

/* TRES LOGOS */
.logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 25px 20px 40px;
}

.logos img {
    width: 170px;
    height: 130px;
    object-fit: contain;
}

/* INTEGRANTES */
.integrantes {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 40px 48px;
}

.integrantes h2 {
    margin: 0 0 32px;
    text-align: center;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 500;
    color: #111;
}

.integrantes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 70px;
    row-gap: 66px;
}

.integrante {
    text-align: center;
    color: #55708f;
    font-size: 15px;
    line-height: 1.5;
    min-height: 64px;
}

.integrante strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.integrante span {
    display: block;
}

/* PIE DE PAGINA */
.site-footer {
    width: 100%;
    margin-top: 8px;
    background: #f0f0f0;
    color: #55708f;
    text-align: center;
    padding: 27px 20px;
    font-size: 13px;
    line-height: 1.5;
}

.site-footer span {
    color: #111;
    padding: 0 4px;
}

.site-footer strong {
    font-weight: 700;
}

.site-footer a {
    color: #111;
    text-decoration: underline;
}

/* CELULARES */
@media (max-width: 700px) {

    .site-header {
        padding: 20px 15px 22px;
    }

    .logo {
        width: 105px;
        height: 105px;
    }

    .photo-title {
        font-size: 19px;
        width: 92%;
    }

    .slider-button {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .slider-button.prev {
        left: 8px;
    }

    .slider-button.next {
        right: 8px;
    }

    .description {
        padding: 25px 18px 15px;
    }

    .description p {
        font-size: 15px;
    }

    .logos {
        gap: 20px;
        padding: 20px 10px 35px;
    }

    .logos img {
        width: 100px;
        height: 90px;
    }

    .integrantes {
        padding: 5px 20px 40px;
    }

    .integrantes h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .integrantes-grid {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .site-footer {
        font-size: 11px;
        padding: 22px 15px;
    }
}

/* === AJUSTE FINAL INTEGRANTES Y PIE === */

.integrantes {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 10px 40px 70px !important;
    text-align: center !important;
}

.integrantes h2 {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 35px !important;
    text-align: center !important;
    font-size: 27px !important;
    font-weight: 500 !important;
    color: #111 !important;
}

.integrantes-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 70px !important;
    row-gap: 65px !important;
    margin: 0 auto !important;
}

.integrante {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #55708f !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.integrante strong {
    display: block !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
}

.integrante span {
    display: block !important;
}

/* PIE SEPARADO DE INTEGRANTES */
.site-footer {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin-top: 25px !important;
    padding: 28px 20px !important;
    background: #f0f0f0 !important;
    text-align: center !important;
    color: #55708f !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.site-footer strong {
    font-weight: 700 !important;
}

.site-footer a {
    color: #111 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* VERSION MOVIL */
@media (max-width: 700px) {
    .integrantes {
        padding: 10px 20px 55px !important;
    }

    .integrantes-grid {
        grid-template-columns: 1fr !important;
        row-gap: 35px !important;
    }

    .site-footer {
        margin-top: 20px !important;
        padding: 22px 15px !important;
        font-size: 11px !important;
    }
}



/* SLIDER RESPONSIVE FLUIDO - 2026-09-07 */
.slides {
    height: clamp(200px, 18vw, 320px);
    aspect-ratio: auto;
}

.photo-title {
    font-size: clamp(16px, 1.65vw, 27px);
    line-height: 1.2;
    width: min(900px, 94%);
}
