/**
 * Nexo Site Enhancements - Stylesheet (v1.0.7)
 *
 * Mejoras frontend, contraste visual y pulido responsive:
 * - Capa global única de contraste (#nexo-motion-contrast-veil) calibrada (0.14 desktop / 0.18 mobile).
 * - Sombra y contraste tipográfico para textos libres exteriores (.nexo-free-text).
 * - Preservación de acentos Cyber Lime (#caff33) con brillo controlado.
 * - Posicionamiento de WhatsApp en escritorio sobre la marca de agua inferior derecha.
 * - GoTop posicionado verticalmente sobre WhatsApp sin interferencias.
 * - Desplazamiento inteligente de cookies: solo aplica offset cuando hay colisión física real.
 * - Secciones 100% transparentes sobre el Canvas Motion Scroll sin bandas negras.
 * - Dark Glassmorphism real en tarjetas con opacidad calibrada (<= 0.58).
 */

/* ═══════════════════════════════════════════
   1. VARIABLES DEL SISTEMA DE DISEÑO
═══════════════════════════════════════════ */
:root {
  --nexo-cookie-offset: 0px;
  --nexo-mobile-gutter: 20px;
  --nexo-motion-veil-opacity: 0.14;
}

body.home,
body.front-page {
  --nexo-motion-veil-opacity: 0.14;
  --nexo-glass-bg: rgba(8, 16, 24, 0.40);
  --nexo-glass-bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(8, 16, 24, 0.40) 48%, rgba(5, 10, 16, 0.52) 100%);
  --nexo-glass-bg-strong: rgba(8, 16, 24, 0.55);
  --nexo-glass-bg-soft: rgba(255, 255, 255, 0.05);
  --nexo-glass-border: rgba(255, 255, 255, 0.16);
  --nexo-glass-border-hover: rgba(255, 255, 255, 0.30);
  --nexo-glass-highlight: rgba(255, 255, 255, 0.14);
  --nexo-glass-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  --nexo-glass-shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.38);
  --nexo-glass-blur: 14px;
  --nexo-glass-blur-nav: 18px;
  --nexo-glass-blur-mobile: 8px;
  --nexo-lime: #caff33;
  --nexo-lime-bright: #dfff55;
  --nexo-lime-glow: rgba(202, 255, 51, 0.35);
  --nexo-text: #f7f9f5;
  --nexo-text-muted: rgba(247, 249, 245, 0.78);
  --nexo-text-subtle: rgba(247, 249, 245, 0.52);
  --nexo-surface-deep: #121619;
}

@media (max-width: 767px) {
  :root,
  body.home,
  body.front-page {
    --nexo-motion-veil-opacity: 0.18;
  }
}

/* ═══════════════════════════════════════════
   2. CAPA GLOBAL ÚNICA DE CONTRASTE (VEIL)
═══════════════════════════════════════════ */
#nexo-motion-contrast-veil {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(2, 6, 10, var(--nexo-motion-veil-opacity, 0.14)) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.home .wp-site-blocks,
body.home .entry-content,
body.home #page,
body.home main,
body.front-page .wp-site-blocks,
body.front-page .entry-content,
body.front-page #page,
body.front-page main {
  position: relative !important;
  z-index: 1 !important;
}

/* ═══════════════════════════════════════════
   3. TEXTOS LIBRES SIN CONTENEDOR GLASS (.nexo-free-text)
═══════════════════════════════════════════ */
.nexo-free-text {
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.78),
    0 1px 3px rgba(0, 0, 0, 0.92) !important;
}

.nexo-free-text p,
p.nexo-free-text {
  color: rgba(247, 249, 245, 0.90) !important;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.78),
    0 1px 3px rgba(0, 0, 0, 0.92) !important;
}

.nexo-free-text h1,
.nexo-free-text h2,
h1.nexo-free-text,
h2.nexo-free-text {
  color: #ffffff !important;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.78),
    0 1px 3px rgba(0, 0, 0, 0.92) !important;
}

/* Preservación de Acentos Cyber Lime */
.nexo-free-text em,
.nexo-free-text .text-primary,
.nexo-free-text .text-gold,
.text-primary.nexo-free-text,
.text-gold.nexo-free-text {
  color: var(--nexo-lime) !important;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.88),
    0 0 12px rgba(202, 255, 51, 0.15) !important;
}

/* ═══════════════════════════════════════════
   4. DESACTIVACIÓN DE PRELOADERS ANTERIORES Y VANTA
═══════════════════════════════════════════ */
#preloader:not(.nexo-new-preloader) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

#nexo-motion-loader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

body.home #vanta-hero canvas.vanta-canvas,
body.front-page #vanta-hero canvas.vanta-canvas {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ═══════════════════════════════════════════
   5. PRELOADER CINEMÁTICO UNIFICADO
═══════════════════════════════════════════ */
#nexo-site-preloader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  background-color: var(--nexo-surface-deep) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  overflow: hidden !important;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s !important;
}

#nexo-site-preloader.hide {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nexo-preloader-canvas-container {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

.nexo-preloader-canvas-container canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.nexo-preloader-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transition: opacity 0.35s ease !important;
}

.nexo-preloader-logo {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  font-style: italic !important;
  color: var(--nexo-lime) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 28px !important;
  text-shadow: 0 0 25px var(--nexo-lime-glow) !important;
  animation: nexoLogoPulse 1.4s ease-in-out infinite !important;
}

@keyframes nexoLogoPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.nexo-preloader-bar {
  width: 220px !important;
  max-width: 80vw !important;
  height: 2px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  margin-bottom: 14px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.nexo-preloader-bar-inner {
  width: 0%;
  height: 100% !important;
  background: linear-gradient(90deg, #009926 0%, var(--nexo-lime) 60%, var(--nexo-lime-bright) 100%) !important;
  box-shadow: 0 0 12px var(--nexo-lime) !important;
  transition: width 0.08s ease-out !important;
}

.nexo-preloader-status {
  font-family: 'JetBrains Mono', monospace, ui-monospace, SFMono-Regular !important;
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--nexo-text-subtle) !important;
  font-weight: 500 !important;
  opacity: 0.85 !important;
}

/* ═══════════════════════════════════════════
   6. TRANSPARENCIA TOTAL EN SECCIONES GRANDES
═══════════════════════════════════════════ */
body.home,
body.front-page,
body.home #page,
body.front-page #page,
body.home #content,
body.front-page #content,
body.home main,
body.front-page main,
body.home .site-main,
body.front-page .site-main,
body.home .entry-content,
body.front-page .entry-content {
  background-color: transparent !important;
  background: transparent !important;
  color: var(--nexo-text) !important;
}

body.home .entry-content section.bg-surface,
body.home .entry-content section.bg-surface-container,
body.home .entry-content section[class*="bg-surface"],
body.home section,
body.home section.bg-surface,
body.home section.bg-surface-container,
body.home section.bg-surface-container-lowest,
body.home section.bg-surface-container-low,
body.home section.bg-surface-container-high,
body.home section.bg-surface-container-highest,
body.home section[class*="bg-surface"],
body.home section.section-void,
body.home #vanta-hero,
body.home #servicios,
body.home #resultados,
body.home #proceso,
body.home #faq,
body.home #laabot,
body.home #inversion,
body.home #testimonios,
body.home footer.bg-surface,
body.home footer.bg-surface-container,
body.home footer.bg-surface-container-lowest,
body.home footer.bg-surface-container-low,
body.home footer,
body.front-page .entry-content section.bg-surface,
body.front-page .entry-content section.bg-surface-container,
body.front-page .entry-content section[class*="bg-surface"],
body.front-page section,
body.front-page section.bg-surface,
body.front-page section.bg-surface-container,
body.front-page section.bg-surface-container-lowest,
body.front-page section.bg-surface-container-low,
body.front-page section.bg-surface-container-high,
body.front-page section.bg-surface-container-highest,
body.front-page section[class*="bg-surface"],
body.front-page section.section-void,
body.front-page #vanta-hero,
body.front-page #servicios,
body.front-page #resultados,
body.front-page #proceso,
body.front-page #faq,
body.front-page #laabot,
body.front-page #inversion,
body.front-page #testimonios,
body.front-page footer.bg-surface,
body.front-page footer.bg-surface-container,
body.front-page footer {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ═══════════════════════════════════════════
   7. HERO: TRANSPARENCIA Y SECUENCIA STICKY
═══════════════════════════════════════════ */
body.home #vanta-hero,
body.front-page #vanta-hero,
body.home .hero,
body.front-page .hero,
body.home .hero-section,
body.front-page .hero-section,
body.home main > section:first-of-type,
body.front-page main > section:first-of-type {
  min-height: 165vh !important;
  position: relative !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

#vanta-hero::before,
#vanta-hero::after,
.hero::before,
.hero::after,
.hero-section::before,
.hero-section::after,
.hero-wrapper::before,
.hero-wrapper::after,
main > section:first-of-type::before,
main > section:first-of-type::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
}

body.home #vanta-hero > div.nexo-hero-sticky-inner,
body.home #vanta-hero > div:first-child,
body.front-page #vanta-hero > div.nexo-hero-sticky-inner,
body.front-page #vanta-hero > div:first-child,
body.home .nexo-hero-sticky-inner,
body.front-page .nexo-hero-sticky-inner {
  position: sticky !important;
  top: 0 !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: transparent !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

.nexo-hero-reveal {
  will-change: transform, opacity, filter;
}

html.nexo-js .nexo-hero-reveal {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  filter: blur(8px);
  visibility: hidden;
}

body.home #vanta-hero .hero-tag,
body.front-page #vanta-hero .hero-tag,
body.home .nexo-hero-badge,
body.front-page .nexo-hero-badge,
body.home #vanta-hero .inline-flex,
body.front-page #vanta-hero .inline-flex {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-radius: 9999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}

/* ═══════════════════════════════════════════
   8. DARK GLASSMORPHISM EN TARJETAS (DIVs)
═══════════════════════════════════════════ */
body.home #servicios .card-service,
body.home #servicios .grid > div,
body.home #servicios .service-cell,
body.home #resultados div.bg-surface-container,
body.home #resultados div.bg-surface-bright,
body.home #resultados .grid > div,
body.home #proceso .grid > div,
body.home #proceso .proceso-card,
body.home #proceso .process-card,
body.home #proceso .phase-card,
body.home .testimonial-card,
body.home .casos-card,
body.home .pricing-card,
body.home .stat-card,
body.home #faq .faq-item,
body.home #faq .faq-question,
body.home #faq .faq-answer,
body.home #faq details,
body.home details,
body.home .accordion-item,
body.home div.bg-surface-container,
body.home div.bg-surface-container-low,
body.home div.bg-surface-container-high,
body.home div.bg-surface-container-highest,
body.home div.bg-surface-bright,
body.home .hero-stat,
body.home footer > div,
body.front-page #servicios .card-service,
body.front-page #servicios .grid > div,
body.front-page #servicios .service-cell,
body.front-page #resultados div.bg-surface-container,
body.front-page #resultados div.bg-surface-bright,
body.front-page #resultados .grid > div,
body.front-page #proceso .grid > div,
body.front-page #proceso .proceso-card,
body.front-page #proceso .process-card,
body.front-page #proceso .phase-card,
body.front-page .testimonial-card,
body.front-page .casos-card,
body.front-page .pricing-card,
body.front-page .stat-card,
body.front-page #faq .faq-item,
body.front-page #faq .faq-question,
body.front-page #faq .faq-answer,
body.front-page #faq details,
body.front-page details,
body.front-page .accordion-item,
body.front-page div.bg-surface-container,
body.front-page div.bg-surface-container-low,
body.front-page div.bg-surface-container-high,
body.front-page div.bg-surface-container-highest,
body.front-page div.bg-surface-bright,
body.front-page .hero-stat,
body.front-page footer > div {
  background: var(--nexo-glass-bg-card) !important;
  border: 1px solid var(--nexo-glass-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--nexo-glass-shadow) !important;
  backdrop-filter: blur(var(--nexo-glass-blur)) saturate(135%) !important;
  -webkit-backdrop-filter: blur(var(--nexo-glass-blur)) saturate(135%) !important;
  border-radius: 16px !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              background-color 0.28s ease !important;
}

/* Espaciado en Tarjetas del Proceso */
body.home #proceso .grid > div,
body.home #proceso .proceso-card,
body.home #proceso .process-card,
body.home #proceso .phase-card,
body.front-page #proceso .grid > div,
body.front-page #proceso .proceso-card,
body.front-page #proceso .process-card,
body.front-page #proceso .phase-card {
  padding: 26px 22px 28px !important;
  min-height: 220px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

#proceso .step-num {
  margin-bottom: 18px !important;
  display: block;
}

#proceso h3 {
  margin-bottom: 12px !important;
}

#proceso p {
  line-height: 1.6 !important;
}

/* Hover en Tarjetas */
body.home #servicios .card-service:hover,
body.home #servicios .grid > div:hover,
body.home #servicios .service-cell:hover,
body.home #resultados div.bg-surface-container:hover,
body.home #resultados div.bg-surface-bright:hover,
body.home #proceso .grid > div:hover,
body.home .testimonial-card:hover,
body.home .casos-card:hover,
body.home .pricing-card:hover,
body.home details:hover,
body.front-page #servicios .card-service:hover,
body.front-page #servicios .grid > div:hover,
body.front-page #servicios .service-cell:hover,
body.front-page #resultados div.bg-surface-container:hover,
body.front-page #resultados div.bg-surface-bright:hover,
body.front-page #proceso .grid > div:hover,
body.front-page .testimonial-card:hover,
body.front-page .casos-card:hover,
body.front-page .pricing-card:hover,
body.front-page details:hover {
  transform: translateY(-4px) !important;
  border-color: var(--nexo-glass-border-hover) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
              var(--nexo-glass-shadow-hover),
              0 0 18px rgba(202, 255, 51, 0.12) !important;
}

/* Navegación Flotante */
body.home .nav-island,
body.front-page .nav-island,
body.home #navbar,
body.front-page #navbar,
body.home nav.fixed,
body.front-page nav.fixed,
body.home .nav-island.scrolled,
body.front-page .nav-island.scrolled {
  background: rgba(7, 15, 23, 0.52) !important;
  border: 1px solid var(--nexo-glass-border) !important;
  box-shadow: inset 0 1px 0 var(--nexo-glass-highlight), var(--nexo-glass-shadow) !important;
  backdrop-filter: blur(var(--nexo-glass-blur-nav)) saturate(140%) !important;
  -webkit-backdrop-filter: blur(var(--nexo-glass-blur-nav)) saturate(140%) !important;
  border-radius: 9999px !important;
  transition: all 0.3s ease !important;
}

/* Modales */
body.home #modal,
body.front-page #modal,
body.home .modal-content,
body.front-page .modal-content,
body.home .modal-dialog,
body.front-page .modal-dialog,
body.home .nexo-modal,
body.front-page .nexo-modal,
body.home #nexoModal,
body.front-page #nexoModal {
  background: linear-gradient(135deg, rgba(14, 20, 26, 0.88) 0%, rgba(8, 12, 16, 0.92) 100%) !important;
  border: 1px solid var(--nexo-glass-border-hover) !important;
  box-shadow: inset 0 1px 0 var(--nexo-glass-highlight), 0 30px 80px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  border-radius: 20px !important;
  color: var(--nexo-text) !important;
}

/* ═══════════════════════════════════════════
   9. FOOTER REFINADO
═══════════════════════════════════════════ */
body.home footer,
body.front-page footer {
  padding-inline: 16px !important;
  padding-block: 48px 32px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.home footer > div,
body.home footer .footer-inner,
body.home footer .footer-container,
body.front-page footer > div,
body.front-page footer .footer-inner,
body.front-page footer .footer-container {
  width: 100% !important;
  max-width: 1400px !important;
  box-sizing: border-box !important;
  padding: 28px 22px !important;
  border-radius: 22px !important;
}

body.home footer h4,
body.front-page footer h4 {
  margin-bottom: 16px !important;
}

body.home footer p,
body.front-page footer p {
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

body.home footer a,
body.front-page footer a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  transition: color 0.2s ease !important;
}

/* ═══════════════════════════════════════════
   10. CONTROLES FLOTANTES (POSICIONAMIENTO Y OCULTACIÓN DE MARCA DE AGUA)
═══════════════════════════════════════════ */
.nexo-whatsapp-float {
  position: fixed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00CC33 0%, #009926 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 204, 51, 0.45) !important;
  z-index: 99990 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, bottom 0.3s ease, right 0.3s ease !important;
}

.nexo-whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px) !important;
  box-shadow: 0 0 25px #39FF14 !important;
  color: #FFFFFF !important;
}

.nexo-gotop-btn {
  position: fixed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(20, 26, 32, 0.8) 0%, rgba(10, 14, 18, 0.75) 100%) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid var(--nexo-glass-border) !important;
  color: var(--nexo-text-muted) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 var(--nexo-glass-highlight) !important;
  z-index: 99980 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(16px) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, bottom 0.3s ease, right 0.3s ease !important;
}

.nexo-gotop-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.nexo-gotop-btn:hover {
  border-color: var(--nexo-lime) !important;
  color: #FFFFFF !important;
  background: rgba(35, 42, 50, 0.9) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 20px var(--nexo-lime-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* A. ESCRITORIO (>= 1024px) */
@media (min-width: 1024px) {
  body.home .nexo-whatsapp-float,
  body.front-page .nexo-whatsapp-float {
    left: auto !important;
    right: clamp(72px, 6.3vw, 96px) !important;
    bottom: calc(clamp(42px, 6vh, 64px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 54px !important;
    height: 54px !important;
  }

  body.home #nexoGoTop,
  body.front-page #nexoGoTop {
    left: auto !important;
    right: clamp(72px, 6.3vw, 96px) !important;
    bottom: calc(clamp(108px, 13vh, 138px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* B. TABLET (768px a 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  body.home .nexo-whatsapp-float,
  body.front-page .nexo-whatsapp-float {
    left: auto !important;
    right: 20px !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 52px !important;
    height: 52px !important;
  }

  body.home #nexoGoTop,
  body.front-page #nexoGoTop {
    left: auto !important;
    right: 20px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* C. MÓVIL (< 768px) */
@media (max-width: 767px) {
  body.home .nexo-whatsapp-float,
  body.front-page .nexo-whatsapp-float {
    right: 16px !important;
    left: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }

  body.home #nexoGoTop,
  body.front-page #nexoGoTop {
    right: 22px !important;
    left: auto !important;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px) + var(--nexo-cookie-offset, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* ═══════════════════════════════════════════
   11. BOTONES PRINCIPALES Y SECUNDARIOS
═══════════════════════════════════════════ */
body.home .btn-gold,
body.front-page .btn-gold,
body.home .hero-btn,
body.front-page .hero-btn,
body.home .nav-cta,
body.front-page .nav-cta,
body.home .btn-primary,
body.front-page .btn-primary,
body.home .phase-btn.filled,
body.front-page .phase-btn.filled,
body.home button[type="submit"]:not(.nav-hamburger) {
  background: linear-gradient(135deg, var(--nexo-lime) 0%, #9fe000 100%) !important;
  color: #080c10 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 20px var(--nexo-lime-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s ease,
              filter 0.24s ease !important;
}

body.home .btn-ghost,
body.front-page .btn-ghost,
body.home .servicio-cta,
body.front-page .servicio-cta,
body.home .phase-btn.outline,
body.front-page .phase-btn.outline {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--nexo-glass-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 9999px !important;
  color: var(--nexo-text) !important;
  transition: all 0.25s ease !important;
}

/* ═══════════════════════════════════════════
   12. SISTEMA REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
}

html.nexo-reveal-ready .reveal:not(.nexo-hero-reveal) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html.nexo-reveal-ready .reveal.visible,
html.nexo-reveal-ready .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.odometer {
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', monospace;
  color: var(--nexo-lime) !important;
}

/* ═══════════════════════════════════════════
   13. RESPONSIVE Y CONTROL DE OVERFLOW
═══════════════════════════════════════════ */
@media screen and (max-width: 768px) {
  body.home,
  body.front-page {
    --nexo-glass-blur: 8px;
    --nexo-glass-blur-nav: 12px;
  }

  body.home .section-void,
  body.home section,
  body.front-page .section-void,
  body.front-page section {
    padding-inline: var(--nexo-mobile-gutter) !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  body.home #servicios .card-service,
  body.home #servicios .grid > div,
  body.home #servicios .service-cell,
  body.home #resultados div.bg-surface-container,
  body.home #resultados div.bg-surface-bright,
  body.home #resultados .grid > div,
  body.home #proceso .grid > div,
  body.home .testimonial-card,
  body.home .casos-card,
  body.home .pricing-card,
  body.home #faq .faq-item,
  body.front-page #servicios .card-service,
  body.front-page #servicios .grid > div,
  body.front-page #servicios .service-cell,
  body.front-page #resultados div.bg-surface-container,
  body.front-page #resultados div.bg-surface-bright,
  body.front-page #resultados .grid > div,
  body.front-page #proceso .grid > div,
  body.front-page .testimonial-card,
  body.front-page .casos-card,
  body.front-page .pricing-card,
  body.front-page #faq .faq-item {
    padding-inline: 20px !important;
    padding-block: 22px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #proceso .grid {
    gap: 16px !important;
  }

  body.home .btn-primary,
  body.home .btn-ghost,
  body.home .hero-btn,
  body.front-page .btn-primary,
  body.front-page .btn-ghost,
  body.front-page .hero-btn {
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
    min-height: 48px !important;
    padding-inline: 18px !important;
  }

  body.home #vanta-hero,
  body.front-page #vanta-hero {
    min-height: 140vh !important;
  }

  body.home #vanta-hero > div.nexo-hero-sticky-inner,
  body.home #vanta-hero > div:first-child,
  body.front-page #vanta-hero > div.nexo-hero-sticky-inner,
  body.front-page #vanta-hero > div:first-child {
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
  }

  html.nexo-js .nexo-hero-reveal {
    transform: translate3d(0, 24px, 0);
    filter: blur(4px);
  }

  body.home footer .grid,
  body.front-page footer .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .nexo-preloader-logo {
    font-size: 1.8rem !important;
  }

  .nexo-preloader-bar {
    width: 170px !important;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  body.home div.bg-surface-container,
  body.front-page div.bg-surface-container,
  body.home #servicios .card-service,
  body.front-page #servicios .card-service,
  body.home #resultados div.bg-surface-container,
  body.front-page #resultados div.bg-surface-container,
  body.home .testimonial-card,
  body.front-page .testimonial-card {
    background-color: rgba(14, 18, 24, 0.75) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nexo-site-preloader,
  .nexo-gotop-btn,
  .nexo-whatsapp-float,
  .nexo-preloader-logo,
  body.home div.bg-surface-container,
  body.home .card-service,
  body.home .testimonial-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  html.nexo-js .nexo-hero-reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }

  body.home #vanta-hero,
  body.front-page #vanta-hero {
    min-height: 100vh !important;
  }
}
