/* === GLOBAL STYLES === */

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

html, body {
  width: 100%;
  height: 100%;
  background: #fff;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* === SCROLLBAR OSCURO === */
/* Para navegadores WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0d1011;
  border-left: 1px solid rgba(0, 200, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1a1d1f 0%, #2a2d2f 100%);
  border-radius: 6px;
  border: 2px solid #0d1011;
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2a2d2f 0%, #3a3d3f 100%);
  box-shadow: 0 0 12px rgba(0, 220, 255, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #00caff 0%, #0088cc 100%);
}

/* Para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #2a2d2f #0d1011;
}


/* === Fuentes auto‑hosteadas === */
@font-face{
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Regular.woff') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Medium.woff') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-SemiBold.woff') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Bold.woff') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face{
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-Regular.woff') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-SemiBold.woff') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Work Sans';
  src: url('/assets/fonts/WorkSans-Bold.woff') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face{
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Regular.woff') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Bold.woff') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}


/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.15);
  z-index: 999;
}

/* --- LOGO --- */
.navbar .logo img {
  height: 70px;
}

/* --- LINKS PRINCIPALES --- */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #00c3ff;
}

/* --- DROPDOWN --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 18, 22, 0.97);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.25);
  backdrop-filter: blur(12px);

  min-width: 250px;
  animation: dropdownFade 0.25s ease forwards;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #e6f9ff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(0, 200, 255, 0.12);
  color: #00c3ff;
}

/* Bordes redondeados en primera y última opción */
.dropdown-menu a:first-child:hover {
  border-radius: 14px 14px 0 0;
}

.dropdown-menu a:last-child:hover {
  border-radius: 0 0 14px 14px;
}

/* Si solo hay un elemento, redondear todo */
.dropdown-menu a:only-child:hover {
  border-radius: 14px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* --- ANIMACIÓN --- */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HERO SECTION === */
.section1, .hero {
  height: 100vh;
  background: url('../images/fondo.webp') no-repeat top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  min-height: calc(100vh - 128px); /* 100vh menos la altura real del navbar */
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  max-width: 900px;
}

.hero p {
  margin-top: 25px;
  font-size: 1.2rem;
  color: #e0e0e0;
}

.hero button {
  margin-top: 40px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.hero button:hover {
  background: #00c3ff;
  color: #fff;
  border: none;
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  #navbar { padding: 15px 30px; }
  .nav-links { gap: 25px; }
  .hero h1 { font-size: 2.5rem; }
}

/* === FUENTE PERSONALIZADA PARA H1 EN HERO === */

.hero h1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400; /* puedes ajustar el peso de la fuente */
    
}


/* === FUENTE PERSONALIZADA PARA SLOGAN EN HERO === */

.slogan {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400; /* puedes ajustar el peso de la fuente */
}

/* === ICONO FLOTANTE DE WHATSAPP  === */
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 25px;
  right: 25px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: float 3.5s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 64px;
  height: 64px;
  border-radius: 0; /* sin recorte, ícono tal cual */
  filter: drop-shadow(0 0 12px rgba(0, 170, 255, 0.4))
          drop-shadow(0 0 20px rgba(0, 170, 255, 0.2));
  animation: glow 3s ease-in-out infinite alternate;
  transition: transform 0.3s ease, filter 0.4s ease;
}

/* Hover: más energía */
.whatsapp-float:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(0, 180, 255, 0.7))
          drop-shadow(0 0 30px rgba(0, 180, 255, 0.4));
}

/* Flotación suave */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Brillo pulsante dinámico */
@keyframes glow {
  0% {
    filter: drop-shadow(0 0 8px rgba(0, 160, 255, 0.35))
            drop-shadow(0 0 15px rgba(0, 160, 255, 0.25));
  }
  100% {
    filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.6))
            drop-shadow(0 0 30px rgba(0, 200, 255, 0.4));
  }
}

/* === CONTROLES DE VIDEO NEO BOT ===*/

.video-wrapper-neo-bot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.video-wrapper-neo-bot video {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.video-wrapper-neo-bot video:hover {
  transform: scale(1.01);
  box-shadow: 0 0 45px rgba(0, 220, 255, 0.35);
}

/* === CONTROLES DE VIDEO EMPRENDIMIENTOS ===*/

.video-wrapper-emprendimientos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.video-wrapper-emprendimientos video {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.video-wrapper-emprendimientos video:hover {
  transform: scale(1.01);
  box-shadow: 0 0 45px rgba(0, 220, 255, 0.35);
}

.sound-btn {
  background: rgba(0, 170, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(0, 200, 255, 0.5);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.sound-btn:hover {
  background: rgba(0, 200, 255, 0.4);
  transform: scale(1.05);
}


/* === SECCIÓN: NEO BOT === */

.neo-bot-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d1011;
  color: #ffffff;
  padding: 100px 8%;
  gap: 60px;
  flex-wrap: wrap;
}

/* Texto */
.text-container {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 25px;
}

.blue-line {
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin: 20px 0 35px;
}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #d1d1d1;
  margin-bottom: 25px;
}

.section-paragraph {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #c8c8c8;
}

.section-paragraph strong,
.section-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

/* Video */
.video-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  width: 100%;
  max-width: 400px;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-container video:hover {
  transform: scale(1.02);
  box-shadow: 0 0 45px rgba(0, 200, 255, 0.4);
}

/* === ACTIVE HUMANS SECTION === */
.active-humans {
  background-color: #0d1011;
  color: #ffffff;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ah-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1400px;
  width: 100%;
  flex-wrap: wrap;
}

.ah-image {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.ah-image img {
  width: 100%;
  max-width: 650px;
  border-radius: 6px;
  box-shadow: 0 0 35px rgba(0, 200, 255, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.ah-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 50px rgba(0, 220, 255, 0.3);
}

.ah-content {
  flex: 1;
  min-width: 350px;
  text-align: left;
}

.ah-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
}

.ah-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin: 20px 0 25px;
}

.ah-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #c8c8c8;
  margin-bottom: 25px;
}

.ah-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #d3d3d3;
  margin-bottom: 15px;
}

.ah-text strong {
  color: #ffffff;
  font-weight: 600;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .ah-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .ah-content {
    text-align: center;
  }

  .ah-image {
    justify-content: center;
  }

  .ah-image img {
    max-width: 90%;
  }

  .ah-title {
    font-size: 2.2rem;
  }

  .ah-text p {
    font-size: 0.95rem;
  }
}
/* === SECCIÓN EMPRENDIMIENTOS === */
.impact-section {
  background-color: #0d1011;
  color: #ffffff;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.impact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: 80px;
  flex-wrap: wrap;
}

/* === TEXTO === */
.impact-text {
  flex: 1;
  min-width: 350px;
  text-align: left;
}

.impact-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.impact-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin-bottom: 30px;
}

.impact-paragraph {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #d3d3d3;
  max-width: 600px;
}

/* === VIDEO === */
.impact-video {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.impact-video video {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  object-fit: cover;
}

.impact-video video:hover {
  transform: scale(1.02);
  box-shadow: 0 0 55px rgba(0, 220, 255, 0.35);
}


/* === AUTOMATIZACIONES === */

.automation-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d1011;
  color: #fff;
  padding: 100px 8%;
  gap: 60px;
  flex-wrap: wrap;
}

/* Texto */
.automation-text {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 25px;
}

.blue-line {
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin: 20px 0 35px;
}

.section-paragraph {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #c8c8c8;
  margin-bottom: 20px;
}

.section-paragraph strong {
  color: #ffffff;
  font-weight: 600;
}

.learn-more {
  background: #1c2a2e;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more:hover {
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  transform: translateY(-3px);
}

/* Video */
.automation-video {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.automation-video video {
  width: 100%;
  max-width: 620px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 170, 255, 0.3);
  border: 2px solid rgba(0, 200, 255, 0.4);
  transition: all 0.3s ease;
}

.automation-video video:hover {
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.6);
  transform: scale(1.02);
}

/* Botón sonido */
.sound-btn {
  margin-top: 15px;
  padding: 10px 22px;
  background-color: #162125;
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.sound-btn:hover {
  background-color: #00bfff;
}

/* === PLANES DE IA === */


.ia-catalog {
  position: relative;
  background: linear-gradient(180deg, #02060a 0%, #050b12 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.ia-title {
  font-family: 'Poppins', sans-serif; /* asegurar Poppins */
  font-weight: 600;
  font-size: 2.6rem; /* antes 2.2rem */
  margin-bottom: 60px;
  letter-spacing: 1px;
  color: #00bfff;
}

.ia-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #00bfff;
  border: none;
  font-size: 2rem;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-btn:hover:not(:disabled) {
  background: rgba(0, 191, 255, 0.2);
  transform: scale(1.1);
}

.arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ia-cards-wrapper {
  position: relative;
  width: 80%;      /* más espacio para el carrusel (antes ~70%) */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 560px;   /* más alto para cartas (antes 380/520px) */
}

.ia-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 18px;
  width: 40%;         /* más angosta para “tipo carta” (antes 52%/60%) */
  min-height: 480px;  /* más vertical */
  padding: 32px;      /* ajuste sutil de paddings */
  opacity: 0;
  transform: scale(0.85) translateX(100px);
  filter: blur(4px) brightness(0.7);
  transition: all 0.7s ease-in-out;
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.2);
  display: flex;           /* ya presente, lo reafirmamos */
  flex-direction: column;  /* ya presente */
  align-items: center;     /* centra todo dentro de la carta */
  text-align: center;      /* centra texto por defecto */
  gap: 14px;               /* un poco más de aire vertical */
}

/* Distribución interna tipo carta */
.ia-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Logo arriba del título */
.ia-card-logo {
  align-self: center;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 191, 255, 0.25);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ia-card-logo img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,191,255,.35));
}

/* Título centrado y separación */
.ia-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.7rem;   /* antes 1.5rem */
  line-height: 1.3;
  text-align: center;
  margin-top: 2px;
}

/* Descripción flexible (ocupa el espacio disponible) */
.ia-card p {
  flex: 1;
  text-align: center;    /* antes justify */
  margin: 0 auto;        /* centra bloque */
  max-width: 95%;        /* evita líneas largas */
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;     /* antes 1rem */
  line-height: 1.75;     /* mejor legibilidad */
}

/* Cuadrado con texto al final */
.ia-card-badge {
  align-self: center;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.28);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(0, 191, 255, 0.25);
}
.ia-card-badge span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #eafaff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

/* Responsive cartas */
@media (max-width: 768px) {
  .ia-card-logo {
    width: 58px;
    height: 58px;
  }
  .ia-card-badge {
    width: 96px;
    height: 96px;
  }
  .ia-card-badge span {
    font-size: 0.9rem;
  }
}

.ia-card.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  filter: blur(0);
  z-index: 5;
  box-shadow: 0 0 60px rgba(0, 191, 255, 0.4);
}

.ia-card.next {
  opacity: 0.7;
  transform: scale(0.8) translateX(260px);   /* separa un poco más */
  filter: blur(5px) brightness(0.6);
  z-index: 3;
}

.ia-card.prev {
  opacity: 0.7;
  transform: scale(0.8) translateX(-260px);  /* separa un poco más */
  filter: blur(5px) brightness(0.6);
  z-index: 3;
}

/* === PLANES DE IA (mejoras visuales globales) === */
.ia-card {
  /* Fondo más oscuro y blur sutil del fondo */
  background: rgba(8, 12, 17, 0.65);
  border: 1px solid rgba(0, 191, 255, 0.18);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 0 50px rgba(0, 191, 255, 0.28);
}

/* === Mobile: carrusel sin distorsión === */
@media (max-width: 768px) {
  .ia-carousel {
    flex-direction: column;
    gap: 16px;
  }

  .ia-cards-wrapper {
    width: 92%;
    height: auto;         /* evita altura fija que deforma */
    overflow: visible;    /* permite crecer con el contenido */
  }

  /* Mostrar solo la tarjeta activa, a ancho completo y sin transforms */
  .ia-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    box-shadow: 0 0 60px rgba(0, 191, 255, 0.35);
  }

  .ia-card:not(.active) {
    display: none;
  }

  /* Flechas debajo, más cómodas al tacto */
  .arrow-btn {
    position: static;
    font-size: 1.6rem;
    padding: 10px 14px;
  }
}

/* Extra pequeño: ajusta texto para caber sin corte */
@media (max-width: 480px) {
  .ia-card h3 { font-size: 1.25rem; }
  .ia-card p  { font-size: 0.95rem; }
}

/* === SECCIÓN DE REFERIDOS === */
.referal-section {
  background: #0b0e10;
  padding: 120px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 200, 255, 0.1);
  border-bottom: 1px solid rgba(0, 200, 255, 0.1);
}

.referal-container {
  max-width: 900px;
  color: #fff;
}

.referal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.blue-line {
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin: 20px auto 40px;
}

.referal-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #c8c8c8;
  margin-bottom: 40px;
}

.referal-text strong {
  color: #ffffff;
  font-weight: 600;
}

.referal-btn {
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  padding: 14px 36px;
  border: 1px solid #00bfff;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.2);
}

.referal-btn:hover {
  background: #00bfff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.6);
}


/* === DIAGRAMA HIANN === */

.hiann-diagram {
  background: radial-gradient(circle at center, #0a0a0a 60%, #000 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.diagram-title {
  font-size: 1.2rem;
  color: #00bfff;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00bfff;
}

.diagram-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* ================= LÍNEAS ================= */
.flow-lines {
  width: 100%;
  height: 400px;
  position: absolute;
  top: 0;
  left: 0;
}

.flow-main,
.flow-branch,
.flow-core {
  stroke-width: 3px;
  fill: none;
  stroke-linecap: round;
}

.flow-main {
  stroke: url(#mainGradient);
  animation: flowPulse 4s linear infinite;
}

.flow-branch {
  stroke: #009dff;
  opacity: 0.7;
}

.flow-core {
  stroke: #ff003c;
  stroke-width: 4px;
  filter: drop-shadow(0 0 10px #ff0040);
}

/* Gradiente de flujo */
.flow-lines defs {
  position: absolute;
}
.flow-lines::before {
  content: "";
}

/* ================= CENTRO ================= */
.hiann-core {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-space {
  border: 2px solid rgba(0, 195, 255, 0.8);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 0, 50, 0.8), transparent);
  box-shadow: 0 0 25px #00bfff, 0 0 45px #ff003c inset;
  font-weight: bold;
  font-size: 1.4rem;
  color: #fff;
}

/* ================= LADOS ================= */
.branches {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 180px;
}

.branch {
  width: 40%;
  color: #00bfff;
  position: relative;
}

.branch h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-shadow: 0 0 8px #00bfff;
}

.nodes {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.node {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: linear-gradient(145deg, #003cff, #ff004c);
  box-shadow: 0 0 15px rgba(0, 140, 255, 0.8), 0 0 25px rgba(255, 0, 60, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.node:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px #00bfff, 0 0 45px #ff003c;
}

.node.marked {
  background: linear-gradient(145deg, #ff004c, #c000ff);
  box-shadow: 0 0 25px #ff003c, 0 0 55px #c000ff;
  position: relative;
}

.node.marked span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 0 10px #ff003c;
}

/* ================= TEXTO ================= */
.diagram-side-text {
  position: absolute;
  top: 30%;
  left: 10%;
  color: #ff004c;
  font-size: 1rem;
  text-shadow: 0 0 10px #ff004c;
}

.diagram-footer {
  margin-top: 100px;
  font-size: 0.9rem;
  color: #999;
}

/* Animaciones */
@keyframes flowPulse {
  0% {
    stroke: #00bfff;
  }
  50% {
    stroke: #ff004c;
  }
  100% {
    stroke: #00bfff;
  }
}


/* === ANIMACIONES === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .referal-title {
    font-size: 2rem;
  }
  .referal-text {
    font-size: 1rem;
    padding: 0 10px;
  }
}


/* === SECCIÓN DE MÉTODOS DE PAGO === */
.pay-methods {
  background: #0d1011;
  padding: 80px 4%;
  text-align: center;
  color: #fff;
}

.pm-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* === GRID === */
.pm-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* === METODOS DE PAGO === */
.pay-methods {
  background: #0d1011;
  padding: 100px 8%;
  text-align: center;
  color: #fff;
}

.pm-title {
  font-size: 2rem;
  margin-bottom: 60px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

/* Botón Mostrar (mismo estilo que Copiar y Descargar) */
.mostrar {
  background: transparent;
  border: 1px solid #00bfff;
  color: #00bfff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.1);
}

/* Botón Reveal (Mostrar/Ocultar) */
.pm-link.reveal-btn {
  background: transparent;
  border: 1px solid #00bfff;
  color: #00bfff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.15);
  text-align: center;
  outline: none;
}

.pm-link.reveal-btn:hover {
  background: #00bfff;
  color: #fff;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.6);
  transform: translateY(-2px);
}

.pm-link.reveal-btn:active {
  transform: scale(0.96);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}


.mostrar:hover {
  background: #00bfff;
  color: #fff;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.6);
  transform: translateY(-2px);
}

/* === GRID DE TARJETAS === */
.pm-card {
  background: #101214;
  border-radius: 20px;
  padding: 50px 40px;
  width: 400px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 255, 0.12);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.2);
  transition: all 0.5s ease;
}

/* === TOASTS / NOTIFICACIONES ========================= */
.toast {
  min-width: 220px;
  max-width: 360px;
  background: rgba(16,18,20,0.95);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.toast img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.toast .toast-body { display:flex; flex-direction:column; gap:4px; }
.toast .toast-title { font-weight:600; color:#00caff; font-size:0.95rem; }
.toast .toast-sub { font-size:0.85rem; color:#d0eaf1; }

/* QR Toast card styled similar to .pm-card but compact */
.toast-card { padding: 10px; background: linear-gradient(180deg, rgba(14,16,18,0.95), rgba(10,12,14,0.95)); border-radius: 12px; border: 1px solid rgba(0,200,255,0.08); }
.toast-card .pm-qr { width: 52px; height: 52px; border-radius: 8px; }
.toast-card .serial { font-family: monospace; font-size: 0.9rem; color: #b5c6ce; }

/* Toast container small tweaks */
#toastContainer { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }


/* EFECTO AL PASAR EL CURSOR (aura que respira) */
.pm-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 40px rgba(0, 255, 255, 0.6),
    0 0 90px rgba(0, 220, 255, 0.4),
    0 0 110px rgba(0, 180, 255, 0.3);
  border-color: rgba(0, 240, 255, 0.4);
  animation: cardPulse 2s ease-in-out infinite;
}

/* ANIMACIÓN DE RESPIRACIÓN */
@keyframes cardPulse {
  0% {
    box-shadow:
      0 0 30px rgba(0, 255, 255, 0.3),
      0 0 60px rgba(0, 220, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 45px rgba(0, 255, 255, 0.6),
      0 0 100px rgba(0, 220, 255, 0.4);
  }
  100% {
    box-shadow:
      0 0 30px rgba(0, 255, 255, 0.3),
      0 0 60px rgba(0, 220, 255, 0.25);
  }
}

/* === LOGOS === */
.pm-logo {
  height: 90px; /* Tamaño base grande */
  margin-bottom: 30px;
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.5));
  transition: transform 0.3s ease;
}

/* TAMAÑOS ESPECÍFICOS POR LOGO */
.pm-card:nth-child(1) .pm-logo { /* TronLink */
  height: 100px;
}

.pm-card:nth-child(2) .pm-logo { /* Zircon Wallet */
  height: 100px;
}

.pm-card:nth-child(3) .pm-logo { /* Nequi */
  height: 100px;
}

/* Pequeño zoom en hover */
.pm-card:hover .pm-logo {
  transform: scale(1.05);
}

/* === QR === */
.pm-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.pm-qr {
  width: 190px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.pm-card:hover .pm-qr {
  transform: scale(1.07);
}

/* === TEXTOS === */
.pm-name {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #ffffff;
}

.pm-serial {
  font-family: monospace;
  color: #b5c6ce;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 18px;
  display: inline-block;
  max-width: 100%;
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
}

/* === BOTONES === */
.pm-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pm-btn {
  background: #121416;
  border: 1px solid #00caff;
  color: #00caff;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.pm-btn:hover {
  background: #00caff;
  color: #fff;
  transform: scale(1.08);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .pm-card {
    width: 90%;
    padding: 35px 25px;
  }

  .pm-grid {
    gap: 40px;
  }

  .pm-logo {
    height: 70px;
  }

  .pm-card:nth-child(1) .pm-logo { height: 80px; }
  .pm-card:nth-child(2) .pm-logo { height: 68px; }
  .pm-card:nth-child(3) .pm-logo { height: 85px; }
}



/* === SECCIÓN EMPLEOS === */
#empleos {
  background-color: #0d1011;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 8%;
  gap: 60px;
  flex-wrap: wrap;
}

/* Imagen (puede ser reemplazada por video si lo deseas después) */
#empleos .section-image {
  width: 100%;
  max-width: 650px;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#empleos .section-image:hover {
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.4);
}

/* Contenedor de texto */
#empleos .text-container {
  flex: 1;
  min-width: 350px;
  max-width: 600px;
}

/* Título principal */
#empleos .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 25px;
}

/* Línea decorativa */
#empleos .blue-line {
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #00c6ff);
  border-radius: 2px;
  margin: 20px 0 35px;
}

/* Texto descriptivo */
#empleos .section-paragraph {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #c8c8c8;
  text-align: justify;
}

/* Botón “LEER MÁS” */
#empleos .btn-leer {
  margin-top: 40px;
  padding: 12px 32px;
  background: #1a1f22;
  border: none;
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 200, 255, 0);
}

#empleos .btn-leer:hover {
  background: #00bfff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 200, 255, 0.5);
}


/* === SECCIÓN DE LOGOS DE IA === */


.ia-logos-section {
  background: radial-gradient(ellipse at center, #02060a 0%, #050b12 100%);
  overflow: hidden;
  padding: 60px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor de movimiento */
.ia-logos-wrapper {
  display: flex;
  width: 200%;
  display: flex;
  will-change: transform;
  will-change: transform;
}
.ia-card { backface-visibility: hidden; will-change: transform; }

@media (max-width: 768px) {
  .ia-card { padding: 18px 14px; width: 240px; }
  .ia-cards-wrapper { gap: 12px; }
}

/* Pistas duplicadas */
.ia-logos-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 0 0 50%;
}

.ia-logos-track img {
  width: 150px;
  margin: 0 60px;
  filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.6));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ia-logos-track img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 35px rgba(0, 191, 255, 0.9));
}

/* Movimiento continuo sin corte */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Respect prefers-reduced-motion: pause autoplay */
@media (prefers-reduced-motion: reduce) {
  .ia-logos-wrapper { animation-play-state: paused; }
}

/* Mobile optimizations: smaller logos and slower animation */
@media (max-width: 768px) {
  .ia-logos-track img { width: 86px; margin: 0 16px; }
  .ia-logos-wrapper { animation: scroll-logos 40s linear infinite; }
}

@media (max-width: 480px) {
  .ia-logos-track img { width: 64px; margin: 0 10px; }
  .ia-logos-wrapper { animation: scroll-logos 50s linear infinite; }
}

/* Aura HI ANN */
.ia-logos-section::before {
  content: "";
  position: absolute;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  border: 1px solid rgba(0, 191, 255, 0.25);
  box-shadow: 0 0 60px rgba(0, 191, 255, 0.25),
              inset 0 0 40px rgba(0, 191, 255, 0.15);
  border-radius: 20px;
  pointer-events: none;
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .logo-row {
    gap: 60px;
  }
  .logo-item {
    width: 110px;
  }
}



/* === RESPONSIVE === */
@media (max-width: 1024px) {
  #empleos {
    flex-direction: column;
    text-align: center;
  }

  #empleos .blue-line {
    margin: 20px auto;
  }

  #empleos .section-image {
    max-width: 90%;
  }

  #empleos .section-paragraph {
    text-align: center;
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .impact-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .impact-text {
    text-align: center;
  }

  .impact-video {
    justify-content: center;
  }

  .impact-video video {
    max-width: 90%;
  }

  .impact-title {
    font-size: 2.2rem;
  }

  .impact-paragraph {
    font-size: 0.95rem;
  }
}


/* === ANIMACIONES === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hiann-section {
    flex-direction: column;
    text-align: center;
  }

  .blue-line {
    margin: 20px auto;
  }

  .video-container video {
    max-width: 90%;
  }
}

/* === SECCIÓN DE CONTACTO HI ANN === */
.contact-section {
  background-color: #0d1011; /* mismo fondo que el resto */
  padding: 120px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* === TÍTULO === */
.contact-section .form-title {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: center;
}

/* === FORMULARIO === */
#hiannForm {
  background: #0d0f10;
  border-radius: 20px;
  padding: 50px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
  border: 1px solid rgba(0, 200, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: 0.4s ease;
}

#hiannForm:hover {
  box-shadow: 0 0 60px rgba(0, 255, 255, 0.35);
}

/* === AURA ILUMINADA === */
#hiannForm::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(0,200,255,0.5), rgba(0,150,255,0.2));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.5;
  animation: glow 4s ease-in-out infinite alternate;
}

/* animación suave de aura */
@keyframes glow {
  from { opacity: 0.4; }
  to { opacity: 0.8; }
}

/* === CAMPOS === */
#hiannForm input,
#hiannForm textarea {
  width: 100%;
  background: rgba(20, 24, 27, 0.9);
  border: 1px solid rgba(0, 200, 255, 0.25);
  color: #fff;
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  outline: none;
  transition: 0.3s ease;
}

#hiannForm input:focus,
#hiannForm textarea:focus {
  border-color: #00caff;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

/* === PLACEHOLDERS === */
#hiannForm input::placeholder,
#hiannForm textarea::placeholder {
  color: #aaa;
}

/* === BOTÓN === */
#hiannForm button {
  width: 100%;
  background: transparent;
  border: 1px solid #00bfff;
  color: #00bfff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

#hiannForm button:hover {
  background: #00bfff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .contact-section {
    padding: 80px 15px;
  }

  #hiannForm {
    padding: 35px;
  }

  .contact-section .form-title {
    font-size: 1.8rem;
  }
}

/* === TABLET (pantallas medianas) === */
@media (max-width: 1024px) {
  .nav-links { gap: 25px; font-size: 15px; }
  .hero h1 { font-size: 2.8rem; }
  .hiann-section, .contact-section {
    flex-direction: column;
    text-align: center;
  }
  .video-container video, .pm-card img, .pm-qr {
    max-width: 90%;
  }
  .text-container {
    max-width: 90%;
    margin: auto;
  }
}

/* === MÓVIL (smartphones medianos y pequeños) === */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero {
    padding: 40px 15px;
    text-align: center;
  }
  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }
  .hero p {
    font-size: 1rem;
  }
  .hiann-section, .empleos, .pm-grid {
    flex-direction: column;
    gap: 40px;
  }
  .video-container, .text-container, .pm-card {
    width: 100%;
  }
  .pm-card {
    margin: 0 auto;
    max-width: 320px;
  }
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  #hiannForm {
    width: 95%;
    padding: 30px;
  }
}

/* === EXTRA PEQUEÑAS (móviles muy angostos <480px) === */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .nav-links { flex-direction: column; gap: 10px; }
  .section-title { font-size: 1.8rem; }
  #hiannForm input, #hiannForm textarea { font-size: 0.9rem; }
  #hiannForm button { font-size: 1rem; }
}

/* === NAV LINKS === */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* === DROPDOWN (ESCRITORIO) === */
.dropdown {
  position: relative;
}

.dropbtn {
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s;
}

.dropbtn:hover {
  color: #00c3ff;
}

/* Contenedor desplegable */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(10, 12, 15, 0.97);
  backdrop-filter: blur(8px);
  min-width: 240px;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
}

/* Elementos internos */
.dropdown-content a {
  color: #e6f9ff;
  padding: 12px 18px;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
}

/* Hover con bordes redondeados */
.dropdown-content a:hover {
  background: rgba(0, 200, 255, 0.12);
  color: #00c3ff;
  border-radius: 8px;
  margin: 0 4px;
  box-shadow: 
    inset 0 0 20px rgba(0, 200, 255, 0.2),
    0 0 10px rgba(0, 200, 255, 0.3);
  overflow: hidden;
}

/* Primer elemento (superior) con bordes superiores más redondeados */
.dropdown-content a:first-child:hover {
  border-radius: 8px 8px 8px 8px;
  box-shadow: 
    inset 0 0 20px rgba(0, 200, 255, 0.2),
    0 0 10px rgba(0, 200, 255, 0.3);
  overflow: hidden;
}

/* Último elemento (inferior) con bordes inferiores más redondeados */
.dropdown-content a:last-child:hover {
  border-radius: 8px 8px 8px 8px;
  box-shadow: 
    inset 0 0 20px rgba(0, 200, 255, 0.2),
    0 0 10px rgba(0, 200, 255, 0.3);
  overflow: hidden;
}

/* Mostrar al pasar cursor */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Animación de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Botón hamburguesa */
.menu-toggle {
  position: relative;
  top: 0;
  right: 0;
  align-self: center;
  margin-left: auto;
  margin-right: 20px;
  z-index: 10;
}


/* Menú lateral móvil */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 240px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 2rem;
  gap: 1.8rem;
  transition: right 0.4s ease;
  z-index: 1000;
}

.mobile-menu a {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #00bfff;
}

/* Overlay oscuro */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}

/* Estado activo */
.mobile-menu.active {
  right: 0;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --- VERSIÓN ESCRITORIO --- */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu-toggle {
  display: none;
}

/* --- VERSIÓN MÓVIL --- */
@media (max-width: 768px) {
  /* Oculta los enlaces del nav en móvil */
  .nav-links {
    display: none !important;
  }

  /* Muestra el botón hamburguesa dentro de la barra */
.menu-toggle {
  display: block !important;
  position: absolute;
  top: 30px; /* súbelo o bájalo a tu gusto */
  right: 20px;
  z-index: 9999; /* asegura que quede por encima del fondo */
  font-size: 1.8rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

  /* Asegura que la barra sea el contenedor relativo */
  .navbar {
    position: relative;
  }
}

/* FOOTER */

.footer {
  background: linear-gradient(to bottom, #0b0e13, #080a0d);
  color: #f5f5f5;
  padding: 60px 10%;
  font-family: 'Work Sans', sans-serif;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 90px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 20px rgba(0, 247, 255, 0.3));
}

.footer-brand p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer h3 {
  color: #00f0ff;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* 🔷 Contenedor de los íconos */
footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 40px 0;
  background: transparent;
}

/* 🔹 Enlaces */
footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* 🔹 Íconos */
footer .social-links img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.25));
  transition: transform 0.25s ease, filter 0.35s ease;
}

/* 💫 Hover tipo HI ANN */
footer .social-links a:hover img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.6))
          drop-shadow(0 0 30px rgba(0, 200, 255, 0.4));
}


.social-btn img {
  width: 26px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 247, 255, 0.4));
}

.social-btn:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.8));
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom a {
  color: #00f0ff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}




.hiann-btn {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  border: none;
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hiann-btn:hover {
  background: linear-gradient(90deg, #0077ff, #00d4ff);
  transform: scale(1.05);
}

.hidden { display: none; }

/* === OPTIMIZACIONES MÓVIL GLOBALES === */
@media (max-width: 768px) {
  /* Hero más compacto */
  .hero {
    padding: 60px 20px;
    min-height: 85vh;
  }
  .hero h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  .hero p {
    font-size: 1.05rem;
    margin-top: 18px;
  }

  /* Secciones con menos padding vertical */
  .neo-bot-section,
  .active-humans,
  .impact-section,
  .automation-section,
  .referal-section,
  .pay-methods,
  #empleos,
  .contact-section {
    padding: 70px 5%;
  }

  /* Títulos de sección más pequeños */
  .section-title,
  .ah-title,
  .impact-title,
  .referal-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 18px;
  }

  /* Líneas azules centradas */
  .blue-line,
  .ah-line,
  .impact-line {
    margin: 16px auto 24px;
  }

  /* Párrafos más legibles */
  .section-paragraph,
  .ah-text p,
  .impact-paragraph,
  .referal-text {
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
  }

  /* Videos responsive */
  .video-wrapper-neo-bot video,
  .video-wrapper-emprendimientos video,
  .automation-video video {
    max-width: 100%;
    border-radius: 8px;
  }

  /* Botones más grandes y táctiles */
  .hiann-btn,
  .referal-btn,
  .btn-leer,
  .sound-btn {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 48px;
    width: auto;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

  /* Navbar móvil optimizado */
  .navbar {
    padding: 12px 20px;
  }
  .navbar .logo img {
    height: 55px;
  }

  /* WhatsApp flotante más pequeño */
  .whatsapp-float {
    width: 58px;
    height: 58px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-float img {
    width: 54px;
    height: 54px;
  }

  /* Tarjetas de pago más compactas */
  .pm-card {
    width: 95%;
    max-width: 360px;
    padding: 32px 22px;
  }
  .pm-logo {
    height: 75px;
  }
  .pm-qr {
    width: 160px;
  }
  .pm-btn,
  .pm-link.reveal-btn {
    font-size: 0.9rem;
    padding: 9px 14px;
  }

  /* Carrusel IA más espacioso */
  .ia-catalog {
    padding: 70px 4%;
  }
  .ia-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .ia-cards-wrapper {
    width: 95%;
    padding: 0 8px;
  }
  .ia-card {
    padding: 28px 20px;
    gap: 12px;
  }
  .ia-card h3 {
    font-size: 1.4rem;
  }
  .ia-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
  .ia-card-logo {
    width: 64px;
    height: 64px;
  }
  .ia-card-badge {
    width: 100px;
    height: 100px;
  }
  .arrow-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Logos IA más pequeños */
  .ia-logos-track img {
    width: 100px;
    margin: 0 35px;
  }

  /* Formulario contacto optimizado */
  #hiannForm {
    padding: 32px 20px;
    width: 100%;
    max-width: 95%;
  }
  #hiannForm input,
  #hiannForm textarea {
    font-size: 0.95rem;
    padding: 12px 16px;
  }
  #hiannForm button {
    font-size: 1.05rem;
    padding: 13px;
  }

  /* Footer más compacto */
  .footer {
    padding: 50px 6%;
  }
  .footer-container {
    gap: 35px;
  }
  .footer h3 {
    font-size: 1.05rem;
  }
  .footer-brand p,
  .footer-contact ul li {
    font-size: 0.9rem;
  }
  footer .social-links img {
    width: 38px;
    height: 38px;
  }
}

/* === EXTRA PEQUEÑO (<480px) === */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }
  .section-title,
  .ah-title,
  .impact-title {
    font-size: 1.75rem;
  }
  .section-paragraph,
  .ah-text p,
  .impact-paragraph {
    font-size: 0.92rem;
  }
  .ia-card h3 {
    font-size: 1.3rem;
  }
  .ia-card p {
    font-size: 0.95rem;
  }
  .pm-card {
    padding: 28px 18px;
  }
}

/* === LOGOS ESPECÍFICOS POR CARTA === */
.logo-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  /* background-image: url('/assets/images/logo-whatsapp.svg'); */
  /* background-size: 65%; background-repeat: no-repeat; background-position: center; */
}

.logo-telegram {
  background: rgba(40, 159, 217, 0.12);
  border-color: rgba(40, 159, 217, 0.3);
  /* background-image: url('/assets/images/logo-telegram.svg'); */
}

.logo-multicanal {
  background: rgba(138, 43, 226, 0.12);
  border-color: rgba(138, 43, 226, 0.3);
  /* background-image: url('/assets/images/logo-multicanal.svg'); */
}

.logo-comercial {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.3);
  /* background-image: url('/assets/images/logo-comercial.svg'); */
}

.logo-ejecutivo {
  background: rgba(220, 20, 60, 0.12);
  border-color: rgba(220, 20, 60, 0.3);
  /* background-image: url('/assets/images/logo-ejecutivo.svg'); */
}

.logo-corporativo {
  background: rgba(0, 191, 255, 0.12);
  border-color: rgba(0, 191, 255, 0.3);
  /* background-image: url('/assets/images/logo-corporativo.svg'); */
}

/* === LOGOS ESPECÍFICOS NUEVOS === */
.logo-analytics {
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.3);
}

.logo-voice {
  background: rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.3);
}

.logo-automation {
  background: rgba(156, 39, 176, 0.12);
  border-color: rgba(156, 39, 176, 0.3);
}

/* === INDICADORES DE PÁGINA === */
.ia-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 0;
}

.page-indicator {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8ba5b3;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.page-indicator:hover {
  background: rgba(0, 191, 255, 0.15);
  border-color: rgba(0, 191, 255, 0.4);
  color: #00bfff;
  transform: scale(1.08);
}

.page-indicator.active {
  background: rgba(0, 191, 255, 0.25);
  border-color: #00bfff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
  transform: scale(1.12);
}

/* Responsive paginación */
@media (max-width: 768px) {
  .ia-pagination {
    gap: 8px;
  }
  .page-indicator {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }
}

/* === FOOTER DEL CATÁLOGO IA === */
.ia-catalog-footer {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 40px 24px;
  text-align: center;
  color: #c8c8c8;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(0, 191, 255, 0.08);
  backdrop-filter: blur(10px);
}

.ia-catalog-footer p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.ia-catalog-footer p:last-child {
  margin-bottom: 0;
}

.ia-catalog-footer strong {
  color: #ffffff;
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 768px) {
  .ia-catalog-footer {
    margin-top: 40px;
    padding: 28px 18px;
  }
  .ia-catalog-footer p {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* 🔧 FIX global para borde blanco en móviles */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
  background-color: #000; /* o el color de fondo de tu sitio */
}
@media (max-width: 768px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
}

/* ===============================================
   📊 ESTILOS DEL DIAGRAMA SVG (INVERSIONES)
   =============================================== */

/* Estilos internos del SVG - extraídos del HTML */
#hiannNet * { 
  transition: none !important; 
  animation: none !important; 
}

#hiannNet .wire { 
  stroke: url(#g-wire-cool); 
  stroke-width: 2.6; 
  fill: none; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  filter: url(#glow); 
}

#hiannNet .wire-hot { 
  stroke: url(#g-wire-hot); 
  stroke-width: 2.8; 
  fill: none; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  filter: url(#glow); 
}

#hiannNet .node-rect { 
  fill: #0A1420; 
  stroke: url(#g-wire-cool); 
  stroke-width: 2.2; 
  rx: 8; 
  ry: 8; 
  filter: url(#glow); 
  transform-box: fill-box; 
  transform-origin: 50% 50%; 
}

#hiannNet .node-rect.hot { 
  stroke: url(#g-wire-hot); 
  stroke-width: 2.6; 
}

#hiannNet .node-rect:hover { 
  transform: scale(1.06); 
  stroke-width: 2.9; 
}

#hiannNet { will-change: transform; }
#hiannNet #pulsesLayer, #hiannNet #pulsesLayer * { pointer-events: none; }

/* Core pulsing animation (subtle loop) */
.core-rect {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, filter;
  animation: corePulse 4s linear infinite;
}

@keyframes corePulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,194,255,0.2)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 0 18px rgba(0,194,255,0.5)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,194,255,0.2)); }
}

/* Disable heavy animations when prefers-reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
  .core-rect { animation-play-state: paused !important; }
  .ia-logos-wrapper { animation-play-state: paused !important; }
}

/* Estilos de la sección */
.hiann-inversiones {
  background: #000;
  padding: clamp(28px, 6vw, 64px) clamp(14px, 4vw, 28px);
}

/* Cuadrado alrededor del título */
.diagram-title-box {
  display: block;
  width: fit-content;
  background: #0A1420;
  border: 2.5px solid transparent;
  border-image: linear-gradient(90deg, #00C2FF, #1E3AFF, #00FFFF) 1;
  border-radius: 14px;
  padding: 16px 28px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(24px, 4vw, 40px);
  box-shadow: 0 0 18px rgba(0, 194, 255, 0.4);
  text-align: center;
}

.diagram-title-box .title {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 5.5vw, 36px);
  letter-spacing: 0.08em;
  color: #8FD9FF;
  text-shadow: 0 0 12px rgba(0, 194, 255, 0.35);
}

.hiann-inversiones .wrap {
  position: relative;
  width: min(100%, 1100px);
  margin-inline: auto;
  aspect-ratio: 16/10;
}

.hiann-inversiones .net {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  display: block;
}

@media (max-width: 700px) {
  .hiann-inversiones .wrap { 
    aspect-ratio: 1/1; 
  }
  .diagram-title-box {
    padding: 12px 18px;
  }
}

