body {
  font-family: 'Inter', sans-serif;
  background: #020617;
  overflow-x: hidden;
}

.navbar-shell {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar-shell.is-solid {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.74));
  border-bottom-color: rgba(34, 211, 238, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.45);
}

#mobileMenu.is-open {
  max-height: 80vh;
  opacity: 1;
  border-top-color: rgba(34, 211, 238, 0.2);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: #25d366;
  color: #062014;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-float-icon {
  width: 22px;
  height: 22px;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.52);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 11px;
  }

  .whatsapp-float span {
    display: none;
  }
}

.hero-carousel {
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
}

.hero-slide-glow {
  position: absolute;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  border-radius: 9999px;
  filter: blur(110px);
  top: 15%;
  right: -8%;
}

.hero-content {
  max-width: 760px;
  background: rgba(2, 6, 23, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(24px, 4vw, 44px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.hero-visual {
  justify-self: end;
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at 30% 20%, rgba(148, 163, 184, 0.18), rgba(2, 6, 23, 0.25) 55%, rgba(2, 6, 23, 0.55));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.hero-svg {
  width: 100%;
  height: 100%;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-text {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-main {
  color: #fff;
}

.hero-btn-alt {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.45);
  background: rgba(15, 23, 42, 0.4);
}

.hero-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.7);
  color: #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  border: 0;
  background: rgba(148, 163, 184, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  transform: scale(1.3);
  background: #fff;
}

@media (max-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-slide-glow {
    width: 70vw;
    height: 70vw;
    right: -20%;
    top: 6%;
  }

  .hero-content {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }
}

section {
  position: relative;
  isolation: isolate;
}

section:not(:first-of-type)::before,
section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(64px, 10vw, 140px);
  pointer-events: none;
  z-index: 3;
}

section:not(:first-of-type)::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0));
}

section:not(:last-of-type)::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0));
}

/* FONDO BASE */
.tech-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* AURORA ANIMADA */
.aurora {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(6,182,212,0.25), transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(14,165,233,0.25), transparent 40%);
  animation: moveAurora 20s infinite alternate ease-in-out;
  filter: blur(120px);
}

@keyframes moveAurora {
  0% { transform: translate(-10%, -10%) rotate(0deg); }
  100% { transform: translate(-20%, -20%) rotate(15deg); }
}

/* GRID TECNOLÓGICO */
.tech-bg::after {
  content: "";
  position: absolute;
  inset: 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: -1;
}

/* PARTICLES */
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* CARDS */
.service-card {
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 60px rgba(6,182,212,0.5);
}

/* SCROLL PROGRESS */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,#06b6d4,#3b82f6);
  width: 0%;
  z-index: 9999;
}

/* CURSOR */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #06b6d4;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 0.08s ease-out;
}

/* SCANNER LINE */
.scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, transparent);
  top: 0;
  animation: scan 6s linear infinite;
  opacity: 0.4;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

/* MOUSE LIGHT */
.mouse-light {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* HOLOGRAPHIC BUTTON */
.holo-btn {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(6,182,212,0.4);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: 0.4s;
}

.holo-btn::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(6,182,212,0.4), transparent);
  transform: rotate(25deg);
  animation: holo 4s infinite linear;
}

@keyframes holo {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.holo-btn:hover {
  box-shadow: 0 0 40px rgba(6,182,212,0.7);
}
.mockup-container {
  perspective: 1000px;
  display:flex;
  justify-content:center;
  margin-top:60px;
}

.mockup-img {
  transform: rotateY(-15deg) rotateX(8deg);
  transition: 0.5s;
}

.mockup-img:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}
.service-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,255,255,0.4);
  box-shadow: 0 0 25px rgba(0,255,255,0.2);
}
