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

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

  /** ========== 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: var(--mb-2);
}

.line-big-intro {
  font-size: 1.25em;
}

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

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

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


/** =============== SLIDER ===============*/

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

.servicios__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-base-alt);
  z-index: var(--z-video);
}

@media screen and (max-width: 600px) {
  .fotografia-camera-img {
    width: 100%; /* La imagen ocupará todo el ancho disponible */
    max-width: 300px; /* Limita el tamaño máximo de la imagen */
  }
}

.overlay-data1 {
  position: absolute;
  text-align: justify;
  top: 65%;
  left: 55%;
  width: 100%;
  transform: translate(-50%, -50%); /* Centrar la imagen */
  z-index: 9999;
}

.overlay-data1 .servicios__title {
  width: 20%;
  color: var(--white-color);
  font-size: calc(2vw + 2em); /* Combinar vw y em de forma proporcional */
  font-weight: bold;
  line-height: 1; /* Ajusta el interlineado según tus preferencias */
}

.overlay-data1 .servicios__width {
  width: 20%;
}

.overlay-data1 .servicios__description {
  color: var(--white-color);
  font-size: calc(0.2vw + 1em); /* Combinar vw y em de forma proporcional */
}

@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: 100vh;
  }
  .servicios__data {
    position: absolute;
    bottom: 10rem;
    left: 3rem;
  }
}


@media screen and (max-width: 896px) {
  .fotografia-camera-img {
    width: 100%;
    max-width: 300px; 
  }
}

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

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

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

  .overlay-image1 {
    top: 40%;
    left: 50%;
    position: relative; 
    width: 40%; 
    margin-top: 10px; 
  }

  .overlay-image1 img {
    width: 100%; 
  }
  .s-swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    height: 94.5vh;
  }
}

.side::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-base-alt);
  z-index: var(--z-video);
}

.scroll-down-link {
  position: absolute;
  bottom: 4%; /* Ajusta la distancia desde la parte inferior */
  left: 50%; /* Lo posiciona en el centro horizontal */
  transform: translateX(-50%); /* Centra horizontalmente el icono */
  color: var(--color-main); /* Color del icono */
  font-size: 24px; /* Tamaño del icono */
  z-index: 10000;
  animation: moveDown 2s ease infinite; /* Aplica la animación a la flecha */  
}

@keyframes moveDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px); /* Mueve la flecha hacia abajo */
  }
  100% {
    transform: translateY(0); /* Vuelve a la posición original */
  }
}


/** =============== MULTIMEDIA ===============*/

.fotografia-section {
  padding: 50px 0;
  text-align: center;
}

.fotografia-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.fotografia-camera-box {
  margin-right: 20px;
}

.fotografia-camera-img {
  width: 280px;
}

.fotografia-text-box {
  flex: 1;
}

@media screen and (max-width: 600px) {
  .fotografia-content {
    flex-wrap: nowrap;
    align-items: center;
  }

  .fotografia-camera-box {
    margin-right: 10px;
  }

  .fotografia-camera-img {
    width: 100px;
    max-width: 100px;
  }

  .fotografia-text-box {
    text-align: left;
    margin-right: 10px;
  }
}

.subtitulo_h1,
.subtitulo_h2,
.subtitulo_v {
  text-align: left;
  padding-left: 2.5%;
  padding-bottom: 1%;
}

.h1 {
  padding-bottom: 3.5%;
  padding-top: 1%; 
}
.h2 {
  padding-bottom: 10%; 
}
.v {
  padding-bottom: 5%; 
}

.fotografia-text-box {
  flex-grow: 1;
  text-align: left;
  position: relative;
}

.fotografia-text-container {
  position: relative;
}

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

.fotografia-text-line {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%; /* La línea se extenderá a lo ancho del contenedor de texto */
  height: 1px; /* Grosor de la línea */
  background-color: #000;
  display: block;
}

@media screen and (max-width: 757px) {
  .h1 {
    padding-bottom: 10%; 
  }
  .h2 {
    padding-bottom: 10%; 
  }
  .v {
    padding-bottom: 10%; 
  }
}






.services__card {
  position: relative;
  width: auto;
  overflow: var(--img-hidden);
  cursor: pointer;
}

.services__data {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

@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 {
  margin: 0 auto; /* Centrar el contenedor horizontalmente */
  overflow: hidden;
  height: auto; /* Establecer altura automática para ajustarse al contenido */
}

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

.parent-container {
  position: relative;
  /* Estilos adicionales según sea necesario */
}

.swiper-button-prev, .swiper-button-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: none; /* Las flechas no son visibles por defecto */
  color: var(--white-color);
}

.swiper-button-prev {
  left: 0.8%;
}

.swiper-button-next {
  right: 0.8%;
}

.services-video { 
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease-in-out;
  z-index: 1; /* Asegurar que el video esté por encima de los demás elementos */
}

.margen-h1 {
  top: -28%;
}

.enlarged {
  transform: scale(1.1);
  z-index: 2; /* Aumentar el índice z para que el video agrandado esté por encima */
}

.text_container_h1 {
  position: absolute;
  bottom: 0; /* Anclar el contenedor de texto a la parte inferior */
  left: 0;
  width: 100%;
  height: auto;
  padding-top: 1.2%;
  padding-bottom: 1.2%;
  padding-left: 10%;
  background-color: var(--color-base); /* Fondo gris semi-transparente */
  box-sizing: border-box; /* Incluye el relleno en el cálculo del tamaño */
  z-index: 99; 
}

.text_container_h1 p {
  margin: 0; /* Elimina el margen interno del párrafo */
  color: #fff; /* Color del texto */
  font-size: calc(0.3vw + 0.5em); /* Tamaño de fuente en píxeles */
}
.image_container {
  position: relative;
}

.play_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.play_icon i {
  font-size: 40px; /* Tamaño del icono */
  color: var(--white-color); /* Color del icono */
  position: relative;
  animation: pulse 2s infinite; /* Animación */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}




/** =============== SUBSCRIBE ===============*/
.subscribe__bg {
  background-color: var(--first-color-second);
  padding: 2.5rem 0;
}

.subscribe__title,
.subscribe__description {
  color: var(--white-color);
}

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

.subscribe__form {
  position: relative;
  background-color: var(--input-color);
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;

  flex-wrap: wrap;
  flex-direction: column;
}

.subscribe__input {
  width: 100%;
  padding-right: 0.5rem;
  background-color: var(--input-color);
  color: var(--text-color);
}

.subscribe__input::placeholder {
  color: var(--text-color);
}

/** Email Validation */

.validaEmail {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#text {
  position: relative;
  display: block;
  color: #00ff15;
  font-weight: 300;
  font-style: italic;
  padding: 5px;
  text-align: center;
  width: 40%;
  inset: 0;
  margin: 0 auto;
  margin-top: 10px;
}

#form.invalid .validaEmail:before {
  content: "";
  position: absolute;
  right: 37%;
  top: 35%;
  width: 24px;
  height: 24px;
  background: url(.././img/invalid.png);
  background-size: cover;
  z-index: 1000;
}

#form.valid .validaEmail:before {
  content: "";
  position: absolute;
  right: 37%;
  top: 35%;
  width: 24px;
  height: 24px;
  background: url(.././img/valid.png);
  background-size: cover;
  z-index: 1000;
}

/* ==================== SECCIÓN ENFOQUE / MULTIMEDIA ==================== */

.enfoque-c2 {
  padding: 4rem 0;
  background-color: var(--body-color);
}


.enfoque-c2 .section__title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.enfoque-c2 .section__subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--text-color);
  line-height: 1.6;
}

/* ==================== GRID ==================== */

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

/* ==================== ITEMS ==================== */

.enfoque-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.enfoque-item .subtitle_b {
  margin-bottom: 0.75rem;
  color: var(--title-color);
}

.enfoque-item p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--normal-font-size);
}

/* ==================== RESPONSIVE ==================== */

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

  .enfoque-item {
    padding: 1.5rem;
  }
}

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

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

  .cv-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: 100vh; /* Alto del 100% de la ventana del navegador */
  }
}

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

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

.about1 {
  padding: 4.5%;
  margin: 0 auto;
}

.about1__container {
  display: flex;
}

.about1__data {
  width: 70%;
}

.about1__img {
  width: 30%;
  text-align: center;
}

.about1__img-overlay {
  display: inline-block;
  overflow: hidden;
}

.about1__img-one {
  width: 100%;
  transition: transform 0.3s ease;
  margin: 0 auto;
  border-radius: 10px;
}

.about1__img-one:hover {
  transform: scale(0.98);
}

.about1__description {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave en la opacidad y transformación */
  transform: translateY(-50px); /* Empieza desde arriba */
}

.subtitle_b {
  font-size: var(--b-font-size);
  color: var(--title-color);
}

.about1__img-overlay {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave en la opacidad y transformación */
  transform: translateY(50px); /* Empieza desde abajo */
}

.about1__table {
  width: 60%; /* Establece el ancho al 60% */
  margin: 40px auto; /* Centra la tabla horizontalmente */
  border-collapse: collapse;
  margin-top: 20px;
}

.about1__table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.about1__container.scrolled .about1__description,
.about1__container.scrolled .about1__img-overlay {
  opacity: 1;
  transform: translateY(0); /* Llega al centro */
}

@media screen and (max-width: 768px) {
  .about1__container {
    flex-direction: column; /* Cambia la dirección a columna en dispositivos móviles */
  }
  .about1__data,
  .about1__img {
    width: 100%; /* Establece el ancho completo para que se muestren uno debajo del otro */
  }
  .about1 {
    padding: 0%;
  }
  .about1__data {
    padding-top: 12%;
    padding-bottom: 7%;
    padding-left: 4.5%;
    padding-right: 4.5%;
  }
  .about1__description {
    padding-bottom: 4.5%;
  }
  .about1__img,
  .about1__img-overlay,
  .about1__img-one {
    padding: 0%;
    width: 100%;
  }
  .about1__description,
  .about1__img-overlay {
    opacity: 1;
    transition: none;
    transform: translateY(0)
  }
  .about1__table {
    width: 100%;
  }
}

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

/* ==================== INFO CARDS (3) ==================== */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.info-card {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
/* Hace que el texto se mantenga en su color */
.info-card .about1__description {
  opacity: 1;
  transform: none;
  transition: none;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* responsive */
@media screen and (max-width: 768px) {
  .cards-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }
}

/* ==================== Sección Asi Diseñamos multimedia 2x2 ==================== */
.enfoque-multimedia .cards-3 {
  grid-template-columns: repeat(2, 1fr);
}

/* Mantener buena separación visual */
.enfoque-multimedia .cards-3 {
  gap: 2rem;
}

/* Responsive: en móvil sigue 1 columna (ya lo tenías bien) */
@media screen and (max-width: 768px) {
  .enfoque-multimedia .cards-3 {
    grid-template-columns: 1fr;
  }
}

/* ==================== PRODUCTOS ==================== */

.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;              /* ↓ menos separación */
  margin-top: 2.2rem;
  max-width: 1100px;         /* ↓ menos ancho total */
  margin-left: auto;
  margin-right: auto;
}

.producto-card {
  background-color: var(--white-color);
  padding: 1.8rem 2.2rem; /* menos alto, más ancho */
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribuye mejor el contenido */

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.producto-card .button {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Productos: el texto no debe animarse */
.producto-card .about1__description {
  opacity: 1;
  transform: none;
  transition: none;
  margin-bottom: 1.6rem;
}

.producto-card {
  position: relative;
  padding-left: 4.5rem; /* espacio para el icono */
}

/* Icono dentro de la card */
.producto-icon-float {
  position: absolute;
  top: 18px;     /* distancia desde arriba */
  left: 18px;    /* distancia desde la izquierda */

  width: 34px;
  height: 34px;

  background-color: var(--color-main);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.producto-icon-float i {
  color: #fff;
  font-size: 0.85rem;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==================== DIAGNÓSTICO LISTA ==================== */

.diagnostico-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.diagnostico-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.diagnostico-item:last-child {
  border-bottom: none;
}

.diagnostico-icon {
  width: 34px;
  height: 34px;
  background-color: var(--color-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagnostico-icon i {
  color: #fff;
  font-size: 0.85rem;
}

.diagnostico-text h3 {
  margin-bottom: 0.3rem;
}

.diagnostico-producto {
  font-size: 0.95rem;
  color: var(--title-color);
  white-space: nowrap;
}

.diagnostico-item-highlight {
  border-top: 1px dashed rgba(0,0,0,0.12);
  padding-top: 1.8rem;
}

/* Diagnóstico: el texto no debe animarse */
.diagnostico-text .about1__description {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .diagnostico-item {
    grid-template-columns: 34px 1fr;
  }

  .diagnostico-producto {
    margin-left: 44px;
  }
}

/* ==================== 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;
  margin-bottom: 2rem;
}

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

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