/* CONFIGURACIÓN GENERAL */
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

.hero-conocenos {
    background: linear-gradient(135deg, #0f4c5c 0%, #1f6f7a 50%, #7dd3fc 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
    border-radius: 10px;
}

.hero-conocenos h1 { font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }

/* SECCIÓN MVV: TARJETAS SOBRESALIENTES */
.mvv {
    display: flex;
    gap: 30px;
    padding: 80px 5%;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #f1f5f9;
}

.mvv-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    flex: 1;
    min-width: 320px;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Efectos de color superior para jerarquía */
.mvv-card.mision { border-top: 6px solid #0f4c5c; }
.mvv-card.vision { border-top: 6px solid #38bdf8; }
.mvv-card.valores { border-top: 6px solid #1f6f7a; }

.mvv-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(15, 76, 92, 0.15);
}

.card-icon { font-size: 3rem; margin-bottom: 20px; }

.mvv-card h2 {
    margin-bottom: 20px;
    color: #0f4c5c;
    font-size: 1.8rem;
    font-weight: 800;
}

.mvv-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    text-align: justify;
}

/* DOCENTES Y FILTROS */
.docentes { padding: 80px 20px; text-align: center; background: white; }
.docentes h2 { color: #0f4c5c; font-size: 2.5rem; margin-bottom: 40px; }

.filtros button {
    padding: 12px 25px;
    margin: 5px;
    border: 2px solid #0f4c5c;
    background: transparent;
    color: #0f4c5c;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.filtros button:hover {
    background: #0f4c5c;
    color: white;
    transform: scale(1.05);
}

.grid-docentes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 40px auto;
}

/* TARJETAS FLIP NITIDAS */
.docente-card { height: 450px; perspective: 1500px; }
.flip { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.7s; }
.docente-card:hover .flip { transform: rotateY(180deg); }

.front, .back {
    position: absolute; inset: 0; backface-visibility: hidden;
    border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.front img {
    width: 100%; height: 350px; object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

.front h3 { color: #0f4c5c; padding: 20px; font-weight: 700; background: #fff; }

.back {
    background: linear-gradient(135deg, #0f4c5c, #1f6f7a);
    color: white; padding: 40px;
    transform: rotateY(180deg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; line-height: 1.5;
}

/* PIE DE PÁGINA PROFESIONAL */
.footer {
    background-color: #0f4c5c;
    color: white;
    padding: 20px 20px;
    text-align: center;
    border-top: 4px solid #38bdf8;
}

.footer-content p { font-size: 1.1rem; letter-spacing: 1px; margin: 0; font-weight: 300; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .mvv-card { min-width: 100%; }
    .hero-conocenos h1 { font-size: 2rem; }
}