/* HERO NOSOTROS */
.hero-nosotros {
    position: relative;
    height: 80vh;
    background-image: url('../assets/img/doctor-operando.jpg');
    /* Cambia esta imagen si tienes otra del equipo */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-nosotros .hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
}

.hero-nosotros h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* SECCIÓN DESCRIPCIÓN INSTITUCIONAL */
.seccion-descripcion {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.seccion-descripcion h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #002b8a;
}

.seccion-descripcion p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* SECCIÓN EQUIPO */
.seccion-equipo {
    padding: 4rem 2rem;
    background-color: #f5f8ff;
    text-align: center;
}

.seccion-equipo h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #002b8a;
}

.equipo-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.card-equipo {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 320px;
    text-align: center;
}

.card-equipo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.card-equipo h3 {
    font-size: 1.2rem;
    color: #002b8a;
    margin-bottom: 0.5rem;
}

.card-equipo p {
    font-size: 0.95rem;
    color: #333;
    text-align: justify;
    line-height: 1.5;
}

.card-equipo .cargo {
    font-size: 0.95rem;
    font-weight: bold;
    color: #555;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* SECCIÓN MISIÓN Y VISIÓN */
.seccion-mision-vision {
    background-color: #ffffff;
    padding: 4rem 2rem;
    text-align: left;
}

.seccion-mision-vision .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}


.seccion-mision-vision h2 {
    color: #002b8a;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.seccion-mision-vision ul {
    list-style: disc inside;
    padding-left: 1rem;
}

.seccion-mision-vision li {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #333;
    text-align: justify;
}


.seccion-mision-vision p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

/* SECCIÓN VALORES */
.seccion-valores {
    background-color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.seccion-valores h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #002b8a;
}

.grid-valores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.valor {
  background-color: white;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.valor h3 {
    color: #002b8a;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.valor p {
    font-size: 0.9rem;
    color: #333;
    text-align: unset;
}


/* SECCIÓN VIDEO */
.seccion-video {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.seccion-video h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #002b8a;
}

.seccion-video p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #555;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-nosotros h1 {
        font-size: 2.2rem;
    }

    .equipo-cards {
        flex-direction: column;
        align-items: center;
    }

    .card-equipo {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
  .grid-valores {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}
