/* Misc */
section {
  padding-block: 2rem;
}

.soluciones-title {
  text-align: start;
}

.soluciones-title-center {
  text-align: center;
}

.soluciones-title h2,
.soluciones-title-center h2 {
  font-size: 2.5rem;
}

.soluciones-title p,
.soluciones-title-center p {
  color: var(--dark);
}

@media (max-width: 992px) {
  .soluciones-title h2,
  .soluciones-title-center h2 {
    font-size: 2rem;
  }
}

/* Hero */
#soluciones-empresas-header {
  text-align: center;
}

#soluciones-empresas-header h1 {
  font-size: 1rem;
}

#soluciones-empresas-header h2 {
  font-size: 2rem;
}

/* Introduccion */
.introduccion-soluciones-desc p {
  color: var(--dark);
}

/* Beneficios */
.beneficios-soluciones-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}

.beneficios-soluciones-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
  text-align: center;
  border-radius: 1rem;
}

.beneficios-soluciones-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15));
  border-radius: inherit;
  z-index: 5;
}

.beneficios-soluciones-item h3,
.beneficios-soluciones-item p {
  position: relative;
  color: var(--white);
  z-index: 10;
}

.beneficios-soluciones-item h3 {
  font-weight: 700;
  text-shadow: 2px 2px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
  .beneficios-soluciones-container {
    grid-template-columns: 1fr;
  }
}

/* Banner Chile */
.banner-cta-chile-container {
  position: relative;
  display: grid;
  grid-template-areas: "one one one two two";
  grid-template-columns: repeat(5, 1fr);
  padding: 2rem;
  width: 100%;
  height: auto;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1rem;
  box-shadow: 0 19px 35px rgba(106, 89, 47, 0.31);
  z-index: 1;
}

.banner-cta-chile-container::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgb(60, 74, 117, 0.7), rgb(3, 11, 48, 0.7));
  border-radius: 1rem;
  z-index: 10;
}

.banner-cta-chile-container > :nth-child(1) {
  grid-area: one;
  z-index: 11;
}

.banner-cta-chile-container > :nth-child(2) {
  grid-area: two;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11;
}

.banner-cta-chile-title {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.banner-cta-chile-title h2,
.banner-cta-chile-title strong {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 600;
}

.banner-cta-chile-title strong {
  color: var(--sexto);
}

.banner-cta-chile-button a {
  padding: 0.5rem 1rem;
  background-color: var(--primario);
  color: var(--white);
  text-decoration: none;
  border-radius: 0.375rem;
}

.banner-cta-chile-button a:hover {
  background-color: var(--white);
  color: var(--dark);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .banner-cta-chile-container {
    display: grid;
    grid-template-areas: "one" "two";
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
    row-gap: 1rem;
  }

  .banner-cta-chile-title h2,
  .banner-cta-chile-title strong {
    font-size: 1.5rem;
  }
}

/*** Empresas ***/
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.proveedores {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
}

.proveedores::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--white));
  z-index: 3;
}

.proveedores::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white));
  z-index: 3;
}

.proveedores:hover .proveedores-slide {
  animation-play-state: paused;
}

.proveedores-slide {
  display: inline-block;
  animation: 50s slide infinite linear;
}

.proveedores-slide img {
  margin: 0 40px;
  filter: grayscale(70%);
  transition: 0.25s;
}

.proveedores-slide img:hover {
  margin: 0 40px;
  filter: grayscale(0%);
}

/* Proceso */
#proceso .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.soluciones-proceso-container {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: repeat(4, 1fr);
  margin-block: 2rem;
  gap: 1.5rem;
}

.soluciones-proceso-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 2rem;
  row-gap: 0.5rem;
  border-radius: 2rem;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.15);
}

.soluciones-proceso-item::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  transform: translate(50%, -25%);
  width: 100px;
  height: 100px;
  background-color: var(--primario);
  opacity: 0.5;
  border-radius: 100%;
}

.soluciones-proceso-item::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  transform: translate(50%, 25%);
  width: 50px;
  height: 50px;
  background-color: var(--primario);
  opacity: 0.5;
  border-radius: 100%;
}

.soluciones-proceso-item span {
  color: var(--primario);
  font-size: 3rem;
  font-weight: 900;
}

.soluciones-proceso-item h3 {
  color: var(--primario);
  font-size: 1.875rem;
}

@media (max-width: 992px) {
  .soluciones-proceso-container {
    grid-template-columns: 1fr;
  }

  .soluciones-proceso-item {
    justify-content: center;
    text-align: center;
  }
}
