@charset "UTF-8";
body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #334155;
  line-height: 1.5;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
  line-height: 1.2;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
  line-height: 1.2;
}

h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
  line-height: 1.2;
}

p {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.p1 {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.p2 {
  font-family: "Roboto", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.p3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.outsourcing-image {
  position: relative;
  width: 100vw;
  height: 80vh;
  max-width: 100%;
  max-height: 100vh;
  /* (opcional) velo para contraste del texto
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.25));
    pointer-events: none;
  }*/
}
.outsourcing-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.outsourcing-image .overlay-content {
  position: absolute;
  z-index: 1;
  top: 60%;
  left: 5rem;
  transform: translateY(-50%);
  text-align: left;
  max-width: min(720px, 80%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outsourcing-image .overlay-content h1 {
  color: #fff;
  margin: 0;
}
.outsourcing-image .overlay-content .p3 {
  color: #fff;
  margin: 0;
}
.outsourcing-image .overlay-content .btn.btn-primary {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background-color: #1e293b;
  border-color: #1e293b;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.outsourcing-image .overlay-content .btn.btn-primary:hover {
  background-color: rgb(27, 36.9, 53.1);
  border-color: rgb(27, 36.9, 53.1);
}

.text-container-big {
  padding: 0 45vw 0 5rem;
  margin: 1.5rem 0 2rem 0;
}
.text-container-big .container {
  height: 100%;
  width: 100%;
  display: block;
  align-items: center;
}
.text-container-big h1 {
  margin: 0 0 1.5rem 0;
}

.text-image-right {
  background-color: #374151;
  height: 60vh;
  max-height: 60vh;
  margin-bottom: 1.5rem;
  /* ==== Móvil: imagen arriba, texto abajo ==== */
}
.text-image-right .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  min-width: 100%;
  gap: 2rem;
}
.text-image-right .container .text-content {
  width: 40%;
  padding: 0 0 0 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}
.text-image-right .container .text-content h2, .text-image-right .container .text-content p {
  color: white;
}
.text-image-right .container .image-content {
  padding: 0;
  width: 60%;
  order: 2;
  display: flex;
  align-items: stretch;
}
.text-image-right .container .image-content img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (hover: hover) {
  .text-image-right .container .image-content img:hover {
    opacity: 1;
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
  .text-image-right {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    box-sizing: border-box;
  }
  .text-image-right .container {
    width: 100%;
    max-width: 100%;
    flex-direction: column-reverse;
    height: auto;
    gap: 1rem;
  }
  .text-image-right .container .image-content {
    width: 100%;
    padding: 0;
  }
  .text-image-right .container .image-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1.7777778;
    object-fit: cover;
  }
  .text-image-right .container .text-content {
    width: 100%;
    min-width: 0;
    max-width: 90%;
    overflow: hidden;
    padding: 0;
    margin: 0 0 0 5%;
  }
  .text-image-right .container .text-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .text-image-right .container .text-content .p2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
}

.text-container-medium {
  box-sizing: border-box;
  width: 100%;
  max-width: 72rem;
  margin: 2rem auto 4rem;
  padding-inline: clamp(24px, 6vw, 80px);
  text-align: left;
  /* ==== Móvil: imagen arriba, texto abajo ==== */
}
@media (max-width: 768px) {
  .text-container-medium {
    padding-inline: clamp(16px, 5vw, 40px);
    padding-left: max(clamp(16px, 5vw, 40px), env(safe-area-inset-left));
    padding-right: max(clamp(16px, 5vw, 40px), env(safe-area-inset-right));
  }
  .text-container-medium h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .text-container-medium .p2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
}

.servicios-outsourcing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 4 columnas iguales */
  gap: 2rem;
  padding: 3rem 6vw;
  background-color: white;
  align-items: stretch;
  box-sizing: border-box;
  /* Responsivo */
}
.servicios-outsourcing .column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  text-align: left;
  align-items: center;
  /* Caja de imagen con ratio fijo */
}
.servicios-outsourcing .column .media {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1.33333333;
}
.servicios-outsourcing .column .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .servicios-outsourcing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .servicios-outsourcing {
    grid-template-columns: 1fr;
  }
  .servicios-outsourcing .column {
    align-items: center;
    text-align: center;
  }
}/*# sourceMappingURL=outsourcing.css.map */