/* AisenVeo · versión de trabajo 2 · estructura del 04/11 inspirada en Ahrefs · paleta azul y rojo (06/11/2026) */

:root {
  /* Paleta elegida por Izan el 06/11: azul y rojo. */
  --field: #2e4bf2;
  --field-bg: #2e4bf2;
  --field-hi: #3554ff;
  --field-lo: #2238c4;
  --on-field: #ffffff;
  --on-field-2: #e3e8ff;
  --field-line: rgba(255, 255, 255, .28);
  --field-chip: rgba(255, 255, 255, .1);
  --cta-bg: #e3263a;
  --cta-fg: #ffffff;
  --accent: #e3263a;
  --accent-hi: #f04456;
  --accent-rgb: 227, 38, 58;
  --on-accent: #ffffff;
  --tint: #eef1ff;
  --spark: #ff8a95; /* detalles pequeños sobre el campo de color */
  /* --blue y --orange conservan el nombre de versiones anteriores: tinta y acento. */
  --blue: #0b0b0f;
  --blue-600: #34343e;
  --blue-50: var(--tint);
  --orange: var(--accent);
  --orange-600: var(--accent-hi);
  --orange-text: #0b0b0f;
  --black: #000;
  --black-2: #111114;
  --black-3: #1b1b21;
  --black-line: #2a2a32;
  --on-black: #b8bcc7;
  --ink: #0b0b0f;
  --text-2: #4b505b;
  --text-3: #6b7180;
  --line: #e4e6eb;
  --line-2: #cfd3da;
  --mist: #f4f5f8;
  --paper: #fff;
  --grad: linear-gradient(135deg, #0b0b0f 0%, #1d1d24 58%, rgba(var(--accent-rgb), .45) 130%);

  --display: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --radius: 14px;
  --r-btn: 6px;
  --section-y: clamp(80px, 9vw, 136px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band-black :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--accent); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); text-decoration: none; }
.skip:focus { top: 12px; }

/* Tipografía */
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 1.5rem + 2.5vw, 3.9rem); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
p, li, dd { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--text-2); }
.small { font-size: 0.92rem; line-height: 1.55; }
.muted { color: var(--text-3); }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.mono-label { font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.text-link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--blue-600); text-decoration-thickness: 2.5px; }

/* Iconos */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-xs { width: 16px; height: 16px; }
.i-spark { fill: currentColor; stroke: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: var(--r-btn);
  font-family: var(--body); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; font-weight: 500; }
.btn-xl { min-height: 64px; padding: 0 32px; font-size: 1.1875rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--ink); color: #fff; }
.btn-orange:hover { background: #2a2a33; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.band-black .btn-orange { background: var(--accent); color: var(--on-accent); }
.band-black .btn-orange:hover { background: var(--orange-600); box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb), .6); }
.btn-outline-dark { border-color: var(--on-field); color: var(--on-field); background: transparent; font-weight: 500; }
.btn-outline-dark:hover { background: var(--field-chip); }
.site-header .btn-orange, .hero .btn-orange { background: var(--cta-bg); color: var(--cta-fg); }
.site-header .btn-orange:hover, .hero .btn-orange:hover { filter: brightness(1.08); }
.btn-outline-white { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; font-weight: 500; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--paper); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: var(--line-2); color: var(--ink); background: var(--paper); font-weight: 500; }

/* Barra superior */
.topbar { background: var(--black); color: #fff; font-size: 0.9rem; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px; }
.topbar-msg { display: flex; align-items: center; gap: 10px; }
.topbar-msg .i-spark { color: var(--orange); width: 18px; height: 18px; animation: twinkle 3s ease-in-out infinite; }
.topbar-btn { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.topbar-btn:hover { background: var(--orange-600); }
.topbar-preview { width: 100%; font-family: var(--mono); font-size: 0.7rem; color: #8b8f99; }
@media (max-width: 639px) {
  .topbar { font-size: 0.82rem; }
  .topbar-inner { flex-wrap: wrap; gap: 6px 12px; padding-block: 8px; }
  .topbar-msg { flex: 1; min-width: 0; }
  .topbar-msg .i-spark { display: none; }
  .topbar-preview { font-size: 0.64rem; }
}
@media (min-width: 1024px) { .topbar-preview { width: auto; margin-left: auto; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .7; } }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--field); color: var(--on-field); transition: transform .35s var(--ease), box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 210deg, var(--on-field) 0 60%, var(--spark) 60% 100%); flex: none; }
.site-footer .brand-mark { background: conic-gradient(from 210deg, #fff 0 60%, var(--accent) 60% 100%); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.04em; }
.nav { display: none; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 2px; background: none; border: 0; cursor: pointer; text-decoration: none; font-size: 1rem; color: var(--on-field); opacity: .92; white-space: nowrap; }
.nav-link:hover, .nav-trigger[aria-expanded="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1.5px; }
.nav-trigger .i { transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] .i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-link { display: none; color: var(--on-field); text-decoration: none; font-size: 1rem; }
.header-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1.5px solid var(--on-field); border-radius: var(--r-btn); cursor: pointer; color: var(--on-field); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), background-color .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

.mega { display: none; }
.mega-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.mega-card:hover { background: var(--mist); }
.mega-card strong { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.mega-card span:last-child { color: var(--text-2); font-size: 0.92rem; line-height: 1.45; }
.mega-tag { align-self: flex-start; font-family: var(--mono); font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--text-2); }
.mega-card.is-main .mega-tag { background: var(--blue); color: #fff; }
.mega-foot { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 500; text-decoration: none; }

@media (max-width: 1179px) {
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 20px;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5); animation: dropIn .3s var(--ease);
  }
  .nav.is-open .nav-link { color: var(--ink); opacity: 1; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; width: 100%; justify-content: space-between; }
  .nav.is-open .mega.is-open { display: grid; gap: 4px; padding: 8px 0; }
  .nav.is-open .nav-item { width: 100%; }
}
@media (min-width: 1180px) {
  .nav { display: flex; align-items: center; gap: 26px; }
  .menu-toggle { display: none; }
  .header-link { display: inline; }
  .nav-item { position: relative; }
  .mega {
    display: grid; grid-template-columns: repeat(3, 230px); gap: 4px;
    position: absolute; left: -24px; top: calc(100% + 18px);
    padding: 10px; background: var(--paper); border-radius: 14px; color: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(11, 11, 15, .45), 0 0 0 1px rgba(11, 11, 15, .06);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
  .mega-foot { grid-column: 1 / -1; }
  .mega.is-open { opacity: 1; visibility: visible; transform: none; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 1 · Portada */
.hero { background: var(--field-bg); color: var(--on-field); padding-top: clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-field-2); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 400; text-wrap: balance;  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13em; }
.hero-line2 { display: flex; align-items: center; gap: .25em; flex-wrap: nowrap; }
.rotator { display: inline-grid; position: relative; transition: width .45s var(--ease); }
.rotator-word { grid-area: 1 / 1; justify-self: start; white-space: nowrap; opacity: 0; transform: translateY(.45em); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rotator-word.is-active { opacity: 1; transform: none; }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-.45em); transition-duration: .25s; }
.hero-spark { width: .7em; height: .7em; color: var(--spark); fill: currentColor; stroke: none; animation: twinkle 2.6s ease-in-out infinite; }
.hero-lead { max-width: 680px; margin-top: 28px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--on-field-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.hero-badge { display: flex; align-items: center; gap: 12px; margin-left: 8px; font-size: 0.95rem; line-height: 1.3; color: var(--on-field-2); }
.hero-badge strong { color: var(--on-field); font-weight: 500; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cta-bg); color: var(--cta-fg); font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: .02em; box-shadow: 0 0 0 3px rgba(11, 11, 15, .15); flex: none; }
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .hero-badge { margin: 8px 0 0; }
}

/* Panel de demostración */
.demo { margin-top: clamp(48px, 6vw, 80px); padding: clamp(8px, 2vw, 28px); border-radius: 18px; background: var(--grad); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.demo-window { background: var(--paper); color: var(--ink); border-radius: 12px; overflow: hidden; }
.demo-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1e3e8; }
.demo-title { font-weight: 600; font-size: 0.95rem; }
.demo-note { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.demo-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer; font-size: 0.98rem; font-weight: 500; color: var(--text-3); transition: color .2s, background-color .2s; }
.demo-tab:last-child { border-right: 0; }
.demo-tab:hover { color: var(--ink); background: #fafbfc; }
.demo-tab.is-active { color: var(--blue); }
.demo-tab .i { width: 18px; height: 18px; }
.demo-tab .i-spark, .demo-tab use[href="#i-spark"] { fill: currentColor; }
.demo-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.demo-progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.demo-tab.is-active .demo-progress i { width: 100%; }
.demo[data-auto="on"] .demo-tab.is-active .demo-progress i { width: 0; animation: progress var(--demo-ms, 6500ms) linear forwards; }
.demo[data-paused="true"] .demo-tab.is-active .demo-progress i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
@media (max-width: 640px) {
  .demo-tab { flex-direction: column; gap: 4px; font-size: 0.8rem; padding: 12px 4px; }
  .demo-note { display: none; }
}
.demo-panel { display: grid; gap: 24px; padding: 24px 18px; min-height: 360px; }
.demo-panel.is-active { animation: panelIn .5s var(--ease); }
@media (min-width: 900px) { .demo-panel { grid-template-columns: 1.25fr 0.75fr; gap: 40px; padding: 40px; min-height: 380px; align-items: center; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.demo-stage { position: relative; min-width: 0; }
.demo-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; color: var(--text-2); }
.demo-checks li:last-child { border-bottom: 0; }
.demo-checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--paper) center / 14px no-repeat;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.demo-checks li.is-done { color: var(--ink); }
.demo-checks li.is-done::before, .no-anim .demo-checks li::before {
  border-color: var(--blue); background-color: var(--blue); transform: scale(1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html:not(.js) .demo-checks li::before { border-color: var(--blue); background-color: var(--blue); }

/* Maquetas ilustrativas */
.sk { display: block; height: 10px; border-radius: 6px; background: #e9ebf0; margin: 8px 0; }
.sk.big { height: 18px; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.shimmer { background: linear-gradient(90deg, #e9ebf0 0%, #f6f7f9 40%, #e9ebf0 80%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.mock-search { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 1.05rem; box-shadow: 0 6px 18px -12px rgba(11, 11, 15, .3); background: var(--paper); }
.mock-search .i { color: var(--text-3); }
.mock-search.small { padding: 10px 14px; font-size: 0.9rem; color: var(--text-2); }
.caret { width: 2px; height: 1.2em; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.type:empty::before { content: "\200b"; }
.mock-results { margin-top: 18px; display: grid; gap: 10px; }
.mock-result { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); }
.mock-result .sk:first-child { height: 8px; background: var(--tint); }
.mock-result.is-you { position: relative; border: 1.5px dashed var(--blue); background: var(--blue-50); animation: pulseBorder 2.4s ease-in-out infinite; }
.you-tag { position: absolute; right: 12px; top: -12px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.78rem; font-weight: 600; }
@keyframes pulseBorder { 50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .45); } }
.mock-chat { display: grid; gap: 14px; }
.bubble { max-width: 88%; padding: 14px 16px; border-radius: 16px; font-size: 1rem; line-height: 1.45; }
.bubble-user { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; min-height: 52px; }
.bubble-ai { display: flex; gap: 12px; width: 88%; background: var(--mist); border-bottom-left-radius: 4px; }
.bubble-ai > div { flex: 1; }
.bubble-ai .i { color: var(--blue); fill: currentColor; stroke: none; }
.bubble.small { font-size: 0.9rem; padding: 10px 14px; }
.mock-site { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: visible; }
.mock-site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc; border-radius: 10px 10px 0 0; }
.mock-site-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdfe5; }
.mock-site-bar span { margin-left: 10px; font-family: var(--mono); font-size: 0.75rem; color: var(--text-3); }
.mock-site-body { padding: 22px 20px 26px; }
.mock-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mock-site-cards span { height: 64px; border-radius: 8px; background: #f0f2f6; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 500; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); white-space: nowrap; }
.pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .35); }
.pin-1 { left: 18px; top: 62px; }
.pin-2 { right: 12px; bottom: 18px; }
.demo-panel.is-active .pin { animation: popIn .5s var(--ease) both; }
.demo-panel.is-active .pin-2 { animation-delay: .35s; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
.mock-phone { width: 190px; margin-inline: auto; padding: 12px; border-radius: 28px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 0 20px 40px -24px rgba(11, 11, 15, .5); }
.mock-phone-screen { display: flex; flex-direction: column; gap: 4px; min-height: 250px; padding: 20px 14px; border-radius: 18px; background: var(--mist); }
.mock-cta { display: grid; place-items: center; min-height: 40px; margin-top: 8px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 0.9rem; font-weight: 600; }
.mock-cta:first-of-type { margin-top: auto; animation: pulseCta 2s ease-in-out infinite; }
.mock-cta.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
@keyframes pulseCta { 50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .45); } }

/* Marquesina */
.marquee-block { padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.marquee-label { margin-bottom: 20px; font-size: 0.95rem; color: var(--on-field-2); }
.marquee { display: flex; overflow: hidden; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; flex: none; gap: 12px; min-width: max-content; animation: marquee 48s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track, .motion-paused .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--field-chip); color: var(--on-field); font-size: 0.98rem; white-space: nowrap; }
.marquee-track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spark); }
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }

/* Secciones */
.section { padding-block: var(--section-y); }
.band-mist { background: var(--mist); }
.band-black { background: var(--black); color: #fff; }
.band-blue { background: var(--field-bg); color: var(--on-field); }
.band-black .lead { color: var(--on-black); }
.band-blue .lead { color: var(--on-field-2); }
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 920px; }
.head-split { max-width: none; }
@media (min-width: 960px) { .head-split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 72px; } }
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 80%) var(--my, 0%), rgba(var(--accent-rgb), .17), transparent 60%),
    radial-gradient(500px circle at 10% 100%, rgba(var(--accent-rgb), .07), transparent 60%);
  transition: background-position .2s;
}

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 2 · Problemas */
.explorer { display: grid; gap: 40px; }
@media (min-width: 960px) { .explorer { grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; } }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc h3 { font-size: inherit; }
.acc-btn {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 22px 0; text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--blue);
  transition: color .2s;
}
.acc-btn:hover { color: var(--blue-600); }
.acc-btn[aria-expanded="true"] { color: var(--ink); font-weight: 500; }
.acc-btn[aria-expanded="true"] .acc-icon { box-shadow: 0 0 0 4px var(--accent); }
.acc-icon { position: relative; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--ink); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .3s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }
.acc-panel { padding: 0 0 26px 38px; }
.acc-panel:not([hidden]) { animation: panelIn .45s var(--ease); }
.acc-panel p { color: var(--text-2); }
.fit-link { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 500; text-decoration: none; }
.fit-link .i { vertical-align: -3px; margin-left: 6px; }
.fit-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.fit-link:hover .i { transform: translateX(3px); }
.fit-link .i { transition: transform .2s var(--ease); }

.explorer-visual { display: none; }
@media (min-width: 960px) {
  .explorer-visual { display: grid; position: sticky; top: calc(var(--header-h) + 32px); min-height: 460px; border-radius: 18px; background: var(--grad); padding: 48px; overflow: hidden; }
}
.ev { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.ev.is-active { opacity: 1; transform: none; }
.ev-card { background: var(--paper); border-radius: 14px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.ev-rank { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev-rank .r { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); font-family: var(--mono); font-size: 0.8rem; color: var(--text-3); flex: none; }
.ev-rank .sk { flex: 1; margin: 0; }
.ev-rank.is-you { border-bottom: 0; color: var(--blue); font-weight: 600; }
.ev-rank.is-you .r { background: var(--accent); color: var(--on-accent); }
.ev .mock-search { margin-bottom: 10px; }
.ev-card .bubble-ai { margin-top: 12px; }
.ev-chips, .ev-questions { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-chips { margin-top: 18px; }
.ev-chips span, .ev-questions span { padding: 8px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 0.92rem; font-weight: 500; }
.ev-questions span { font-size: 1.05rem; padding: 12px 18px; background: var(--mist); color: var(--ink); }
.ev.is-active .ev-questions span, .ev.is-active .ev-chips span { animation: popIn .5s var(--ease) both; }
.ev.is-active .ev-questions span:nth-child(2), .ev.is-active .ev-chips span:nth-child(2) { animation-delay: .08s; }
.ev.is-active .ev-questions span:nth-child(3), .ev.is-active .ev-chips span:nth-child(3) { animation-delay: .16s; }
.ev.is-active .ev-questions span:nth-child(4) { animation-delay: .24s; }
.ev.is-active .ev-questions span:nth-child(5) { animation-delay: .32s; }
.ev-step { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(11, 11, 15, .5); border-bottom: 1px solid var(--line); }
.ev-step b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); font-family: var(--mono); font-weight: 500; font-size: 0.8rem; flex: none; }
.ev-step.is-goal { border-bottom: 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.ev-step.is-goal b { background: var(--accent); color: var(--on-accent); }
.ev-step.is-goal .i { width: 16px; height: 16px; stroke-width: 3; }
.ev-timeline { display: grid; gap: 0; }
.ev-tl { display: grid; grid-template-columns: 20px 90px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ev-tl:last-child { border-bottom: 0; }
.ev-tl .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.ev-tl b { font-family: var(--mono); font-weight: 500; font-size: 0.9rem; }
.ev-tl em { font-style: normal; color: var(--text-2); }

/* 3 · Por sector */
.roles { display: grid; gap: 28px; }
@media (min-width: 960px) { .roles { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.roles-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.roles-list::-webkit-scrollbar { display: none; }
.role-tab {
  display: inline-flex; align-items: center; gap: 12px; flex: none; padding: 12px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-size: 1rem; color: var(--blue); white-space: nowrap; transition: color .2s, background-color .2s, border-color .2s;
}
.role-tab.is-active { color: var(--on-accent); border-color: var(--on-accent); background: var(--accent); }
.role-icon { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); }
.role-icon::before, .role-icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .3s var(--ease); }
.role-icon::after { transform: rotate(90deg); }
.role-tab.is-active .role-icon::after { transform: none; }
@media (min-width: 960px) {
  .roles-list { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; }
  .role-tab { width: 100%; padding: 20px 0; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; background: none; font-size: 1.3rem; white-space: normal; text-align: left; }
  .role-tab:last-child { border-bottom: 1px solid var(--line-2); }
  .role-tab:hover { color: var(--blue-600); }
  .role-tab.is-active { color: var(--ink); background: none; font-weight: 500; }
  .role-tab.is-active .role-icon { box-shadow: 0 0 0 4px var(--accent); }
}
.roles-panels { position: relative; }
.role-panel { display: grid; gap: 28px; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(11, 11, 15, .35); }
.role-panel.is-active { animation: panelIn .45s var(--ease); }
@media (min-width: 640px) { .role-panel { grid-template-columns: 1fr 1fr; padding: 40px; gap: 40px; } }
.mini-label { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.q-chips li { padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: var(--blue-50); color: var(--ink); font-size: 0.98rem; }
.role-panel.is-active .q-chips li { animation: popIn .45s var(--ease) both; }
.role-panel.is-active .q-chips li:nth-child(2) { animation-delay: .07s; }
.role-panel.is-active .q-chips li:nth-child(3) { animation-delay: .14s; }
.role-panel.is-active .q-chips li:nth-child(4) { animation-delay: .21s; }
.ticks li { position: relative; padding: 0 0 14px 32px; color: var(--ink); }
.ticks li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px;
  background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.link-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--blue); font-weight: 600; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover .i { transform: translateX(3px); }
.link-btn .i { transition: transform .2s var(--ease); }
.band-black .checks li::before { background: var(--accent); }
.roles-note { margin-top: 14px; font-size: 0.88rem; color: var(--text-3); }

/* 4 · Servicios */
.plans { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(7, auto); column-gap: 20px; row-gap: 0; }
  .plans > .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
}
.plan {
  display: flex; flex-direction: column; padding: 32px 26px;
  background: var(--black-2); border: 1px solid var(--black-line); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
/* Crece un poco con ratón o teclado. `.plans .plan` gana a la regla de aparición, que también fija transform. */
.plans .plan { transition: opacity .8s var(--ease), transform .25s cubic-bezier(.22, 1, .36, 1), border-color .25s, box-shadow .25s; }
@media (hover: hover) and (pointer: fine) {
  .plans .plan:hover { transform: scale(1.03); z-index: 2; border-color: #4a4a55; box-shadow: 0 34px 70px -34px rgba(var(--accent-rgb), .35); }
}
.plans .plan:focus-within { transform: scale(1.03); z-index: 2; border-color: #4a4a55; box-shadow: 0 34px 70px -34px rgba(var(--accent-rgb), .35); }
@media (min-width: 1100px) { .plan { padding: 40px 34px; } }
.plan-tag { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9196a3; margin-bottom: 18px; min-height: 28px; display: flex; align-items: center; }
.pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 600; letter-spacing: 0.04em; }
.plan h3 { font-size: clamp(1.6rem, 1.35rem + 0.7vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.plan-for { margin-top: 12px; color: var(--on-black); font-size: 1rem; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 30px; font-family: var(--display); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.price .amount { font-size: clamp(3.4rem, 2.8rem + 2vw, 4.6rem); }
.price .cur { font-size: 1.7rem; letter-spacing: 0; }
.price .per { font-size: 1.1rem; letter-spacing: 0; color: #9196a3; }
.price-note { margin: 10px 0 26px; font-family: var(--mono); font-size: 0.78rem; color: #9196a3; }
.checks li { position: relative; padding-left: 32px; }
.checks li + li { margin-top: 12px; }
.plan .checks { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--black-line); font-size: 0.98rem; color: #dfe1e6; }
.plan-main { background: linear-gradient(160deg, var(--field-hi) 0%, var(--field) 50%, var(--field-lo) 100%); color: var(--on-field); border-color: transparent; box-shadow: 0 40px 80px -40px rgba(var(--accent-rgb), .55); }
.plans .plan-main:hover, .plans .plan-main:focus-within { border-color: transparent; box-shadow: 0 50px 90px -40px rgba(var(--accent-rgb), .75); }
.plan-main .plan-for, .plan-main .checks { color: var(--on-field-2); }
.plan-main .price-note { color: var(--on-field-2); }
.plan-main .checks { border-top-color: var(--field-line); }
.band-black .plan-main .checks li::before { background: var(--spark); }
.band-black .plan-main .btn-orange { background: var(--cta-bg); color: var(--cta-fg); }
.pill { background: var(--on-field) !important; color: var(--field) !important; }
.plans-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; color: var(--on-black); }
.plans-foot strong { color: #fff; font-weight: 600; }
.compare-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: var(--r-btn); color: #fff; cursor: pointer; font-weight: 500; }
.compare-toggle:hover { border-color: #fff; }
.compare-toggle .i { transition: transform .3s var(--ease); }
.compare-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.compare { margin-top: 24px; border: 1px solid var(--black-line); border-radius: var(--radius); background: var(--black-2); overflow: hidden; }
.compare:not([hidden]) { animation: panelIn .45s var(--ease); }
.compare-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--black-line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: #fff; }
.compare thead th span { display: block; font-family: var(--mono); font-size: 0.8rem; font-weight: 400; color: #9196a3; margin-top: 4px; }
.compare tbody th { font-weight: 400; color: var(--on-black); width: 34%; }
.compare td { color: #fff; }
.compare .is-main { background: rgba(var(--accent-rgb), .12); }
.compare .yes { display: inline-flex; align-items: center; gap: 8px; }
.compare .yes::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.compare .no { color: #5d616c; }

.continuity { display: grid; gap: 24px; margin-top: 40px; padding: 30px 26px; border: 1.5px dashed #3a3a44; border-radius: var(--radius); }
.continuity h3 { font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.75rem); margin-bottom: 12px; }
.continuity p { color: #dfe1e6; }
.continuity p + p { margin-top: 12px; }
.continuity .small { color: #9196a3; }
.continuity-price .price { margin-top: 0; }
.continuity-price .price-note { margin-bottom: 0; }
@media (min-width: 960px) {
  .continuity { grid-template-columns: 1fr auto; gap: 72px; align-items: center; padding: 40px 44px; }
  .continuity > div:first-child { max-width: 760px; }
  .continuity-price { text-align: right; }
  .continuity-price .price { justify-content: flex-end; }
}
.guide-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); text-decoration: none; font-size: 1.1rem; transition: background-color .2s; }
.guide-bar:hover { background: var(--orange-600); }
.guide-bar-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-btn); background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; }
.guide-bar:hover .i { transform: translateX(3px); }
.guide-bar .i { transition: transform .2s var(--ease); }
@media (min-width: 960px) { .guide-bar { padding: 26px 44px; font-size: 1.2rem; } }

/* 5 · Orientador */
.guide { display: grid; gap: 40px; }
@media (min-width: 1000px) { .guide { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; } }
.guide-intro h2 { margin-bottom: 20px; }
.notes { margin-top: 32px; border-top: 1px solid var(--field-line); }
.notes li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--field-line); color: var(--on-field-2); font-size: 0.98rem; }
.notes li::before { content: ""; position: absolute; left: 2px; top: 1.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--spark); }
.guide-card { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 26px 20px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55); overflow: hidden; }
@media (min-width: 640px) { .guide-card { padding: 40px; } }
.guide-progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.progress-bar { display: flex; gap: 6px; }
.progress-bar span { position: relative; width: 40px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-bar span::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress-bar span.is-on::after { transform: scaleX(1); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-current { animation: stepIn .45s var(--ease); }
.step.is-current.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; padding: 0; }
.opt { font-weight: 400; color: var(--text-3); }
.field input[type="text"], .field textarea, .guide-result textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: var(--r-btn); font-size: 1rem; line-height: 1.45;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field textarea:focus, .guide-result textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .7); }
.field input::placeholder, .field textarea::placeholder { color: #8a909b; }
.hint { margin-top: 8px; font-size: 0.88rem; color: var(--text-3); }
.field-error { margin-top: 8px; font-size: 0.9rem; font-weight: 500; color: #b42318; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
[aria-invalid="true"] { border-color: #b42318 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-stack { flex-direction: column; align-items: stretch; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; min-height: 46px; padding: 10px 16px; background: var(--paper);
  border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 0.97rem; line-height: 1.3;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.chips-stack .chip span { border-radius: var(--r-btn); padding: 12px 16px; }
.chip span::before { content: ""; flex: none; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); transition: border .2s, background-color .2s; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; transform: scale(1.02); }
.chip input:checked + span::before { border: 5px solid var(--orange); background: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.choice[aria-invalid="true"] .chip span { border-color: #e7a59d; }
.check-field { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-btn); cursor: pointer; font-size: 0.97rem; color: var(--text-2); }
.check-field strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.check-field input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.guide-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.guide-actions #guide-next { margin-left: auto; }
@media (max-width: 420px) { .guide-actions .btn { flex: 1; padding: 0 16px; } }
.guide-result { animation: stepIn .5s var(--ease); }
.guide-result h3 { margin: 14px 0 12px; font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.12; color: var(--blue); }
.guide-result h3:focus { outline: none; }
.guide-result > p { color: var(--text-2); }
.guide-result #result-reason { font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.guide-result .text-link { display: inline-block; margin-bottom: 18px; }
.summary-label { display: block; margin: 24px 0 8px; font-weight: 600; }
.guide-result textarea { min-height: 170px; font-family: var(--mono); font-size: 0.82rem; color: var(--text-2); resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
#result-status { margin-top: 10px; min-height: 1.5em; color: var(--blue); }
.pending-note { margin-top: 6px; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r-btn); font-size: 0.9rem; color: var(--text-3); }
.noscript { padding: 16px; background: var(--mist); border-radius: var(--r-btn); }

/* 6 · Cómo trabajo */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: clamp(56px, 7vw, 96px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding: 28px 22px; background: var(--paper); }
.stats dt { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; letter-spacing: -0.04em; color: var(--blue); }
.stats dd { margin-top: 12px; color: var(--text-2); font-size: 0.98rem; }
.process { position: relative; max-width: 880px; margin-inline: auto; padding-left: 0; }
.process-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.process-line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--ink), rgba(var(--accent-rgb), .6)); transform: scaleY(var(--p, 0)); transform-origin: top; }
html:not(.js) .process-line span { transform: none; }
.pstep { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 48px; }
.pstep:last-child { padding-bottom: 0; }
.pnum { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); font-family: var(--mono); font-size: 0.9rem; color: var(--text-3); transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.pstep.is-on .pnum, html:not(.js) .pnum { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }
.pstep h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); padding-top: 8px; margin-bottom: 10px; }
.pstep p { color: var(--text-2); max-width: 640px; }
.pstep > div { opacity: .45; transition: opacity .5s; }
.pstep.is-on > div, html:not(.js) .pstep > div { opacity: 1; }
.terms { display: grid; gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 960px) { .terms { grid-template-columns: 1.2fr 0.8fr; gap: 20px; } }
.terms-list, .terms-promise { border-radius: var(--radius); padding: 30px 24px; }
@media (min-width: 640px) { .terms-list, .terms-promise { padding: 40px; } }
.terms-list { background: var(--mist); }
.terms-list h3 { font-size: 1.6rem; margin-bottom: 22px; letter-spacing: -0.02em; }
.checks-dark { color: var(--text-2); }
.terms-promise { display: flex; flex-direction: column; gap: 14px; background: var(--grad); color: #fff; }
.terms-promise .mono-label { color: var(--accent); opacity: 1; }
.promise-text { font-family: var(--display); font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; }
.terms-promise p:last-child { color: #f2f3ff; }

/* 7 · Ejemplo real */
.band-black .eyebrow-accent { color: var(--orange); }
.band-black .mono-label { color: #9aa0aa; }
.proof { display: grid; gap: 16px; }
@media (min-width: 1000px) { .proof { grid-template-columns: 1.35fr 0.65fr; gap: 20px; align-items: stretch; } }
.shot { background: var(--black-2); border: 1px solid var(--black-line); border-radius: var(--radius); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--black-line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f48; }
.shot-bar p { margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: var(--black); font-family: var(--mono); font-size: 0.75rem; color: #aab0b9; }
.shot img { width: 100%; background: #fff; }
.shot figcaption { padding: 14px 16px; font-size: 0.88rem; color: #9aa0aa; border-top: 1px solid var(--black-line); }
.ba { display: flex; flex-direction: column; gap: 20px; padding: 26px; background: var(--black-2); border: 1px solid var(--black-line); border-radius: var(--radius); }
.ba .mono-label { color: #9196a3; }
.ba-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--black); border: 1px solid var(--black-line); }
.ba-opt { position: relative; z-index: 1; min-height: 40px; background: none; border: 0; border-radius: 999px; cursor: pointer; color: #9196a3; font-weight: 600; transition: color .3s; }
.ba-opt.is-active { color: var(--ink); }
.ba-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--orange); transition: transform .45s var(--ease); }
.ba[data-state="after"] .ba-thumb { transform: translateX(100%); background: #fff; }
.ba-serp { padding: 18px 20px; border-radius: 10px; background: #fff; color: var(--ink); }
.ba-url { font-size: 0.82rem; color: #4d5156; margin-bottom: 4px; }
.ba-title, .ba-why { display: grid; }
.ba-title > span, .ba-why > span { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ba-title { font-size: 1.15rem; line-height: 1.35; color: #1a0dab; font-family: var(--body); }
.ba-after, .ba[data-state="after"] .ba-before { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ba[data-state="after"] .ba-after { opacity: 1; transform: none; }
.ba-why { color: var(--on-black); font-size: 0.97rem; }
html:not(.js) .ba-after { opacity: 1; transform: none; position: static; }

.tl { margin-top: 20px; padding: 28px 26px; border: 1px solid var(--black-line); border-radius: var(--radius); }
.tl .mono-label { color: #9196a3; margin-bottom: 22px; }
.tl-list { position: relative; display: grid; gap: 18px; }
.tl-list li { position: relative; padding-left: 30px; }
.tl-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #5a5f6b; background: var(--black); }
.tl-list li.is-check::before { border-color: var(--orange); background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230b0b0f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; }
.tl-list time { display: block; font-family: var(--mono); font-size: 0.82rem; color: #9196a3; margin-bottom: 4px; }
.tl-list li.is-check time { color: var(--orange); }
.tl-list p { color: #e4e6ea; font-size: 0.97rem; }
.js .tl-list li { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.js .tl.is-visible .tl-list li { opacity: 1; transform: none; }
@media (min-width: 1000px) {
  .tl { padding: 36px 40px 40px; }
  .tl-list { grid-template-columns: repeat(7, 1fr); gap: 20px; padding-top: 28px; }
  .tl-list::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, #55555f, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .1s; }
  html:not(.js) .tl-list::before, .tl.is-visible .tl-list::before { transform: none; }
  .tl-list li { padding: 0; }
  .tl-list li::before { top: -28px; }
}
.proof-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 32px; color: var(--on-black); }
.proof-foot a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }


/* 9 · Preguntas */
.faq-wrap .head { margin-inline: auto; text-align: center; }
.faq { max-width: 880px; margin-inline: auto; }
.faq details { margin-bottom: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 20px 40px -30px rgba(11, 11, 15, .35); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8 13h10M13 8v10' fill='none' stroke='%23cbd0d6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-body { padding: 0 24px 24px; color: var(--text-2); }
.faq details[open] .faq-body { animation: panelIn .4s var(--ease); }

/* 10 · Contacto */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; } }
.contact h2 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 24px; }
.contact .lead { color: var(--on-field); margin-bottom: 14px; }
.contact > div:first-child > p:not(.lead) { color: var(--on-field-2); }
.contact-card { display: flex; flex-direction: column; gap: 18px; padding: 30px 24px; background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6); }
@media (min-width: 640px) { .contact-card { padding: 40px; } }
.contact-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.contact-pending { padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-btn); }
.contact-pending .mono-label { color: var(--orange-text); margin-bottom: 8px; }
.contact-pending p:last-child { color: var(--text-2); font-size: 0.97rem; }
.contact-card .text-link { align-self: flex-start; }

/* Pie */
.site-footer { background: var(--black); color: #fff; padding: 72px 0 40px; }
.footer-top { display: grid; gap: 48px; padding-bottom: 48px; }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1fr 1.4fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.04em; margin-bottom: 12px; }
.footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-claim { color: #9196a3; max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.footer-cols p { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6f7480; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; color: #e4e6ea; text-decoration: none; }
.footer-cols a:hover { color: var(--orange); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; background: linear-gradient(var(--black-line), var(--black-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.86rem; color: #9196a3; }
.footer-links a { color: inherit; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }

/* Acción fija en móvil */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .5); transform: translateY(110%); transition: transform .35s var(--ease); }
.mobile-cta .btn { min-height: 48px; }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* Portada: texto a la izquierda y radar a la derecha */
.hero-row { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-row { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero-copy .hero-lead { margin-top: 28px; }
.hero-meta { display: grid; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--field-line); }
.hero-meta .hero-badge { margin: 0; }
.hero-place { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--on-field-2); }
.eyebrow-ink { color: var(--ink); }
.founder-lead { display: grid; gap: 20px; justify-items: start; }

/* Radar: metáfora de visibilidad, no una medición */
.radar-figure { display: grid; justify-items: center; gap: 16px; margin: 0; }
.radar {
  position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #24242c 0%, #15151b 60%, #0b0b0f 100%);
  box-shadow: 0 0 0 6px rgba(11, 11, 15, .08), 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.radar-grid {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle closest-side, transparent 0 calc(33.333% - 1px), rgba(var(--accent-rgb), .2) calc(33.333% - 1px) 33.333%),
    linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)) center / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)) center / 100% 1px no-repeat;
}
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(var(--accent-rgb), 0) 0deg 285deg, rgba(var(--accent-rgb), .14) 335deg, rgba(var(--accent-rgb), .45) 357deg, rgba(var(--accent-rgb), .95) 360deg);
  transform: rotate(var(--a, 118deg)); will-change: transform;
}
.radar-sweep::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px; background: linear-gradient(rgba(var(--accent-rgb), .95), rgba(var(--accent-rgb), 0)); }
.blip { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color .9s, box-shadow .9s; }
.blip.ping { background: #fff; box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .25), 0 0 14px rgba(var(--accent-rgb), .6); transition-duration: .05s; }
.blip-you { width: 16px; height: 16px; margin: -8px 0 0 -8px; z-index: 1; transition: transform .8s var(--ease), background-color .8s, box-shadow .8s; }
.radar[data-level="0"] .blip-you { transform: scale(.55); background: rgba(255, 255, 255, .3); box-shadow: none; }
.radar[data-level="1"] .blip-you { transform: scale(.75); background: rgba(var(--accent-rgb), .6); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .15); }
.radar[data-level="2"] .blip-you { transform: scale(.95); background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .25), 0 0 20px rgba(var(--accent-rgb), .45); }
.radar[data-level="3"] .blip-you { transform: scale(1.1); background: var(--accent); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .35), 0 0 0 16px rgba(var(--accent-rgb), .12), 0 0 34px rgba(var(--accent-rgb), .7); }
.blip-you::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb), .8); opacity: 0; }
.radar[data-level="3"] .blip-you::after { animation: ring 2.4s ease-out infinite; }
.motion-paused .blip-you::after { animation-play-state: paused; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.you-label {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; margin-left: 20px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .6s, transform .6s var(--ease);
}
.radar[data-level="2"] .you-label, .radar[data-level="3"] .you-label { opacity: 1; transform: translate(0, -50%); }
.channel {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 11, 15, .85); border: 1px solid rgba(var(--accent-rgb), .35); color: #fff;
  font-size: 0.8rem; font-weight: 500; white-space: nowrap; transition: background-color .9s, color .9s;
}
.channel.ping { background: var(--accent); color: var(--on-accent); transition-duration: .05s; }
.radar-figure figcaption { text-align: center; font-size: 0.95rem; color: var(--on-field-2); }
@media (max-width: 480px) { .channel { font-size: 0.72rem; padding: 5px 9px; } .you-label { font-size: 0.74rem; } }


/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .tl-list li { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .marquee-track[aria-hidden="true"], .marquee-reverse .marquee-track + .marquee-track { display: none; }
  .plans .plan:hover, .plans .plan:focus-within { transform: none !important; }
}
