/* ============================================================
   Wagents — Landing
   Type:  Space Grotesk (display) · Manrope (text)
   Color: oklch, navy + electric blue + turquoise
   ============================================================ */

:root {
  /* Neutrals (cool-tinted) */
  --bg:        oklch(0.985 0.004 250);
  --bg-soft:   oklch(0.962 0.008 250);
  --bg-card:   oklch(1 0 0);
  --line:      oklch(0.90 0.012 255);
  --ink:       oklch(0.23 0.035 262);
  --ink-soft:  oklch(0.46 0.028 262);
  --ink-mute:  oklch(0.60 0.022 262);

  /* Dark surfaces */
  --navy-950:  oklch(0.18 0.045 264);
  --navy-900:  oklch(0.215 0.05 264);
  --navy-800:  oklch(0.27 0.052 264);
  --navy-700:  oklch(0.34 0.05 264);

  /* Brand accents (shared chroma/lightness, varied hue) */
  --blue:      oklch(0.62 0.17 255);
  --blue-br:   oklch(0.70 0.16 252);
  --blue-soft: oklch(0.92 0.055 255);
  --teal:      oklch(0.74 0.12 182);
  --teal-br:   oklch(0.82 0.13 178);
  --teal-soft: oklch(0.93 0.05 182);
  --wa:        oklch(0.72 0.16 152); /* whatsapp green */

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px oklch(0.4 0.05 264 / 0.05), 0 2px 8px oklch(0.4 0.05 264 / 0.05);
  --shadow:    0 4px 12px oklch(0.4 0.05 264 / 0.06), 0 12px 32px oklch(0.4 0.05 264 / 0.08);
  --shadow-lg: 0 8px 24px oklch(0.4 0.05 264 / 0.10), 0 24px 60px oklch(0.4 0.05 264 / 0.14);
  --glow-blue: 0 10px 40px oklch(0.62 0.17 255 / 0.35);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 132px); position: relative; width: 100%; max-width: 100%; overflow-x: clip; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section--center .section-head { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-card);
  white-space: nowrap;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.section--dark .eyebrow { background: oklch(1 0 0 / 0.05); border-color: oklch(1 0 0 / 0.14); color: var(--teal-br); }
.section--dark .eyebrow .dot { background: var(--teal-br); box-shadow: 0 0 0 4px oklch(0.74 0.12 182 / 0.18); }

.h2 { font-size: clamp(30px, 4.4vw, 50px); }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); margin-top: 18px; }
.section--dark .lead { color: oklch(0.84 0.02 255); }

.section--dark { background: var(--navy-900); color: oklch(0.95 0.01 255); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: oklch(0.98 0.01 255); }
.section--soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 100px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-br), var(--blue));
  color: #fff; box-shadow: var(--glow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px oklch(0.62 0.17 255 / 0.5); }
.btn-ghost { background: var(--bg-card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.section--dark .btn-ghost { background: oklch(1 0 0 / 0.06); color: #fff; border-color: oklch(1 0 0 / 0.18); }
.section--dark .btn-ghost:hover { border-color: var(--teal-br); color: var(--teal-br); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s, padding .3s;
  padding-block: 18px;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: oklch(0.985 0.004 250 / 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px oklch(0.4 0.05 264 / 0.05);
  padding-block: 12px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(140deg, var(--blue-br), var(--blue) 55%, var(--teal) 130%);
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: var(--glow-blue);
  position: relative; overflow: hidden;
}
.brand .mark span { position: relative; z-index: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-card); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: .3s; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: oklch(0.985 0.004 250 / 0.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: safe center; gap: 8px;
  padding: var(--pad);
  overflow-y: auto;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.5,0,.1,1), visibility 0s .4s;
}
.mobile-menu.open {
  visibility: visible;
  transform: translateY(0);
  transition: transform .4s cubic-bezier(.5,0,.1,1);
}
.mobile-menu a { font-family: "Space Grotesk", sans-serif; font-size: 28px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vw, 110px);
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--blue-soft), transparent 62%),
    radial-gradient(820px 560px at 8% 12%, var(--teal-soft), transparent 60%),
    var(--bg);
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.9; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero h1 { font-size: clamp(38px, 6.4vw, 72px); }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue) 10%, var(--teal) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: clamp(18px, 2vw, 22px); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 34px; color: var(--ink-mute); font-size: 14.5px; }
.hero-trust .item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-trust .check { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.hero-trust .check svg { width: 11px; height: 11px; }

/* Hero visual — floating device + chips */
.hero-visual { position: relative; min-height: 440px; }
.hero-stage { position: relative; width: 100%; height: 100%; min-height: 440px; }

.device {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(330px, 78%); background: var(--bg-card); border-radius: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 2;
}
.device-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.device-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.device-bar .url { margin-left: 8px; font-size: 11px; color: var(--ink-mute); font-family: "Space Grotesk", sans-serif; }
.device-body { padding: 16px; display: grid; gap: 11px; }
.dv-hero { height: 70px; border-radius: 12px; background: linear-gradient(120deg, var(--navy-900), var(--blue)); position: relative; overflow: hidden; }
.dv-hero::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 54%; height: 9px; border-radius: 5px; background: oklch(1 0 0 / 0.55); box-shadow: 0 16px 0 -2px oklch(1 0 0 / 0.3); }
.dv-row { height: 11px; border-radius: 6px; background: var(--bg-soft); }
.dv-row.s { width: 70%; }
.dv-cta { height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--teal-br), var(--teal)); width: 52%; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 11px 15px; border-radius: 14px; box-shadow: var(--shadow);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  will-change: transform;
}
.chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 17px; height: 17px; }
.chip small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-mute); margin-top: -2px; }
.ic-wa { background: oklch(0.72 0.16 152 / 0.14); color: var(--wa); }
.ic-form { background: var(--blue-soft); color: var(--blue); }
.ic-ai { background: var(--teal-soft); color: var(--teal); }
.ic-bolt { background: oklch(0.78 0.15 70 / 0.16); color: oklch(0.62 0.15 60); }

.chip-1 { top: 4%; left: -4%; }
.chip-2 { top: 26%; right: -6%; }
.chip-3 { bottom: 16%; left: -8%; }
.chip-4 { bottom: 2%; right: 2%; }
@media (max-width: 480px) {
  .chip { font-size: 12.5px; padding: 9px 12px; }
  .chip-1 { left: 0; } .chip-3 { left: -2%; }
}

/* Marquee logos */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-card); padding-block: 22px; overflow: hidden; }
.marquee-label { text-align: center; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; font-weight: 600; }
.marquee { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 17px; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 10px; }
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ============================================================
   Problema
   ============================================================ */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .prob-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prob-grid { grid-template-columns: 1fr; } }
.prob-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.prob-card .x { width: 42px; height: 42px; border-radius: 12px; background: oklch(0.7 0.13 25 / 0.12); color: oklch(0.6 0.16 25); display: grid; place-items: center; margin-bottom: 16px; }
.prob-card .x svg { width: 20px; height: 20px; }
.prob-card h3 { font-size: 18.5px; margin-bottom: 6px; }
.prob-card p { font-size: 15px; color: var(--ink-soft); }

.transform-banner {
  margin-top: 40px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  background: var(--navy-900); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); color: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
@media (max-width: 720px) { .transform-banner { grid-template-columns: 1fr; text-align: center; } }
.tb-state { display: grid; gap: 8px; }
.tb-state .tag { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.tb-state h3 { font-size: clamp(20px, 3vw, 27px); color: #fff; }
.tb-state p { font-size: 15px; color: oklch(0.82 0.02 255); }
.tb-state.before { opacity: 0.62; }
.tb-arrow { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-br), var(--teal)); display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--glow-blue); }
.tb-arrow svg { width: 24px; height: 24px; }
@media (max-width: 720px) { .tb-arrow { transform: rotate(90deg); margin-inline: auto; } }

/* ============================================================
   Solución — flow
   ============================================================ */
.flow {
  position: relative; margin-top: 8px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch;
}
@media (max-width: 880px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.flow-node {
  position: relative; z-index: 1;
  background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.13); border-radius: var(--r-lg);
  padding: 26px 22px; backdrop-filter: blur(6px);
  transition: transform .3s, border-color .3s, background .3s;
}
.flow-node:hover { transform: translateY(-4px); border-color: var(--teal-br); }
.flow-node .step-n { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600; color: var(--teal-br); letter-spacing: 0.08em; }
.flow-node .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin: 14px 0 16px; background: oklch(1 0 0 / 0.07); color: #fff; }
.flow-node .ic svg { width: 24px; height: 24px; }
.flow-node h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.flow-node p { font-size: 14.5px; color: oklch(0.82 0.02 255); }

/* ============================================================
   Beneficios
   ============================================================ */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .ben-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ben-grid { grid-template-columns: 1fr; } }
.ben-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.ben-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.ben-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ben-card:hover::before { transform: scaleX(1); }
.ben-card .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-soft); color: var(--blue); }
.ben-card:nth-child(even) .ic { background: var(--teal-soft); color: var(--teal); }
.ben-card .ic svg { width: 25px; height: 25px; }
.ben-card h3 { font-size: 19.5px; margin-bottom: 8px; }
.ben-card p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-inline: auto; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 920px) { .price-grid--3 { grid-template-columns: 1fr; max-width: 460px; } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.feat-social { font-weight: 600; color: var(--blue) !important; }
.price-card.featured .feat-social { color: var(--teal-br) !important; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s, border-color .35s; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  background: var(--navy-900); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-lg); transform: translateY(-6px) scale(1.02);
}
@media (max-width: 1080px) { .price-card.featured { transform: none; } .price-card.featured:hover { transform: translateY(-6px); } }
.price-card.featured h3, .price-card.featured .price .amt { color: #fff; }
.badge-rec {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: linear-gradient(135deg, var(--teal-br), var(--teal)); color: oklch(0.18 0.04 200);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
  padding: 7px 16px; border-radius: 100px; white-space: nowrap; box-shadow: var(--shadow);
}
.price-card .plan-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 19px; }
.price-card .plan-for { font-size: 13.5px; color: var(--ink-mute); margin-top: 4px; min-height: 38px; }
.price-card.featured .plan-for { color: oklch(0.82 0.02 255); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price .amt { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 38px; letter-spacing: -0.02em; }
.price .per { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.price-card.featured .price .per { color: oklch(0.8 0.02 255); }
.price .iva { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 18px; }
.price-card.featured .iva { color: oklch(0.75 0.02 255); }
.feat-list { list-style: none; display: grid; gap: 11px; margin: 18px 0 24px; flex: 1; }
.feat-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.price-card.featured .feat-list li { color: oklch(0.88 0.015 255); }
.feat-list .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; margin-top: 2px; }
.price-card.featured .feat-list .tick { background: oklch(0.74 0.12 182 / 0.22); color: var(--teal-br); }
.feat-list .tick svg { width: 10px; height: 10px; }
.price-foot { font-size: 13px; color: var(--ink-mute); text-align: center; margin-top: 28px; }

/* Featured plan — elegant pulse ring (motion-safe) */
.pricing-card.featured { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .pricing-card.featured::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 0;
    animation: featuredPulse 3.4s ease-out infinite;
  }
}
@keyframes featuredPulse {
  0% { box-shadow: 0 0 0 0 oklch(0.62 0.17 255 / 0.42); }
  70% { box-shadow: 0 0 0 15px oklch(0.62 0.17 255 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.62 0.17 255 / 0); }
}
.theme-dark .pricing-card.featured::after { animation-name: featuredPulseDark; }
@keyframes featuredPulseDark {
  0% { box-shadow: 0 0 0 0 oklch(0.82 0.16 214 / 0.5); }
  70% { box-shadow: 0 0 0 18px oklch(0.82 0.16 214 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.82 0.16 214 / 0); }
}

/* Section halos — slow parallax glows behind content */
.sec-halo {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  filter: blur(80px); opacity: 0.5; pointer-events: none; z-index: 0; will-change: transform;
}
.sec-halo.h-blue { background: radial-gradient(circle, var(--blue) 0%, transparent 70%); }
.sec-halo.h-teal { background: radial-gradient(circle, var(--teal) 0%, transparent 70%); }
.halo-a { top: -120px; right: -80px; }
.halo-b { bottom: -140px; left: -100px; opacity: 0.4; }
.theme-dark .sec-halo { opacity: 0.32; }
.section > .wrap { position: relative; z-index: 1; }

/* ============================================================
   Cómo funciona — timeline
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.tl-track { position: absolute; left: 27px; top: 18px; bottom: 18px; width: 3px; background: var(--line); border-radius: 3px; }
.tl-fill { position: absolute; inset: 0 auto 0 0; width: 100%; height: 0; background: linear-gradient(var(--blue), var(--teal)); border-radius: 3px; }
@media (max-width: 560px) { .tl-track { left: 21px; } }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-block: 22px; }
@media (max-width: 560px) { .tl-step { grid-template-columns: 44px 1fr; gap: 16px; } }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--line);
  display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 21px;
  color: var(--ink-mute); z-index: 2; transition: all .4s; flex: none;
}
@media (max-width: 560px) { .tl-num { width: 44px; height: 44px; font-size: 17px; } }
.tl-step.active .tl-num { background: linear-gradient(135deg, var(--blue-br), var(--blue)); color: #fff; border-color: transparent; box-shadow: var(--glow-blue); }
.tl-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .4s, box-shadow .4s; }
.tl-step.active .tl-card { box-shadow: var(--shadow); }
.tl-card h3 { font-size: 19px; margin-bottom: 5px; }
.tl-card p { font-size: 15px; color: var(--ink-soft); }

/* ============================================================
   Extras
   ============================================================ */
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .extras-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .extras-grid { grid-template-columns: 1fr; } }

/* ---- Module card ---- */
.xcard {
  display: flex; flex-direction: column; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.xcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.xcard--wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .xcard--wide { grid-column: 1 / -1; } }

.xscene {
  position: relative; height: 152px; overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--bg-soft), var(--bg-card) 75%);
  border-bottom: 1px solid var(--line);
}
.xscene::before { /* subtle tech grid */
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 80%);
}
.xfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.xlabel { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.xprice { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; color: var(--blue); white-space: nowrap; }

/* ===== 1. Agente IA ===== */
.xs-ai { padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; }
.ai-brain { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; z-index: 2; }
.ai-brain svg { width: 18px; height: 18px; }
.ai-b { position: relative; z-index: 1; max-width: 78%; font-size: 12px; line-height: 1.35; padding: 7px 11px; border-radius: 12px; }
.ai-q { align-self: flex-end; background: oklch(0.72 0.16 152); color: #fff; border-bottom-right-radius: 3px; }
.ai-r { align-self: flex-start; background: var(--blue-soft); color: var(--blue); border-bottom-left-radius: 3px; font-weight: 600; }
.ai-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 9px 11px; background: var(--bg-soft); border: 1px solid var(--line); }
.ai-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-mute); }
.ai-sent { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 4px 9px; border-radius: 100px; z-index: 2; }
.ai-sent svg { width: 9px; height: 9px; }

/* ===== 2. Formulario → Excel/email ===== */
.xs-form { }
.ff-card { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 38%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 7px; box-shadow: var(--shadow-sm); z-index: 2; }
.ff-row { height: 8px; border-radius: 4px; background: var(--bg-soft); }
.ff-row.s { width: 64%; }
.ff-send { font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue-br), var(--blue)); border-radius: 6px; padding: 5px 0; text-align: center; font-family: "Space Grotesk", sans-serif; }
.ff-wire { position: absolute; left: 42%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform-origin: left; border-radius: 2px; z-index: 1; opacity: 0.5; }
.ff-wire-1 { top: 38%; width: 34%; transform: rotate(-12deg); }
.ff-wire-2 { top: 58%; width: 34%; transform: rotate(11deg); }
.ff-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); z-index: 3; }
.ff-dot-1 { left: 42%; top: calc(38% - 3px); }
.ff-dot-2 { left: 42%; top: calc(58% - 3px); }
.ff-target { position: absolute; right: 16px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.ff-mail { top: 24px; width: 42px; height: 36px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); }
.ff-mail svg { width: 22px; height: 22px; }
.ff-badge { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: oklch(0.65 0.2 25); border: 2px solid var(--bg-card); }
.ff-sheet { bottom: 22px; width: 50px; height: 40px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--line); flex-direction: column; gap: 3px; padding: 6px; }
.ff-sheet .sr { width: 100%; height: 6px; border-radius: 2px; background: var(--bg-soft); }
.ff-sheet .sr.new { background: var(--teal); }

/* ===== 3. Reservas ===== */
.xs-cal { padding: 0 18px; }
.cal { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 130px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 9px; box-shadow: var(--shadow-sm); z-index: 1; }
.cal-head { font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 7px; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cal-grid span { aspect-ratio: 1; border-radius: 4px; background: var(--bg-soft); }
.cal-grid span.pick { display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--ink-mute); }
.cal-grid span.pick.on { background: linear-gradient(135deg, var(--blue-br), var(--blue)); color: #fff; }
.cal-slot { position: absolute; right: 18px; top: 42px; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 8px; z-index: 2; }
.cal-ok { position: absolute; right: 18px; bottom: 42px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 6px 11px; border-radius: 100px; z-index: 2; }
.cal-ok svg { width: 11px; height: 11px; }

/* ===== 4. Reseñas ===== */
.xs-rev { display: grid; place-items: center; }
.rev-card { width: 74%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); z-index: 1; }
.rev-stars { display: flex; gap: 4px; margin-bottom: 9px; }
.rev-stars svg { width: 19px; height: 19px; color: oklch(0.8 0.16 80); }
.rev-msg { font-size: 12.5px; color: var(--ink-soft); font-style: italic; }
.rev-note { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); padding: 6px 11px; border-radius: 100px; box-shadow: var(--shadow); z-index: 2; }
.rev-note b { color: oklch(0.72 0.16 80); }

/* ===== 5. Cambios / editor ===== */
.xs-edit { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 0 20px; }
.ed-mock { display: grid; gap: 8px; z-index: 1; }
.ed-block { height: 13px; border-radius: 5px; background: var(--bg-soft); }
.ed-block.ed-2 { position: relative; }
.ed-block.s { width: 58%; }
.ed-pencil { position: absolute; left: 38px; top: 60px; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; z-index: 3; box-shadow: var(--shadow); }
.ed-pencil svg { width: 14px; height: 14px; }
.ed-ok { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 5px 10px; border-radius: 100px; z-index: 2; }
.ed-ok svg { width: 10px; height: 10px; }
.ed-block.sel-on { outline: 2px solid var(--blue); outline-offset: 2px; background: var(--blue-soft); }

/* ===== 6. Landing adicional ===== */
.xs-land { }
.ld { position: absolute; width: 42%; border-radius: 9px; background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 10px; display: grid; gap: 6px; align-content: start; }
.ld-base { left: 18px; top: 50%; transform: translateY(-50%); z-index: 1; opacity: 0.75; }
.ld-new { right: 18px; top: 50%; transform: translateY(-50%); z-index: 2; }
.ld-bar { height: 22px; border-radius: 6px; background: linear-gradient(120deg, var(--navy-800), var(--blue)); }
.ld-bar.alt { background: linear-gradient(120deg, var(--teal), var(--blue)); }
.ld-line { height: 6px; border-radius: 3px; background: var(--bg-soft); }
.ld-line.s { width: 60%; }
.ld-cta { height: 16px; width: 52%; border-radius: 5px; background: linear-gradient(135deg, var(--teal-br), var(--teal)); display: grid; place-items: center; font-size: 8px; font-weight: 800; color: oklch(0.2 0.04 200); font-family: "Space Grotesk", sans-serif; }
.ld-tag { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 4px 10px; border-radius: 100px; z-index: 3; }

/* ===== 7. Automatización flow ===== */
.xs-auto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.fl-row { display: flex; align-items: center; gap: 6px; z-index: 1; flex-wrap: wrap; justify-content: center; }
.fl-n { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; }
.fl-n > svg { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 11px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink-mute); transition: none; }
.fl-n small { font-size: 10.5px; font-weight: 600; color: var(--ink-mute); }
.fl-n.lit > svg { background: var(--blue-soft); color: var(--blue); border-color: transparent; box-shadow: 0 0 18px oklch(0.62 0.17 255 / 0.3); }
.fl-n.lit small { color: var(--ink); }
.fl-link { width: 22px; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.fl-link.lit { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.fl-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 5px 13px; border-radius: 100px; }
@media (max-width: 600px) { .fl-n { width: 56px; } .fl-n small { font-size: 9.5px; } }

/* ---- Dark / neon overrides for module scenes ---- */
.theme-dark .xcard:hover { border-color: var(--blue); box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.4), 0 0 30px oklch(0.82 0.16 214 / 0.22); }
.theme-dark .xscene { background: radial-gradient(120% 100% at 50% 0%, oklch(0.2 0.045 284), oklch(0.17 0.04 284) 75%); }
.theme-dark .ff-card, .theme-dark .cal, .theme-dark .rev-card, .theme-dark .ld, .theme-dark .ff-sheet, .theme-dark .fl-n > svg { background: oklch(0.2 0.045 284); }
.theme-dark .ai-q, .theme-dark .ff-dot { box-shadow: 0 0 14px oklch(0.82 0.21 150 / 0.5); }
.theme-dark .fl-n.lit > svg { box-shadow: 0 0 20px oklch(0.82 0.16 214 / 0.45); }
.theme-dark .ld-cta { box-shadow: 0 0 16px oklch(0.72 0.25 348 / 0.4); }

/* ---- Reduced motion: scenes show final/static state ---- */
@media (prefers-reduced-motion: reduce) {
  .fl-n, .fl-link { }
}

/* ============================================================
   Ejemplos animados por plan
   ============================================================ */
.example {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding-block: clamp(34px, 5vw, 58px);
}
.example + .example { border-top: 1px solid oklch(1 0 0 / 0.08); }
.example.ex--rev .ex-copy { order: 2; }
@media (max-width: 860px) {
  .example, .example.ex--rev .ex-copy { grid-template-columns: 1fr; order: 0; }
  .example { gap: 28px; }
  .ex-mock { order: -1; }
}
.ex-tag {
  display: block;
  font-family: "Space Grotesk", sans-serif; font-size: 13px; letter-spacing: 0.04em;
  color: var(--teal-br); margin-bottom: 14px;
}
.ex-tag b { color: oklch(0.98 0.01 255); font-weight: 600; }
.ex-copy h3 { font-size: clamp(22px, 2.8vw, 30px); color: #fff; margin-bottom: 12px; }
.ex-copy > p { color: oklch(0.82 0.02 255); font-size: 16px; max-width: 460px; }
.ex-points { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.ex-points li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: oklch(0.88 0.015 255); font-weight: 500; }
.ex-points .d { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-br), var(--blue-br)); flex: none; box-shadow: 0 0 10px oklch(0.74 0.12 182 / 0.6); }

.ex-mock { display: grid; place-items: center; min-height: 300px; }

/* ---- Shared device chrome inside mocks ---- */
.browser, .phone, .auto {
  background: oklch(0.22 0.04 264); border: 1px solid oklch(1 0 0 / 0.12); border-radius: 18px;
  box-shadow: 0 20px 60px oklch(0.1 0.03 264 / 0.5); overflow: hidden; width: 100%;
}

/* ===== Mock 1 — browser transform ===== */
.browser { max-width: 440px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: oklch(0.27 0.045 264); border-bottom: 1px solid oklch(1 0 0 / 0.08); }
.browser-bar .bd { width: 9px; height: 9px; border-radius: 50%; background: oklch(1 0 0 / 0.25); }
.browser-bar .burl { margin-left: 10px; font-size: 11.5px; color: oklch(0.8 0.02 255); font-family: "Space Grotesk", sans-serif; }
.browser-body { position: relative; height: 250px; }
.m1-old, .m1-new { position: absolute; inset: 0; padding: 18px; }
.m1-old { display: flex; flex-direction: column; gap: 11px; }
.old-tag { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; color: oklch(0.7 0.1 40); background: oklch(0.7 0.1 40 / 0.15); padding: 4px 8px; border-radius: 6px; font-family: "Space Grotesk", sans-serif; }
.oldbar { height: 13px; border-radius: 3px; background: oklch(0.45 0.02 60); opacity: 0.7; }
.oldbar.a { width: 60%; transform: rotate(-1deg); }
.oldbar.b { width: 90%; height: 26px; background: oklch(0.4 0.03 40); }
.oldbar.c { width: 75%; transform: rotate(0.6deg); }
.oldbar.d { width: 84%; }
.oldbar.e { width: 50%; height: 22px; transform: rotate(-0.8deg); }
.m1-new { display: flex; flex-direction: column; gap: 12px; opacity: 0; }
.nv-hero { height: 74px; border-radius: 12px; background: linear-gradient(120deg, var(--navy-800), var(--blue)); display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 14px; }
.nv-h-line { height: 9px; width: 60%; border-radius: 5px; background: oklch(1 0 0 / 0.7); }
.nv-h-line.s { width: 38%; height: 7px; background: oklch(1 0 0 / 0.4); }
.nv-rows { display: grid; gap: 8px; }
.nv-rows span { height: 9px; border-radius: 5px; background: oklch(1 0 0 / 0.14); }
.nv-rows span.s { width: 64%; }
.nv-actions { display: flex; gap: 10px; margin-top: 2px; }
.nv-form, .nv-wa { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 9px 13px; border-radius: 9px; font-family: "Space Grotesk", sans-serif; }
.nv-form svg, .nv-wa svg { width: 14px; height: 14px; }
.nv-form { background: var(--blue-soft); color: var(--blue); }
.nv-wa { background: oklch(0.72 0.16 152); color: #fff; }

/* ===== Mock 2 — phone chat ===== */
.phone { max-width: 290px; border-radius: 30px; padding: 12px 12px 16px; }
.phone-notch { width: 90px; height: 5px; border-radius: 5px; background: oklch(1 0 0 / 0.2); margin: 2px auto 10px; }
.phone-screen { background: oklch(0.17 0.035 264); border-radius: 20px; padding: 14px; min-height: 340px; display: flex; flex-direction: column; gap: 10px; }
.m2-src { display: inline-flex; align-self: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(120deg, oklch(0.6 0.2 320), oklch(0.65 0.2 25)); padding: 7px 13px; border-radius: 100px; opacity: 0; }
.m2-src .src-ic svg { width: 16px; height: 16px; }
.chat { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; opacity: 0; }
.bubble.in { align-self: flex-end; background: oklch(0.72 0.16 152); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: oklch(0.27 0.045 264); color: oklch(0.92 0.01 255); border-bottom-left-radius: 4px; }
.bubble.typing { display: inline-flex; gap: 4px; padding: 11px 14px; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.7 0.02 255); display: inline-block; }
.m2-data { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: oklch(0.88 0.01 255); background: oklch(0.74 0.12 182 / 0.14); border: 1px solid oklch(0.74 0.12 182 / 0.4); padding: 8px 11px; border-radius: 10px; opacity: 0; }
.m2-data b { color: #fff; }
.m2-data .dot-ok { width: 17px; height: 17px; border-radius: 50%; background: var(--teal); color: oklch(0.18 0.04 200); display: grid; place-items: center; flex: none; }
.m2-data .dot-ok svg { width: 10px; height: 10px; }
.m2-derive { display: flex; gap: 8px; justify-content: center; }
.m2-derive .der { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 9px; opacity: 0; font-family: "Space Grotesk", sans-serif; }
.m2-derive .der svg { width: 14px; height: 14px; }
.m2-derive .wa { background: oklch(0.72 0.16 152); color: #fff; }
.m2-derive .mail { background: var(--blue-soft); color: var(--blue); }

/* ===== Mock 3 — automation fan-out ===== */
.auto { max-width: 460px; background: transparent; border: none; box-shadow: none; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; position: relative; }
.auto-trigger { position: relative; display: flex; align-items: center; gap: 11px; background: oklch(0.22 0.04 264); border: 1px solid oklch(0.82 0.13 178 / 0.4); border-radius: 14px; padding: 16px 16px; box-shadow: 0 0 0 1px oklch(0.82 0.13 178 / 0.15); }
.auto-trigger .at-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.auto-trigger .at-ic svg { width: 20px; height: 20px; }
.auto-trigger b { color: #fff; font-size: 14px; display: block; }
.auto-trigger small { color: oklch(0.78 0.02 255); font-size: 11.5px; }
.at-pulse { position: absolute; inset: -1px; border-radius: 14px; border: 2px solid var(--teal-br); opacity: 0; pointer-events: none; }
.auto-svg { display: none; }
.auto-outs { display: grid; gap: 9px; }
.auto-out { display: flex; align-items: center; gap: 10px; background: oklch(0.22 0.04 264); border: 1px solid oklch(1 0 0 / 0.1); border-radius: 11px; padding: 10px 12px; opacity: 0.4; transition: none; }
.auto-out.lit { opacity: 1; border-color: oklch(0.82 0.13 178 / 0.55); box-shadow: 0 0 22px oklch(0.74 0.12 182 / 0.22); }
.auto-out .ao-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.auto-out .ao-ic svg { width: 17px; height: 17px; }
.auto-out b { color: #fff; font-size: 13px; display: block; }
.auto-out small { color: oklch(0.76 0.02 255); font-size: 11px; }
.ao-ic.mail { background: var(--blue-soft); color: var(--blue); }
.ao-ic.crm { background: oklch(0.74 0.12 182 / 0.18); color: var(--teal); }
.ao-ic.bell { background: oklch(0.78 0.15 70 / 0.18); color: oklch(0.7 0.15 65); }
.ao-ic.star { background: oklch(0.72 0.18 320 / 0.16); color: oklch(0.7 0.2 330); }
@media (max-width: 420px) { .auto { grid-template-columns: 1fr; } }

/* Examples — neon theme overrides */
.theme-dark .browser, .theme-dark .phone, .theme-dark .auto-trigger, .theme-dark .auto-out {
  background: oklch(0.17 0.04 284); border-color: oklch(0.82 0.16 214 / 0.28);
}
.theme-dark .auto { background: transparent; border: none; }
.theme-dark .browser { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.2), 0 0 40px oklch(0.82 0.16 214 / 0.18); }
.theme-dark .phone { box-shadow: 0 0 0 1px oklch(0.72 0.25 348 / 0.25), 0 0 40px oklch(0.72 0.25 348 / 0.18); }
.theme-dark .browser-bar { background: oklch(0.2 0.045 284); }
.theme-dark .phone-screen { background: oklch(0.13 0.035 284); }
.theme-dark .bubble.bot, .theme-dark .auto-trigger .at-ic { box-shadow: none; }
.theme-dark .auto-out.lit { border-color: oklch(0.82 0.16 214 / 0.6); box-shadow: 0 0 26px oklch(0.82 0.16 214 / 0.3); }
.theme-dark .nv-wa, .theme-dark .m2-derive .wa, .theme-dark .bubble.in { box-shadow: 0 0 18px oklch(0.82 0.21 150 / 0.45); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; text-align: left; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 17.5px; color: var(--ink); }
.faq-q .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: transform .35s, background .25s, color .25s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-q .ico svg { width: 15px; height: 15px; }
.faq-a { height: 0; overflow: hidden; }
.no-js .faq-a, .faq-item.open .faq-a { height: auto; }
.faq-a-inner { padding: 0 24px 24px; color: var(--ink-soft); font-size: 15.5px; }

/* FAQ pega con el CTA final: sin colchón extra entre ambas secciones */
#faq { padding-bottom: clamp(32px, 4vw, 56px); }

/* ============================================================
   Campaña de apertura
   ============================================================ */
/* --- Barra superior promocional (dentro del header fijo) --- */
.header { padding-block: 0; }
.header .nav { padding-block: 18px; }
.header.scrolled { padding-block: 0; }
.header.scrolled .nav { padding-block: 12px; }
.promo-bar {
  background: linear-gradient(90deg, var(--navy-900) -10%, var(--blue) 55%, var(--teal) 135%);
  color: #fff;
}
.promo-bar-in {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding-block: 8px; min-width: 0; font-size: 13.5px;
}
.promo-badge {
  flex: none; background: #fff; color: var(--blue);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
}
.promo-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.promo-text b { font-weight: 700; }
.promo-link {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px;
  color: #fff; border-bottom: 1.5px solid oklch(1 0 0 / 0.55); padding-bottom: 1px;
  transition: border-color .2s;
}
.promo-link:hover { border-color: #fff; }
.promo-link svg { width: 13px; height: 13px; }
@media (max-width: 600px) {
  .promo-bar-in { gap: 8px; padding-block: 7px; font-size: 12.5px; }
  .promo-badge { display: none; }
}

/* --- Badge promo en el header --- */
.hdr-promo {
  flex: none; display: inline-flex; align-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px;
  color: var(--blue); background: var(--blue-soft);
  padding: 7px 13px; border-radius: 100px; white-space: nowrap;
  transition: transform .2s;
}
.hdr-promo:hover { transform: translateY(-1px); }
@media (max-width: 1060px) { .nav .hdr-promo { display: none; } }
.hdr-promo--menu { display: inline-flex; align-self: flex-start; font-size: 15px; border-bottom: none !important; }

/* --- Bloque promo del hero --- */
.hero-promo {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow-sm);
  font-size: 14px; color: var(--ink-soft); max-width: 560px;
}
.hero-promo b { color: var(--ink); }
.hp-badge {
  flex: none; background: linear-gradient(135deg, var(--blue-br), var(--teal));
  color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 12.5px;
  padding: 5px 11px; border-radius: 100px; box-shadow: 0 4px 14px oklch(0.62 0.17 255 / 0.35);
}
.hp-text { min-width: 0; }

/* --- Tarjetas de precio: campaña --- */
.badge-disc {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: linear-gradient(135deg, var(--blue-br), var(--teal));
  color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 12px;
  padding: 5px 11px; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 4px 14px oklch(0.62 0.17 255 / 0.3);
}
.price { flex-wrap: wrap; row-gap: 2px; }
.amt-old {
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16px;
  color: var(--ink-mute); text-decoration: line-through;
  text-decoration-color: oklch(0.6 0.16 25 / 0.7); text-decoration-thickness: 2px;
  margin-left: 10px; align-self: center;
}
.price-card.featured .amt-old { color: oklch(0.7 0.02 255); }
.apertura-tag { color: var(--teal); font-weight: 700; }
.price-card.featured .apertura-tag { color: var(--teal-br); }
.promo-note { font-size: 12.5px; color: var(--ink-mute); margin: 10px 0 2px; }
.price-card.featured .promo-note { color: oklch(0.76 0.02 255); }
/* brillo sutil del precio de campaña */
@media (prefers-reduced-motion: no-preference) {
  .price .amt { animation: priceGlow 3.8s ease-in-out infinite; }
  @keyframes priceGlow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 16px oklch(0.62 0.17 255 / 0.3); }
  }
}

/* --- Modo oscuro neón --- */
.theme-dark .promo-bar { background: linear-gradient(90deg, oklch(0.3 0.1 284), oklch(0.5 0.18 214) 60%, oklch(0.5 0.2 348) 140%); }
.theme-dark .promo-badge { color: oklch(0.4 0.16 214); }
.theme-dark .hdr-promo { background: oklch(0.82 0.16 214 / 0.14); color: oklch(0.82 0.16 214); }
.theme-dark .hero-promo { background: oklch(0.2 0.045 284); border-color: oklch(0.82 0.16 214 / 0.3); }
.theme-dark .hp-badge, .theme-dark .badge-disc {
  background: linear-gradient(135deg, oklch(0.65 0.18 214), oklch(0.62 0.22 348));
  box-shadow: 0 0 18px oklch(0.72 0.25 348 / 0.4);
}
.theme-dark .price .amt { animation-name: priceGlowDark; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes priceGlowDark {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 18px oklch(0.82 0.16 214 / 0.45); }
  }
}
@media (max-width: 430px) {
  .badge-disc { top: 12px; right: 12px; font-size: 11px; padding: 4px 9px; }
  .hero-promo { font-size: 13px; gap: 9px; padding: 9px 12px; }
}

/* ============================================================
   CTA final
   ============================================================ */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: #fff; text-align: center;
  border-radius: clamp(24px, 4vw, 40px); margin: 0 var(--pad);
  padding: clamp(56px, 9vw, 110px) var(--pad);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px 460px at 50% 120%, var(--blue) -10%, transparent 60%), radial-gradient(600px 400px at 50% -20%, oklch(0.4 0.1 200) 0%, transparent 60%); opacity: 0.6; pointer-events: none; }
/* Decorative floating tags — corners only, behind content, never over text */
.cta-converge { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cta-converge .cc {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.13); backdrop-filter: blur(4px);
  padding: 8px 13px; border-radius: 100px; font-size: 13px; font-weight: 600; color: oklch(1 0 0 / 0.78); white-space: nowrap;
  opacity: 0.55; will-change: transform, opacity;
}
.cta-converge .cc svg { width: 15px; height: 15px; }
.cc-tl { top: 8%; left: 5%; }
.cc-tr { top: 12%; right: 5%; }
.cc-bl { bottom: 12%; left: 6%; }
.cc-br { bottom: 9%; right: 5%; }
.cta-content { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(28px, 5vw, 54px); color: #fff; max-width: 16ch; margin-inline: auto; }
.cta p { font-size: clamp(16px, 2vw, 20px); color: oklch(0.85 0.02 255); max-width: 600px; margin: 20px auto 36px; }
.cta .btn-primary { background: #fff; color: var(--navy-950); box-shadow: 0 14px 50px oklch(1 0 0 / 0.25); }
.cta .btn-primary:hover { box-shadow: 0 18px 60px oklch(1 0 0 / 0.4); }
.cta-mini { margin-top: 22px; font-size: 14px; color: oklch(0.78 0.02 255); }

/* Tablet: pull tags tighter to the corners so they never near the text */
@media (max-width: 1024px) {
  .cta-converge .cc { font-size: 12px; padding: 6px 11px; opacity: 0.4; }
  .cc-tl, .cc-bl { left: 2%; }
  .cc-tr, .cc-br { right: 2%; }
}
/* Mobile: hide decorative tags entirely (no visual noise / no overflow) */
@media (max-width: 768px) {
  .cta-converge { display: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 72px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 16px; }
.footer .blurb { color: var(--ink-soft); font-size: 15px; max-width: 300px; }
.footer h4 { font-family: "Space Grotesk", sans-serif; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.footer ul a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 13.5px; }

/* Floating WhatsApp — apilado ENCIMA de la burbuja del chatbot
   (Botpress ocupa la esquina inferior derecha) */
.wa-float {
  position: fixed; right: 24px; bottom: 100px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 30px oklch(0.72 0.16 152 / 0.5);
  transition: transform .25s; opacity: 0; transform: scale(0.6) translateY(10px);
}
.wa-float.show { opacity: 1; transform: scale(1) translateY(0); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: 96px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ---------- Reveal base (GSAP-driven) ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.is-ready .reveal { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .chip, .cta-converge { transform: none !important; }
}
/* If JS fails, never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Header tools — currency selector + theme toggle
   ============================================================ */
.hdr-tools { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-card);
  display: grid; place-items: center; color: var(--ink-soft);
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
}
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
.theme-dark .theme-toggle .sun { display: none; }
.theme-dark .theme-toggle .moon { display: block; }

.cur-select { position: relative; }
.cur-btn {
  display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-card);
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14px; color: var(--ink);
  transition: border-color .25s, color .25s, background .25s;
}
.cur-btn:hover { border-color: var(--blue); }
.cur-btn .coin { width: 17px; height: 17px; color: var(--blue); }
.cur-btn .chev { width: 13px; height: 13px; color: var(--ink-mute); transition: transform .25s; }
.cur-select.open .cur-btn .chev { transform: rotate(180deg); }

.cur-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; list-style: none; display: grid; gap: 2px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top right;
  transition: opacity .2s, visibility .2s, transform .2s;
}
.cur-select.open .cur-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cur-menu li {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .15s, color .15s;
}
.cur-menu li:hover { background: var(--bg-soft); }
.cur-menu li.active { background: var(--blue-soft); color: var(--blue); }
.cur-menu li b { width: 28px; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--blue); }
.cur-menu li.active b { color: var(--blue); }
.cur-menu li span { margin-left: auto; font-size: 11.5px; color: var(--ink-mute); font-weight: 700; letter-spacing: 0.04em; }

@media (max-width: 880px) {
  .nav-cta .btn { display: none; }
}
@media (max-width: 420px) {
  .brand { font-size: 17px; }
  .brand .mark { width: 30px; height: 30px; }
  .cur-btn { padding: 0 9px; gap: 5px; }
  .cur-btn .coin { display: none; }
  .hdr-tools { gap: 6px; }
}

/* ============================================================
   DARK MODE — neon / cyberpunk
   Re-themes the whole site through variable overrides.
   Theme switch is instant: transitioning background/border/color
   that derive from CSS variables triggers a Chrome bug that freezes
   the interpolated value, so we keep the swap immediate. Per-component
   :hover transitions are unaffected and still animate.
   ============================================================ */
.theme-dark {
  --bg:        oklch(0.16 0.035 278);
  --bg-soft:   oklch(0.19 0.042 282);
  --bg-card:   oklch(0.215 0.046 281);
  --line:      oklch(0.62 0.10 280 / 0.30);
  --ink:       oklch(0.97 0.02 220);
  --ink-soft:  oklch(0.80 0.045 250);
  --ink-mute:  oklch(0.66 0.055 262);

  --navy-950:  oklch(0.115 0.03 282);
  --navy-900:  oklch(0.135 0.034 283);
  --navy-800:  oklch(0.20 0.045 282);
  --navy-700:  oklch(0.27 0.05 282);

  --blue:      oklch(0.82 0.16 214);     /* neon cyan */
  --blue-br:   oklch(0.90 0.15 200);
  --blue-soft: oklch(0.82 0.16 214 / 0.16);
  --teal:      oklch(0.72 0.25 348);     /* neon magenta */
  --teal-br:   oklch(0.80 0.23 345);
  --teal-soft: oklch(0.72 0.25 348 / 0.18);
  --wa:        oklch(0.82 0.21 150);     /* neon green */

  --shadow-sm: 0 0 0 1px oklch(0.6 0.1 285 / 0.16);
  --shadow:    0 10px 34px oklch(0.04 0.03 280 / 0.7);
  --shadow-lg: 0 16px 54px oklch(0.02 0.02 280 / 0.8);
  --glow-blue: 0 0 0 1px oklch(0.82 0.16 214 / 0.55), 0 8px 34px oklch(0.82 0.16 214 / 0.5);
  color-scheme: dark;
}

/* Backdrop: deep space + neon glows + grid */
.theme-dark body, body.theme-dark {
  background:
    radial-gradient(900px 620px at 82% -6%, oklch(0.82 0.16 214 / 0.10), transparent 60%),
    radial-gradient(820px 600px at 2% 8%, oklch(0.72 0.25 348 / 0.10), transparent 60%),
    var(--bg);
}
.theme-dark body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(oklch(0.7 0.12 280 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.7 0.12 280 / 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 16%, black, transparent 78%);
  mask-image: radial-gradient(circle at 50% 16%, black, transparent 78%);
}

/* Neon glow on big type */
.theme-dark h1, .theme-dark .h2, .theme-dark .cta h2 { text-shadow: 0 0 32px oklch(0.82 0.16 214 / 0.22); }
.theme-dark .hero h1 .grad { text-shadow: none; filter: drop-shadow(0 0 22px oklch(0.72 0.25 348 / 0.4)); }

/* Hero glows stronger */
.theme-dark .hero {
  background:
    radial-gradient(1100px 640px at 78% -8%, oklch(0.82 0.16 214 / 0.16), transparent 62%),
    radial-gradient(840px 580px at 6% 12%, oklch(0.72 0.25 348 / 0.15), transparent 60%),
    var(--bg);
}

/* Header glass tint */
.theme-dark .header.scrolled {
  background: oklch(0.16 0.035 278 / 0.72);
  border-bottom-color: oklch(0.62 0.12 280 / 0.28);
}

/* Brand mark neon */
.theme-dark .brand .mark { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.5), 0 0 22px oklch(0.82 0.16 214 / 0.5); }

/* Cards — neon edges + glow on hover */
.theme-dark .prob-card,
.theme-dark .ben-card,
.theme-dark .price-card,
.theme-dark .extra,
.theme-dark .tl-card,
.theme-dark .faq-item,
.theme-dark .device,
.theme-dark .chip,
.theme-dark .cur-btn,
.theme-dark .cur-menu,
.theme-dark .theme-toggle { border-color: oklch(0.62 0.10 280 / 0.30); }

.theme-dark .ben-card:hover { border-color: var(--blue); box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.5), 0 0 34px oklch(0.82 0.16 214 / 0.28); }
.theme-dark .prob-card:hover { border-color: oklch(0.72 0.25 348 / 0.6); box-shadow: 0 0 0 1px oklch(0.72 0.25 348 / 0.5), 0 0 30px oklch(0.72 0.25 348 / 0.25); }
.theme-dark .extra:hover { border-color: var(--blue); box-shadow: 0 0 26px oklch(0.82 0.16 214 / 0.22); }
.theme-dark .price-card:hover { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.4), 0 0 36px oklch(0.82 0.16 214 / 0.22); }

/* Featured price card — full neon */
.theme-dark .price-card.featured {
  background: oklch(0.17 0.04 284);
  border: 1px solid oklch(0.82 0.16 214 / 0.55);
  box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.4), 0 0 50px oklch(0.82 0.16 214 / 0.30), inset 0 0 40px oklch(0.82 0.16 214 / 0.04);
}
.theme-dark .badge-rec { box-shadow: 0 0 22px oklch(0.72 0.25 348 / 0.55); }

/* Buttons neon */
.theme-dark .btn-primary { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.5), 0 6px 30px oklch(0.82 0.16 214 / 0.45); }
.theme-dark .btn-primary:hover { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.7), 0 8px 44px oklch(0.82 0.16 214 / 0.6); }
.theme-dark .btn-ghost { background: oklch(0.82 0.16 214 / 0.06); }

/* Dark sections (solución / cta) deeper than body so they read */
.theme-dark .section--dark { background: oklch(0.115 0.03 283); }
.theme-dark .transform-banner { background: oklch(0.115 0.03 283); box-shadow: 0 0 0 1px oklch(0.62 0.12 280 / 0.25), 0 16px 50px oklch(0.02 0.02 280 / 0.7); }
.theme-dark .flow-node { background: oklch(0.82 0.16 214 / 0.05); border-color: oklch(0.82 0.16 214 / 0.22); }
.theme-dark .flow-node:hover { border-color: var(--teal-br); box-shadow: 0 0 30px oklch(0.72 0.25 348 / 0.25); }

/* CTA neon */
.theme-dark .cta { background: oklch(0.105 0.028 284); }
.theme-dark .cta-bg { opacity: 0.9; background: radial-gradient(700px 460px at 50% 120%, oklch(0.82 0.16 214) -10%, transparent 58%), radial-gradient(600px 420px at 50% -20%, oklch(0.72 0.25 348) 0%, transparent 58%); }
.theme-dark .cta .btn-primary { background: linear-gradient(135deg, var(--blue-br), var(--blue)); color: oklch(0.12 0.03 282); box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.6), 0 0 44px oklch(0.82 0.16 214 / 0.55); }
.theme-dark .cta .btn-primary:hover { box-shadow: 0 0 0 1px oklch(0.82 0.16 214 / 0.8), 0 0 60px oklch(0.82 0.16 214 / 0.7); }

/* WhatsApp float neon */
.theme-dark .wa-float { box-shadow: 0 0 0 1px oklch(0.82 0.21 150 / 0.5), 0 0 30px oklch(0.82 0.21 150 / 0.55); }

/* Marquee + mobile menu */
.theme-dark .mobile-menu { background: oklch(0.13 0.03 282 / 0.97); }

/* Device mock screen pops */
.theme-dark .dv-hero { background: linear-gradient(120deg, oklch(0.2 0.05 282), oklch(0.82 0.16 214)); }
.theme-dark .dv-cta { background: linear-gradient(135deg, var(--teal-br), var(--teal)); box-shadow: 0 0 18px oklch(0.72 0.25 348 / 0.5); }

/* Reduced-motion safety in dark */
@media (prefers-reduced-motion: reduce) {
  .theme-dark body::before { -webkit-mask-image: none; mask-image: none; opacity: 0.5; }
}

/* ============================================================
   Responsive hardening — no horizontal overflow, clean mobile
   ============================================================ */
/* Any positioned decorative layer must stay inside its section */
.hero, .cta, .xscene, .ex-mock, .marquee-wrap, .flow, .browser-body { max-width: 100%; }

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .hero-visual, .hero-stage { min-height: 400px; }
}

/* Tablet portrait ≤ 768px */
@media (max-width: 768px) {
  .hero { padding-top: clamp(116px, 16vh, 150px); }
  .hero-visual, .hero-stage { min-height: 360px; }
  /* keep floating chips fully on-screen */
  .chip-1 { left: 2%; } .chip-2 { right: 2%; } .chip-3 { left: 2%; } .chip-4 { right: 2%; }
}

/* Large phone ≤ 600px */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .hero .lead { font-size: clamp(16px, 4.4vw, 19px); }
  /* full-width primary actions read cleaner on phones */
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-visual { min-height: 320px; }
}

/* Standard phone ≤ 430px */
@media (max-width: 430px) {
  :root { --pad: 16px; }
  .nav { gap: 10px; }
  .brand { font-size: 16px; gap: 8px; min-width: 0; }
  .brand .mark { width: 30px; height: 30px; font-size: 15px; }
  .nav-cta { gap: 8px; }
  .hdr-tools { gap: 6px; }
  .cur-btn { height: 40px; }
  .theme-toggle { width: 40px; height: 40px; }
  .burger { width: 40px; height: 40px; }
  .hero-trust { gap: 12px 18px; font-size: 13.5px; }
  .hero-visual, .hero-stage { min-height: 300px; }
  .device { width: min(280px, 82%); }
  .chip small { display: none; }
  .chip { padding: 8px 11px; font-size: 12px; }
}

/* Small phone ≤ 360px */
@media (max-width: 360px) {
  .cur-btn .cur-code { font-size: 13px; }
  .hero h1 { font-size: clamp(27px, 8.4vw, 34px); }
  .device { width: min(248px, 84%); }
}

/* ============================================================
   WagentsLoader — intro de bienvenida
   ============================================================ */
.wagents-loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background:
    radial-gradient(640px 420px at 50% 38%, oklch(0.26 0.07 264), transparent 70%),
    oklch(0.15 0.04 268);
  overflow: hidden;
}
.wagents-loader.wl-done { display: none; }
.wl-stage { position: relative; width: min(340px, 86vw); aspect-ratio: 1; display: grid; place-items: center; }
.wl-net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wl-halo {
  position: absolute; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.62 0.17 255 / 0.32) 0%, oklch(0.74 0.12 182 / 0.12) 45%, transparent 70%);
  filter: blur(18px); opacity: 0;
}
.wl-logo { position: relative; display: flex; align-items: center; gap: 16px; z-index: 2; }
.wl-mark {
  width: 64px; height: 64px; border-radius: 17px;
  background: linear-gradient(140deg, var(--blue-br), var(--blue) 55%, var(--teal) 130%);
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 32px; color: #fff;
  box-shadow: 0 10px 44px oklch(0.62 0.17 255 / 0.5);
  opacity: 0; transform: scale(0.85);
}
.wl-name { display: inline-flex; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(34px, 9vw, 44px); letter-spacing: -0.02em; color: #fff; }
.wl-name i { font-style: normal; opacity: 0; transform: translateY(14px); display: inline-block; }
@media (max-width: 480px) {
  .wl-logo { gap: 12px; }
  .wl-mark { width: 52px; height: 52px; border-radius: 14px; font-size: 26px; }
}
/* Reduced motion: simple short fade */
@media (prefers-reduced-motion: reduce) {
  .wl-mark, .wl-name i { opacity: 1 !important; transform: none !important; }
  .wl-net, .wl-halo { display: none; }
}
/* While loader is visible, lock scroll without layout shift */
body.wl-lock { overflow: hidden; }

