/** =============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300;700&family=Open+Sans:wght@300;400;700&family=Poppins:wght@400;500;600&family=Roboto+Condensed:wght@300;400&display=swap");

@font-face {
  font-family: "Open Sans";
  font-display: swap;
  src: url(../fonts/OpenSans-Regular.ttf), url(../fonts/OpenSans-SemiBold.ttf);
}

@font-face {
  font-family: "Raleway";
  font-display: swap;
  src: url(../fonts/Raleway-Medium.ttf), url(../fonts/Raleway-SemiBold.ttf),
    url(../fonts/Raleway-Bold.ttf);
}

/** =============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /** Social Media icons colors */

  --color-facebook: #3b5998; /* Cambia el color de Facebook */
  --color-twitter: #1da1f2; /* Cambia el color de Twitter */
  --color-linkedin: #0a66c2; /* Cambia el color de LinkedIn */
  --color-tiktok: #69c9d0; /* Color de TikTok */

  /** Base colors */

  --color-main: #892d88; /* Cambia el color principal */
  --color-base: #acabb1; /* Cambia el color secundario */
  --color-base-alt: rgba(29, 55, 68, 0.4);
  --color-middle: rgb(37, 51, 60);
  --color-light: rgb(30, 82, 113);
  --color-green: #08f1af;
  --color-yellow: #fbb713;
  --color-background-icon: #6f2c6f;

  /** ========== Colors ==========*/
  --hue-color: 300;

  /** HSL color mode */

  --first-color: hsl(var(--hue-color), 100%, 25%); /* Color principal */
  --first-color-second: hsl(var(--hue-color), 100%, 25%); /* Segundo tono del color principal */
  --first-color-alt: hsl(var(--hue-color), 100%, 15%); /* Color alternativo */
  --title-color: hsl(var(--hue-color), 100%, 18%); /* Color para títulos */
  --text-color: hsl(var(--hue-color), 24%, 35%); /* Color de texto */
  --text-color-light: hsl(var(--hue-color), 8%, 60%); /* Color para texto más claro */
  --input-color: hsl(var(--hue-color), 24%, 97%); /* Color para campos de entrada */
  --body-color: hsl(var(--hue-color), 100%, 99%); /* Color de fondo del cuerpo */
  --white-color: #fff; /* Color blanco */
  --black-color: hsl(var(--hue-color), 100%, 10%); /* Color negro */
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%); /* Color para la barra de desplazamiento */
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%); /* Color para el botón de la barra de desplazamiento */
  --background-slider: transparent; /* Color de fondo del slider */
  --background-slider-gradient: transparent; /* Gradiente de fondo del slider */
  --box-shadow-slider: 0 0 0.5rem #e3e3e3; /* Sombra para el slider */

  /** ========== Font and typography ==========*/

  --body-font: "Open Sans", sans-serif;
  /* --title-font: "Raleway", sans-serif; */
  --title-font: "Poppins", sans-serif;
  --biggest-font-size: 2.5rem;
  --exception-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --minimal-font-size: 0.65rem;

  /* Subtitles */
  --subtitle-font: var(--body-font);
  --subtitle-font-size: 1.05rem;
  --subtitle-font-weight: 600;
  --subtitle-color: var(--title-color);

  /** ========== Font weight ==========*/
  --font-regular: 300;
  --font-medium: 500;
  --font-semi-bold: 600;

  /** ========== Margenes Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mt-2-5: 2.5rem;

  /** ========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-video: 1000;

  /** ========== Hover overlay ==========*/
  --img-transition: 0.3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);
}

@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/** =============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input {
  border: none;
  outline: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

/** use by Scrollreveals function */
.main {
  overflow-x: hidden;
}

.ri-arrow-right-line {
  color: var(--white-color);
}

/** =============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2.5rem;
}

.title__main {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 0;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2);
}
/* Para subtítulos con texto marcado */
.subtitle {
  font-family: var(--subtitle-font);
  font-size: var(--subtitle-font-size);
  font-weight: var(--subtitle-font-weight);
  color: var(--subtitle-color);
  line-height: 1.4;
}
/* Subtítulos con letra normal sin marcar */
.section__subtitle {
  font-family: var(--subtitle-font);
  font-size: var(--subtitle-font-size);
  color: var(--subtitle-color);
  line-height: 1.6;
}

.purple-text {
  color: #fbb713;
  font-weight: bold;
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.separator {
  border-top: 5px solid #fbb713; /* Cambia el color según tus preferencias */
  width: 10%; /* El ancho se ajusta al 90% del ancho de la pantalla */
  margin: 20px auto; /* Ajusta el margen según sea necesario */
}

@media screen and (max-width: 768px) {
  .separator {
    border-top: 3px solid #fbb713; /* Cambia el color según tus preferencias */
    width: 30%; /* El ancho se ajusta al 90% del ancho de la pantalla */
    margin: 20px auto; /* Ajusta el margen según sea necesario */
  }
}

/** =============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  /** Temporal, solo para codificar bien el header, luego se sustituye por "transparent" */
  /* background-color: var(--first-color); */
  background-color: transparent;
}

/** =============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--white-color);
  text-transform: uppercase;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: var(--font-semi-bold);
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative;
}

.nav__oculto {
  display: none;
}

/** Smartphones styles: Codificación Menu de navegación  */

@media screen and (max-width: 768px) {
  .nav {
    height: 4rem;
  }
  body {
    margin: 4rem 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
  }
  .nav__menu {
    position: fixed;
    background-color: rgba(137, 45, 136, 0.9); /* 90% de opacidad */
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px hsla(var(--hue-color), 64%, 15%, 0.15);
    padding: 3rem;
    transition: 0.4s;
  }
}


.social-media-icons {
  display: none; /* Ocultar los iconos por defecto */
  list-style-type: none;
  padding: 0;
}

.social-media-icons li {
  display: inline-block;
  margin-right: 10px;
}

.social-media-icons li a {
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%; /* Para dar forma de círculo */
  background-color: var(--title-color); /* Color de fondo del círculo */
  text-align: center;
  line-height: 40px; /* Igual a la altura del círculo */
  animation: icon-pulse 2s infinite alternate; /* Aplicar la animación */
}

@keyframes icon-pulse {
  0% {
    transform: scale(1); /* Escala original */
    background-color: var(--color-base); /* Color original del icono */
  }
  100% {
    transform: scale(1.2); /* Agrandar un 10% */
    background-color: var(--title-color) /* Nuevo color del icono */
  }
}

.social-media-icons li a i {
  color: var(--white-color); /* Color del icono */
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .social-media-icons {
    display: block; /* Mostrar los iconos en pantallas pequeñas */
    margin-top: 20px; /* Espacio entre los iconos y el menú */
    text-align: center; /* Centrar los iconos */
  }

  .social-media-icons li {
    display: inline-block; /* Mostrar los iconos en línea */
    margin-right: 10px; /* Espacio entre los iconos */
  }
}

.responsive-image {
  display: none; /* Oculta la imagen por defecto */
}

/* Media query para pantallas más pequeñas */
@media screen and (max-width: 768px) {
  .responsive-image {
    display: block; /* Muestra la imagen en pantallas pequeñas */
    width: 50%;
    margin: 0 auto; /* Centra la imagen horizontalmente */
    padding-bottom: 10%;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--white-color);
}

.nav__link__p {
  text-transform: uppercase;
  text-decoration: none; /* Elimina el subrayado por defecto */
}

.nav__link__p:hover {
  text-decoration-line: underline; /* Subraya el texto al pasar el cursor */
  text-decoration-thickness: 2px; /* Grosor de la línea */
  text-underline-offset: 40%; /* Ajusta la posición vertical del subrayado */
}


.nav__serv {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
}

.nav__serv:hover {
  color: var(--white-color);
}

.nav__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}


.sub-menu {
  display: none;
}

.sub-menu.show {
  display: block;
}

#servicesLink {
  cursor: pointer; /* Cambia el cursor cuando el elemento se comporta como un enlace */
}

#servicesContainer {
  display: inline-flex;
  align-items: center; /* Centra verticalmente los elementos dentro del contenedor */
}

.nav__link {
  display: flex; /* Hace que los elementos hijos se coloquen en línea */
  align-items: center; /* Centra verticalmente los elementos hijos */
}

.nav__link i {
  margin-left: 5px; /* Agrega un pequeño espacio entre el texto y el ícono */
  font-size: 0.6em; /* Tamaño del icono */
}

.nav__serv {
  display: flex; /* Hace que los elementos hijos se coloquen en línea */
  align-items: center; /* Centra verticalmente los elementos hijos */
}

.nav__serv i {
  margin-left: 5px; /* Agrega un pequeño espacio entre el texto y el ícono */
  font-size: 0.6em; /* Tamaño del icono */
}

.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0px); /* Añadimos un pequeño espacio entre el elemento padre y el submenú */
  left: 0;
  background-color: transparent; /* Cambia el color de fondo según tu diseño */
  padding: 10px;
  border-radius: 5px; /* Añadimos bordes redondeados al submenú */
  z-index: 1;
  width: max-content;
}

.scroll-header .sub-menu {
  background-color: var(--body-color);

}

.scroll-header .sub-menu li a {
  color: var(--text-color);
}

.nav__item {
  position: relative;
}

.nav__item:hover .sub-menu {
  display: block;
}

.sub-menu li {
  list-style: none;
  font-size: 0.9em; /* Tamaño de letra más pequeño para los elementos del submenú */
  border-bottom: 1px solid var(--color-base);
}

.sub-menu li a {
  text-decoration: none;
  color: var(--white-color); /* Cambia el color del texto según tu diseño */
  font-weight: bold; /* Añade negrita al texto */
  padding: 5px 0; /* Añade un poco de espacio vertical entre cada elemento */
  display: block; /* Hace que los elementos ocupen todo el ancho del submenú */
}

/* En dispositivos con un ancho menor o igual a 768px, establece el color de texto como rojo */
@media (max-width: 768px) {
  .scroll-header .sub-menu li a,
  .sub-menu li a {
    color: var(--white-color);
  }
  .scroll-header .sub-menu {
    background-color: transparent;
  }
}
/* Ajusta barra de menú para abir productos y servicios */
@media screen and (max-width: 768px) {
  .sub-menu {
    position: static; 
    width: 100%;
    padding-left: 1rem;
    padding-top: 0.5rem;
  }
}

/** Logo */
/* Estilos para pantallas grandes */
.logo {
  max-width: 40%; /* Tamaño normal del logo en pantallas grandes */
  height: auto;
  border: 1px solid transparent; /* Borde transparente */
  padding: 3%;

}

/* Estilos para pantallas pequeñas (como celulares) */
@media only screen and (max-width: 768px) {
  .logo {
    max-width: 25%; /* Tamaño reducido del logo en pantallas pequeñas */
    padding: 0px;
  }
}

/**  Show Menu */

.show-menu {
  right: 0;
}

/** Change background header */

.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px hsla(var(--hue-color), 64%, 15%, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

/** =============== HOME ===============*/

/** ======= Home Banner video split ======*/
.videoBx {
  /** ¡Ojo! Dos de los secretos.. */
  background: var(--color-main);
  min-height: 220vh; 
}

.videoSplit {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.videoSplit .side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videoSplit .side video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /** No importa el tamaño del vídeo, lo adapta a su box padre */
  object-fit: cover;
}

.videoSplit .side#side1 {
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.videoSplit .side#side2 {
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Estilo por defecto */
.video-mobile {
  display: none;
}

/* Estilo para pantallas de menos de 768px */
@media (max-width: 768px) {
  .video-desktop {
    display: none;
  }
  .video-mobile {
    display: block;
  }
}

/** New! Colocamos una sombra encima del vídeo para resaltar los textos */
.side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-base-alt);
  z-index: var(--z-video);
}
/** ------ End Banner video split ------*/

/** ===== Home Banner background image ====*/
.home__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 83%;
}
/** ------ End Banner background image ----*/

.home__container {
  position: relative;
  height: calc(100vh - var(--header-height));
  align-content: center;
  row-gap: 3rem;
}

.home__data-subtitle,
.home__data-title,
.home__social-link,
.home__info {
  color: var(--white-color);
}

.home__data-subtitle {
  display: block;
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
}

.home__data-title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-2-5);
}

.home__data-title span {
  /* text-transform: uppercase; */
  font-size: var(--h1-font-size);
}

.home__social {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;

  /* flex-direction: row;
  column-gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 2.5rem; */
}

.home__social-link {
  font-size: 1.2rem;
  width: max-content;
}

/** ------ ¡New! Social Media icons ------ */

.home__social-link .fab.fa-twitter:hover {
  color: var(--color-twitter);
}

.home__social-link .fab.fa-instagram:hover {
  border-radius: 5px;
  color: #fff;
  background: #d6249f;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.home__social-link .fab.fa-whatsapp:hover {
  font-size: 20px;
  color: var(--color-whatsapp);
}

.home__social-link .fab.fa-linkedin:hover {
  color: var(--color-linkedin);
}

.home__social-link .fab.fa-facebook:hover {
  color: var(--color-facebook);
}

.home__social-link .fab.fa-tiktok:hover {
  border-radius: 5px;
  color: #fff;
  background: #000;
  background: radial-gradient(
    circle,
    #000000 30%,
    transparent 70%
  ),
  radial-gradient(circle, #d6249f 20%, transparent 30%),
  radial-gradient(circle, #0038ff 20%, transparent 30%);
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
}
/** ------ ¡end! Social Media icons ------ */

/** =============== BUTTONS ===============*/

.button-water-fill .button {
  background-position: 0 -50%;
  background-repeat: repeat-x;
  transition: background-position 0.85s ease;
}

.button-water-fill .button:hover {
  background-position: 100% 60%;
  color: var(--white-color) !important;
}

.button-water-fill.wave-blue .button {
  color: var(--color-main);
  background-image: url("Animaciones/wave-purple.png");
}

.button-container {
  display: flex; /* Cambiar el display a flex */
  justify-content: center; /* Centrar horizontalmente */
  cursor: pointer;
  height: auto;
  width: auto;
  -webkit-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
}

.button-container .button {
  height: auto;
  width: auto;
  border-radius: 3px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--color-main);
  padding: 10px; /* Padding en todas las direcciones */
  padding-left: 20px; /* Más padding a la izquierda */
  padding-right: 20px; /* Más padding a la derecha */
  font-weight: bold;
  -webkit-box-shadow: 1px 2px 4px -1px rgba(60, 60, 60, 0.64);
  box-shadow: 1px 2px 4px -1px rgba(60, 60, 60, 0.64);
}

.button-container .button-i {
  height: auto;
  width: auto;
  border-radius: 3px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
  padding: 10px; /* Padding en todas las direcciones */
  padding-left: 20px; /* Más padding a la izquierda */
  padding-right: 20px; /* Más padding a la derecha */
  font-weight: bold;
  -webkit-box-shadow: 1px 2px 4px -1px rgba(60, 60, 60, 0.64);
  box-shadow: 1px 2px 4px -1px rgba(60, 60, 60, 0.64);
}

.button-container .flipper {
  transition: all 0.5s ease-in-out;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: relative;
}

.button-container .button.front {
  z-index: 10;
}


/** =============== SECCIÓN INTRODUCCIÓN ===============*/

.about__data {
  text-align: center;
}

.about__title {
  text-align: center;
  margin-bottom: var(--mb-1-5);
}

.about__container {
  row-gap: 2.5rem;
}

.about__description {
  margin-bottom: var(--mb-2);
}


.about__img {
  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about__img-overlay {
  overflow: hidden; /* Cambiado de var(--img-hidden) a hidden */
}

.about__img-one {
  width: 70%;
  margin-left: 15%;
  border-radius: 8px; /* Redondea ligeramente las esquinas */
  transition: transform 0.3s ease; /* Transición solo para efecto de escala */
}

.about__img-one:hover {
  transform: scale(0.98); /* Reduce ligeramente el tamaño de la imagen al pasar el cursor */
}

/* Media Queries para hacerlo responsive */
@media screen and (max-width: 768px) {
  .about__img-one {
    display: none;
  }
}

.about__info-button {
  width: 160px;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 3px;
}
/* Linea título más grande*/
.line-big-intro {
  font-size: 1.25em; 
  display: inline-block;
  margin-bottom: 1.25rem;
}

.line-big-soluciones {
  font-size: 1.28em; 
  display: inline-block;
}

.line-big-enfoque {
  font-size: 1.05em; 
  display: inline-block;
}

/* ==================== SOLUCIONES ==================== */

.solutions {
  padding: 6rem 0;
}

.solutions .container {
  max-width: 1320px;
}

/* Iconos solucion/solution */
.solution__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff; /* icono blanco */
  background-color: var(--color-background-icon); /* fondo morado */
}

/* Botón de cards */
.solution__link:hover {
  text-decoration: underline;
}

.solution__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto; /* CLAVE */
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.solutions__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.solution__card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.solution__card {
  display: flex;
  flex-direction: column;
  height: 100%;
}


/* Espaciado entre titulo y texto */
.solution__card h3 {
  margin-bottom: 0.75rem; 
}


.solution__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 992px) {
  .solutions__cards {
    grid-template-columns: 1fr;
  }
}

/* ==================== ENFOQUE ==================== */

.approach {
  padding: 6rem 0;
  background-color: var(--body-color);
}

.approach__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.approach__step {
  text-align: left;
}

/* Iconos de pasos */
.step i {
  color: var(--color-main);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.step {
  padding: 2rem;
  border: 1px solid rgba(137, 45, 136, 0.12);
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step:hover {
  border-color: rgba(137, 45, 136, 0.3);
  transform: translateY(-4px);
}

@media screen and (max-width: 992px) {
  .approach__steps {
    grid-template-columns: 1fr;
  }
}

/** =============== SERVICIOS ===============*/

.services__card {
  position: relative;
  width: 200px;
  overflow: var(--img-hidden);
}

/** Se inserta el contenido o texto dentro de la Card  */
.services__data {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 1024px) {
  .services__data_1024 {
    top: 83.5%; /* Centrar verticalmente */
    margin-left: 0%; /* Centrar horizontalmente */
  }
}

@media screen and (max-width: 1024px) {
  .services__data_u {
    bottom: 2.2rem; /* Ajustar la posición vertical del texto */
  }
  .services__data_d {
    bottom: 1.4rem; /* Ajustar la posición vertical del texto */
    left: 7rem;
    text-align: center;
  }
}

.services__title {
  color: var(--white-color);
}

.services__title {
  font-size: var(--h3-font-size);
}

@media screen and (min-width: 1024px) {
  .services-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
  background-image: none;
}

.services__container {
  background-color: #892D88;
  margin: 0 auto; /* Centrar el contenedor horizontalmente */
  padding: 30px 0; /* Reducir el relleno superior e inferior */
  overflow: hidden;
  height: auto; /* Establecer altura automática para ajustarse al contenido */
}

/* ==================== CTA ==================== */

.cta {
  background: linear-gradient(
    135deg,
    rgba(137, 45, 136, 0.08),
    rgba(251, 183, 19, 0.06)
  );
  padding: 6rem 0;
}

.cta__container {
  text-align: center;
  max-width: 820px;
}

/* CTA: el texto no debe animarse */
.cta__container .about1__description {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Botones */
.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Base botón */
.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

/* Botón principal */
.cta__button--primary {
  background-color: var(--color-main);
  color: var(--white-color);
  box-shadow: 0 8px 22px rgba(137, 45, 136, 0.35);
}

.cta__button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(137, 45, 136, 0.45);
}

/* Botón secundario */
.cta__button--secondary {
  background-color: transparent;
  color: var(--color-main);
  border: 1.5px solid var(--color-main);
}

.cta__button--secondary:hover {
  background-color: var(--color-main);
  color: var(--white-color);
  transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .cta {
    padding: 4.5rem 0;
  }

  .cta__buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta__button {
    width: 100%;
  }
}

/* ==================== CTA BUTTON SOLID ==================== */

.cta-button-solid .button {
  background-image: none !important; /* elimina wave */
  background-color: var(--color-main);
  color: var(--white-color);
  border: 1px solid var(--color-main);
}

/* Hover simple, sin animación */
.cta-button-solid .button:hover {
  background-color: var(--color-main);
  color: var(--white-color);
  transform: translateY(-3px);
}

/* Asegura mismo tamaño que el wave */
.cta__buttons .button-container .button {
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: bold;
}

.cta__buttons {
  margin-top: 2rem;
}

/** =============== INFORMACIÓN ===============*/
.information {
  width: 100%;
  padding: 4.5rem 0 2.5rem;
}

.information__container {
  row-gap: 2.5rem;
  display: flex;
  align-items: center;
}

.hero-container {
  position: relative;
  width: 100%; /* Ajusta el ancho según tu preferencia */
  height: 100%;
  overflow: hidden; /* Evita que la imagen se extienda más allá del contenedor */
}

.hero-container img {
  top: 0; /* Ajusta la posición vertical si es necesario */
  width: 85%; /* Ajusta el ancho de la imagen */
  height: auto; /* Permite que la imagen conserve su proporción */
  object-fit: cover; /* Ajusta el tamaño de la imagen para cubrir el contenedor */
}

.overlay {
  position: absolute;
  top: 83%;
  left: 42.5%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.overlay h1{
  color: #fff;
}

.overlay-contact {
  position: absolute;
  top: 30%;
  right: 3%;
  transform: translate(0, -50%);
  background-color: #222222;
  padding: 20px;
  border-radius: 10px;
  color: black;
  z-index: 1;
}

.overlay-contact h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.overlay-contact p {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #fff;
}

.img-desktop {
  transition: transform 0.3s ease; /* Transición suave para el efecto de agrandamiento */
}

.img-desktop:hover {
  transform: scale(1.02); /* Aumenta el tamaño de la imagen al 110% al pasar el cursor sobre ella */
}
/* Estilo por defecto */
.img-mobile {
  display: none;
}

@media screen and (max-width: 1024px) {
  .overlay h1 {
    font-size: 1.8rem;
  }

  .overlay-contact h2 {
    font-size: 1.2rem;
  }

  .overlay-contact p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .overlay h1 {
    font-size: 1.5rem;
  }

  .overlay-contact h2 {
    font-size: 1rem;
  }

  .overlay-contact p {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 499px) {
  .overlay-contact {
    display: none;
  }
  .hero-container img {
    width: 100%; /* Ajusta el ancho de la imagen */
    height: auto; /* Permite que la imagen conserve su proporción */
  }
  .overlay {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
  }
  .overlay h1 {
    font-size: 1.2rem;
  }
  .img-desktop {
    display: none;
  }
  .img-mobile {
    display: block;
  }
  
}

@media screen and (max-width: 423px) {
  .overlay {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
  }
  .overlay h1 {
    font-size: 1rem;
  }
  .overlay p {
    font-size: 0.8rem;
  }
}

/** =============== EXPERIENCE ===============*/
.experience {
  position: relative;
}

.experience::before {
  content: '';
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-color: var(--color-main);
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .experience::before {
    height: 85%; /* Por ejemplo, puedes ajustar el porcentaje según sea necesario */
  }
}

.experience__container {
  row-gap: 2.5rem;
  justify-content: center;
  justify-items: center;
}

.experience__content {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  justify-items: center;
  padding: 0 2rem;
}

.experience__number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
}

.experience__description {
  font-size: var(--small-font-size);
}

.experience__img {
  position: relative;
  padding-bottom: 2rem;
}

.experience__img-one,
.experience__img-two {
  transition: var(--img-transition);
}

.experience__img-one:hover,
.experience__img-two:hover {
  transform: var(--img-scale);
}

.experience__overlay {
  overflow: var(--img-hidden);
}

.experience__overlay:nth-child(1) {
  width: 263px;
  margin-right: 2rem;
}

.experience__overlay:nth-child(2) {
  width: 120px;
  position: absolute;
  top: 2rem;
  right: 0;
}

/** start Clientes (cinta transportadora) */

.contenedor-clientes {
  position: relative;
  width: 100%;
  height: auto;
  margin: auto;
  overflow: hidden;
  border: none;

  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

.box-titulo-clientes {
  position: relative;
  width: 30rem;
  height: 18rem;
  font-family: var(--font-menu);
  font-size: 1.5rem;
  font-weight: bold;
  background: var(--background-slider);
  color: var(--color-titulos);
  text-align: center;
  text-shadow: black 0.1em 0.1em 0.1em;
  transform: rotate(-25deg);
  box-shadow: var(--box-shadow-slider);
}

.posicion-box-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.posicion-box-texto .parrafo2-clientes {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--color-subtitulos);
  margin: 10px 0;
}

/* Animacion */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  background: var(--background-slider);
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: auto;
}

.slider::before,
.slider::after {
  background: transparent;
  content: "";
  height: auto;
  position: absolute;
  width: auto;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  animation: scroll 20s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
/** Se define el tamaño de las imágenes en la cinta transportadora */
.slider .slide {
  width: auto;
  height: auto;
  margin: 20px 0;
}

.slide img {
  width: auto;
  height: auto;
  border-radius: 25%;
}

/** End Clientes (Cinta transportadora) */


/** =============== TESTIMONIAL =============*/

.testimonial__data {
  text-align: center;
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: var(--color-main);
  margin: 0 4px;
}

.swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center; 
  margin-top: 15px; 
}


.s-swiper-slide {
  background-position: center;
  background-size: cover;
  width: auto; 
  height: auto; 
}

.testimonial__img {
  border-radius: 50%; 
}

.testimonial__i {
 text-align: center;
}

.testimonial {
  border-radius: 5px; 
  padding: 20px; 
  transition: border-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.testimonial::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0;
  right: 0; 
  bottom: 0; 
  border-radius: 5px; 
  transition: border-color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1); 
  z-index: -1; 
}

.testimonial:hover::before {
  border: 2px solid transparent; 
  border-image: linear-gradient(to right, #892d88, #ffffff);
  border-image-slice: 1; 
  border-left: 2px solid #892d88;
}

/** =============== HELP =============*/

.help__title {
  background-color: var(--color-main);
  padding-bottom: 0.1%; /* Espaciado de 5px abajo */
}

.help {
  padding: 20px;
  background-color: #f7f7f7;
}

.help__form {
  max-width: 600px;
  margin: 0 auto;
}

.help__form-group {
  margin-bottom: 20px;
}

.help__form-group label {
  display: block;
  margin-bottom: 5px;
}

.help__form-group input[type="text"],
.help__form-group input[type="email"],
.help__form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.help__submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.help__submit-btn:hover {
  background-color: #45a049;
}

/** =============== FOOTER ===============*/

.footer {
  background-color: #8c8b92;
}

/** Separar el footer del copyright */
.footer__container {
  row-gap: 2rem;
}

/** -------- Cuerpo del Footer ------ */
.footer__content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 1rem;
}

.footer__title,
.footer__subtitle {
  color: var(--white-color);
  font-size: var(--h1-font-size);
}

.footer__title {
  margin-bottom: var(--mb-0-5);
}

.footer__description {
  color: var(--white-color);
  margin-bottom: var(--mb-2);
}

/** ------ ¡New! Social Media icons ------ */

.footer__social i {
  color: var(--white-color);;
}

.footer__social-link {
  font-size: 1.2rem;
  margin-right: var(--mb-1-25);
  width: max-content;
}

.footer__social  .fab.fa-facebook:hover {
  color: var(--color-facebook);
}

.footer__social .fab.fa-tiktok:hover {
  border-radius: 5px;
  color: #fff;
  background: #000;
  background: radial-gradient(
    circle,
    #000000 30%,
    transparent 70%
  ),
  radial-gradient(circle, #d6249f 20%, transparent 30%),
  radial-gradient(circle, #0038ff 20%, transparent 30%);
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
}

.footer__social .fab.fa-twitter:hover {
  color: var(--color-twitter);
}

.footer__social .fab.fa-instagram:hover {
  border-radius: 5px;
  color: #fff;
  background: #d6249f;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.footer__social .fab.fa-whatsapp:hover {
  font-size: 20px;
  color: var(--color-whatsapp);
}
/** ------ ¡end! Social Media icons ------ */

.footer__subtitle {
  margin-bottom: var(--mb-1);
}

.footer__item {
  color: var(--white-color);
  margin-bottom: var(--mb-0-75);
}

.footer__item span {
  margin-bottom: var(--mb-0-75);
  font-size: var(--small-font-size);
}

.footer__link {
  color: var(--white-color);
}

.footer__link:hover {
  color: var(--white-color);
}

.footer__link-mail {
  color: var(--white-color);
}

.footer__link-mail:hover {
  color: var(--color-main);
}

/** -------- Copyright ------ */

.footer__rights {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}

.footer__copy,
.footer__terms-link {
  font-size: var(--small-font-size);
  color: var(--color-main);
}

.footer__copy a {
  color: var(--color-main);
  text-decoration: underline;
}

.footer__copy a:hover {
  opacity: 0.5;
  text-decoration: none;
}

.footer__terms {
  display: flex;
  column-gap: 1.5rem;
  justify-content: center;
}

.footer__terms-link:hover {
  color: var(--text-color);
}

/** ========= SCROLL UP (Icono flecha subir) ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  /** Temporal, solo para codificar bien el botón, luego se esconde y manipula con JS y la clase "show-scroll" */
  /* bottom: 5rem; */
  bottom: -20%;
  background-color: var(--first-color);
  padding: 0.5rem;
  display: flex;
  opacity: 0.9;
  z-index: var(--z-tooltip);
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.2rem;
}

/** Show scroll */
.show-scroll {
  bottom: 5rem;
}

/** =============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/**! =============== MEDIA QUERIES ===============*/

/** For small devices */
@media screen and (max-width: 340px) {
  .place__container {
    /* grid-template-columns: max-content; */
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .home__info {
    width: 190px;
    padding: 1rem;
  }
  .experience__content {
    padding: 0;
  }
  .experience__overlay:nth-child(1) {
    width: 190px;
  }
  .experience__overlay:nth-child(2) {
    width: 80px;
  }
  .experience__img,
  .video__container {
    padding: 0;
  }
}

/** For medium devices */
@media screen and (min-width: 568px) {
  .video__container {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }

  .subscribe__form {
    width: 470px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__serv {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__serv:hover {
    color: var(--white-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .nav__serv {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .home__container {
    height: 100vh;
    grid-template-rows: 1.8fr 0.5fr;
  }
  .home__data {
    align-self: flex-end;
  }
  .home__social {
    flex-direction: row;
    align-self: flex-end;
    margin-bottom: 3rem;
    column-gap: 2.5rem;
  }
  .home__info {
    bottom: 3rem;
  }
 @media screen and (min-width: 768px) {
  .about__container {
    grid-template-columns: 1.6fr 0.8fr;
    align-items: center;
  }
}
  .about__data,
  .about__title {
    text-align: initial;
  }
  .about__title {
    margin-bottom: var(--mb-1-5);
  }
  .about__description {
    margin-bottom: var(--mb-2);
  }
  .services__container {
    width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  .services__container {
    padding-top: 2rem;
  }

  .place__container {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 2rem;
  }

  .experience__overlay:nth-child(1) {
    width: 363px;
    margin-right: 4rem;
  }
  .experience__overlay:nth-child(2) {
    width: 160px;
  }
  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }
}

/** For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .home__container {
    grid-template-rows: 2fr 0.5fr;
  }
  .home__info {
    width: 328px;
    grid-template-columns: 1fr 2fr;
    column-gap: 2rem;
  }
  .home__info-title {
    font-size: var(--normal-font-size);
  }
  .home__info-img {
    width: 240px;
  }
  .about__img-one {
    width: 70%;
  }


  .experience__content {
    margin: var(--mb-1) 0;
    column-gap: 3.5rem;
  }
  .experience__overlay:nth-child(1) {
    width: 463px;
    margin-right: 7rem;
  }
  .experience__overlay:nth-child(2) {
    width: 220px;
    top: 3rem;
  }
  .video__container {
    grid-template-columns: 0.7fr;
  }
  .video__description {
    padding: 0 8rem;
  }

  .place__container {
    gap: 3rem 2rem;
  }
  .place__card,
  .place__img {
    /* height: 263px; */
    height: 100%;
  }

  .footer__content {
    justify-items: center;
  }

  /** SWIPER. Aumento del tamaño de las imagenes para viewport tipo Desktop */

  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 400px;
  }

  .s-swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    height: auto;
  }

}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

/** For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
  .home__container,
  .home__img {
    height: 640px;
  }
}

/** Hidden styles for video on mobiles*/
/** --------------------------------- */
@media screen and (min-width: 0px) and (max-width: 768px) {
  .div-mobile {
    display: block;
    max-width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  .div-mobile-place {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  .videoBx {
    background: var(--color-main);
    min-height: 100vh;
  }
  .nav__logo,
  .nav__toggle {
    color: var(--first-color);
  }
  .home__data-subtitle,
  .home__data-title,
  .home__social-link,
  .home__info {
    color: var(--first-color);
  }
  .contenedor-clientes {
    height: auto;
  }
  .box-titulo-clientes {
    display: none;
  }
  .slider {
    height: auto;
  }
  .slider::before,
  .slider::after {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 0%
    );
  }
  .slider .slide {
    height: auto;
    width: auto;
    margin: 10px 0;
  }
  .slide img {
    width: auto;
    height: auto;
  }
}

/** Show styles for video on desktop */
/** -------------------------------- */

@media screen and (min-width: 769px) and (max-width: 3000px) {

  .div-mobile {
    display: none;
  }

  .div-mobile-place {
    display: none;
  }
}
