@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



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

body {
  font-family: "Segoe UI", Tahoma, "Roboto", Verdana, sans-serif;
  min-height: 100vh;
  background-color: whitesmoke;
  color: #e0e0e0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Contenedor principal para centrar todo el contenido y separarlo del borde */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* Efecto glasmorfismo para las secciones principales */
.glassmorphism {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Efecto glasmorfismo para elementos oscuros */
.glassmorphism-dark {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* NAVBAR STYLES */
/* NAVBAR STYLES */
/* NAVBAR STYLES - MACOS GLASSMORPHISM */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  box-shadow: none;
  width: 95%;
  max-width: 1200px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar:hover {
  background: rgba(35, 35, 35, 0.3);
}

.navbar.scrolled:hover {
  background: rgba(35, 35, 35, 0.75);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* LOGO */
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(48, 48, 48, 0.3);
  transition: transform 0.2s ease;
}

.logo-icon:hover {
  transform: scale(1.05);
}

/* NAVBAR CENTER */
.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-menu {
  display: contents;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Estilo para links activos */
/* Remover cualquier estilo previo de .sale */
.nav-link.sale {
  color: inherit !important;
}

/* Estilo para link activo */
.nav-link.active {
  color: #3b82f6 !important;
  position: relative;
  font-weight: 600;
}

/* Línea inferior cuando está activo */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Asegúrate que tus secciones tengan IDs */

/* SALE LINK - SPECIAL STYLING */
.nav-link.sale {
  color: #3b6fb8;
  font-weight: 600;
}

.nav-link.sale:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* RIGHT ICONS */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #e0e0e0;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

/* SEARCH BUTTON */
.search-button {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  color: #e0e0e0;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* HAMBURGER */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  transition: all 0.2s ease;
}

.navbar-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: #9e9d9d;
  color: #0a0a0a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.navbar-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* MOBILE MENU */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.navbar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 999;
  padding: 1.5rem;
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu .nav-link {
  display: block;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.mobile-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.mobile-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .navbar {
    padding: 0.7rem 1rem;
  }

  .navbar-center,
  .navbar-right .icon-button:not(:last-child) {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

  .navbar-right {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: 10px;
    width: 96%;
    padding: 0.6rem 0.8rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .mobile-menu {
    top: 80px;
    width: 94%;
  }
}

/* CONTENT DEMO */
.content {
  margin-top: 120px;
  padding: 4rem 2rem;
  text-align: center;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content p {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
  }
}

/* HOVER FOLLOWER */
.hover-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 997;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hover-follower.active {
  opacity: 1;
}

/* ============================================
   ESTILOS PARA LINK ACTIVO - SCROLL SPY
   ============================================ */

/* Estilo base del nav-link */
.nav-link {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Hover */
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* LINK ACTIVO - Desktop */
.nav-link.active {
  color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.15);
  font-weight: 600;
  position: relative;
}

/* Línea inferior cuando está activo */
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 60%;
    opacity: 1;
  }
}

/* MOBILE MENU - Estilo para link activo */
.mobile-menu .nav-link {
  display: block;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

/* Mobile - Link Activo */
.mobile-menu .nav-link.active {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #3b82f6 !important;
  font-weight: 600;
}

/* Mobile - Borde izquierdo cuando está activo */
.mobile-menu .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #3b82f6;
  border-radius: 0 4px 4px 0;
  animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInLeft {
  from {
    height: 0;
    opacity: 0;
  }

  to {
    height: 60%;
    opacity: 1;
  }
}

/* Asegurar que el scroll sea suave */
html {
  scroll-behavior: smooth;
}

/* Ajustar el offset para que las secciones no queden ocultas debajo del navbar */
section[id] {
  scroll-margin-top: 100px;
}

/* Responsive - Ajustar offset en móvil */
@media (max-width: 968px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

/*HERO*/
/* HERO SECTION - Versión mejorada */
/* HERO SECTION - Versión funcional y responsive */
/* HERO SECTION - Versión Glassmorphism */
.hero {
  position: relative;
  min-height: 110vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: rgba(20, 20, 20, 0.85);
  overflow: hidden;
  border-radius: 5;

  .hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  svg {
    position: relative;
    display: block;
    width: calc(263% + 1.3px);
    height: 194px;
  }

  .shape-fill {
    fill: whitesmoke;
  }

}


/* ========================================
   ANIMACIÓN DE TRANSFERENCIA DE DATOS
   ======================================== */

/* Canvas de fondo para las partículas */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Partículas binarias que caen con color azul */
.hero-overlay::before {
  content: "01010110 10101001 11001010 00110101 10010110 01101001 11010010 00101101 10110100 01011010 11001101 00110110 10101011 01010010 11101001 00111010";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: rgba(59, 130, 246, 0.15);
  line-height: 2;
  word-spacing: 20px;
  white-space: pre-wrap;
  animation: matrixFall 25s linear infinite;
  opacity: 0.8;
}

@keyframes matrixFall {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(50%);
  }
}

/* Líneas de datos horizontales con glow azul */
.data-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(59, 130, 246, 0.5) 50%,
      transparent 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  animation: dataFlow 8s linear infinite;
  opacity: 0;
}

.data-line:nth-child(1) {
  top: 15%;
  width: 60%;
  left: -60%;
  animation-delay: 0s;
}

.data-line:nth-child(2) {
  top: 35%;
  width: 50%;
  right: -50%;
  animation-delay: 2s;
  animation-direction: reverse;
}

.data-line:nth-child(3) {
  top: 55%;
  width: 70%;
  left: -70%;
  animation-delay: 4s;
}

.data-line:nth-child(4) {
  top: 75%;
  width: 55%;
  right: -55%;
  animation-delay: 6s;
  animation-direction: reverse;
}

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

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateX(100vw);
    opacity: 0;
  }
}

/* Puntos de datos flotantes con glow */
.data-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  animation: dotFloat 15s ease-in-out infinite;
}

.data-dot:nth-child(5) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.data-dot:nth-child(6) {
  top: 40%;
  left: 80%;
  animation-delay: 3s;
}

.data-dot:nth-child(7) {
  top: 60%;
  left: 25%;
  animation-delay: 6s;
}

.data-dot:nth-child(8) {
  top: 80%;
  left: 70%;
  animation-delay: 9s;
}

.data-dot:nth-child(9) {
  top: 30%;
  left: 50%;
  animation-delay: 12s;
}

@keyframes dotFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  50% {
    transform: translate(100px, -50px) scale(1.5);
    opacity: 0.8;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translate(200px, -100px) scale(0.5);
    opacity: 0;
  }
}

/* Código hexadecimal sutil en las esquinas */
.hex-code {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: 10px;
  color: rgba(59, 130, 246, 0.3);
  letter-spacing: 2px;
  animation: fadeInOut 10s ease-in-out infinite;
  text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.hex-code:nth-child(10) {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hex-code:nth-child(11) {
  bottom: 15%;
  left: 5%;
  animation-delay: 5s;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }
}

/* Líneas decorativas de fondo */
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  top: -100px;
  left: 100px;
  z-index: 1;
  pointer-events: none;
}

/* Partículas de fondo MUY discretas */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(43, 91, 166, 0.2) 0%,
      transparent 70%);
  top: 15%;
  right: 5%;
  animation: floatSlow 25s ease-in-out infinite alternate;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(8, 145, 178, 0.2) 0%,
      transparent 70%);
  bottom: 20%;
  left: 10%;
  animation: floatSlow 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(15px, -15px) scale(1.01);
  }
}

/* Contenido principal con Glassmorphism */
.hero-content {
  grid-column: 1;
  padding: 50px;
  z-index: 10;
  text-align: left;
  position: relative;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin: 0 50px 0 100px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 70%);
  opacity: 0.3;
  transition: opacity 0.5s;
  pointer-events: none;
}

.hero-content:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.hero-content:hover::before {
  opacity: 0.5;
}

.hero-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 30px;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.title-line {
  display: block;
  margin: 10px 0;
}

.title-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  position: relative;
  z-index: 2;
}

/* Gradientes de texto brillantes */
.word-grupo {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.word-empresarial {
  background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.word-samcy {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.5));
}

.word-sas {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.6em;
  margin-left: 10px;
  filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.5));
}

/* Typing effect con estilo glassmorphism */
.hero-typing {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #60a5fa;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.typing-text {
  position: relative;
}

.typing-text::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: #60a5fa;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

/* ========================================
   CONTENEDOR DE IMAGEN CON FORMA OVALADA
   ======================================== */

.hero-image-container {
  grid-column: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 50px;
  z-index: 5;
}

/* Forma ovalada con borde glassmórfico */
.hero-image-container::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
  border: 3px solid rgba(59, 130, 246, 0.4);
  z-index: 1;
  animation: morphing 8s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3),
    inset 0 0 40px rgba(59, 130, 246, 0.1);
}

/* Brillo superior derecho más intenso */
.hero-image-container::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.5) 0%,
      transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
}

/* Animación de morphing suave */
@keyframes morphing {

  0%,
  100% {
    border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
  }

  25% {
    border-radius: 55% 45% 40% 60% / 60% 50% 50% 40%;
  }

  50% {
    border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  }

  75% {
    border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  }
}

/* Imagen con forma ovalada y efecto glassmórfico */
.hero-image {
  width: 520px;
  height: 520px;
  border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  animation: morphing-image 8s ease-in-out infinite;
  transition: transform 0.5s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  filter: brightness(0.9) contrast(1.1);
}

@keyframes morphing-image {

  0%,
  100% {
    border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
  }

  25% {
    border-radius: 55% 45% 40% 60% / 60% 50% 50% 40%;
  }

  50% {
    border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  }

  75% {
    border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  }
}

.hero-image-container:hover .hero-image {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.15);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(59, 130, 246, 0.3) inset, 0 0 40px rgba(59, 130, 246, 0.3);
}



/* CONTENEDOR LOTTIE - FONDO SUTIL PARA EL HERO-CONTENT */
.lottie-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.lottie-background dotlottie-wc {
  width: 100%;
  height: 100%;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
/* ====================================================================== */
/* OPTIMIZACIÓN RESPONSIVE DESDE 1200px HACIA ABAJO                       */
/* ====================================================================== */
@media (max-width: 1200px) {

    /* Hero layout general */
    #hero {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .title-line {
        display: block;
    }

    .title-word {
        display: inline-block;
    }

    /* Imagen derecha → un poco más pequeña */
    .hero-image-container {
        width: 75%;
        margin: 0 auto;
    }

    .hero-image {
        width: 100%;
        max-width: 550px;
        height: auto;
    }

    /* Lottie más pequeño para no saturar GPU */
    .lottie-background {
        width: 100%;
        max-width: 260px;
        margin: 0 auto 25px auto;
    }

    /* Orbes ligeramente reducidos */
    .gradient-orb {
        width: 220px;
        height: 220px;
    }

    /* Scroll indicator más pequeño */
    .scroll-indicator {
        transform: scale(0.9);
    }
}

/* ====================================================================== */
/* OPTIMIZACIÓN RESPONSIVE DESDE 992px HACIA ABAJO                        */
/* ====================================================================== */
@media (max-width: 992px) {

    /* Hero general */
    #hero {
        padding: 35px 15px;
        gap: 30px;
    }

    .hero-content {
        max-width: 600px;
        text-align: center;
    }

    /* Títulos más compactos */
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.05;
    }

    .title-line {
        margin-bottom: 2px;
    }

    /* Animación typing más pequeña y ligera */
    .hero-typing {
        font-size: 1rem;
    }

    /* Imagen derecha → más pequeña */
    .hero-image-container {
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image {
        width: 100%;
        height: auto;
    }

    /* Lottie muy reducido para mejorar rendimiento */
    .lottie-background {
        max-width: 200px;
        margin: 0 auto 20px auto;
    }

    /* Orbes más pequeños y con blur reducido para optimizar GPU */
    .gradient-orb {
        width: 160px;
        height: 160px;
        filter: blur(25px);
    }

    /* Líneas de datos → menos brillo */
    .data-line {
        opacity: 0.35;
    }

    /* Puntos de datos → menos tamaño */
    .data-dot {
        transform: scale(0.8);
        opacity: 0.5;
    }

    /* Hex codes más discretos */
    .hex-code {
        font-size: 0.75rem;
        opacity: 0.5;
    }

    /* Indicador de scroll */
    .scroll-indicator {
        transform: scale(0.85);
    }
}



/* ========================================
   RESPONSIVE - MÓVIL
   ======================================== */
/* ====================================================================== */
/* OPTIMIZACIÓN RESPONSIVE DESDE 768px HACIA ABAJO (MÓVILES GRANDES)      */
/* ====================================================================== */
@media (max-width: 768px) {

    /* Hero general */
    #hero {
        padding: 30px 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    /* Contenido principal */
    .hero-content {
        max-width: 500px;
        order: 1;
    }

    /* Títulos más compactos */
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.05;
    }

    .title-line {
        margin-bottom: 1px;
    }

    /* Texto typing más pequeño */
    .hero-typing {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    /* Imagen móvil grande */
    .hero-image-container {
        width: 90%;
        max-width: 420px;
        order: 2;
    }

    /* Lottie aún más pequeño y más ligero */
    .lottie-background {
        max-width: 150px;
        margin: 0 auto 15px auto;
        opacity: 0.85; /* reduce uso de CPU */
    }

    /* → Mantener solo UNA animación */
    .data-line:nth-child(n+3),
    .data-dot:nth-child(n+3) {
        display: none;
    }

    /* Orbes aún más pequeños y con blur más bajo */
    .gradient-orb {
        width: 120px;
        height: 120px;
        filter: blur(18px);
        opacity: 0.65;
    }

    /* Código hexadecimal → pequeño y discreto */
    .hex-code {
        font-size: 0.65rem;
        opacity: 0.45;
    }

    /* Indicador de scroll más pequeño */
    .scroll-indicator {
        transform: scale(0.75);
        margin-top: 10px;
    }
}


/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO
   ======================================== */
/* ===================================================================================== */
/* OPTIMIZACIÓN RESPONSIVE DESDE 576px HACIA ABAJO (MÓVILES MUY PEQUEÑOS) — OPCIÓN A     */
/* ===================================================================================== */
@media (max-width: 576px) {

    /* Hero general */
    #hero {
        padding: 25px 10px;
        gap: 20px;
    }

    /* Contenido y texto */
    .hero-content {
        padding: 18px 14px;
        border-radius: 18px;
        backdrop-filter: blur(12px);
    }

    .hero-title {
        font-size: 1.55rem;
        letter-spacing: -0.5px;
    }

    .hero-typing {
        font-size: 0.78rem;
        margin-top: 5px;
    }

    /* Imagen más pequeña */
    .hero-image-container {
        max-width: 300px;
        width: 90%;
    }

    .hero-image {
        width: 230px;
        height: 230px;
        border-radius: 40% 60% / 55% 45%;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
    }

    /* → Animación mínima posible */
    /* Solo *1* línea y *1* punto */
    .data-line:nth-child(n+2),
    .data-dot:nth-child(n+2) {
        display: none;
    }

    /* La única línea visible más pequeña */
    .data-line {
        width: 45%;
        top: 60%;
        opacity: 0.4;
    }

    /* El único punto visible */
    .data-dot {
        width: 3px;
        height: 3px;
    }

    /* Orbes MUY pequeños para no saturar GPU */
    .gradient-orb {
        width: 80px;
        height: 80px;
        filter: blur(14px);
        opacity: 0.5;
    }

    /* Código hexadecimal casi imperceptible */
    .hex-code {
        font-size: 0.55rem;
        opacity: 0.35;
    }

    /* Scroll indicator oculto para ahorrar espacio */
    .scroll-indicator {
        display: none;
    }

    /* El Lottie aún más ligero */
    .lottie-background {
        max-width: 120px;
        opacity: 0.7;
    }
}


/* OPCIONAL: Si NO quieres la animación morphing, comenta o elimina estas líneas:
   - animation: morphing 8s ease-in-out infinite; (en .hero-image-container::before)
   - animation: morphing-image 8s ease-in-out infinite; (en .hero-image)
   Y mantén solo el border-radius estático
*/

/* SERVICES SECTION*/
/* Estilos para la sección de servicios */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  background: whitesmoke;

}

.header {
  text-align: center;
  margin-bottom: 60px;
}

.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a1a1a79 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}




.header p {
  font-size: 1.2rem;
  color: #999;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: var(--accent-color);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.08;
  transition: opacity 0.5s;
}

.service-card:hover::before {
  opacity: 0.15;
}

.decoration {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  opacity: 0.12;
  transition: transform 0.7s ease;
}

.service-card:hover .decoration {
  transform: scale(1.2) rotate(10deg);
}

.circle-3d {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-color);
  filter: blur(40px);
}

.circle-1 {
  width: 100%;
  height: 100%;
}

.circle-2 {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
}

.circle-3 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}

.icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s;
  z-index: 2;
}

.service-card:hover .icon-container {
  transform: rotate(6deg) scale(1.1);
}

.icon-container svg {
  width: 45px;
  height: 45px;
  stroke: white;
  fill: none;
}

.service-content {
  position: relative;
  z-index: 2;
}

.service-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-networks {
  --accent-color: #3b82f6;
}

.card-infrastructure {
  --accent-color: #8b5cf6;
}

.card-voip {
  --accent-color: #10b981;
}

.card-security {
  --accent-color: #ef4444;
}

.card-software {
  --accent-color: #f59e0b;
}

.card-analysis {
  --accent-color: #06b6d4;
}

.card-audit {
  --accent-color: #ec4899;
}

.card-iso {
  --accent-color: #6366f1;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/*ABOUT US*7
/*ABOUT SECTION*/
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  position: relative;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.85);
  padding: 80px 0;
  margin-bottom: -1px;
}

.about-section .curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.about-section svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 367px;
  transform: rotateY(180deg);
}

.about-section .shape-fill {
  fill: #fff;
}

.content-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Contenedor Lottie de fondo */
#lottie-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

#lottie-background dotlottie-wc {
  width: 100%;
  height: 100%;
}

.content-wrapper {
  max-width: 500px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-wrapper h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content-wrapper h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0891b2, #0e7490);
  border-radius: 2px;
  animation: lineExpand 1s ease-out 0.3s forwards;
}

@keyframes lineExpand {
  to {
    width: 80px;
  }
}

.description {
  color: #c0c0c0;
  line-height: 1.9;
  margin-bottom: 40px;
  font-size: 1.05rem;
  font-weight: 300;
  animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.skill-item {
  margin-bottom: 32px;
  animation: slideInRight 0.6s ease-out backwards;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateX(5px);
}

.skill-item:nth-child(1) {
  animation-delay: 0.4s;
}

.skill-item:nth-child(2) {
  animation-delay: 0.5s;
}

.skill-item:nth-child(3) {
  animation-delay: 0.6s;
}

.skill-item:nth-child(4) {
  animation-delay: 0.7s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.skill-name {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.skill-percentage {
  color: #d0d0d0;
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.skill-item:hover .skill-percentage {
  color: #ffffff;
}

.skill-bar-container {
  height: 6px;
  background: rgba(80, 80, 80, 0.5);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skill-bar {
  height: 100%;
  border-radius: 10px;
  position: relative;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #2b5ba6, #0891b2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skill-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 100%);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

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

.skill-item:nth-child(2) .skill-bar {
  background: linear-gradient(90deg, #1e4a8a, #0e7490);
}

.skill-item:nth-child(3) .skill-bar {
  background: linear-gradient(90deg, #0891b2, #0e7490);
}

.skill-item:nth-child(4) .skill-bar {
  background: linear-gradient(90deg, #2b5ba6, #1e4a8a);
}

/* IMAGEN DERECHA CON EFECTO 3D */
.image-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  min-height: 600px;
}

/* Shape container con glassmorphism */
.image-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -45%);
  width: 85%;
  height: 85%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 0;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

/* Imagen con efecto 3D */
.image-right img {
  width: 80%;
  height: 80%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  box-shadow:
    20px 20px 40px rgba(0, 0, 0, 0.3),
    -10px -10px 30px rgba(255, 255, 255, 0.1);
  transform: translateZ(20px);
  transition: all 0.5s ease;
  filter: grayscale(10%) brightness(0.95) contrast(1.05);
}

.image-right:hover img {
  transform: translateZ(20px) scale(1.05) translateY(-10px);
  box-shadow:
    30px 30px 60px rgba(0, 0, 0, 0.4),
    -15px -15px 40px rgba(255, 255, 255, 0.15);
}

/* Efecto de luz superior */
.image-right::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: float-light 4s ease-in-out infinite;
}

@keyframes float-light {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }

  50% {
    transform: translate(20px, -20px);
    opacity: 0.9;
  }
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .about-section {
    grid-template-columns: 1fr;
    padding: 60px 0;
  }

  .content-left {
    padding: 60px 30px;
  }

  .image-right {
    min-height: 500px;
    padding: 40px 30px;
  }

  .image-right img {
    width: 90%;
    max-height: 400px;
  }

  .content-wrapper h1 {
    font-size: 2.2rem;
  }

  #lottie-background {
    width: 600px;
    height: 600px;
  }

  .about-section svg {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 40px 0;
  }

  .content-left {
    padding: 40px 20px;
  }

  .image-right {
    min-height: 400px;
    padding: 30px 20px;
  }

  .image-right img {
    width: 95%;
    max-height: 350px;
  }

  .content-wrapper h1 {
    font-size: 1.8rem;
  }

  .description {
    font-size: 0.95rem;
  }

  #lottie-background {
    width: 400px;
    height: 400px;
  }

  .about-section svg {
    height: 120px;
  }

  /* Eliminar efecto de luz en móviles para mejor rendimiento */
  .image-right::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .content-left {
    padding: 30px 15px;
  }

  .image-right {
    padding: 20px 15px;
    min-height: 350px;
  }

  .image-right img {
    width: 100%;
    max-height: 300px;
  }

  .content-wrapper h1 {
    font-size: 1.6rem;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  .skill-percentage {
    font-size: 0.8rem;
  }
}

/* PARTNERS SECTION */
/* PARTNERS SECTION - Adaptado a tu estilo glassmorphism */
/* PARTNERS SECTION */
/* PARTNERS SECTION - Adaptado a tu estilo glassmorphism */
.partners-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;

  .partner-curve {
    position: absolute;
    margin-top: -8px;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }

  svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 312px;
    transform: rotateY(180deg);
  }

  .shape-fill {
    fill: whitesmoke;
  }
}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h1 {
  font-size: 2.8rem;
  color: #1a1a1a78;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-header h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2B5BA6, #0891B2);
  border-radius: 2px;
}

.section-subtitle {
  color: #bdc3c7;
  line-height: 1.9;
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.carousel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  height: 300px;
  display: grid;
  align-content: center;
  row-gap: 2rem;
  overflow: hidden;
}

.carousel__card {
  width: 200px;
  height: 140px;
  background-color: var(--container-color);
  box-shadow: 0 12px 24px hsla(220, 100%, 20%, .1);
  padding: 1.5rem;
  margin-inline: 1rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px hsla(220, 100%, 20%, .2);
}

.carousel__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel__card:hover .carousel__logo {
  opacity: 1;
  transform: scale(1.05);
}

.carousel__content {
  width: max-content;
  display: flex;
  animation: scroll 18s linear infinite;
}

.carousel__reverse {
  flex-direction: row-reverse;
  animation-direction: reverse;
  animation-delay: -1s;
}

.carousel__content:hover {
  animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

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

/* For small devices */
@media screen and (max-width: 320px) {
  .carousel__card {
    width: 150px;
    height: 100px;
    padding: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .carousel {
    margin-inline: auto;
    row-gap: 3rem;
  }

  .carousel::before,
  .carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
  }

  .carousel::before {
    right: 0;
    background: linear-gradient(90deg,
        hsla(220, 24%, 94%, 0) 0%,
        var(--body-color) 100%);
  }

  .carousel::after {
    left: 0;
    background: linear-gradient(90deg,
        var(--body-color) 0%,
        hsla(220, 24%, 94%, 0) 100%);
  }

  .carousel__card {
    width: 240px;
    height: 160px;
    padding: 2rem;
    border-radius: 2rem;
  }
}



/* CONTACT US - Modificado para tener más espacio lateral que vertical */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  top: -1px;
  min-height: auto;
  position: relative;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);

  .contact-curve_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  .contact-curve_bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
  }

  .contact-curve_bottom .shape-fill {
    fill: whitesmoke;
  }

  .contact-curve {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }

  svg {
    position: relative;
    display: block;
    width: calc(190% + 1.3px);
    height: 75px;
    transform: rotateY(180deg);
  }

  .shape-fill {
    fill: #FFFFFF;
  }
}

/* LADO IZQUIERDO - INFORMACIÓN */
.contact-info {
  padding: 60px 40px;
  /* Reducido el padding vertical, mantenido el horizontal */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -1px;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.3));
  margin-top: 15px;
  animation: lineGrow 1s ease-out 0.3s backwards;
}

@keyframes lineGrow {
  from {
    width: 0;
  }

  to {
    width: 60px;
  }
}

.contact-info p {
  color: #bdc3c7;
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1.05rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  pointer-events: none;
  align-items: flex-start;
  gap: 20px;
}


.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}


.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0891b2;
  fill: none;
  stroke-width: 2;
}

.contact-text h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-text p {
  color: #d0d0d0;
  font-size: 0.95rem;
  margin: 0;
}

.contact-text a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}


/* LADO DERECHO - FORMULARIO */
.contact-form-container {
  padding: 60px 40px;
  /* Reducido el padding vertical, mantenido el horizontal */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 500px;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group {
  margin-bottom: 25px;
  animation: fadeInUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) {
  animation-delay: 0.2s;
}

.form-group:nth-child(2) {
  animation-delay: 0.3s;
}

.form-group:nth-child(3) {
  animation-delay: 0.4s;
}

.form-group:nth-child(4) {
  animation-delay: 0.5s;
}

.form-group label {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid rgba(8, 145, 178, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #e0e0e0;
  background: rgba(30, 30, 30, 0.7);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0891b2;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2b5ba6 0%, #0891b2 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1e4a8a 0%, #0e7490 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(8, 145, 178, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Mensaje de éxito */
.success-message {
  display: none;
  padding: 15px;
  background: rgba(0, 100, 0, 0.2);
  border: 1px solid rgba(0, 150, 0, 0.3);
  border-radius: 8px;
  color: #66cc99;
  margin-top: 20px;
  animation: fadeInUp 0.5s ease-out;
}

.success-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 968px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-container {
    padding: 50px 30px;
  }

  .contact-info h2 {
    font-size: 2rem;
  }
}

/* FOOTER STYLES */
.footer {

  padding: 30px 0;
  width: 100%;
  margin-top: -4px;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-brand:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer-brand img {
  display: block;
  width: 60px;
  height: auto;
}

.footer-rights {
  color: rgba(20, 20, 20, 0.85);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.footer-rights a {
  color: #0891b2;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
}

.footer-rights a:hover {
  color: #38b6ff;
  text-decoration: underline;
}

.copyright-year {
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer {
    padding: 25px 0;
  }

  .footer-rights {
    font-size: 0.85rem;
  }
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-content {
  animation: fadeInUp 0.6s ease-out;
}

/* Aplicar tipografía coherente */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

p,
li,
a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/*CLIENTES*/
/*CLIENTES*/

.testimonial-section {
  background: #fff;
  margin-bottom: -1px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* SVG de fondo gigante */
.testimonial-bg-shape {
  position: absolute;
  width: 150%;
  height: 150%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.15;
}

.testimonial-bg-shape svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.3));
}

/* Efectos tecnológicos de fondo */
.tech-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.tech-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.tech-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.tech-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.tech-particle:nth-child(2) {
  top: 40%;
  left: 80%;
  animation-delay: 2s;
}

.tech-particle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 4s;
}

.tech-particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 6s;
}

.tech-particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: 8s;
}

.tech-particle:nth-child(6) {
  top: 70%;
  left: 40%;
  animation-delay: 3s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  25% {
    transform: translate(30px, -30px) scale(1.5);
    opacity: 1;
  }

  50% {
    transform: translate(-20px, -50px) scale(1);
    opacity: 0.6;
  }

  75% {
    transform: translate(40px, -20px) scale(1.2);
    opacity: 0.8;
  }
}

.tech-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.tech-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: move-line 8s infinite linear;
}

.tech-line:nth-child(1) {
  top: 20%;
  width: 40%;
  left: -40%;
  animation-delay: 0s;
}

.tech-line:nth-child(2) {
  top: 50%;
  width: 60%;
  left: -60%;
  animation-delay: 3s;
}

.tech-line:nth-child(3) {
  top: 80%;
  width: 50%;
  left: -50%;
  animation-delay: 6s;
}

@keyframes move-line {
  0% {
    left: -60%;
  }

  100% {
    left: 100%;
  }
}

.testimonial-wrapper {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LADO IZQUIERDO - LOTTIE GRANDE */
.testimonial-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-lottie-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-lottie-container dotlottie-wc {
  width: 100%;
  height: 100%;
}

/* Badges flotantes con efecto tech */
.testimonial-floating-badge {
  position: absolute;
  background: #1a1a1a;
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: testimonial-float 3s ease-in-out infinite;
  border: 2px solid rgba(102, 126, 234, 0.3);
}

.testimonial-badge-bottom {
  bottom: 10%;
  left: -5%;
}

.testimonial-badge-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.testimonial-badge-text {
  font-weight: 600;
  color: #aaaaaa;
  font-size: 15px;
}

@keyframes testimonial-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* LADO DERECHO - CARRUSEL HORIZONTAL */
.testimonial-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial-header {
  text-align: left;
}

.testimonial-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a1a1a79 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-header p {
  font-size: 1.2rem;
  color: #999;
  max-width: 700px;
  margin: 0 auto;
}

#block {
  pointer-events: none;
}

#imex-logo {
  filter: invert(100%);
}

/* RESPONSIVE MEJORADO */
@media (max-width: 1024px) {
  .testimonial-section {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .testimonial-wrapper {
    height: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Lottie de fondo */
  .testimonial-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
  }

  .testimonial-lottie-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  /* Badges reposicionados */
  .testimonial-floating-badge {
    padding: 10px 18px;
    font-size: 12px;
  }

  .testimonial-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .testimonial-badge-bottom {
    bottom: 20px;
    left: 20px;
  }

  /* Testimonios encima del Lottie */
  .testimonial-right {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    gap: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .testimonial-header {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
  }

  .testimonial-header h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .testimonial-header p {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto;
    line-height: 1.6;
    width: 100%;
  }

  /* Ajustar efectos de fondo */
  .tech-grid {
    background-size: 30px 30px;
  }

  .tech-particle {
    width: 3px;
    height: 3px;
  }
}

@media (max-width: 640px) {
  .testimonial-section {
    padding: 60px 20px;
  }

  .testimonial-header h1 {
    font-size: 2rem;
  }

  .testimonial-header p {
    font-size: 0.9rem;
    width: 80%;
  }

  .testimonial-badge-bottom {
    display: none;
  }
}

@media (max-width: 480px) {
  .testimonial-section {
    padding: 40px 15px;
  }

  .testimonial-header h1 {
    font-size: 1.75rem;
  }

  .testimonial-header p {
    font-size: 0.9rem;
    width: 70%;
  }
}


/*BOTON DE WHATSAPP*/
/* Estilos para el botón de WhatsApp */
/* ---- BOTÓN WHATSAPP ---- */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1BD742;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    z-index: 9999;
    overflow: hidden; /* EVITA saltos o que el GIF sobresalga */

    transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover general del botón */
.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* ---- ICONOS ---- */
.whatsapp-icon {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    transition: opacity .35s ease; /* transición suave */
}

/* Icono normal visible */
.icon-static {
    opacity: 1;
}

/* GIF oculto */
.icon-gif {
    opacity: 0;
}

/* Fade suave al hover */
.whatsapp-button:hover .icon-static {
    opacity: 0;
}

.whatsapp-button:hover .icon-gif {
    opacity: 1;
}