/* ======================================================
   PÁGINA DOCENTES
====================================================== */

.docentes-body,
.docentes-main {
    background: #f7f6f3;
    color: #292b2a;
    font-family: "Inter", Arial, sans-serif;
}

.docentes-main { overflow: hidden; }
.docentes-container { max-width: 1180px; }

.docentes-eyebrow {
    display: block;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}
.docentes-eyebrow2 {
    display: block;
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1.8px;
}

.docentes-main h1,
.docentes-main h2,
.docentes-main h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
}

/* Hero */
.docentes-hero {
    position: relative;
    padding: 82px 0 110px;
    overflow: hidden;
    background: #fff;
}

.docentes-hero::before {
    position: absolute;
    top: -175px;
    right: -100px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(82, 170, 164, .22);
    border-radius: 50%;
    content: "";
}

.docentes-hero::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 66px;
    background: #172825;
    clip-path: polygon(0 100%, 100% 42%, 100% 100%);
    content: "";
}

.docentes-hero__contenido { position: relative; z-index: 1; }

.docentes-hero h1 {
    max-width: 720px;
    margin: 12px 0 20px;
    color: #202020;
    font-size: 58px;
    line-height: 1.04;
}

.docentes-hero p {
    max-width: 610px;
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

/* Encabezados */
.docentes-encabezado {
    max-width: 610px;
    margin: 0 0 48px;
}

.docentes-encabezado h2 {
    margin: 11px 0 14px;
    font-size: 44px;
    line-height: 1.1;
}

.docentes-encabezado p {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
}

.docentes-encabezado--claro h2 { color: #fff; }
.docentes-encabezado--claro p { color: #FFF; }

/* Dirección */
.docentes-direccion {
    padding: 85px 0 100px;
    background: linear-gradient(135deg, #192b28 0%, #101d1b 100%);
}

.docentes-direccion__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.docente-directivo {
    display: grid;
    grid-template-columns: 185px 1fr;
    min-height: 260px;
    overflow: hidden;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .1);
}

.docente-directivo__foto {
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    background: #e8e8e5;
}

.docente-directivo__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
}

.docente-directivo__contenido {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.docente-directivo__cargo,
.docente-card__numero {
    color: #FFF;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-top: 20px
}

.docente-directivo h3 {
    margin: 12px 0 14px;
    color: #fff;
    font-size: 29px;
    line-height: 1.12;
}

.docente-directivo p {
    margin: 0;
    color: rgba(255, 255, 255, .67);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
}

/* Equipo docente */
.docentes-equipo { padding: 95px 0 110px; background: #fff; }

.docentes-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #e2e2de;
    border-left: 1px solid #e2e2de;
}

.docente-card {
    min-width: 0;
    background: #fff;
    border-right: 1px solid #e2e2de;
    border-bottom: 1px solid #e2e2de;
    transition: background-color .25s ease, transform .25s ease;
}

.docente-card:hover { z-index: 1; background: #f7f6f3; transform: translateY(-4px); }

.docente-card__foto {
    width: 150px;
    height: 150px;
    margin: 34px auto 0;
    overflow: hidden;
    border-radius: 50%;
    background: #eee;
}

.docente-card__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docente-card__contenido { padding: 30px 28px 36px; }
.docente-card__numero { display: block; margin-bottom: 17px; }

.docente-card h3 {
    min-height: 58px;
    margin: 0 0 14px;
    color: #263532;
    font-size: 23px;
    line-height: 1.2;
}

.docente-card p {
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.72;
}

@media (max-width: 1199px) {
    .docentes-container { width: 90%; }
    .docente-directivo { grid-template-columns: 155px 1fr; }
    .docente-directivo__contenido { padding: 25px; }
    .docentes-grid { grid-template-columns: repeat(2, 1fr); }
    .docente-card h3 { min-height: auto; }
}

@media (max-width: 767px) {
    .docentes-container { width: 100%; padding-right: 20px; padding-left: 20px; }
    .docentes-hero { padding: 55px 0 78px; }
    .docentes-hero::after { height: 42px; clip-path: polygon(0 100%, 100% 65%, 100% 100%); }
    .docentes-hero h1 { font-size: 42px; }
    .docentes-hero p { font-size: 15px; }
    .docentes-direccion { padding: 65px 0 75px; }
    .docentes-encabezado h2 { font-size: 36px; }
    .docentes-direccion__grid { grid-template-columns: 1fr; }
    .docente-directivo { grid-template-columns: 150px 1fr; min-height: 235px; }
    .docente-directivo__foto { min-height: 235px; }
    .docentes-equipo { padding: 72px 0 80px; }
    .docentes-grid { grid-template-columns: 1fr; }
    .docente-card { display: grid; grid-template-columns: 150px 1fr; }
    .docente-card__foto { width: 120px; height: 120px; margin: 30px auto; }
}

@media (max-width: 480px) {
    .docentes-hero h1 { font-size: 37px; }
    .docentes-encabezado h2 { font-size: 32px; }
    .docente-directivo { display: block; }
    .docente-directivo__foto { width: 150px; min-height: 0; height: 150px; margin: 30px auto 0; border-radius: 50%; }
    .docente-directivo__contenido { padding: 24px 26px 32px; text-align: center; }
    .docente-directivo h3 { font-size: 27px; }
    .docente-card { display: block; }
    .docente-card__foto { width: 130px; height: 130px; margin-bottom: 0; }
    .docente-card__contenido { text-align: center; }
}
