/** Configuracion global de fuentes **/

/* Titulos */
@font-face {
  font-family: 'Geometr212-heavy';
  src: url("/static/font/geometr212-BkCn-BT-Heavy/Geometr212-BkCn-BT-Heavy.ttf");
}

h1, h2, h3 {
  font-family: "Geometr212-heavy" !important;
}

/* Subtitulos */
@font-face {
  font-family: 'Geometr212-book';
  src: url("/static/font/geometr212-BkCn-BT-Book/Geometr212-BkCn BT-Book.ttf");
}

h4,
h5,
h6 {
  font-family: "Geometr212-book" !important;
}

/* Contendio general */
@font-face {
  font-family: 'Montserrat-black';
  src: url("/static/font/Montserrat/Montserrat-Black.ttf");
}

@font-face {
  font-family: 'Montserrat-regular';
  src: url("/static/font/Montserrat/Montserrat-Regular.ttf");
}

p {
  font-family: "Montserrat-regular" !important;
}

/* titulos geometry heavy subtitulos geometry book */
/* monserrat parrafos */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: #6B3290;
  background: linear-gradient(0deg, #6b3290 0%, #5a1b84 33%, #48166a 66%, #2d0e42 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
  color: #EAE7E5 !important;
}

.nav-link {
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* evita que el texto se rompa en varias líneas -LGS*/
}

.navbar-nav .nav-item {
  margin-right: 1rem;
}

.navbar-logo {
  height: 3.125rem;
  width: 12.5rem;
  margin-left: 1.375rem;
  margin-bottom: 0.125rem;
}

@media (max-width: 48rem) {
  .navbar-logo {
    width: 70%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 0.125rem;
  }
}

.nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0.2rem;
  /* equivale a 4px si 1rem = 16px */
  bottom: -0.125rem;
  /* equivale a -2px, línea más cerca del texto */
  left: 0;
  background-color: white;
  visibility: visible;
  /* Cambiaré esta para evitar parpadeo */
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
}

.scrolled .nav-link::before {
  background-color: black;
}

.nav-link:hover:before,
.nav-link:focus:before {
  visibility: visible;
  width: 100%;
}


.nav-icon {
  width: 1.8rem !important;
  height: 1.8rem !important;
  margin-right: 6px;
  display: inline-block;
}


/* -------- ESTILOS PRINCIPALES -------- */
.hyperjump-effect {
  position: relative;
  width: 100%;
  height: 100vh;
  background: black;
  overflow: hidden;
  z-index: 1;
}

#hyperCanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  top: 0;
  left: 0;
}

.overlay-text.qq-text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Geometric 212', sans-serif;
  color: #EAE7E5;
  z-index: 2;
  text-align: center;
  text-shadow: 0 0 10px #5A1B84, 0 0 20px #014276;
  max-width: 62.5rem;
  padding: 0 1rem;
}

.overlay-text.qq-text>* {
  animation-name: focus-in-contract-bck;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

.overlay-text.qq-text h1 {
  animation-delay: 0s;
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  color: #76D7D9;
}

.qq-nombre {
  display: block;
  font-size: 2.8rem;
  margin-top: 1.2rem;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: #5A1B84;
  font-family: "Geometr212 BkCn BT", sans-serif;
  text-shadow: 0 0 10px #00e5ff, 0 0 20px #014276;
}

.overlay-text.qq-text p:nth-of-type(1) {
  animation-delay: 0.5s;
}

.overlay-text.qq-text p:nth-of-type(2) {
  animation-delay: 1s;
}

.overlay-text.qq-text p {
  font-size: 1.4rem;
  line-height: 2.2rem;
  margin-top: 2rem;
}

.resaltado {
  color: #00e5ff;
  font-weight: bold;
}

@keyframes focus-in-contract-bck {
  0% {
    letter-spacing: 1em;
    transform: translateZ(300px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    letter-spacing: normal;
    transform: translateZ(0);
    filter: blur(0);
    opacity: 1;
  }
}

/* Scroll abajo - texto y flechas (horizontal y responsive) */
.scroll-down-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Geometric 212', sans-serif;
  color: #5A1B84;
  text-shadow: 0 0 10px #5A1B84, 0 0 20px #76D7D9;
  z-index: 9999;
  padding: 0 1rem;
  max-width: 90vw;
  flex-wrap: nowrap;
}

.scroll-text {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-align: center;
  max-width: 16rem;
  animation: fadeInUp 1.5s ease forwards;
  line-height: 1.4;
}

.arrow-svg {
  width: clamp(1.25rem, 3vw, 1.875rem);
  height: clamp(1.25rem, 3vw, 1.875rem);
  animation: arrowBounce 1.8s ease-in-out infinite;
  opacity: 0.8;
}

.left-arrow {
  animation-delay: 0s;
}

.right-arrow {
  animation-delay: 0.3s;
}

@keyframes arrowBounce {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }

  50% {
    transform: translateY(0.5rem);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(0.625rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tablets */
@media (max-width: 48rem) {
  .overlay-text.qq-text h1 {
    font-size: 2rem;
  }
  
  .qq-nombre  {
    font-size: 2.4rem;
  }
  
  .overlay-text.qq-text p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-top: 1.5rem;
  }
  
  .scroll-text {
    font-size: 1.1rem;
    max-width: 14rem;
  }
  
  .arrow-svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* Responsive móviles */
@media (max-width: 30rem) {
  .overlay-text.qq-text h1 {
    font-size: 1.7rem;
  }
  
  .qq-nombre  {
    font-size: 2rem;
  }
  
  .overlay-text.qq-text p {
    font-size: 1.05rem;
    line-height: 1.6rem;
    margin-top: 1.2rem;
  }
  
  .scroll-down-indicator {
    gap: 0.6rem;
    padding: 0 0.5rem;
  }
  
  .scroll-text {
    font-size: 1rem;
    max-width: 12rem;
  }
  
  .arrow-svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}


.custom-navbar {
  background-color: transparent;
  transition: background-color 0.8s ease, color 0.8s ease;
  z-index: 1000;
}

.custom-navbar .nav-link:hover {
  color: #76D7D9;
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
  color: #ffffff;
}


.custom-navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 4px #0000001a;
}

.custom-navbar.scrolled .nav-link:hover {
  color: #014276 !important;
}

.custom-navbar.scrolled .nav-link,
.custom-navbar.scrolled .navbar-brand {
  color: #000000 !important;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  align-items: center !important;
  bottom: 1.25rem;
  left: 1.875rem;
  z-index: 99;
  font-size: 0.875rem;
  border: none;
  outline: none;
  background-color: #76D7D9;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  transition: background-color 0.4s ease, transform 0.2s ease, box-shadow 0.4s ease;
  box-shadow: 0 0.1875rem 0.3125rem #76d7d980;
}

#scrollToTopBtn:hover {
  background-color: #706f6fde;
  transform: scale(1.1);
  box-shadow: 0 0.3125rem 0.625rem #706f6db3;
}

#scrollToTopBtn:active {
  transform: scale(0.95);
  box-shadow: 0 0.125rem 0.3125rem #706f6d80;
}

#scrollToTopBtn i {
  font-size: 1.25rem;
  color: #6B3290;
  transition: color 0.4s ease;
}

#scrollToTopBtn:hover i {
  color: #ffffff;
}

/* Estilos de la seccion 'sobre nostros' del home -Fer */
#about-us {
  background-color: #6f42c1;
  padding: 6.25rem 2.5rem;
  min-height: 20vh;
  position: relative;
  z-index: 3;
}

.img-about {
  width: 100%;
  max-width: 37.5rem;
  height: auto;
}

.card-about {
  max-width: 37.5rem;
  margin: 0 auto;
}

.card-about .card-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

@media (max-width: 47rem) {
  .img-about {
    display: none;
  }

  #about-us {
    background-image: url("/static/img/about_us1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
  }

  .card-about {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
  }
}

/* Estilos del mensaje temporal -Fer */
.auto-hide-message {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  max-width: 30rem;
  width: 100%;
  background-color: rgba(50, 50, 50, 0.6);
  color: white;
  padding: 0.5rem 2.2rem 0.5rem 1rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 10;
  box-sizing: border-box;
}

.auto-hide-message span {
  display: block;
  margin: 0;
  width: 100%;
}

.auto-hide-message button {
  position: absolute;
  top: 0.3rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

@media (max-width: 48rem) {
  .auto-hide-message {
    max-width: 90%;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* Estilos del boton que manda al usuario al template 'Sobre nosotros' -Fer */
.about-us, .about-us::after, .about-us::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables CSS: color principal usado en todo el botón */
:root {
  --font: Montserrat;
  --main-clr: #76D7D9; /* color principal para texto, bordes y animaciones #0ebac5*/
} 

/* Estilo principal del enlace que funciona como botón */
.button-know-us {
  color: var(--main-clr);
  user-select: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  font-family: var(--font); 
  /* text-transform: uppercase; */
  text-decoration: none;
  border: 2px solid var(--main-clr);
  position: relative;
  transition: all 500ms cubic-bezier(0.075, 0.82, 0.165, 1);
  letter-spacing: 4px;
}

/* Contenedor que envuelve los spans animados */
.button-know-us .span-wrapper {
  height: 100%;
  position: absolute;
  inset: 0 -2px -4px 0;
  overflow: hidden;
  z-index: -1;
}

/* Estilo para cada círculo animado dentro del wrapper */
.button-know-us .span-wrapper span {
  background-color: var(--main-clr);
  width: 30%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.8) translateY(125%) translateZ(0);
  transition: all 1s ease;
}

/* Posición y retraso individual para cada círculo */
.s1 {
  left: -10%;
  transition-delay: 0ms;
}

.s2 {
  left: 30%;
  transition-delay: 500ms;
}

.s3 {
  left: 70%;
  transition-delay: 800ms;
}

/* Estado hover para el botón */
.button-know-us:hover {
  color: #5A1B84;
}

.button-know-us:hover .span-wrapper span {
  transform: scale(1.7) translateY(0) translateZ(0);
}

/* --- Sección SLIDER ---LGS */
.logo-slider-section {
  text-align: center;
  padding: 1rem 1rem 2rem 1rem;
}

.logo-slider-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #EAE7E5;
  text-shadow: 0 0 10px #E8A9D8, 0 0 20px #022C44;
}

/* --- Contenedor visible del slider ---LGS */
.logo-slider {
  max-width: 70rem;
  /* ← Aumento del contenedor -LGS */
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
  mask-size: 100% 150%;
  mask-repeat: no-repeat;
}

/* --- Pista de logos en movimiento ---LGS */
.logo-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  animation: scrollLogos 40s linear infinite;
  width: max-content;
}

/* --- Detener animación al pasar el mouse ---LGS */
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* --- Estilo de cada logo ---LGS */
.logo-item {
  flex: 0 0 auto;
  height: 8rem;
  margin: 0 1.8rem;
  /* ← Más separación entre logos -LGS*/
  opacity: 0.6;
  transform: scale(1) translateZ(0);
  transition: transform 0.6s ease-in-out, opacity 0.4s ease, filter 0.4s ease;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  width: auto;
  height: 7rem;
  object-fit: contain;
  display: block;
  mask-image: none;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

.logo-item.centered {
  transform: scale(1.15) translateZ(0);
  opacity: 1 !important;
  z-index: 2;
  transform-origin: center center;
  transition: all 0.3s ease-in-out;
}

.logo-item.centered img {
  filter: grayscale(0%) brightness(1.2) drop-shadow(0 0 0.625rem rgba(255, 255, 255, 0.6));
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

img.wordpress {
  height: 10rem;
}

/* --- RESPONSIVE -LGS --- */
@media (max-width: 62rem) {
  .logo-item {
    height: 6rem;
    margin: 0 1.2rem;
  }
  
  .logo-item img {
    height: 5rem;
  }
  
  img.wordpress {
    height: 6rem;
  }
}

@media (max-width: 48rem) {
  .logo-item {
    height: 5rem;
    margin: 0 1rem;
  }
  
  .logo-item img {
    height: 4rem;
  }
  
  .logo-slider-section h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 36rem) {
  .logo-item {
    height: 4rem;
    margin: 0 0.8rem;
  }
  
  .logo-item img {
    height: 3rem;
  }
  
  .logo-slider-section {
    padding: 3rem 0.5rem;
  }
  
  .logo-slider-section h2 {
    font-size: 1.1rem;
  }
}

/* --- TERMINA SLIDER ---LGS */
/* --- Sección de servicios -Memix */
.services {
  margin-bottom: 4.135rem !important;
  margin-top: 0.9rem !important;
  
}
.services-text{
  text-align: center;
}
.services h1{
  text-align: center;
}

.card-services,
.card-services-2 {
  position: relative;
  margin: 4.125rem;
  align-items: center;
  justify-content: center;
  box-shadow: #76D7D9 0px 0px 50px 0px;
  background: linear-gradient(328deg, #76d7d9 0%, #2d8285 45%, #200636 66%, #2f0f40 100%);
  color: #EAE7E5 !important;
  overflow: visible;
  border: 2px solid #0ff;
  height: 37.5rem !important;

}
/* Loader*/
.loader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36, 29, 58, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s cubic-bezier(.77,0,.18,1);
  pointer-events: all;
}

.loader .loader-label {
  color: #76D7D9;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-top: 32px;
  letter-spacing: 2px;
  text-shadow: 0 2px 14px #000;
  animation: fadeInUp 1.1s;
}

.gooey {
  position: relative;
  width: 90px;
  height: 30px;
  filter: url("#goo");
  margin: 0 auto;
}
.gooey .dot {
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(120deg, #76D7D9 35%, #a78bfa 100%);
  border-radius: 50%;
  animation: gooey-move 1.4s infinite cubic-bezier(.77,0,.18,1);
  z-index: 2;
}
.gooey .dots span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #76D7D9;
  animation: gooey-wave 1.4s infinite cubic-bezier(.77,0,.18,1);
}
.gooey .dots span:nth-child(1) {
  left: 15px; animation-delay: 0.2s;
  background: #a78bfa;
}
.gooey .dots span:nth-child(2) {
  left: 30px; animation-delay: 0.4s;
  background: #5a1b84;
}
.gooey .dots span:nth-child(3) {
  left: 45px; animation-delay: 0.6s;
  background: #76D7D9;
}

@keyframes gooey-move {
  0%   { left: 0; }
  33%  { left: 60px; }
  66%  { left: 0; }
  100% { left: 0; }
}
@keyframes gooey-wave {
  0%, 100% { transform: scale(1); }
  33%      { transform: scale(0.7); }
  66%      { transform: scale(1.15); }
}
.loader {
  opacity: 1;
  pointer-events: all;
}
.loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.loader svg {
  height: 0; 
  width: 0;
  position: absolute;
}
.loader .gooey-filter {
  display: none;
}

body.loaded .loader {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

/* Pantallas tipo laptop/tablet (medianas) -Memix */
@media (max-width: 1280px) {

  .card-services,
  .card-services-2 {
    margin: 2rem auto;
    max-width: 90%;
  }
}

/* Pantallas pequeñas (tablets y móviles en horizontal) -Memix */
@media (max-width: 768px) {

  .card-services,
  .card-services-2 {
    margin: 1.5rem auto;
    width: 90%;
    max-width: none;
  }
}

/* Móviles (vertical, pantallas muy pequeñas) -Memix */
@media (max-width: 576px) {
  .row.align-items-center {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 0.5rem !important;
  }

  .card-services,
  .card-services-2 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .card-services::before,
  .card-services::after,
  .card-services-2::before,
  .card-services-2::after {
    content: none !important;
    animation: none !important;
    transition: none !important;
  }
  
  .card-services .card-img-top,
  .card-services-2 .card-img-top {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.4 !important;
    transition: none !important;

  }
  
  .card-services .card-body,
  .card-services-2 .card-body {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: none !important;
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px #000000 !important;
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
  }
  
  .card-services .title-card-services,
  .card-services-2 .title-card-services {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .card-services .card-text,
  .card-services-2 .card-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  .card-services .services-hv,
.card-services-2 .services-hv {
  position: absolute !important;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  z-index: 5;
}

.card-services .services-button,
.card-services-2 .services-button-2 {
  background-color: #00d4ff;
  color: #ffffff;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 2px 2px 8px #00000050;
  font-size: 0.9rem;
}

.card-services .services-button:hover,
.card-services-2 .services-button-2:hover {
  background-color: #00bcd4;
  color: #fff;
}

}


.card-services-2 {
  background: linear-gradient(318deg, #e8abd9 0%, #edbae0 33%, #76d7d9 68%, #3b6c6d 100%);
  box-shadow: #E8A9D8 0px 0px 50px 0px;
  color: #000000 !important;
}

.card-services::before,
.card-services::after,
.card-services-2::before,
.card-services-2::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #0ff;
  border-radius: inherit;
  animation: pulseOut 2.5s ease-out infinite;
  opacity: 0;
}

.card-services::after,
.card-services-2::after {
  animation-delay: 1.25s;
}

.card-services::before,
.card-services::after,
.card-services-2::before,
.card-services-2::after {
  pointer-events: none;
  /* evita que los pseudo-elementos interfieran con la interacción del usuario -Memix */
}

.card-img-top {
  padding-top: 10px;
  width: 100% !important;
}

.card-text {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

@keyframes pulseOut {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}
 .card-body h2{
  text-shadow: #000000 0px 0px 15px;
 }
 /* Botones de servicios -Memix */
.services-button, .services-button-2{
  position: relative;
  padding: 1.5rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #200636;
  border: 2px solid #1a5584 !important;
  border-radius: 13px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  min-width: 200px;
  display: inline-block;
  margin: 15px;
  z-index: 1;
  background: transparent !important
}

.services-button-2 {
  border: 2px solid #646cff !important;
}

.liquid,
.liquid-2 {
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}

.liquid::before,
.liquid-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(318deg,#000d18 0%, #014276 50%, #1a5584 100%);
  
  transition: transform 0.5s ease;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
}

.liquid-2::before {
  background: linear-gradient(120deg, #646cff 0%, #4ab2e2 100%) !important;
}

.liquid:hover::before,
.liquid-2:hover::before {
  transform: scaleX(1);
}

.liquid-2:hover {
  color: #000000;
}

.liquid:hover {
  color: #ffffff;
}

.span-services {
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}
.section {
  background-color: transparent !important;
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
#carouselExampleControls{
  height: 500px !important;
  width: 300px !important;
  align-items: center !important;
}
#bd-img-services, #consultancy-img-services{
  overflow: hidden !important;
}
/* Estilos generales de secciones de servicios */
.services-title {
  text-align: center;
  margin: 40px 0;
  font-family: 'Montserrat', sans-serif;
}

.services-container,
.services-container1 {
  text-align: center;
  padding: 0 15px;
}

.services-container {
  margin: 50px auto;
  max-width: 1200px;
}

.services-type {
  margin: 30px auto !important;
  max-width: 900px;
  text-align: center;
}



/* Serpiente on scroll */
 .svgscroll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.svgscroll__svg {
  width: 100%;
  height: 100%;
}

.svgscroll__svg path {
  stroke: url(#strokeGradient);
  stroke-dasharray: 8959;
  stroke-dashoffset: 8959;
  animation: blink 1s infinite alternate;
  transition: stroke-dashoffset 0.2s ease-out;
  filter: url(#glow);
}

@keyframes blink {
  0% {
    filter: drop-shadow(0 0 0px #76D7D9);
  }
  100% {
    filter: drop-shadow(0 0 10px #76D7D9);
  }
}


/* CHALLENGES SECTION */
.desafios {
  padding: 60px 20px;
  background-color: transparent;
  text-align: center;
  width: 100%;
  max-width: none;
}
.desafios h2,
.desafios-subtitulo {
  color: #EAE7E5;
}
.desafios-grid {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.desafio-item {
  position: relative;
  width: 300px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.fluid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.desafio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
  text-align: center;
}
.desafio-item:hover .overlay {
  opacity: 1;
}

.desafios-grid {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.desafios-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Estilos base para el botón desafíos */
.button-challenges {
  display: inline-block;
  max-width: 100%;
  width: auto;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
}

/* Alineación al centro en móviles */
@media (max-width: 600px) {
  .button-challenges {
    margin: 0 auto;
    display: block;
    text-align: center;
  }
}

/* Alternativa con salto controlado en pantallas muy pequeñas */
@media (max-width: 500px) {
  .button-challenges {
    white-space: normal;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 0.6rem 1rem;
  }

  .button-challenges span {
    display: inline-block;
  }
}

/* Forzar animación también en estado :active para móviles */
.button-challenges:active .span-wrapper span {
  transform: scale(1.7) translateY(0) translateZ(0);
}




/* FOOTER SECTION */

.footer {
  z-index: 99;
  --footer-background: #E8A9D8;
  display: grid;
  position: relative;
  grid-area: footer;
  min-height: 12rem;
}

.footer .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--footer-background);
  filter: url("#blob");
}

.footer .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 100%;
  animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
             bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

.footer .content {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 4rem;
  padding: 2rem;
  background: var(--footer-background);
}

.footer .content a,
.footer .content p {
  color: #F5F7FA;
  text-decoration: none;
}

.footer .content b {
  color: white;
}

.footer .content p {
  margin: 0;
  font-size: .75rem;
}

.footer .content > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer .content > div > div {
  margin: 0.25rem 0;
}

.footer .content > div > div > * {
  margin-right: .5rem;
}

.footer .image {
  align-self: center;
  width: 4rem;
  height: 4rem;
  margin: 0.25rem 0;
  background-size: cover;
  background-position: center;
}

@keyframes bubble-size {
  0%, 75% {
    width: var(--size, 4rem);
    height: var(--size, 4rem);
  }
  100% {
    width: 0rem;
    height: 0rem;
  }
}

@keyframes bubble-move {
  0% {
    bottom: -4rem;
  }
  100% {
    bottom: var(--distance, 10rem);
  }
}

@media (max-width: 768px) {
  .footer .content {
    grid-template-columns: 1fr; /* cambia a una sola columna */
    text-align: center;
    justify-items: center;
  }

  .footer .content > div {
    align-items: center;
  }
}