/* ------------------------------------------------------------------ BANNER ------------------------------------------------------------------ */

.banner {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.banner-contenido {
  position: relative;
  width: 100vw;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.texto-banner {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 700px;
  color: var(--color-principal);
  text-align: left;
  z-index: 2;
}

.info-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  gap: 30px;
}

.logistica {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 220px;
  width: 100vw;
  margin: 0 auto;
}

.logistica img {
  width: 500px;
  height: 500px;
}

.texto-logistica {
  color: var(--color-negro);
  gap: 30px;
  width: 600px;
  display: flex;
  flex-direction: column;
  text-align: end;
  font-size: 1.2rem;
}

.serv-fort-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.info-text {
  padding: 30px;
  color: var(--color-principal);
  border: 1px solid var(--color-principal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  gap: 1rem;
}

.info-text h2 {
  font-size: 2.5rem;
}

.info-text h2,
.info-text p {
  width: 1250px;
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.info-text p {
  color: var(--color-negro-claro);
}

.info-text-2 {
  padding: 30px;
  color: var(--color-principal);
  border: 1px solid var(--color-principal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  gap: 1rem;
}

.info-text-2 h2 {
  font-size: 2.5rem;
}

.info-text-2 h2,
.info-text-2 p {
  width: 1250px;
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.info-text-2 p {
  color: var(--color-negro-claro);
}

.info-text-2 {
  margin-bottom: 40px;
}

/* ------------------------------------------------------------------ RESPONSIVE HASTA 1024px ------------------------------------------------------------------ */

@media screen and (max-width: 1024px) {
  .texto-banner {
    font-size: 0.9rem;
    width: 500px;
  }

  .logistica {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }

  .logistica img {
    width: 400px;
    height: 400px;
  }

  .texto-logistica {
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-size: 1rem;
  }

  .info-text,
  .info-text-2 {
    padding: 20px;
    margin: 0 20px;
  }

  .info-text h2,
  .info-text p,
  .info-text-2 h2,
  .info-text-2 p {
    width: 100%;
    max-width: 600px;
  }

  .info-text h2,
  .info-text-2 h2 {
    font-size: 2rem;
  }

  .info-banner {
    padding: 20px;
  }

  .info-text-2 {
    margin-bottom: 30px;
  }
}

/* ------------------------------------------------------------------ RESPONSIVE HASTA 768px ------------------------------------------------------------------ */

@media screen and (max-width: 768px) {

  .banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .texto-banner {
    width: 100%;
    text-align: center;
    position: static;
    transform: none;
    padding: 20px;
    margin: 0 auto;
    left: auto;
    right: auto;
  }

  .banner-contenido {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-img {
    display: none;
  }

  .logistica {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }

  .logistica img {
    width: 350px;
    height: 350px;
  }

  .texto-logistica {
    width: 100%;
    max-width: 600px;
    text-align: center;
    font-size: 1rem;
  }

  .info-text,
  .info-text-2 {
    padding: 20px;
    margin: 0 20px;
  }

  .info-text h2,
  .info-text p,
  .info-text-2 h2,
  .info-text-2 p {
    width: 100%;
    max-width: 600px;
  }

  .info-text h2,
  .info-text-2 h2 {
    font-size: 2rem;
  }

  .info-banner {
    padding: 20px;
  }

  .info-text-2 {
    margin-bottom: 40px;
  }

}

/* ------------------------------------------------------------------ RESPONSIVE HASTA 510px ------------------------------------------------------------------ */

@media screen and (max-width: 510px) {

  .texto-banner {
    font-size: 0.8rem;
    width: 95%;
  }

  .logistica {
    padding: 15px;
    gap: 30px;
  }

  .logistica img {
    width: 280px;
    height: 280px;
  }

  .texto-logistica {
    font-size: 0.9rem;
    gap: 20px;
  }

}