.section-about {
  margin-bottom: 120px;
}

.section_about_work {
  margin-bottom: 100px;
}

.section-about #contenedorPrincipal {
  display: flex;
  flex-direction: column;
  margin-top: 15vh;
  gap: 50px;
}

#seccion1 {
  width: 90%;
  margin: auto;
  max-width: 400px;
  height: 430px;
}

#seccion1 img {
  transition: opacity 0.5s ease;
  width: 100%;
  height: 100%;
}

#seccion2 h1 {
  font-weight: bold;
}

#seccion2 p {
  font-family: Poppins, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
}

.about-section__sub-title {
  font-family: Poppins, sans-serif;
  font-weight: 600 !important;
}


.contenedor_about_work {
  display: flex;
  flex-direction: column;
}

.section_about_work h1 {
  font-size: clamp(2rem, 4vw, 4.8rem);
  font-weight: 600;
}

.contenedor_about_work svg {
  width: 40px;
}


/* Equipo */
.equipo {
  padding: 1rem;
}

.equipo__title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 600;
  height: fit-content;
  text-transform: uppercase;
}

.contenedor-grid-equipo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.equipo__grid {
  display: grid;
  max-width: 1100px;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.1rem;
}

.equipo__item {
  max-width: 400px;
  height: 350px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.equipo__item:hover img {
  transform: scale(1.1);
}

.equipo__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease-in-out;
}

.equipo__item img.equipo_santi {
  margin-top: -60px;
}

.equipo__item img.img-dylan {
  transform: scale(1.4);
  margin-top: -115px;
}

.equipo__item:hover img.img-dylan {
  transform: scale(1.6);
}

.equipo__info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.container-equipo-info {
  width: 80%;
  margin: auto;
}

.equipo__item:hover .equipo__info {
  opacity: 1;
}

.equipo__name {
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.equipo__occupation {
  font-family: Poppins, sans-serif;
  width: 80%;
  position: absolute;
  bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
  transition: ease;
}

.equipo__occupation:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.6em;
  height: 0.6em;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Animacion loading card */
/* HTML: <div class="loader"></div> */
.team-grid__info__decoration {
  width: 95%;
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.loader {
  width: 25px;
  /* Reducido el tamaño del loader */
  aspect-ratio: 1.154;
  display: grid;
  color: rgba(245, 233, 233, 0.175);
  /* Color ajustado */
  background:
    linear-gradient(to bottom left, #00000000 calc(50% - 1px), currentColor 0 calc(50% + 1px), #0000 0) right/50% 100%,
    linear-gradient(to bottom right, #0000 calc(50% - 1px), currentColor 0 calc(50% + 1px), #0000 0) left /50% 100%,
    linear-gradient(currentColor 0 0) bottom/100% 2px;
  background-repeat: no-repeat;
  transform-origin: 50% 66%;
  animation: l5 4s infinite linear;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  background: inherit;
  transform-origin: inherit;
  animation: inherit;
}

.loader::after {
  animation-duration: 2s;
}

@keyframes l5 {
  100% {
    transform: rotate(1turn)
  }
}


/* ------------ */

@media (min-width: 568px) {
  .equipo__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .equipo__title {
    text-align: left;
    margin-bottom: 8vh;
  }
}

@media (min-width: 770px) {
  .equipo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .equipo__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #seccion1 {
    height: auto;
    margin: 1px;
  }
}



/* ------------------- */


@media (min-width:990px) {

  .section-about {
    padding: 0px;
    margin-bottom: 80px;
    margin-top: 18vh;
  }

  .section_about_work {
    margin-bottom: 140px;
  }

  .section-about #contenedorPrincipal {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 120px;
    padding-top: 20px;
  }

  #seccion1,
  #seccion2 {
    width: 50%;
  }

  .contenedor_about_work {
    gap: 120px;
    padding-left: 10px;
  }

  .contenedor_about_work_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .contenedor_about_work_section svg {
    width: 50px;
  }

  .contenedor_work_svg {
    text-align: left;
  }

  .contenedor_work_svg {
    fill: white;
  }

  .proyecto,
  .direccion,
  .construccion {
    text-align: center;
    display: flex;
    gap: 50px;
    align-content: stretch;
    justify-content: flex-end;
    flex-direction: row-reverse;
  }

  .contenedor_work_texto {
    width: 50%;
  }

  .equipo {
    padding: 1rem 0rem 8rem 0rem;
  }
}

@media (min-width:1400px) {
  .contenedor_work_texto {
    width: 45%;
  }
}




/* Boton ver mas */
@media (max-width: 1500px) {
  .founder-bio__about {
    max-height: 334px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin: 0px;
  }

  .founder-bio__about.expanded {
    max-height: 1012px;
  }

  .read-more-btn {
    display: block;
    margin-top: 8px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
  }
}

@media (min-width: 1501px) {
  .founder-bio__about {
    max-height: none !important;
    overflow: visible !important;
  }

  .read-more-btn {
    display: none;
  }
}