/* =========================================================
   HUMANIDADES APLICADAS — LAVAPERÚ
   Archivo independiente de VANGUARDIA
   ========================================================= */


/* ---------------------------------------------------------
   ESTRUCTURA GENERAL
   --------------------------------------------------------- */

.ha-page {
    width: 100%;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}


/* ---------------------------------------------------------
   PRIMERA SECCIÓN
   --------------------------------------------------------- */

.ha-intro {
    width: 70%;
    max-width: 1146px;
    margin: 0 auto;
    padding: 78px 0 88px;
    text-align: left;
}


/* Etiqueta naranja */

.ha-eyebrow {
    margin: 0 0 12px;
    color: #d35d19;
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}


/* Título principal */

.ha-intro h1 {
    max-width: 700px;
    margin: 0 0 24px;
    color: #fffca0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}


/* Texto introductorio */

.ha-intro > p:not(.ha-eyebrow) {
    max-width: 650px;
    margin: 0 0 17px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    word-spacing: normal;
}


/* Primeras palabras destacadas */

.ha-intro > p strong {
    font-weight: 700;
}


/* ---------------------------------------------------------
   LLAMADA Y BOTONES
   --------------------------------------------------------- */

.ha-notice {
    max-width: 650px;
    margin-top: 27px;
    padding: 3px 0 3px 20px;
    border-left: 3px solid #d35d19;
}


.ha-notice > strong {
    display: block;
    margin: 0 0 8px;
    color: #fffca0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}


.ha-notice > p {
    margin: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}


.ha-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}


.ha-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    border: 1px solid #d35d19;
    border-radius: 0;

    background: transparent;
    color: #d35d19 !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.ha-button:hover {
    background: #fffca0;
    border-color: #fffca0;
    color: #321216 !important;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   SEGUNDA SECCIÓN — LOS TRES GIROS
   --------------------------------------------------------- */

.ha-giros {
    width: 70%;
    max-width: 1146px;
    margin: 0 auto;

    padding: 78px 0 88px;

    border-top: 1px solid rgba(211, 93, 25, .22);

    scroll-margin-top: 110px;
}


/* Título de sección */

.ha-giros h2 {
    max-width: 900px;
    margin: 0 0 38px;

    color: #fffca0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;

    text-align: left;
}


/* ---------------------------------------------------------
   TRES CAJAS HORIZONTALES
   --------------------------------------------------------- */

.ha-giros-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.ha-giros-grid article {
    min-height: 230px;

    padding: 28px;

    border: 1px solid rgba(211, 93, 25, .28);

    background:
        rgba(50, 15, 29, .58);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.ha-giros-grid article:hover {
    transform: translateY(-4px);

    border-color: #d35d19;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, .20);
}


/* Títulos de los giros */

.ha-giros-grid h3 {
    margin: 0 0 14px;

    color: #fffca0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}


/* Texto de las cajas */

.ha-giros-grid p {
    margin: 0;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    text-align: left;
}


/* =========================================================
   TABLET Y MÓVIL
   ========================================================= */

@media (max-width: 900px) {

    .ha-intro,
    .ha-giros {
        width: 90%;
        max-width: none;
    }


    .ha-intro {
        padding: 58px 0 68px;
    }


    .ha-giros {
        padding: 68px 0 76px;
    }


    .ha-intro h1,
    .ha-giros h2 {
        font-size: clamp(30px, 8vw, 42px);
    }


    .ha-intro > p:not(.ha-eyebrow),
    .ha-notice {
        width: 100%;
        max-width: 650px;
    }


    /* Las tres cajas se apilan */

    .ha-giros-grid {
        grid-template-columns: 1fr;
    }


    .ha-giros-grid article {
        min-height: auto;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 520px) {

    .ha-intro,
    .ha-giros {
        width: 92%;
    }


    .ha-notice {
        padding-left: 14px;
    }


    .ha-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }


    .ha-button {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }


    .ha-giros-grid article {
        padding: 24px 22px;
    }

}


/* =========================================================
   ACCESIBILIDAD — REDUCIR MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ha-button,
    .ha-giros-grid article {
        transition: none;
    }

}
/* =========================================================
   CORRECCIÓN DEFINITIVA — EQUIPO HUMANIDADES APLICADAS
   2026-09-04
   ========================================================= */

.ha-team {
    width: 70% !important;
    max-width: 1146px !important;
    margin: 0 auto !important;
    padding: 78px 0 88px !important;
    border-top: 1px solid rgba(211, 93, 25, .22) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #fff !important;
}


/* RÓTULO */

.ha-team > .ha-eyebrow {
    margin: 0 0 12px !important;
    color: #d35d19 !important;
    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}


/* TÍTULO */

.ha-team > h2 {
    margin: 0 0 38px !important;
    color: #fffca0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
}


/* =========================================================
   TRES COLUMNAS
   ========================================================= */

.ha-team-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}


/* TARJETAS */

.ha-team-card {
    position: relative !important;
    min-width: 0 !important;
    min-height: 360px !important;
    padding: 30px 28px 28px !important;
    overflow: hidden !important;

    border: 1px solid rgba(211, 93, 25, .34) !important;
    border-radius: 0 !important;

    background:
        linear-gradient(
            145deg,
            rgba(100, 29, 48, .28),
            rgba(35, 12, 25, .72)
        ) !important;

    box-shadow: 0 18px 42px rgba(0, 0, 0, .18) !important;

    box-sizing: border-box !important;
}


/* LÍNEA NARANJA */

.ha-team-card::before {
    content: "" !important;
    position: absolute !important;
    top: 28px !important;
    left: 0 !important;
    width: 3px !important;
    height: 54px !important;
    background: #d35d19 !important;
}


/* BRILLO DECORATIVO */

.ha-team-card::after {
    content: "" !important;
    position: absolute !important;
    right: -45px !important;
    bottom: -45px !important;
    width: 130px !important;
    height: 130px !important;
    border-radius: 50% !important;
    background: rgba(211, 93, 25, .08) !important;
    pointer-events: none !important;
}


.ha-team-card h3 {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 0 20px !important;
    color: #d35d19 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


.ha-team-card > p {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    color: #fffca0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}



/* =========================================================
   NOMBRES DE COORDINACIÓN
   ========================================================= */

.ha-member-list {
    position: relative !important;
    z-index: 3 !important;
    display: grid !important;
    gap: 10px !important;
    margin: 0 0 20px !important;
}


.ha-member {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 2px 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px dotted rgba(255, 249, 138, .72) !important;

    box-shadow: none !important;

    color: #fffca0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    text-align: left !important;
    text-decoration: none !important;

    cursor: pointer !important;
}


.ha-member:hover,
.ha-member.is-active {
    background: transparent !important;
    color: #ffffff !important;
    border-bottom-color: #d35d19 !important;
}



/* =========================================================
   FICHA DE COORDINACIÓN
   ========================================================= */

.ha-team-panel {
    position: relative !important;
    z-index: 3 !important;

    width: 100% !important;
    min-height: 150px !important;

    margin: 18px 0 0 !important;
    padding: 20px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(217, 93, 22, .85) !important;
    border-radius: 14px !important;

    background: rgba(34, 12, 24, .92) !important;

    color: #ffffff !important;
}


/* PERFIL */

.ha-team-panel__intro,
.ha-team-panel__profile {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
    width: 100% !important;
}


/* FOTO — MUY IMPORTANTE */

.ha-team-panel__photo,
.ha-team-panel__placeholder {
    display: block !important;

    width: 92px !important;
    height: 92px !important;

    min-width: 92px !important;
    max-width: 92px !important;

    min-height: 92px !important;
    max-height: 92px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 2px solid #d35d19 !important;
    border-radius: 50% !important;

    object-fit: cover !important;
    object-position: center 18% !important;

    box-sizing: border-box !important;
}


.ha-team-panel__placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(211, 93, 25, .12) !important;

    color: #fffca0 !important;

    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}


/* NOMBRE */

.ha-team-panel__name {
    display: block !important;
    margin: 0 0 5px !important;

    color: #fff98a !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}


/* CARGO */

.ha-team-panel__role {
    display: block !important;
    margin: 0 0 12px !important;

    color: #d95d16 !important;

    font-family: "Roboto Condensed", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    line-height: 1.35 !important;

    text-transform: uppercase !important;
}


/* BIO */

.ha-team-panel__bio {
    display: block !important;

    margin: 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;

    text-align: left !important;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .ha-team {
        width: 90% !important;
        max-width: none !important;
        padding: 68px 0 76px !important;
    }

    .ha-team-grid {
        grid-template-columns: 1fr !important;
    }

    .ha-team-card {
        min-height: auto !important;
    }

    .ha-team > h2 {
        font-size: clamp(30px, 8vw, 42px) !important;
    }

}



/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 520px) {

    .ha-team {
        width: 92% !important;
    }

    .ha-team-card {
        padding: 24px 22px !important;
    }

    .ha-team-panel__intro,
    .ha-team-panel__profile {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .ha-team-panel__photo,
    .ha-team-panel__placeholder {
        width: 76px !important;
        height: 76px !important;

        min-width: 76px !important;
        max-width: 76px !important;

        min-height: 76px !important;
        max-height: 76px !important;
    }

}
/* =========================================================
   AJUSTE FINAL DE AIRE — PORTADA HUMANIDADES APLICADAS
   ========================================================= */

/* Redistribuir el espacio vertical:
   un poco menos arriba, bastante más abajo */
.ha-intro {
    padding-top: 62px !important;
    padding-bottom: 95px !important;
}


/* Título un poco más cerca del texto */
.ha-intro h1 {
    margin-bottom: 18px !important;
}


/* Ensanchar ligeramente los párrafos y compactar su separación */
.ha-intro > p:not(.ha-eyebrow) {
    max-width: 800px !important;
    margin: 0 0 10px !important;
}


/* Mantener separación clara antes del llamado final,
   pero sin desperdiciar altura */
.ha-notice {
    max-width: 800px !important;
    margin-top: 18px !important;
}


/* Botones apenas más cerca del texto de invitación */
.ha-actions {
    margin-top: 12px !important;
}