/** =============== 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);
}

@font-face {
  font-family: "Bebas Kai";
  src: url(../fonts/BebasKai-Regular.ttf), format("truetype")
}

@font-face {
  font-family: "Akira Expanded";
  src: url(../fonts/AkiraExpanded-Regular.otf), format("truetype")
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Regular.ttf), format("truetype")
}

@font-face {
  font-family: "Montserrat Black";
  src: url(../fonts/Montserrat-Black.ttf), format("truetype")
}

@font-face {
  font-family: "Geometr415 Blk BT";
  src: url(../fonts/Geometr415-Blk-BT.ttf), format("truetype")
}

@font-face {
  font-family: "Cocogoose";
  src: url(../fonts/Cocogoose-Regular-trial.ttf), format("truetype")
}

@font-face {
  font-family: "Blue River";
  src: url(../fonts/BlueRiver.otf), format("truetype")
}


/** =============== 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;
}

.section {
  padding: 4.5rem 0 2.5rem;
}

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

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2);
}

/* 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;
  max-width: 720px;
  text-align: center;
  margin: 0 auto 2.5rem;
}

/* .section__subtitle {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
} */

.section__title-f {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2);
}

/* Subtitulo en negrita */
.subtitle { 
  font: var(--body-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--title-color);
}

.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 */
  }
}

/* ===== NOSOTROS ==== */

.nosotros-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: flex-start;
  padding: 4rem 0;
}

.nosotros-text p {
  margin-bottom: 1.2rem;
}

.nosotros-text strong {
  color: var(--color-main);
  font-weight: 600;
}

.nosotros-image img {
  width: 90%;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(137, 45, 136, 0.25);
}

.nosotros-parrafo {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;        
  color: var(--text-color);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;        
  margin-bottom: 1rem;
  max-width: 520px;       
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nosotros-text {
    text-align: justify;
  }
}

/* ========== QUÉ HACEMOS ========== */

.que-hacemos-section {
  padding: 5rem 2rem;
  background-color: var(--body-color);
  text-align: center;
}

.que-hacemos-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.que-hacemos-item {
  padding: 2rem;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(137, 45, 136, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.que-hacemos-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(137, 45, 136, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .que-hacemos-grid {
    grid-template-columns: 1fr;
  }
}

.que-hacemos-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
  text-align: left;
}

.que-hacemos-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  line-height: 1.55;
  font-size: 0.95rem;
  color: var(--text-color);
}

.que-hacemos-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-main);
  font-size: 1.2rem;
  line-height: 1;
}

/* ========== VISIÓN ========== */

.vision-section {
  padding: 5rem 2rem;
  text-align: center;
  background-color: var(--body-color);
}

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

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

.cta {
  padding: 5rem 0;
  margin-bottom: 5rem; 
}

.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;
}

/** =============== 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;
  }
}

@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__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 .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;
}


/** =============== SERVICES ===============*/

.servicios__card {
  position: relative;
  overflow: hidden; /* Evita que las imágenes se desborden del contenedor */
}

.servicios__img {
  position: absolute;
  width: auto;
  height: auto;
  min-width: 110%;
  min-height: 110%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Escala la imagen para cubrir todo el contenedor, manteniendo la relación de aspecto */
  transition: transform 0.2s ease; /* Agregar una transición suave */
}

.servicios__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; 
}

.swiper-pagination-bullet {
  background-color: var(--color-main);
  border: 1.5px solid #751e6b;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--color-main);
}

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

.overlay-data {
  position: absolute;
  top: 50%;
  left: 60%;
  width: 100%;
  transform: translate(-50%, -50%); /* Centrar la imagen */
  z-index: 5;
  transition: transform 0.2s ease; /* Agregar una transición suave */
}

.overlay-data .servicios__title {
  width: 80%;
  color: black;
  font-size: calc(2vw + 2.5em);
  line-height: 1;
}

.overlay-data .servicios__title .marcas-confiables {
  font-family: 'Bebas Kai', sans-serif;
  color: #fff;
  font-size: calc(0.8vw + 1.1em);
}

.overlay-data .servicios__title .resultados {
  font-family: 'Akira Expanded', sans-serif;
  color: #fbb713;
  font-size: calc(1vw + 1.4em);
}

.overlay-data .servicios__title .comprobados {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: #fbb713;
  font-size: calc(0.5vw + 0.4em);
  letter-spacing: 0.46em;
  padding-left: 4%;
  padding-right: 3%;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
}

@media screen and (max-width: 768px) {
  .overlay-data .servicios__title .marcas-confiables {
    font-size: calc(0.8vw + 0.85sem);
  }
  .overlay-data .servicios__title .resultados {
    font-size: calc(0.8vw + 0.85em);
  }
}

.overlay-data .servicios__title .resultados_2 {
  text-align: left;
  font-family: 'Geometr415 Blk BT', sans-serif;
  color: var(--color-main);
  font-size: calc(0.5vw + 0.5em);
  letter-spacing: 0.28em;
  display: block; 
}

.overlay-data .servicios__title .avalados {
  text-align: left;
  font-family: 'Cocogoose', sans-serif;
  color: #fff;
  font-size: calc(1vw + 1.3em);
  letter-spacing: 0.05em;
  display: block;
}

.overlay-data .servicios__title .por-nuestros {
  text-align: left;
  font-family: 'Cocogoose', sans-serif;
  color: #fff;
  font-size: calc(0.5vw + 0.3em);
  letter-spacing: 1.28em;
  display: block;
  font-weight: 300;
}

.overlay-data .servicios__title .clientes {
  text-align: left;
  font-family: 'Montserrat Black', sans-serif;
  color: #fff;
  font-size: calc(0.5vw + 0.7em);
  font-weight: 900;
  display: block;
}

@media screen and (max-width: 768px) {
  .overlay-data .servicios__title .resultados_2 {
    text-align: center;
  }
  
  .overlay-data .servicios__title .avalados {
    text-align: center;
    font-size: calc(1vw + 1.1em);
  }
  
  .overlay-data .servicios__title .por-nuestros {
    text-align: center;
    padding-left: 4%;
  }
  
  .overlay-data .servicios__title .clientes {
    text-align: center;
  }
}

.overlay-data .servicios__title .tu-exito {
  font-family: 'Montserrat Black', sans-serif;
  color: #fbb713;
  font-size: calc(0.5vw + 1em);
  font-weight: bold;
  display: block; 
}

.overlay-data .servicios__title .nuestra {
  font-family: 'Akira Expanded', sans-serif;
  padding-left: 4%;
  color: #fff;
  font-size: calc(1vw + 0.5em);
  letter-spacing: 0.9em;
  display: block;
}

.overlay-data .servicios__title .mejor {
  font-family: 'Akira Expanded', sans-serif;
  color: var(--color-main);
  font-size: calc(0.5vw + 1.2em);
  display: block;
  text-shadow: 10px 10px 15px rgba(0, 0, 0, 0.7);
}


.overlay-data .servicios__title .prueba {
  font-family: 'Blue River', sans-serif;
  color: #fbb713;
  font-size: calc(0.5vw + 0.9em);
  font-weight: 900;
  display: block;
}

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

}

.slide-up-animation {
  transition: transform 0.5s ease;
  transform: translateY(20%);
}

.swiper-slide-active .slide-up-animation {
  transform: translateY(0);
}

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

  .servicios__card {
    height: 100%;
  }
  .servicios__container {
    height: 100%;
  }
  .s-swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    height: 90vh;
  }
  .servicios__data {
    position: absolute;
    bottom: 10rem;
    left: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .overlay-data {
    top: 50%;
    left: 50%;
    width: 100%;
    position: relative; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
  }

  .overlay-data .servicios__title {
    width: 100%;
    margin-bottom: 10px;
  }

  .overlay-data .servicios__width{
    width: 100%; 
  }

}

/** =============== NOSOTROS ===============*/

.nosotros-section {
  padding: 6%;
  text-align: center;
}

.nosotros-content {
  padding-bottom: 15%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nosotros-img-1 {
  padding-right: 2%;
  width: 15%;
}

.nosotros-img-2 {
  padding-left: 0%;
  width: 20%;
}

@media screen and (max-width: 768px) {
  .nosotros-content {
    flex-direction: column;
    padding-bottom: 20%;
  }
  .nosotros-img-1 {
    display: none;
  }
  .nosotros-img-2 {
    width: 50%;
    margin-top: 5%; /* Opcional: Agrega un poco de espacio entre las imágenes en pantallas más pequeñas */
  }
}

.nosotros-text-box {
  padding-left: 8%;
  flex-grow: 1;
  text-align: left;
  position: relative;
}

.nosotros-text-container {
  position: relative;
  padding: 10px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  animation: aparecerBorde 1s forwards;
  opacity: 0;
}

.nosotros-text-container p {
  position: relative;
}

@keyframes aparecerBorde {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nosotros-logo-box {
  margin-top: 20px;
  position: relative;
}

.nosotros-small-logo {
  width: 100px; /* ajusta el tamaño según sea necesario */
}

.nosotros_centro {
  text-align: center;
  position: relative; /* Se utiliza para posicionar las imágenes */
  padding-right: 8%;
  padding-bottom: 8%;
  padding-left: 8%;
}

.nosotros_centro .imagen-arriba {
  position: absolute;
  width: 22%;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-70%);
  margin-bottom: 1%;
}

.nosotros_centro .texto {
  border: 1px solid black;
  padding-top: 8%;
  padding-bottom: 8%;
  padding-left: 2%;
  padding-right: 2%;
}

.nosotros_centro .imagen-abajo {
  margin-top: 1%;
  position: absolute;
  width: 18%;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 768px) {
  .nosotros_centro {
    padding-top: 25%;
    padding-bottom: 25%;
  }
  .nosotros_centro .imagen-arriba {
    width: 50%;
    transform: translateX(-50%) translateY(-17.5%);
  }
  .nosotros_centro .texto {
    padding-top: 12%;
    padding-bottom: 12%;
  }
  .nosotros_centro .imagen-abajo {
    margin-top: 1%;
    width: 30%;
    bottom: 17%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media screen and (max-width: 566px) {
  .nosotros_centro .imagen-abajo {
    margin-top: 1%;
    width: 50%;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}


/** =============== 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;
  }
}

/** For medium devices */
@media screen and (min-width: 568px) {
  .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__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__toggle,
  .nav__close {
    display: none;
  }
  .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;
  }
  .servicios__container {
    width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  .servicios__container {
    padding-top: 2rem;
  }
  .home__social {
    flex-direction: row;
    align-self: flex-end;
    margin-bottom: 3rem;
    column-gap: 2.5rem;
  }
  .place__container {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 2rem;
  }
  .subscribe__bg {
    background: none;
    padding: 0;
  }
  .subscribe__container {
    background-color: var(--first-color-second);
    padding: 3.5rem 0;
  }
  .subscribe__input {
    padding: 0 0.5rem;
  }
  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }
  .about1__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about1__data,
  .about1__title {
    text-align: initial;
  }
  .about1__title {
    margin-bottom: var(--mb-1-5);
  }
  .about1__description {
    margin-bottom: var(--mb-2);
  }
  .about2__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about2__data,
  .about2__title {
    text-align: initial;
  }
  .about2__title {
    margin-bottom: var(--mb-1-5);
  }
  .about2__description {
    margin-bottom: var(--mb-2);
  }
}

/** For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .servicios__card {
    height: 100%;
  }
  .servicios__container {
    height: 100%;
  }
  .servicios__data {
    left: 1.5rem;
    bottom: 2rem;
  }
  .servicios__title {
    font-size: var(--h2-font-size);
  }
  .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 */

  .c-swiper-slide {
    background-position: center;
    background-size: cover;
    width: 340px;
    height: 340px;
  }
  
  .s-swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto; /* Ancho del 100% de la ventana del navegador */
    height: 90vh; /* Alto del 100% de la ventana del navegador */
  }

  /** SWIPER. Se re-inserta el contenido o texto dentro de la Card con la imagen aumentada  */
  .servicios__data {
    position: absolute;
    bottom: 10rem;
    left: 3rem;
  }
  .about1__img-one {
    width: 70%;
  }
  .about2__img-one {
    width: 70%;
  }
}

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


/** 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;
  }
  .nav__logo,
  .nav__toggle {
    color: var(--first-color);
  }

  .box-titulo-clientes {
    display: none;
  }
  .slider {
    height: 250px;
  }
  .slider::before,
  .slider::after {
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 0%
    );
  }
  .slider .slide {
    height: 250px;
    width: 250px;
    margin: 60px 0;
  }
  .slide img {
    width: 150px;
    height: 150px;
  }
  
}

/** 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;
  }
}
/* Mostrar contenido solo a los motores de búsqueda */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}