/* =========================================================
   F97 SOFTWARE — Landing (v3 · modern dev-tool / deep space)
   Paleta del logo F97: navy #14264f + azul telescopio #3f7fe0
   Acento celeste (luz de estrella) + wash cian (nebulosa)
   ========================================================= */

:root {
  --navy-900: #020617; /* Slate 950 */
  --navy-800: #0f172a; /* Slate 900 */
  --navy: #1e293b; /* Slate 800 */
  --navy-600: #334155; /* Slate 700 */
  --navy-500: #475569; /* Slate 600 */

  --cream: #1e293b; /* Replaced with dark surface */
  --cream-100: #0f172a;
  --cream-50: #020617;

  --gold: #38bdf8; /* Subtle Cyan Neon */
  --gold-600: #0284c7;
  --gold-soft: #7dd3fc;
  --violet: #818cf8; /* Subtle Violet Neon */

  --ink: #f8fafc; /* Slate 50 for text */
  --ink-soft: #94a3b8; /* Slate 400 for muted text */
  --line: rgba(255, 255, 255, 0.08); /* Subtle border */
  --paper: #020617; /* Main background */
  
  --surface: rgba(15, 23, 42, 0.6);
  --surface-border: rgba(56, 189, 248, 0.15);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --wrap: 1180px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;

  --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 0 20px -5px rgba(56, 189, 248, 0.3);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Grain sutil global (textura de film, muy leve) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.025em
}

a {
  text-decoration: none;
  color: inherit
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px
}

/* Texto con degradé (luz de estrella) */
.grad {
  background: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Eyebrow: comentario de código (señal dev) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 500;
  color: var(--gold-600);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(63, 127, 224, .18);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .18)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(56, 189, 248, 0)
  }
}

.eyebrow--light {
  color: var(--gold-soft)
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), color .2s ease, border-color .2s ease;
}

.btn__ico {
  transition: transform .3s var(--ease);
  display: inline-flex
}

.btn:hover .btn__ico {
  transform: translateX(4px)
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), fill 0.3s ease;
}

.btn:hover svg {
  transform: scale(1.12);
}

/* 1. Primario / Email Glassmorphism (Celeste Bandera Argentina Luminoso) */
.btn--email,
.btn--gold {
  background: linear-gradient(135deg, rgba(165, 218, 255, 0.40) 0%, rgba(116, 172, 223, 0.28) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(186, 225, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -2px rgba(116, 172, 223, 0.45), 0 0 16px -2px rgba(165, 218, 255, 0.3), inset 0 0 16px 1px rgba(116, 172, 223, 0.35), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn--email::before,
.btn--gold::before {
  /* barrido de luz sobre el cristal */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.btn--email:hover,
.btn--gold:hover {
  background: linear-gradient(135deg, rgba(186, 225, 255, 0.55) 0%, rgba(116, 172, 223, 0.42) 100%);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -4px rgba(116, 172, 223, 0.7), 0 0 26px 2px rgba(165, 218, 255, 0.5), inset 0 0 20px 2px rgba(116, 172, 223, 0.45), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.85);
}

.btn--email:hover::before,
.btn--gold:hover::before {
  transform: translateX(120%)
}

.btn--email svg,
.btn--gold svg {
  fill: #bae1ff;
  filter: drop-shadow(0 2px 6px rgba(116, 172, 223, 0.7));
}

.btn--email:hover svg,
.btn--gold:hover svg {
  fill: #ffffff;
}

/* 2. WhatsApp Glassmorphism (Verde Esmeralda Luminoso) */
.btn--whatsapp {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.38) 0%, rgba(37, 211, 102, 0.26) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(74, 222, 128, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -2px rgba(37, 211, 102, 0.45), 0 0 16px -2px rgba(74, 222, 128, 0.3), inset 0 0 16px 1px rgba(37, 211, 102, 0.35), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn--whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.btn--whatsapp:hover {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.55) 0%, rgba(37, 211, 102, 0.42) 100%);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -4px rgba(37, 211, 102, 0.7), 0 0 26px 2px rgba(74, 222, 128, 0.5), inset 0 0 20px 2px rgba(37, 211, 102, 0.45), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.85);
}

.btn--whatsapp:hover::before {
  transform: translateX(120%)
}

.btn--whatsapp svg {
  fill: #bbf7d0;
  filter: drop-shadow(0 2px 6px rgba(37, 211, 102, 0.7));
}

.btn--whatsapp:hover svg {
  fill: #ffffff;
}

/* 3. Instagram Glassmorphism (Magenta / Coral Luminoso) */
.btn--instagram {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.38) 0%, rgba(225, 48, 108, 0.26) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(251, 113, 133, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -2px rgba(225, 48, 108, 0.45), 0 0 16px -2px rgba(251, 113, 133, 0.3), inset 0 0 16px 1px rgba(225, 48, 108, 0.35), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.btn--instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.btn--instagram:hover {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.55) 0%, rgba(225, 48, 108, 0.42) 100%);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -4px rgba(225, 48, 108, 0.7), 0 0 26px 2px rgba(251, 113, 133, 0.5), inset 0 0 20px 2px rgba(225, 48, 108, 0.45), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.85);
}

.btn--instagram:hover::before {
  transform: translateX(120%)
}

.btn--instagram svg {
  fill: #fecdd3;
  filter: drop-shadow(0 2px 6px rgba(225, 48, 108, 0.7));
}

.btn--instagram:hover svg {
  fill: #ffffff;
}

/* 4. Telescopio Hero CTA (Celeste Bandera Argentina Luminoso Glassmorphic) */
.btn--telescope {
  background: linear-gradient(135deg, rgba(186, 225, 255, 0.72) 0%, rgba(116, 172, 223, 0.58) 50%, rgba(77, 147, 212, 0.45) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px -4px rgba(116, 172, 223, 0.65), 0 0 22px 0 rgba(165, 218, 255, 0.45), inset 0 0 16px 2px rgba(116, 172, 223, 0.4), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.45);
  white-space: nowrap;
}

.btn--telescope::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .6) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.btn--telescope:hover {
  background: linear-gradient(135deg, rgba(215, 238, 255, 0.88) 0%, rgba(116, 172, 223, 0.72) 50%, rgba(77, 147, 212, 0.58) 100%) !important;
  border-color: #ffffff !important;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 44px -4px rgba(116, 172, 223, 0.85), 0 0 35px 4px rgba(165, 218, 255, 0.65), inset 0 0 20px 2px rgba(116, 172, 223, 0.5), inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95) !important;
}

.btn--telescope:hover::before {
  transform: translateX(120%);
}

/* Vidrio genérico (glassmorphism neutro) */
.btn--glass {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Contorno con borde degradado neón + glow estilo Uiverse (Fondo Azul Oscuro) */
.btn--outline {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(#0b1329, #0b1329) padding-box, linear-gradient(90deg, #03a9f4, #f441a5) border-box;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn--outline::before {
  content: "";
  position: absolute;
  inset: -2px;
  margin: auto;
  border-radius: 999px;
  z-index: -1;
  background: linear-gradient(90deg, #03a9f4, #f441a5);
  opacity: 0;
  filter: blur(0);
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.btn--outline:hover::before {
  opacity: 1;
  filter: blur(1.2em);
}

.btn--outline:active::before {
  filter: blur(0.2em);
}

.btn--outline:hover {
  background: linear-gradient(#0f172a, #0f172a) padding-box, linear-gradient(90deg, #03a9f4, #f441a5) border-box;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(3, 169, 244, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease)
}

.nav__inner {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 16px clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

/* Capa de color: arranca invisible (nav transparente arriba) y la sube el JS */
.nav__fill {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: rgba(2, 6, 23, .82);
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .12s linear;
  pointer-events: none;
}

/* Constelación dentro de la barra */
.nav__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.nav__brand,
.nav__links,
.nav__toggle {
  position: relative;
  z-index: 2;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), opacity .25s ease;
}

.nav__brand:hover {
  transform: translateY(-1px) scale(1.02);
  opacity: .95;
}

.nav__brand:active {
  transform: scale(0.98);
}

.nav__brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav__logo {
  height: 34px;
  width: auto;
  transition: filter .25s ease;
}

.nav__brand:hover .nav__logo {
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.45));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px
}

.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  transition: color .2s ease
}

.nav__links a:not(.nav__cta) {
  position: relative
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: right .3s var(--ease);
}

.nav__links a:not(.nav__cta):hover {
  color: var(--gold-600)
}

.nav__links a:not(.nav__cta):hover::after {
  right: 0
}

.nav__cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(#0b1329, #0b1329) padding-box, linear-gradient(90deg, #03a9f4, #f441a5) border-box;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav__cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  margin: auto;
  border-radius: 999px;
  z-index: -1;
  background: linear-gradient(90deg, #03a9f4, #f441a5);
  opacity: 0;
  filter: blur(0);
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.nav__cta:hover::before {
  opacity: 1;
  filter: blur(1.2em);
}

.nav__cta:active::before {
  filter: blur(0.2em);
}

.nav__cta:hover {
  background: linear-gradient(#0f172a, #0f172a) padding-box, linear-gradient(90deg, #03a9f4, #f441a5) border-box;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(3, 169, 244, 0.3);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px
}

.nav__toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s var(--ease)
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg)
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg)
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 104px;
  margin-top: -74px;
  background:
    radial-gradient(120% 90% at 72% 12%, rgba(56, 189, 248, .13), transparent 62%),
    radial-gradient(80% 70% at 8% 88%, rgba(129, 140, 248, .10), transparent 65%),
    var(--paper);
}

/* Cielo interactivo: las estrellas reaccionan al cursor */
.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center
}

.hero__title {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -.035em
}

.hero__lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 32px
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero__note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.hero__note::before {
  content: "✦";
  color: var(--gold)
}

/* Panel astronómico: gran círculo azul con el telescopio, al estilo del modelo */
.hero__visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__ring {
  position: absolute;
  width: clamp(300px, 38vw, 480px);
  height: clamp(300px, 38vw, 480px);
  border-radius: 50%;
  border: 1px solid rgba(63, 127, 224, .35);
  animation: spin 40s linear infinite;
}

.hero__ring::before,
.hero__ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(63, 127, 224, .7);
}

.hero__ring::before {
  top: -4px;
  left: 50%;
  margin-left: -3.5px
}

.hero__ring::after {
  bottom: 8%;
  right: 4%
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.hero__circle {
  position: relative;
  width: clamp(280px, 37vw, 460px);
  height: clamp(280px, 37vw, 460px);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__telescope-lg {
  position: relative;
  z-index: 1;
  width: 91%;
  height: 91%;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(8, 15, 40, .35));
}

.hero__badge {
  position: absolute;
  left: -6px;
  bottom: 6%;
  z-index: 10;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(63, 127, 224, .6);
}

.stat__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1
}

.stat__label {
  font-size: .72rem;
  font-weight: 600;
  max-width: 15ch;
  margin-top: 4px
}

/* =========================================================
   EMPRESAS QUE CONFÍAN — islas con hover
   ========================================================= */
.trust {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% -10%, rgba(111, 208, 255, .16), transparent 70%)
}

.trust__head {
  position: relative;
  text-align: center;
  margin-bottom: 46px
}

.trust__title {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45)
}

.clients {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.client {
  position: relative;
  height: 214px;
  border-radius: var(--r);
  overflow: hidden;
  display: block;
  background: #f8fafc; /* Fondo claro para que los logos se vean bien */
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.client::before {
  /* borde con degradé al hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(143, 193, 251, .9), rgba(111, 208, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.client:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7)
}

.client:hover::before {
  opacity: 1
}

.client__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  transition: transform .45s var(--ease), opacity .45s var(--ease)
}

.client__logo {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

/* Escalar los últimos dos logos que visualmente se ven más pequeños */
.client:nth-child(3) .client__logo {
  transform: scale(1.6);
}
.client:nth-child(4) .client__logo {
  transform: scale(1.3);
}

@media (hover:hover) {
  .client:hover .client:nth-child(3) .client__logo,
  .client:hover .client:nth-child(4) .client__logo {
    /* Mantiene el escalado durante el hover si fuera necesario */
  }
}

.client__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 64, 0) 0%, rgba(10, 16, 48, .92) 55%, rgba(10, 16, 48, .98) 100%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.client__info h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 4px
}

.client__info p {
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.45;
  margin-bottom: 10px
}

.client__link {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--gold-soft);
  letter-spacing: .04em
}

@media (hover:hover) {
  .client:hover .client__face {
    transform: scale(.88) translateY(-16px);
    opacity: .16
  }

  .client:hover .client__info {
    opacity: 1;
    transform: none
  }
}

@media (hover:none) {
  .client {
    height: auto;
    min-height: 172px
  }

  .client__face {
    position: relative;
    inset: auto;
    padding: 28px 28px 14px
  }

  .client__info {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    background: none;
    padding: 0 20px 22px;
    align-items: center;
    text-align: center
  }

  .client__info p {
    display: none
  }

  .client__link {
    color: var(--gold)
  }
}

/* =========================================================
   SECCIONES GENÉRICAS
   ========================================================= */
.section {
  position: relative;
  overflow: hidden;
  padding: 100px 0
}

/* Cielo animado de fondo (mismo campo que el hero y la navbar) */
.section__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Un único cielo detrás de las dos secciones: sin corte ni línea divisoria */
.sky {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 40% at 78% 6%, rgba(56, 189, 248, .09), transparent 62%),
    radial-gradient(60% 40% at 4% 94%, rgba(129, 140, 248, .08), transparent 65%),
    var(--paper);
}

.sky__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sky .section {
  background: transparent;
  border: 0;
}

.sky .wrap,
#equipo .wrap {
  position: relative;
  z-index: 1;
}

.section--cream {
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section--dark {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--surface);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 40% at 80% 0%, rgba(56, 189, 248, .08), transparent 70%)
}

.section__head {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
  position: relative
}

.section__head .eyebrow {
  justify-content: center
}

.section__head h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
  color: var(--ink)
}

.section__head--light h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45)
}

.section__sub {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-top: 16px
}

.section__sub--light {
  color: rgba(255, 255, 255, .72)
}

/* -------- Feature (qué es) -------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center
}

.feature__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 18px
}

.feature__text p {
  color: var(--ink-soft);
  margin-bottom: 16px
}

.ticklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 13px
}

.ticklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 500
}

.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 4px 12px -4px rgba(63, 127, 224, .6);
}

.ticklist li::after {
  content: "✦";
  position: absolute;
  left: 5px;
  top: 1px;
  font-size: .66rem;
  color: #ffffff
}

.mock {
  background: var(--paper);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  border: 1px solid var(--surface-border);
  overflow: hidden
}

.mock__top {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface)
}

.mock__top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream)
}

.mock__top span:first-child {
  background: var(--gold)
}

.mock__body {
  padding: 26px
}

.mock__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px
}

.mock__bar {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--navy), var(--navy-500));
  width: var(--w)
}

.mock__row em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem
}

.mock__chart {
  margin-top: 22px;
  height: 90px
}

.mock__chart svg {
  width: 100%;
  height: 100%
}

.mock__chart polyline {
  stroke: var(--gold);
  stroke-width: 2.5
}

.mock__chart .area {
  fill: rgba(63, 127, 224, .14)
}

/* -------- Cards de servicios (glass + borde degradé al hover) -------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 22px
}

/* Bento Box Grid para 6 tarjetas */
.card:nth-child(1) { grid-column: span 2; }
.card:nth-child(2) { grid-column: span 1; }
.card:nth-child(3) { grid-column: span 1; grid-row: span 2; }
.card:nth-child(4) { grid-column: span 2; }
.card:nth-child(5) { grid-column: span 2; }
.card:nth-child(6) { grid-column: span 1; }

.card {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r);
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Borde degradado Cian (#03a9f4) a Rosa/Violeta (#f441a5) */
.card::before,
.aud::before,
.dev::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #03a9f4 0%, #f441a5 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}

/* Aura difuminada neón detrás de la tarjeta */
.card::after,
.aud::after,
.dev::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #03a9f4 0%, #f441a5 100%);
  opacity: 0;
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}

.card:hover::before,
.aud:hover::before,
.dev:hover::before {
  opacity: 1;
}

.card:hover::after,
.aud:hover::after,
.dev:hover::after {
  opacity: 0.45;
  filter: blur(26px);
}

.card:hover,
.aud:hover,
.dev:hover {
  transform: translateY(-8px);
  border-color: transparent;
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--navy), var(--navy-800));
  box-shadow: 0 10px 24px -10px rgba(25, 38, 80, .6);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.card h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: auto;
}

.card p {
  color: var(--ink-soft);
  font-size: .98rem
}

/* -------- Audiencia -------- */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 22px
}

/* Bento Box Grid para 4 tarjetas */
.aud:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.aud:nth-child(2) { grid-column: span 2; }
.aud:nth-child(3) { grid-column: span 1; }
.aud:nth-child(4) { grid-column: span 1; }

.aud {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border-radius: var(--r);
  padding: 32px 28px;
  border: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.aud__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(140deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
  margin-top: auto;
}

.aud h3 {
  font-size: 1.16rem;
  color: var(--ink);
  margin-bottom: 8px
}

.aud p {
  color: var(--ink-soft);
  font-size: .95rem
}

/* -------- Equipo (glass sobre oscuro) -------- */
.team {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.dev {
  position: relative;
  isolation: isolate;
  border-radius: var(--r);
  padding: 32px 26px;
  text-align: center;
  background: rgba(10, 16, 48, .42);
  border: 1px solid rgba(143, 193, 251, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.dev__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.3rem;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-600));
  box-shadow: 0 12px 30px -10px rgba(63, 127, 224, .6);
}

.dev__avatar::after {
  content: attr(data-ini)
}

.dev h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px
}

.dev__role {
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .05em;
  margin-bottom: 12px
}

.dev__bio {
  color: rgba(255, 255, 255, .62);
  font-size: .9rem
}

/* -------- Testimonial -------- */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center
}

.quote__mark {
  font-size: 2.2rem;
  margin-bottom: 12px;
  background: linear-gradient(120deg, var(--gold), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.quote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.02em
}

.quote__author {
  margin-top: 26px;
  color: var(--ink-soft)
}

.quote__author strong {
  color: var(--ink)
}

.quote__hint {
  font-size: .8rem;
  opacity: .6
}

/* -------- CTA -------- */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 104px 0;
  background: linear-gradient(150deg, var(--navy-600) 0%, var(--navy-900) 100%);
}

.cta__aura {
  position: absolute;
  inset: -30%;
  z-index: 0;
  filter: blur(80px);
  pointer-events: none
}

.cta__aura span {
  position: absolute;
  border-radius: 50%
}

.cta__aura .b1 {
  width: 40%;
  height: 70%;
  left: 8%;
  top: 0;
  background: radial-gradient(circle, rgba(63, 127, 224, .4), transparent 65%)
}

.cta__aura .b2 {
  width: 40%;
  height: 70%;
  right: 6%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(111, 208, 255, .4), transparent 65%)
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
}

.cta h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
  letter-spacing: -.03em
}

.cta p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.12rem;
  margin-bottom: 32px
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta__actions .btn {
  padding: 14px 22px;
}

/* -------- Footer -------- */
.footer {
  background: var(--paper);
  color: #fff;
  padding: 70px 0 30px;
  border-top: 1px solid var(--surface-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px
}

.footer__logo {
  height: 30px;
  margin-bottom: 18px
}

.footer__brand p {
  color: rgba(255, 255, 255, .6);
  font-size: .94rem;
  max-width: 34ch
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase
}

.footer__col a {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: .94rem;
  margin-bottom: 10px;
  transition: color .2s ease, transform .2s ease;
  word-break: break-word
}

.footer__col a:hover {
  color: var(--gold-soft);
  transform: translateX(3px)
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer__bottom p {
  color: rgba(255, 255, 255, .45);
  font-size: .84rem
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .hero__visual {
    min-height: 360px;
    order: -1
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 38px
  }

  .feature__media {
    order: 2
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .card,
  .card:nth-child(n) {
    grid-column: auto;
    grid-row: auto
  }

  .audience {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .aud,
  .aud:nth-child(n) {
    grid-column: auto;
    grid-row: auto
  }

  .team {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .clients {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:768px) {
  .nav__toggle {
    display: flex
  }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 19, 41, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    padding: 12px 18px 18px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px -5px rgba(56, 189, 248, 0.2);
    z-index: 105;
    
    /* Estado oculto: completamente invisible y sin interacción */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.97);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav__links a:not(.nav__cta) {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.02rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav__links a:not(.nav__cta):hover,
  .nav__links a:not(.nav__cta):active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--gold-soft);
  }

  .nav__links a:not(.nav__cta)::after {
    display: none
  }

  .nav__cta {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0
  }

  /* Todas las secciones en columna única y con márgenes perfectos */
  .cards,
  .audience,
  .team,
  .clients {
    grid-template-columns: 1fr !important;
    gap: 18px
  }

  .card,
  .card:nth-child(n),
  .aud,
  .aud:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: auto
  }

  .card,
  .aud {
    padding: 26px 22px
  }

  .wrap {
    padding: 0 18px
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .hero {
    padding: 56px 0 68px
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin: 0 auto;
    gap: 12px;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* =========================================================
   CANVAS DE CONSTELACIONES / RED NEURONAL
   ========================================================= */

#constellationCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 38vw, 480px);
  height: clamp(300px, 38vw, 480px);
  border-radius: 50%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(56, 189, 248, 0.1);
  transition: box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
  cursor: crosshair;
}

#constellationCanvas:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 60px -10px rgba(56, 189, 248, 0.4), inset 0 0 40px rgba(56, 189, 248, 0.15);
}

/* Imagen del telescopio metálico sobre el canvas de constelaciones */
.hero__telescope-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: clamp(260px, 34vw, 420px);
  height: auto;
  max-height: clamp(260px, 34vw, 420px);
  object-fit: contain;
  z-index: 5; /* Por delante de las constelaciones (z-index 1) y por detrás del botón (z-index 12) y del badge (z-index 10) */
  pointer-events: none; /* Permite interactuar con la red neuronal/constelaciones sin bloquear el mouse */
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.65));
}

/* --- CTA sobre la base del logo --- */
.scope__cta {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  z-index: 12
}

.scope__btn {
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), filter .28s var(--ease)
}

.scope__btn:hover {
  transform: translateY(-4px);
  filter: saturate(1.12) brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 48px -8px rgba(116, 172, 223, .8), 0 0 0 7px rgba(116, 172, 223, .16);
}

@media (max-width:720px) {
  #constellationCanvas {
    width: min(300px, 82vw);
    height: min(300px, 82vw)
  }

  .scope__cta {
    bottom: -6%
  }

  .scope__btn {
    font-size: .92rem;
    padding: 14px 22px
  }
}

/* =========================================================
   FONDO DE ESTRELLAS EN SECCIÓN SERVICIOS
   ========================================================= */
#servicios {
  position: relative;
  overflow: hidden;
}

/* Canvas de estrellas generado por JS — ocupa toda la sección */
#serviciosStars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#servicios .section__head,
#servicios .cards,
#servicios .wrap {
  position: relative;
  z-index: 1;
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   Protección Anti-Screenshots y Anti-Impresión
   ========================================================================== */

/* 1. Desenfoque profundo al perder el foco (Win+Shift+S / Herramienta de recortes) */
body.screenshot-protect {
  filter: blur(30px) brightness(0.25) !important;
  transition: filter 0.15s ease !important;
  user-select: none !important;
  pointer-events: none !important;
}

/* 2. Bloqueo total al imprimir o guardar en PDF (Ctrl+P) */
@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
}
