.text-img{
      display: flex;
      gap: 100px;
      max-width: 70%;
      margin: auto;
      align-items: center;
      padding-top: 100px;
    }

    .img {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .top-row {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .top-image {
      width: 250px;
      height: 250px;
      object-fit: cover;
      background-color: #999; /* Por si no carga la imagen */
    }

    .logo-image {
      width: 250px;
      height: 250px;
      object-fit: contain;
    }

    .bottom-image {
      width: 100%;
      height: 250px;
      object-fit: cover;
      background-color: #666; /* Por si no carga la imagen */
    }

    .text{
        max-width: 50%;
        line-height: 24px;
    }

    .text h2{
        font-size: 25px;
        font-weight: 500;
        color: #00939C;
    }

    
    .text p{
        font-size: 15px;
        font-weight: 500;
    }

    .text-img.second{
        flex-direction: row-reverse;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .text-img.second .bottom-image{
        height: 400px;
        width: 600px;
    }


.consulta-section {
    margin: 100px 0;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 60px;
}

.consulta-section .button{
    align-self: center;

}

.consulta-section h3{
    margin: 0;
    font-size: 25px;
    text-align: center;
    font-weight: 500;
    color: #065597;
}
.consulta-section p{
    text-align: center;
    max-width: 1000px;
    font-size: 15px;
    margin-bottom: 20px;
    color: #A0A0A0;
}

.consulta-section a{
    margin: 10px 0;
    align-self: center;
}


.mision-vision{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filosofia{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    max-width: 70%;
    padding: 25px 0;
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1), -2px -2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.filosofia h4, .mision h4, .vision h4{
    font-size: 24px;
    text-transform: uppercase;
    color: #065597;
}

.mision h4, .vision h4{
    color: #00939C;
}


.text-text{
    background-color: white;
    display: flex;
    max-width: 90%;
    gap: 20px;
    font-size: 14px;
    line-height: 24px;
}

.text-text .parte1 ul,
.text-text .parte2 ul {
  list-style: none;
  padding-left: 0;
}

.text-text .parte1 li::before,
.text-text .parte2 li::before {
  content: "●"; /* Puedes usar un símbolo, emoji o lo que gustes */
  color: #00939C;
  font-size: 1rem;
  margin-right: 8px;
  display: inline-block;
}

.mv{
    display: flex;
    max-width: 70%;
    text-align: center;
    gap: 30px;
    margin-bottom: 100px;
}

.mision, .vision{
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1), -2px -2px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
    max-width: 600px;
}


.divisor {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  margin: 50px 0;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 600px;
  object-fit: cover;
  z-index: 1;
  background-position: bottom;
}

.divisor::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 700px;
  background-image: url('/img/nosotros/bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 3;
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.5);
}


.equipo{
    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo-persona{
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 0;
    align-items: center;
}

.equipo h2{
    font-size: 25px;
    font-weight: 800;
    color: #065597;
    text-transform: uppercase;
    margin-bottom: 100px;
    line-height: 1.2em;
}


/* Tarjeta de persona */
.persona {
  position: relative; /* Necesario para que el ícono absoluto funcione */
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1), -2px -2px 12px rgba(0, 0, 0, 0.1);
  margin: 15px;
  padding: 60px 40px;
  text-align: center;
}

.grupo{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Estilo para los íconos grandes circulares */
.persona .iconsax {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #767676;
  color: white;
  padding: 30px;
  border-radius: 50%;
  font-size: 90px;
}

.oficina .persona{
    display: flex;
}


/* Título */
.persona h4{
    color: #00979C;
    margin: 0;
    padding-top: 30px;
}


/* Subtítulo o cargo */
.persona span {
  display: block;
  color: #767676;
  margin: 8px 0;
  font-size: 14px;
}

/* Descripción */
.persona p {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 10px;
}

.oficina .persona {
  position: relative; /* Necesario para que el ícono absoluto funcione */
  box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1), -2px -2px 12px rgba(0, 0, 0, 0.1);
  margin: 15px;
  padding: 0px;
  text-align: center;
  align-items: center;
}


.oficina .persona .iconsax {
  position: relative;
  top: 0px;
  left: 0px;
  transform: translateX(0);
  background-color: #767676;
  color: white;
  padding: 30px;
  border-radius: 50%;
  font-size: 90px;
}

.oficina .text {
  text-align: left;
  margin-left: 50px;
}

.oficina img{
  height: 300px;
  margin: 0;
  padding: 0;
}




.chevron {
    margin-top: 80px;
    background-image: url('/img/fondo.png'); /* Usa './' para indicar que la carpeta está en el mismo directorio */
    background-color: white;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 20vh
}

.chevron::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Asegura que el after no tenga color */
    pointer-events: none; /* Hace que no sea interactuable */
    user-select: none; /* Evita la selección de texto e imágenes */
}

.chevron img {
    max-width: 100%;
    pointer-events: none; /* Deshabilita la interacción con las imágenes */
}

.trabajos{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 200px;
}

.trabajos .contenido{
  display: flex;
  gap: 100px;
  max-width: 80%;
}

.accordion {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
}

.accordion-item {
  display: block;
  border-bottom: 1px solid #A0A0A0;
  padding: 10px 0;
  position: relative;
}

.accordion input[type="checkbox"] {
  display: none;
}

/* Estilo del título */
.accordion-title {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  font-weight: 700;
  color: #00939C;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
}


/* Icono "+" */
.accordion-title .icon {
  font-size: 12px;
  color: #a0a0a0;
  border: solid 1px #A0A0A0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  margin-left: 10px;
  font-weight: 200;
}

/* Contenido oculto */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2px;
  font-size: 14px;
  width: 100%;
}

.accordion-content .img-text{
  display: flex;
  margin: 0 30px;
}

.img-text img{
  width: 160px;
  height: 160px;
  margin-right: 40px;
}

.img-text .text span{
    font-weight: 600;
    text-transform: uppercase;
    color: #065597;
}

.img-text .text p{
    margin: 0 0 20px 0;
}

/* Mostrar contenido cuando está abierto */
.accordion input:checked + .accordion-title + .accordion-content {
  max-height: 1100px;
  padding: 30px 5px;
}

/* Cambiar ícono a "-" cuando está abierto */
.accordion input:checked + .accordion-title .icon {
  content: "-";
  transform: rotate(45deg);
}

.trabajos h2{
  text-align: center;
  font-weight: 500;
  margin: 80px 0;
}


.contactos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
}

.ct{
  display: flex;
  gap: 200px;
  max-width: 80%;
}

.contactos h2 {
    width: 100%;
    color: #00629B;
    font-weight: bold;
    font-size: 24px;
    margin-left: 200px;
}

.ct-left{
  max-width: 40%;
}

.ct-left p {
    font-size: 14px;
    line-height: 1.5;
}

.redes {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.redes li img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease-in-out;
}

.redes li img:hover {
    transform: scale(1.1);
}

.ct-rigth {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.ct-rigth li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.ct-rigth li img {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.map-container {
  width: 100%;
  max-width: 1520px;
  margin: 50px auto;
  border: 0;
}


@media screen and (max-width: 1500px){
      .text-img.second .bottom-image{
        height: 400px;
        width: 450px;
    }
}
@media screen and (max-width: 800px){
  .text-img{
      flex-direction: column-reverse;
      gap: 50px;
      max-width: 100%;
      text-align: center;
    }

    .text-img.second{
        flex-direction: column-reverse;
    }

.consulta-section {
    width: 70%;
    align-self: center;
}

.text-text{
    gap: 0px;
    flex-direction: column;
}
.trabajos .contenido{
  display: flex;
  flex-direction: column;
  gap: 0px;
}


.ct{
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 80%;
  text-align: center;
  justify-content: center;
  }

.ct-rigth {
  display: flex;
  flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
}

  .contactos {
    flex-direction: column;
    padding-bottom: 50px;
  }

  .contactos h2 {
    margin-left: 0;
    text-align: center;
    font-size: 20px;
  }

  .ct {
    flex-direction: column;
    gap: 40px;
    max-width: 100%;
    padding: 0 0px;
    justify-content: center;
    align-items: center;
  }

  .ct-left {
    max-width: 80%;
    text-align: center;
  }

  .ct-left p {
    font-size: 16px;
  }

  .redes {
    justify-content: center;
  }

  .ct-rigth {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 50%;
    text-align: left;
  }

  .ct-rigth li a {
    font-size: 16px;
  }

  .map-container {
    margin: 0px 0px;
    border: none;
    border:0;
    width: 600px;
    padding: 60px 0;
  }

  a{
    text-decoration: none;
  }
}

@media screen and (max-width: 400px){

  .mv{
    display: flex;
    flex-direction: column;
    max-width: 70%;
    text-align: center;
    gap: 30px;
    margin-bottom: 100px;
}

  .map-container {
    margin: 0px 0px;
    border: none;
    border:0;
    width: 300px;
    padding: 60px 0;
  }
}