/* ============================================================
   IgniteL — Sistema de diseño
   Dark mode + acentos verde vivo. Sin frameworks.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marca */
  --brand: #56f58c;
  --brand-lime: #a6ff4d;
  --brand-teal: #1fd1c4;
  --brand-deep: #0f9d5c;

  /* Fondos */
  --bg: #05080a;
  --bg-2: #080d0f;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(86, 245, 140, 0.32);

  /* Texto */
  --fg: #e9f2ec;
  --fg-soft: #b7c6bd;
  --fg-mute: #7d8f85;

  /* Tipografía */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Métricas */
  --maxw: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 26px;

  /* Movimiento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;

  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #04120a; }

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

/* ---------- 2. Tipografía ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

/* La escala crece con la pantalla, pero de forma contenida: en un portatil
   de 1366px el titular queda en ~63px, no en 74px. */
h1 { font-size: clamp(2.15rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; color: var(--fg-soft); text-wrap: pretty; }
p.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--fg-soft);
  max-width: 62ch;
}

strong { color: var(--fg); font-weight: 600; }

.grad-text {
  background: linear-gradient(100deg, var(--brand-lime), var(--brand) 45%, var(--brand-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.section {
  padding-block: clamp(3.25rem, 5.5vw, 5.5rem);
}

.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
  padding: 0.34rem 0.8rem 0.34rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(86, 245, 140, 0.06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Aura de fondo (mesh gradient animado) ---------- */
.aura {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.aura::after {
  /* grano sutil, generado, sin imágenes externas */
  content: "";
  position: absolute;
  inset: -50%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}
.orb-1 {
  width: 46vw; height: 46vw; min-width: 320px; min-height: 320px;
  background: radial-gradient(circle at 40% 40%, var(--brand), transparent 68%);
  top: -14vw; left: -8vw;
  animation: drift-1 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 40vw; height: 40vw; min-width: 280px; min-height: 280px;
  background: radial-gradient(circle at 60% 40%, var(--brand-teal), transparent 66%);
  top: 22vh; right: -12vw;
  opacity: 0.24;
  animation: drift-2 28s ease-in-out infinite alternate;
}
.orb-3 {
  width: 52vw; height: 42vw; min-width: 300px;
  background: radial-gradient(circle at 50% 50%, var(--brand-lime), transparent 70%);
  bottom: -18vw; left: 26vw;
  opacity: 0.16;
  animation: drift-3 34s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  to { transform: translate3d(14vw, 10vh, 0) scale(1.18); }
}
@keyframes drift-2 {
  to { transform: translate3d(-12vw, 14vh, 0) scale(0.85); }
}
@keyframes drift-3 {
  to { transform: translate3d(10vw, -12vh, 0) scale(1.22); }
}

/* rejilla técnica de fondo */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- 5. Cursor glow (solo desktop) ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px; height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 245, 140, 0.11), transparent 62%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- 6. Navegación ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand-lime), var(--brand), var(--brand-teal));
  z-index: 200;
  box-shadow: 0 0 12px rgba(86, 245, 140, 0.6);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 150;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 8, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(86, 245, 140, 0.45));
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(90deg) scale(1.08); }
.logo b { color: var(--brand); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  color: var(--fg-soft);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 16px; height: 2px;
  transform: translateX(-50%);
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--brand);
}

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menú móvil: composición propia, no un desktop encogido */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: linear-gradient(170deg, #06100c, #05080a 60%);
  padding: calc(var(--nav-h) + 2rem) var(--pad) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a.m-link {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(18px);
}
body.menu-open .mobile-menu a.m-link {
  animation: m-in 0.5s var(--ease) forwards;
}
.mobile-menu a.m-link:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu a.m-link:nth-child(2) { animation-delay: 0.14s; }
.mobile-menu a.m-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu a.m-link:nth-child(4) { animation-delay: 0.26s; }
.mobile-menu a.m-link:nth-child(5) { animation-delay: 0.32s; }
.mobile-menu a.m-link:nth-child(6) { animation-delay: 0.38s; }
@keyframes m-in { to { opacity: 1; transform: translateY(0); } }
.mobile-menu a.m-link span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.mobile-menu .m-foot {
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  gap: 0.7rem;
}

/* ---------- 7. Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.35s ease,
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(120deg, var(--brand-lime), var(--brand) 55%, var(--brand-teal));
  color: #04170d;
  box-shadow: 0 6px 26px -8px rgba(86, 245, 140, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(86, 245, 140, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--fg);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(86, 245, 140, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 26px -6px rgba(86, 245, 140, 0.45);
}

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand);
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- 8. Cards con borde luminoso ---------- */
.card {
  position: relative;
  padding: clamp(1.3rem, 1.9vw, 1.7rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
/* spotlight que sigue al cursor */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(86, 245, 140, 0.13),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* borde que se ilumina */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(86, 245, 140, 0.75),
    transparent 45%
  );
  -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 0.4s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.9); }
.card:hover::before, .card:hover::after { opacity: 1; }

.card-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  background: rgba(86, 245, 140, 0.09);
  border: 1px solid var(--line-strong);
  color: var(--brand);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.card-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  display: block;
  margin-bottom: 0.7rem;
}

/* Card de servicio destacada */
.svc-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  min-height: 100%;
}
.svc-card .tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.2rem 0 1.6rem; }
.svc-card .svc-foot { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.svc-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.svc-price small { font-size: 0.8rem; font-weight: 500; color: var(--fg-mute); display: block; letter-spacing: 0; }

.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-size: 0.76rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-soft);
}
.tag.on { border-color: var(--line-strong); color: var(--brand); background: rgba(86, 245, 140, 0.07); }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.85;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.1rem; }

/* revelado por líneas al cargar */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(105%);
  animation: line-up 1s var(--ease) forwards;
}
.reveal-line:nth-child(1) > span { animation-delay: 0.12s; }
.reveal-line:nth-child(2) > span { animation-delay: 0.24s; }
.reveal-line:nth-child(3) > span { animation-delay: 0.36s; }
@keyframes line-up { to { transform: translateY(0); } }

.fade-up-load {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.9s var(--ease) forwards;
}
.d1 { animation-delay: 0.5s; }
.d2 { animation-delay: 0.66s; }
.d3 { animation-delay: 0.82s; }
.d4 { animation-delay: 0.98s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.6rem; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--fg-mute);
}
.hero-note svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* Panel del hero: simulación de consulta a una IA */
.ai-panel {
  position: relative;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(12, 20, 16, 0.92), rgba(6, 10, 9, 0.88));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 1), 0 0 60px -30px rgba(86, 245, 140, 0.35);
  will-change: transform;
}
.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.dots { display: flex; gap: 5px; margin-right: 0.4rem; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.dots i:first-child { background: rgba(86, 245, 140, 0.5); }

.chat-line { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; }
.chat-avatar {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-mute);
}
.chat-line.ai .chat-avatar {
  background: rgba(86, 245, 140, 0.12);
  border-color: var(--line-strong);
  color: var(--brand);
}
.chat-body { font-size: 0.9rem; line-height: 1.55; color: var(--fg-soft); }
.chat-body .hl {
  color: var(--brand);
  font-weight: 600;
  background: rgba(86, 245, 140, 0.1);
  padding: 0.05em 0.35em;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
}
.typing-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--brand);
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.panel-badge {
  position: absolute;
  right: -10px; bottom: -14px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: #071410;
  border: 1px solid var(--line-strong);
  color: var(--brand);
  box-shadow: 0 0 30px -6px rgba(86, 245, 140, 0.6);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  z-index: 2;
}
.scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--brand), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- 10. Page hero (subpáginas) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.25rem, 5vw, 4.25rem));
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
}
.page-hero h1 { max-width: 16ch; }
.page-hero p.lead { max-width: 58ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--fg-mute);
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: 0.4; }

/* ---------- 11. Reveal on scroll ---------- */
/* Solo se oculta si hay JS para volver a mostrarlo. Sin JS el contenido
   se ve normal: nunca dejamos texto invisible por depender de un script. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.4s; }

/* ---------- 12. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-mute);
  white-space: nowrap;
}
.marquee-track span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 13. Stats ---------- */
.stat {
  padding: 1.4rem 0;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(120deg, var(--brand-lime), var(--brand-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 0.88rem; color: var(--fg-mute); }

/* ---------- 14. Proceso / timeline ---------- */
.steps { position: relative; display: grid; gap: 0; }
.steps::before {
  content: "";
  position: absolute;
  left: 21px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.3rem;
  padding-bottom: 2.2rem;
}
.step:last-child { padding-bottom: 0; }
.step-dot {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: #08110d;
  border: 1px solid var(--line-strong);
  color: var(--brand);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg), 0 0 22px -6px rgba(86, 245, 140, 0.7);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.94rem; margin: 0; }

/* ---------- 15. Comparativa SEO vs GEO ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.compare-col {
  padding: clamp(1.2rem, 1.9vw, 1.65rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.compare-col.geo {
  border-color: var(--line-strong);
  background: linear-gradient(165deg, rgba(86, 245, 140, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 60px -34px rgba(86, 245, 140, 0.9);
}
.compare-col h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; }
.compare-col ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.85rem; }
.compare-col li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--fg-soft);
  align-items: start;
}
.compare-col li svg { width: 18px; height: 18px; margin-top: 3px; }
.compare-col.seo li svg { color: var(--fg-mute); }
.compare-col.geo li svg { color: var(--brand); }

/* ---------- 16. Lista con checks ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
/* Sangria con marca posicionada, no rejilla: asi el contenido en linea
   (<strong>, <a>, texto suelto) fluye normal en vez de partirse en celdas. */
.check-list li {
  position: relative;
  padding-left: 2.05rem;
  font-size: 0.96rem;
  color: var(--fg-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(86, 245, 140, 0.12);
  border: 1px solid var(--line-strong);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356f58c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- 17. FAQ / Accordion ---------- */
.faq { display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.faq-item.open {
  border-color: var(--line-strong);
  background: rgba(86, 245, 140, 0.035);
  box-shadow: 0 0 40px -26px rgba(86, 245, 140, 0.9);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.faq-q i {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.faq-q i::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-q i::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-q i::after { transform: rotate(90deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 1.3rem 1.3rem;
  margin: 0;
  font-size: 0.96rem;
  max-width: 74ch;
}
.faq-a p + p { padding-top: 0.6rem; }

/* ---------- 18. Casos de uso ---------- */
.usecase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s ease, transform 0.35s var(--ease);
}
.usecase:hover { border-color: var(--line-strong); transform: translateX(4px); }
.usecase h4 { margin-bottom: 0.3rem; font-size: 1.02rem; }
.usecase p { margin: 0; font-size: 0.92rem; }

/* ---------- 19. Testimonios / notas honestas ---------- */
.quote {
  position: relative;
  padding: clamp(1.3rem, 1.9vw, 1.7rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.quote p { font-size: 1rem; color: var(--fg-soft); font-style: italic; }
.quote footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.quote-av {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(86, 245, 140, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--fg); font-weight: 600; display: block; }
.quote cite span { display: block; font-weight: 400; color: var(--fg-mute); font-size: 0.8rem; }

.disclaimer {
  font-size: 0.82rem;
  color: var(--fg-mute);
  border-left: 2px solid var(--line-strong);
  padding-left: 1rem;
  max-width: 70ch;
}

/* ---------- 20. CTA final ---------- */
.cta-box {
  position: relative;
  padding: clamp(1.8rem, 3.4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px circle at 50% 0%, rgba(86, 245, 140, 0.13), transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 90px -50px rgba(86, 245, 140, 1);
}
.cta-box h2 { max-width: 18ch; margin-inline: auto; }
.cta-box p { max-width: 54ch; margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.9rem;
}

/* ---------- 21. Formulario ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.42rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-soft);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8f85' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 17px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: #0a0f0d; color: var(--fg); }
.field input::placeholder, .field textarea::placeholder { color: #5f6f67; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(86, 245, 140, 0.05);
  box-shadow: 0 0 0 3px rgba(86, 245, 140, 0.14), 0 0 30px -12px rgba(86, 245, 140, 0.8);
}
.field.err input, .field.err select, .field.err textarea { border-color: #ff7a6b; }
.field .msg { font-size: 0.76rem; color: #ff9d92; min-height: 0; }
.field.err .msg { min-height: 1.1em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: 13px;
  font-size: 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgba(86, 245, 140, 0.07);
  color: var(--fg);
  display: none;
}
.form-status.show { display: block; animation: fade-up 0.5s var(--ease); }
.form-status.bad { border-color: rgba(255, 122, 107, 0.5); background: rgba(255, 122, 107, 0.08); }

.form-note { font-size: 0.78rem; color: var(--fg-mute); margin: 0; }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 22. Contacto / info ---------- */
.info-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.info-row:last-child { border-bottom: 0; }
.info-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(86, 245, 140, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--brand);
}
.info-ico svg { width: 20px; height: 20px; }
.info-row b { display: block; font-family: var(--font-display); font-size: 0.94rem; margin-bottom: 0.15rem; }
.info-row span, .info-row a { font-size: 0.92rem; color: var(--fg-soft); }
.info-row a:hover { color: var(--brand); }

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #08100d;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(0.35) invert(0.9) hue-rotate(150deg) contrast(0.92); }
.map-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  gap: 0.8rem;
}

/* ---------- 23. Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: rgba(0, 0, 0, 0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2.4rem;
}
.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { font-size: 0.9rem; color: var(--fg-soft); transition: color 0.25s ease, padding-left 0.25s ease; }
.footer a:hover { color: var(--brand); padding-left: 4px; }
.footer p { font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--fg-mute);
}

/* ---------- 24. Botón flotante WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 140;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #34e37b, #12a85a);
  color: #04170d;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, opacity 0.25s ease;
}
.wa-fab svg { width: 29px; height: 29px; }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 227, 123, 0.65);
  animation: ripple 2.6s var(--ease) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-fab:hover { transform: scale(1.09) translateY(-2px); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.9); }
.wa-fab .wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: #0a1512;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.wa-fab:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* ---------- 25. Chat IA flotante ---------- */
.chat-fab {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 140;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand-lime), var(--brand) 60%, var(--brand-teal));
  color: #04170d;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(86, 245, 140, 0.75);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, opacity 0.3s ease;
}
.chat-fab svg { width: 27px; height: 27px; }
.chat-fab:hover { transform: scale(1.09) translateY(-2px); }
.chat-fab .badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #ff5f52;
  border: 2px solid var(--bg);
  font-size: 0.55rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
body.chat-open .chat-fab { opacity: 0; pointer-events: none; }

/* Los flotantes ceden el paso a los botones principales.
   En móvil el CTA ocupa todo el ancho y el flotante queda encima:
   quien toca la esquina derecha del botón acaba en WhatsApp en vez
   de en la página de servicio. Mientras se pisan, el flotante se
   desvanece. Sólo cambia la opacidad, nunca la posición, para que
   al medirlo no entre en bucle de aparecer y desaparecer. */
.wa-fab.fab-yield,
.chat-fab.fab-yield {
  opacity: 0;
  pointer-events: none;
}

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 145;
  width: min(390px, calc(100vw - 40px));
  height: min(560px, calc(100svh - 140px));
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(170deg, #0a1310, #060b09);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 1), 0 0 70px -40px rgba(86, 245, 140, 0.7);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
body.chat-open .chat-panel { opacity: 1; transform: none; visibility: visible; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(86, 245, 140, 0.05);
  flex-shrink: 0;
}
.chat-head .ava {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(86, 245, 140, 0.13);
  border: 1px solid var(--line-strong);
  color: var(--brand);
  flex-shrink: 0;
}
.chat-head .ava svg { width: 19px; height: 19px; }
.chat-head b { font-family: var(--font-display); font-size: 0.95rem; display: block; line-height: 1.3; }
.chat-head small { font-size: 0.74rem; color: var(--brand); display: flex; align-items: center; gap: 0.3rem; }
.chat-head small::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 8px var(--brand);
}
.chat-close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--fg-soft);
  transition: color 0.25s, border-color 0.25s;
}
.chat-close:hover { color: var(--brand); border-color: var(--line-strong); }
.chat-close svg { width: 15px; height: 15px; }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.chat-log::-webkit-scrollbar { width: 6px; }
.chat-log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.msg {
  max-width: 86%;
  padding: 0.72rem 0.95rem;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: msg-in 0.4s var(--ease);
  word-wrap: break-word;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
.msg.bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--fg-soft);
}
.msg.me {
  align-self: flex-end;
  background: linear-gradient(130deg, var(--brand), var(--brand-deep));
  color: #04170d;
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
.msg strong { color: inherit; font-weight: 700; }
.msg a { color: var(--brand); text-decoration: underline; }
.msg.me a { color: #04170d; }
.msg.typing { display: flex; gap: 5px; padding: 0.9rem 1rem; }
.msg.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: bounce 1.3s ease-in-out infinite;
}
.msg.typing i:nth-child(2) { animation-delay: 0.18s; }
.msg.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.7rem;
  flex-shrink: 0;
}
.chip {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-soft);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.chip:hover { border-color: var(--line-strong); color: var(--brand); background: rgba(86, 245, 140, 0.07); }

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chat-form input {
  flex: 1;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  min-width: 0;
}
.chat-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(86, 245, 140, 0.12); }
.chat-send {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, var(--brand-lime), var(--brand));
  color: #04170d;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.chat-send:hover { transform: scale(1.08); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.chat-send svg { width: 17px; height: 17px; }
.chat-foot { padding: 0 1rem 0.7rem; font-size: 0.68rem; color: var(--fg-mute); text-align: center; }

/* ---------- 26. Responsive: composición móvil propia ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1.4rem);
    padding-bottom: 2.5rem;
    text-align: left;
  }
  /* En pantallas chicas el hero no debe obligar a scrollear de mas */
  .hero-grid { gap: 1.6rem; }
  .hero .lead { font-size: 1rem; }
  /* en móvil el panel va primero: el "wow" se ve sin scrollear */
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; width: 100%; }
  .ai-panel { padding: 1.05rem; }
  .panel-badge { right: 8px; bottom: -12px; font-size: 0.7rem; padding: 0.42rem 0.75rem; }
  .hero-canvas { opacity: 0.55; }
  .scroll-hint { display: none; }
  .hero-actions { margin: 1.3rem 0 1rem; gap: 0.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }

  .grid-2, .grid-3, .compare { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Cards de servicio: carrusel horizontal con snap en móvil */
  .snap-mobile {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    padding-bottom: 0.8rem;
    scrollbar-width: none;
  }
  .snap-mobile::-webkit-scrollbar { display: none; }
  .snap-mobile > * {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }

  .steps::before { left: 18px; }
  .step { grid-template-columns: 38px 1fr; gap: 1rem; }
  .step-dot { width: 38px; height: 38px; font-size: 0.82rem; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .stat { padding: 1rem 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cursor-glow { display: none; }

  /* Chat a pantalla completa en móvil */
  .chat-panel {
    right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100svh;
    border-radius: 0;
    border-left: 0; border-right: 0; border-bottom: 0;
    transform: translateY(100%);
  }
  body.chat-open .chat-panel { transform: none; }
  body.chat-open { overflow: hidden; }

  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .chat-fab { right: 16px; bottom: 80px; width: 54px; height: 54px; }
  .wa-fab .wa-tip { display: none; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .quote { padding: 1.2rem; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- 27. Accesibilidad / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .fade-up-load { opacity: 1; transform: none; }
  .orb { animation: none; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: #04170d;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }
