/* ============================================================
   NOVAWEB — Sistema de diseño v3
   Dirección: minimalismo premium (Linear / Vercel / Stripe / Apple)
   Negro neutro + azul contenido. Tipografía: Inter.
   ============================================================ */

:root {
  --bg: #050506;
  --bg-elev: #0A0A0C;
  --card: #0E0E11;
  --fg: #FAFAFA;
  --muted-fg: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #3B82F6;
  --accent-strong: #2563EB;   /* botones sólidos azules (5.1:1 con blanco) */
  --accent-soft: #60A5FA;     /* acentos pequeños sobre oscuro */
  --wa: #16A34A;

  --font: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Durante la intro no se puede hacer scroll y la interfaz está oculta */
html.is-intro, html.is-intro body { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

a { color: var(--accent-soft); }

::selection { background: var(--accent-strong); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

/* ===== Barra de progreso ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent-soft);
  z-index: 120;
}

/* ===== Utilidades ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }
.section { padding: 140px 0; position: relative; }

.grad-text {
  background: linear-gradient(180deg, #FAFAFA 30%, #9CA3AF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section__eyebrow {
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-fg); margin-bottom: 18px; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow-num {
  color: var(--accent-soft);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 3px 8px; font-size: 0.72rem; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.section__title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 22px; letter-spacing: -0.03em; }
.section__title--center { text-align: center; }
.section__lead { color: var(--muted-fg); font-size: 1.1rem; max-width: 640px; margin-bottom: 44px; }
.section__lead--center { margin-inline: auto; text-align: center; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font); font-weight: 600; font-size: 0.98rem;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  /* el transform lo maneja GSAP (magnético); no transicionarlo en CSS evita conflictos */
  transition: box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  will-change: transform;
  position: relative; overflow: hidden;
}
.btn svg { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.btn:hover svg { transform: translateX(3px); }
.btn--light {
  background: var(--fg); color: #0A0A0C;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px rgba(0, 0, 0, 0.4);
}
.btn--light:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 30px rgba(255, 255, 255, 0.12); }
/* destello sutil que cruza el botón blanco al pasar el cursor (estilo Stripe) */
.btn--light::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(0, 0, 0, 0.07), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left 0.55s ease;
}
.btn--light:hover::after { left: 125%; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.03); color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn--lg { min-height: 54px; padding: 15px 32px; font-size: 1.02rem; border-radius: 12px; }

/* ===== Navegación ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, opacity 0.5s ease;
  border-bottom: 1px solid transparent;
}
html.is-intro .nav { opacity: 0; pointer-events: none; }
.nav.is-scrolled {
  background: rgba(5, 5, 6, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
  transition: padding 0.3s ease;
}
.nav.is-scrolled .nav__inner { padding-block: 10px; }
.nav__logo {
  font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em;
  color: var(--fg); text-decoration: none;
}
.nav__logo em { font-style: normal; color: var(--accent-soft); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  color: var(--muted-fg); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  padding: 10px 14px; border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav__cta { font-size: 0.9rem; min-height: 42px; padding: 9px 18px; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; margin-left: auto;
  background: none; border: 0; cursor: pointer; padding: 12px; min-width: 44px; min-height: 44px;
}
.nav__burger span { width: 22px; height: 1.6px; background: var(--fg); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   HERO CINEMATOGRÁFICO
   ============================================================ */
.hero {
  min-height: 100svh;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 80px;
}
.hero__liquid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0;
}
html.intro-done .hero__liquid { opacity: 1; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.5), transparent 30%, transparent 70%, rgba(5, 5, 6, 0.85));
}
/* grano cinematográfico muy sutil */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* --- Escena de intro ---
   Fija a la pantalla (no al documento): aunque el navegador restaure el
   scroll en un bloque inferior, la secuencia siempre se ve. */
.intro {
  position: fixed; inset: 0; z-index: 95;
  display: flex; align-items: center; justify-content: center;
}
html.intro-done .intro { display: none; }

.intro__scene {
  position: relative;
  width: min(880px, 94vw);
  height: min(560px, 72vh);
  display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 60%;
}
.intro__wires {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.intro__wires line {
  stroke: rgba(96, 165, 250, 0.35); stroke-width: 1;
}

/* Monitor */
.monitor {
  position: relative;
  width: min(560px, 62vw);
  will-change: transform;
}
.monitor__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0B0B0E;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 2.2%;
  overflow: hidden;
  box-shadow:
    0 0 0 3px #17171B,
    0 40px 90px rgba(0, 0, 0, 0.8),
    0 4px 24px rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(155deg, rgba(255, 255, 255, 0.05), transparent 40%);
}
.screen__glow {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 80% 65% at 50% 45%, rgba(59, 130, 246, 0.14), transparent 70%);
}
.monitor__neck {
  width: 9%; height: 42px; margin: 0 auto;
  background: linear-gradient(180deg, #1A1A1F, #0E0E11);
}
.monitor__base {
  width: 34%; height: 12px; margin: 0 auto;
  border-radius: 8px 8px 10px 10px;
  background: linear-gradient(180deg, #222228, #121216);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.75);
}

/* Etapa: wireframe en pantalla */
.screen__wire {
  position: absolute; inset: 6% 7%;
  display: grid;
  grid-template-rows: 8% 14% 8% 12% 1fr;
  gap: 5%;
}
.screen__wire .w {
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 6px;
  transform-origin: left center;
}
.w--nav { width: 100%; }
.w--h1 { width: 62%; }
.w--h2 { width: 44%; }
.w--btn { width: 22%; border-style: solid; border-color: rgba(96, 165, 250, 0.7); }
.w--c1, .w--c2, .w--c3 { width: 100%; }
.screen__wire .w--c1 { grid-row: 5; grid-column: 1; }
.screen__wire { grid-template-columns: 1fr 1fr 1fr; }
.w--nav, .w--h1, .w--h2, .w--btn { grid-column: 1 / -1; }

/* Etapa: sitio terminado en pantalla */
.screen__site {
  position: absolute; inset: 6% 7%;
  opacity: 0;
  display: flex; flex-direction: column; align-items: flex-start;
}
.ss-nav {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 7%;
}
.ss-logo { width: 14%; height: 8px; border-radius: 4px; background: #FAFAFA; display: block; }
.ss-links { display: flex; gap: 8px; }
.ss-links i { width: 22px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.ss-title {
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  font-size: clamp(0.9rem, 2.4vw, 1.5rem);
  margin-bottom: 5%;
}
.ss-btn {
  background: var(--accent-strong); color: #fff;
  font-size: clamp(0.5rem, 1.1vw, 0.72rem); font-weight: 600;
  padding: 0.5em 1.2em; border-radius: 6px;
  margin-bottom: 7%;
}
.ss-cards { display: flex; gap: 4%; width: 100%; flex: 1; min-height: 0; }
.ss-cards i {
  flex: 1; border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
}

/* Chips de servicios alrededor del monitor */
.chip {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 9px;
  background: rgba(14, 14, 17, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--fg);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  will-change: transform;
}
.chip svg {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--accent-soft); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
#chip1 { left: 2%;  top: 12%; }
#chip2 { left: 0;   top: 45%; }
#chip3 { left: 5%;  bottom: 10%; }
#chip4 { right: 4%; top: 12%; }
#chip5 { right: 0;  top: 45%; }
#chip6 { right: 3%; bottom: 10%; }

.intro__skip {
  position: absolute; right: 26px; bottom: 26px; z-index: 8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--muted-fg);
  font-family: var(--font); font-size: 0.85rem; font-weight: 500;
  padding: 10px 18px; min-height: 44px; border-radius: 999px;
  cursor: pointer; opacity: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.intro__skip:hover { color: var(--fg); border-color: rgba(255, 255, 255, 0.4); }

/* --- Mensaje final del hero --- */
.hero__final {
  position: relative; z-index: 4;
  text-align: center; max-width: 780px;
  opacity: 0; pointer-events: none;
}
.final__status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.84rem; font-weight: 500; color: var(--muted-fg);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: statusPulse 2.4s ease-out infinite;
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
html.intro-done .hero__final { opacity: 1; pointer-events: auto; }
.final__title { display: block; }
.final__brand {
  display: block;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 22px;
}
.final__brand em { font-style: normal; color: var(--accent-soft); }
.final__tag {
  display: block;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.35;
  color: var(--fg);
  max-width: 560px; margin: 0 auto 18px;
}
.final__sub {
  color: var(--muted-fg); font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  max-width: 560px; margin: 0 auto 36px;
}
.final__sub strong { color: var(--fg); font-weight: 600; }
.final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.final__meta { color: var(--muted-fg); font-size: 0.88rem; letter-spacing: 0.02em; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  opacity: 0;
}
html.intro-done .hero__scroll { opacity: 0.7; }
.hero__mouse {
  width: 24px; height: 38px; border: 1.6px solid var(--muted-fg); border-radius: 13px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero__mouse span {
  width: 3px; height: 7px; border-radius: 3px; background: var(--muted-fg);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== Cinta de servicios ===== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 20px 0;
  background: var(--bg-elev);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track {
  display: flex; align-items: center; gap: 30px;
  width: max-content;
  animation: marqueeMove 38s linear infinite;
}
.marquee__track span {
  font-weight: 500; font-size: 0.92rem;
  color: var(--muted-fg); letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track i { color: rgba(255, 255, 255, 0.25); font-style: normal; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ===== Tarjetas base ===== */
.stat, .bento__card, .plan, .faq__item, .contacto-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.bento__card:hover, .stat:hover, .contacto-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}
/* las tarjetas con tilt las mueve GSAP: sin transición CSS de transform */
.tilt { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.tilt:hover { transform: none; }

/* "Spotlight": luz que sigue al cursor dentro de la tarjeta (estilo Linear) */
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(96, 165, 250, 0.09), transparent 65%);
}
.spot:hover::after { opacity: 1; }

/* Titulares con revelado por máscara (estilo Apple) */
.wm { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wm .wi { display: inline-block; will-change: transform; }

/* ===== Problema / stats ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.stat { padding: 32px 26px; }
.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em;
  color: var(--fg); display: block; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--muted-fg); font-size: 0.96rem; }

/* ===== Solución + laptop ===== */
.solucion__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg); font-size: 1.02rem; }
.check {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px;
  stroke: var(--accent-soft); stroke-width: 2.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

.laptop-scene { perspective: 1400px; position: relative; display: grid; place-items: center; }
.laptop {
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-12deg);
  animation: laptopFloat 8s ease-in-out infinite;
  width: min(440px, 90%);
}
@keyframes laptopFloat {
  0%, 100% { transform: rotateX(10deg) rotateY(-12deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-9deg) translateY(-10px); }
}
.laptop__screen {
  background: #0B0B0E;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px 14px 4px 4px;
  padding: 14px 10px 10px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7);
  position: relative;
}
.laptop__cam {
  width: 5px; height: 5px; border-radius: 50%; background: #2A2A31;
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
}
.laptop__base {
  height: 13px;
  background: linear-gradient(180deg, #26262D, #131317);
  border-radius: 0 0 16px 16px;
  transform: translateZ(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.7);
}
.mini-site {
  background: linear-gradient(165deg, #101016, #0A0A0D);
  border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10;
  position: relative; padding: 8%;
  display: flex; flex-direction: column; gap: 9%;
}
.mini-site__nav { display: flex; justify-content: space-between; align-items: center; }
.mini-site__logo { width: 16%; height: 7px; border-radius: 4px; background: #FAFAFA; }
.mini-site__links { display: flex; gap: 6px; }
.mini-site__links i { width: 20px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }
.mini-site__hero { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mini-site__h1 { width: 62%; height: 11px; border-radius: 6px; background: #E5E7EB; }
.mini-site__h2 { width: 44%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.mini-site__btn {
  width: 25%; height: 13px; border-radius: 7px; margin-top: 4px;
  background: var(--accent-strong);
}
.mini-site__cards { display: flex; gap: 6%; flex: 1; }
.mini-site__cards i {
  flex: 1; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.mini-site__wa {
  position: absolute; right: 6%; bottom: 8%;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
}

/* ===== Servicios / bento ===== */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px;
}
.bento__card { padding: 26px; overflow: hidden; }
.bento__card--wide { grid-column: span 2; }
.bento__card h3 { font-size: 1.18rem; margin: 18px 0 8px; letter-spacing: -0.015em; }
.bento__card p { color: var(--muted-fg); font-size: 0.96rem; }

.demo { height: 130px; display: flex; align-items: center; justify-content: center; position: relative; }

/* demo SEO */
.demo--seo { flex-direction: column; gap: 12px; align-items: stretch; justify-content: center; }
.demo-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-size: 0.94rem; color: var(--fg);
}
.demo-search__icon { width: 15px; height: 15px; stroke: var(--muted-fg); fill: none; stroke-width: 2; flex-shrink: 0; }
.demo-search__caret { width: 1.6px; height: 15px; background: var(--accent-soft); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.demo-result {
  display: flex; gap: 12px; align-items: center;
  background: rgba(59, 130, 246, 0.06); border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 10px; padding: 10px 14px;
}
.demo-result__badge {
  font-weight: 700; color: #fff;
  background: var(--accent-strong); border-radius: 7px; padding: 4px 9px; font-size: 0.82rem;
}
.demo-result__title { font-weight: 600; font-size: 0.9rem; }
.demo-result__url { color: var(--wa); font-size: 0.78rem; }

/* demo móvil */
.demo-phone {
  width: 62px; height: 110px; border: 1.6px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  background: var(--bg-elev); padding: 8px 6px;
  animation: phoneTilt 5s ease-in-out infinite;
}
@keyframes phoneTilt {
  0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); }
}
.demo-phone__screen { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.demo-phone__screen i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.demo-phone__screen i:first-child { background: rgba(255, 255, 255, 0.7); width: 70%; }
.demo-phone__screen b {
  display: block; margin-top: auto; height: 15px; border-radius: 8px;
  background: var(--accent-strong);
}

/* demo IA / chat */
.demo--wa { flex-direction: column; gap: 10px; align-items: stretch; justify-content: center; }
.demo-bubble {
  max-width: 85%; padding: 8px 14px; border-radius: 12px; font-size: 0.85rem;
}
.demo-bubble--in { background: rgba(255, 255, 255, 0.07); color: var(--fg); align-self: flex-start; border-bottom-left-radius: 4px; }
.demo-bubble--out { background: var(--accent-strong); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

/* demo velocidad */
.demo--speed { flex-direction: column; gap: 0; }
.demo-gauge { width: 116px; }
.demo-gauge__track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 8; stroke-linecap: round; }
.demo-gauge__fill { fill: none; stroke: var(--accent-soft); stroke-width: 8; stroke-linecap: round; }
.demo-gauge__num {
  font-weight: 700; font-size: 1.4rem; margin-top: -14px;
  font-variant-numeric: tabular-nums;
}

/* demo e-commerce */
.demo-bars { display: flex; gap: 10px; align-items: flex-end; height: 90px; }
.demo-bars i {
  width: 22px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-strong));
  height: var(--h); transform-origin: bottom;
}

/* demo integraciones */
.demo--nodes { padding: 0 8px; }
.nodes { width: 100%; max-width: 340px; }
.nodes__line {
  stroke: rgba(96, 165, 250, 0.4); stroke-width: 1.2; fill: none;
  stroke-dasharray: 6 6;
  animation: nodesFlow 1.6s linear infinite;
}
@keyframes nodesFlow { to { stroke-dashoffset: -12; } }
.nodes__dot { fill: var(--accent-strong); }
.nodes__pill rect { fill: var(--bg-elev); stroke: rgba(255, 255, 255, 0.14); }
.nodes__pill text {
  fill: var(--fg); font-family: var(--font); font-size: 11px; font-weight: 600;
  text-anchor: middle;
}

/* ===== Paquetes ===== */
.planes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start; margin-top: 10px;
}
.plan { padding: 34px 28px; display: flex; flex-direction: column; position: relative; }
.plan--featured {
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.07), var(--card) 40%);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--fg); color: #0A0A0C;
  font-weight: 600; font-size: 0.8rem;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__head h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.plan__tag { color: var(--muted-fg); font-size: 0.9rem; margin: 4px 0 18px; }
.plan__precio {
  font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__precio sup { font-size: 1.2rem; margin-right: 2px; font-weight: 600; }
.plan__precio span { font-size: 0.92rem; color: var(--muted-fg); font-weight: 500; letter-spacing: 0; }
.plan__entrega { color: var(--accent-soft); font-size: 0.88rem; margin: 8px 0 18px; font-weight: 500; }
.plan__ideal {
  font-size: 0.92rem; color: var(--muted-fg);
  border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 16px;
}
.plan__ideal strong { color: var(--fg); }
.plan__lista { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.plan__lista li {
  position: relative; padding-left: 26px; font-size: 0.93rem; color: var(--fg);
}
.plan__lista li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 13px; height: 13px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.plan__excluye {
  font-size: 0.86rem; color: var(--muted-fg); line-height: 1.55;
  border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 24px;
}
.plan__excluye strong { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.plan__cta { margin-top: auto; width: 100%; }
.paquetes__nota {
  text-align: center; color: var(--muted-fg); font-size: 0.94rem;
  max-width: 760px; margin: 44px auto 0;
}

/* ===== Proceso ===== */
.pasos {
  list-style: none;
  display: grid; gap: 0; margin-top: 20px;
  position: relative;
}
.paso {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding: 28px 0; position: relative;
}
.paso:not(:last-child)::after {
  content: ""; position: absolute; left: 29px; top: 88px; bottom: -28px;
  width: 1px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.5), transparent);
}
.paso__num {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.25rem;
  background: var(--card); border: 1px solid var(--border-strong);
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.paso h3 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.paso p { color: var(--muted-fg); max-width: 560px; }

/* ===== FAQ ===== */
.faq__item { margin-bottom: 12px; overflow: hidden; }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  cursor: pointer; padding: 20px 24px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 48px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted-fg); flex-shrink: 0;
  transition: transform 0.25s ease; line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted-fg); }

/* ===== Contacto ===== */
.contacto { overflow: hidden; }
.contacto__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px;
  justify-content: center; margin-top: 16px; position: relative;
}
.contacto-card { padding: 34px 30px; text-align: center; }
.contacto-card__nombre { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.contacto-card__rol { color: var(--muted-fg); font-size: 0.9rem; margin-bottom: 14px; }
.contacto-card__tel {
  display: block; font-size: 1.5rem; font-weight: 600;
  color: var(--fg); text-decoration: none; margin-bottom: 20px;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.contacto-card__tel:hover { color: var(--accent-soft); }
.contacto-card .btn { width: 100%; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: var(--bg-elev); }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px;
}
.footer__logo { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.footer__logo em { font-style: normal; color: var(--accent-soft); }
.footer__brand p { color: var(--muted-fg); margin-top: 10px; max-width: 300px; font-size: 0.95rem; }
.footer__head {
  font-weight: 600; margin-bottom: 14px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-fg);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col a { color: var(--fg); text-decoration: none; padding: 2px 0; font-size: 0.96rem; }
.footer__col a:hover { color: var(--accent-soft); }
.footer__loc { color: var(--muted-fg); font-size: 0.88rem; }
.footer__legal {
  text-align: center; color: var(--muted-fg); font-size: 0.84rem;
  border-top: 1px solid var(--border); padding-top: 26px;
  max-width: var(--maxw); margin: 0 auto; padding-inline: 24px;
}
/* marca de agua gigante (estilo Vercel) */
.footer__mark {
  font-size: clamp(4.5rem, 16vw, 13rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
  text-align: center; user-select: none;
  color: rgba(255, 255, 255, 0.028);
  margin-top: 40px; margin-bottom: -0.12em;
  white-space: nowrap;
}

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, opacity 0.4s ease;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 14px 34px rgba(22, 163, 74, 0.4); }
html.is-intro .wa-float { opacity: 0; pointer-events: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .solucion__grid { grid-template-columns: 1fr; gap: 50px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--wide { grid-column: span 2; }
  .planes { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .intro__scene { height: min(480px, 66vh); }
  .monitor { width: min(460px, 66vw); }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0; top: 60px;
    background: rgba(5, 5, 6, 0.97); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 40px; gap: 8px;
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.25rem; padding: 14px; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .contacto__cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .paso { grid-template-columns: 50px 1fr; gap: 16px; }
  .paso__num { width: 50px; height: 50px; font-size: 1.1rem; }
  .paso:not(:last-child)::after { left: 24px; top: 78px; }

  /* Intro en móvil: escena más compacta, chips legibles */
  .monitor { width: min(380px, 82vw); }
  .chip { padding: 8px 12px; font-size: 0.72rem; border-radius: 10px; }
  .chip svg { width: 13px; height: 13px; }
  #chip1 { left: 0; top: 6%; }
  #chip3 { left: 0; bottom: 4%; }
  #chip4 { right: 0; top: 6%; }
  #chip6 { right: 0; bottom: 4%; }
  .intro__skip { right: 16px; bottom: 16px; }
}

/* ===== Respeto a usuarios que prefieren menos movimiento ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .laptop, .demo-phone, .marquee__track { animation: none; }
}
