/* AI FloLabs — hoja de estilos del sitio (v3 clara, 2026-10-04).

   Dirección: "papel y señal". Fondo papel cálido, tipografía editorial
   (Fraunces para titulares, Inter para cuerpo, JetBrains Mono para
   etiquetas técnicas), un acento "señal" verde azulado y un fondo vivo
   (canvas de nodos en flujo, ver main.js). La maqueta del documento se
   mantiene oscura como "captura de producto" con sus propios tokens.
   Sin dependencias ni build: CSS plano. */

:root {
  --ink: #f8f7f3;
  --ink-2: #f1f0ea;
  --surface: #ffffff;
  --surface-2: #f6f5f0;
  --line: rgba(15, 20, 30, 0.09);
  --line-strong: rgba(15, 20, 30, 0.16);
  --text: #0f141c;
  --muted: #4d5666;
  --faint: #7a8392;

  --signal: #0a9b74;
  --signal-2: #0891b2;
  --signal-soft: rgba(10, 155, 116, 0.1);
  --gold: #b7791f;
  --gold-soft: rgba(214, 158, 46, 0.16);
  --coral: #d9534f;

  --grad: linear-gradient(120deg, #0a9b74 0%, #0891b2 55%, #4f46e5 100%);
  --shadow: 0 30px 80px -40px rgba(15, 20, 30, 0.35);

  --max: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --pill: 999px;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(10, 155, 116, 0.22); color: var(--text); }

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

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

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--signal); color: var(--ink);
  padding: 8px 14px; border-radius: var(--r-sm); z-index: 100;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ---------- Tipografía ---------- */

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }

h1, h2 { font-family: var(--f-display); font-optical-sizing: auto; }

h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; }
h3 { font-family: var(--f-body); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }

em, .em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--pill);
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary {
  background: var(--signal); color: #fff;
  box-shadow: 0 0 0 0 rgba(10, 155, 116, 0.4), 0 10px 30px -10px rgba(10, 155, 116, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(10, 155, 116, 0.12), 0 16px 40px -12px rgba(10, 155, 116, 0.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(248, 247, 243, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.12rem; }
.logo-mark { width: 30px; height: 30px; }
.logo-text { white-space: nowrap; }
.logo b { color: var(--signal); font-weight: inherit; }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links .btn { padding: 10px 18px; font-size: 0.92rem; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  color: var(--text); border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 150px 0 110px; overflow: hidden; isolation: isolate; min-height: 100vh; display: flex; align-items: center; }
.hero > .container { width: 100%; }

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: 0; opacity: 0.8;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.75; mix-blend-mode: multiply; }
.flow-page { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.hero-bg .glow-1 { width: 640px; height: 640px; background: #5eead4; top: -200px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.hero-bg .glow-3 { width: 520px; height: 520px; background: #fcd9a8; bottom: -220px; left: -160px; animation: drift2 16s ease-in-out infinite alternate; }
.hero-bg .glow-2 { width: 560px; height: 560px; background: #a5b4fc; top: 180px; right: 28%; animation: drift2 18s ease-in-out infinite alternate-reverse; }

@keyframes drift { 50% { transform: translate3d(-120px, 80px, 0) scale(1.15); } to { transform: translate3d(-40px, 160px, 0) scale(0.95); } }
@keyframes drift2 { 50% { transform: translate3d(140px, -60px, 0) scale(1.1); } to { transform: translate3d(60px, -140px, 0) scale(1.2); } }

.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none;
  color: var(--muted); font-size: 0.9rem;
}
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 10px var(--signal);
}

/* Maqueta de documento analizado */

.doc-demo { position: relative; perspective: 1400px; }
.doc-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 50px 120px -40px rgba(15, 20, 30, 0.55);
  transform: rotateY(-7deg) rotateX(4deg);
  transition: transform 0.8s var(--ease);
}
.doc-demo:hover .doc-card { transform: rotateY(0) rotateX(0); }

.doc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ea; }
.dots i:nth-child(1) { background: #ff8a7a; } .dots i:nth-child(2) { background: #f1c76b; } .dots i:nth-child(3) { background: #6fd6a8; }
.doc-file { font-family: var(--f-mono); font-size: 0.72rem; color: var(--faint); }
.status-chip {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--signal); background: var(--signal-soft);
  padding: 4px 10px; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 6px;
}
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

.doc-body { position: relative; padding: 18px; background: #f6f7f9; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.doc-title { font-family: var(--f-display); font-size: 0.98rem; margin-bottom: 14px; color: var(--text); }
.doc-line { height: 7px; border-radius: 4px; background: #e3e6eb; margin-bottom: 9px; }
.doc-line.w90 { width: 90%; } .doc-line.w75 { width: 75%; } .doc-line.w60 { width: 60%; } .doc-line.w82 { width: 82%; } .doc-line.w40 { width: 40%; }
.doc-line.hit { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); animation: hit 7s infinite; }
.doc-line.hit.h2 { animation-delay: 1.4s; }
.doc-line.hit.h3 { animation-delay: 2.8s; }
@keyframes hit {
  0%, 12% { background: #e3e6eb; box-shadow: inset 0 0 0 transparent; }
  20%, 85% { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
  100% { background: #e3e6eb; box-shadow: inset 0 0 0 transparent; }
}
.scanline {
  position: absolute; left: 0; right: 0; height: 70px; top: -70px;
  background: linear-gradient(180deg, transparent, rgba(10, 155, 116, 0.12), transparent);
  border-bottom: 1px solid rgba(10, 155, 116, 0.5);
  animation: scan 3.5s var(--ease) infinite;
}
@keyframes scan { to { top: 100%; } }

.findings { margin-top: 16px; display: grid; gap: 10px; }
.finding {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line);
  font-size: 0.84rem;
  opacity: 0; transform: translateY(8px);
  animation: rise 7s var(--ease) infinite;
}
.finding:nth-child(2) { animation-delay: 1.4s; }
.finding:nth-child(3) { animation-delay: 2.8s; }
@keyframes rise {
  0%, 14% { opacity: 0; transform: translateY(8px); }
  22%, 86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
.finding .tag { font-family: var(--f-mono); font-size: 0.66rem; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.04em; }
.tag.risk { color: var(--coral); background: rgba(255, 138, 122, 0.12); }
.tag.date { color: var(--gold); background: var(--gold-soft); }
.tag.ok { color: var(--signal); background: var(--signal-soft); }
.finding .src { font-family: var(--f-mono); font-size: 0.68rem; color: var(--faint); }

.demo-note { margin-top: 14px; font-family: var(--f-mono); font-size: 0.68rem; color: var(--faint); text-align: right; }

.float-badge {
  position: absolute; left: -40px; bottom: -26px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 24px 50px -24px rgba(15, 20, 30, 0.45); animation: bob 6s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: 0.92rem; }
.float-badge small { color: var(--muted); font-size: 0.78rem; }
.float-badge .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--signal-soft); display: grid; place-items: center; color: var(--signal); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */

.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(241, 240, 234, 0.72); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--signal); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

section { position: relative; }
.hero-inner > *, .story > *, .cta-grid > *, .usecases > *, .fit > *, .method > * { min-width: 0; }
.section { padding: 130px 0; }
.section-alt { background: rgba(241, 240, 234, 0.72); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 { margin-bottom: 22px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Historia: un martes en el despacho */

.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.story-sticky { position: sticky; top: 120px; }
.story-sticky .lead { margin-bottom: 0; }

.timeline { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.t-item { position: relative; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease); }
.t-item:hover { border-color: var(--line-strong); transform: translateX(4px); }
.t-item::before { content: ""; position: absolute; left: -31px; top: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--faint); }
.t-item.final::before { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.t-time { font-family: var(--f-mono); font-size: 0.74rem; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 6px; }
.t-item p { margin: 0; color: var(--muted); }
.t-item h3 { margin-bottom: 6px; }
.t-item.final { border-color: rgba(10, 155, 116, 0.35); background: linear-gradient(135deg, rgba(10, 155, 116, 0.08), var(--surface) 60%); }
.t-item.final .t-time { color: var(--signal); }

/* Método */

.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 36px 30px 32px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 20, 30, 0.04);
  overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s;
}
.step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity 0.4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step:hover::after { opacity: 1; }
.step-num { font-family: var(--f-display); font-size: 4.6rem; line-height: 1; font-style: italic; color: transparent; -webkit-text-stroke: 1.2px rgba(15, 20, 30, 0.22); margin-bottom: 18px; transition: -webkit-text-stroke-color 0.4s; }
.step:hover .step-num { -webkit-text-stroke-color: var(--signal); }
.step h3 { font-size: 1.32rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.deliverable { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-strong); font-size: 0.88rem; color: var(--text); }
.deliverable b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin-bottom: 6px; }

.method-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.method-foot p { margin: 0; color: var(--muted); max-width: 720px; }
.method-foot strong { color: var(--text); }

/* Dos caminos: ahorro / ingreso */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.path { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.path .k { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.path.save .k { color: var(--signal); }
.path.earn .k { color: var(--gold); }
.path h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.path p { color: var(--muted); margin: 0; }

/* Casos de uso (tabs) */

.usecases { display: grid; grid-template-columns: 340px 1fr; gap: 28px; }
.tablist { display: grid; gap: 8px; align-content: start; }
.tab {
  text-align: left; background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; font: inherit; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: all 0.3s var(--ease);
}
.tab small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 4px; }
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected="true"] { color: var(--text); background: var(--surface); border-color: rgba(10, 155, 116, 0.4); box-shadow: inset 3px 0 0 var(--signal); }
.tab .chev { opacity: 0; transition: opacity 0.3s, transform 0.3s; color: var(--signal); }
.tab[aria-selected="true"] .chev { opacity: 1; transform: translateX(2px); }

.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 40px; min-height: 100%; }
.panel[hidden] { display: none; }
.panel h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.panel > p { color: var(--muted); max-width: 620px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.compare > div { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); }
.compare h4 { margin: 0 0 12px; font-family: var(--f-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.compare .before h4 { color: var(--faint); }
.compare .after { border-color: rgba(10, 155, 116, 0.3); background: linear-gradient(160deg, rgba(10, 155, 116, 0.07), var(--ink-2) 70%); }
.compare .after h4 { color: var(--signal); }
.compare ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.compare li { margin-bottom: 6px; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.panel-tags span { font-family: var(--f-mono); font-size: 0.7rem; padding: 5px 10px; border-radius: var(--pill); border: 1px solid var(--line-strong); color: var(--muted); }

/* Principios */

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.principle { background: var(--surface); padding: 36px 32px; transition: background 0.3s; }
.principle:hover { background: var(--surface-2); }
.principle .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); margin-bottom: 22px; }
.principle .ico svg { width: 22px; height: 22px; }
.principle h3 { margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* Para quién */

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-card { padding: 40px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.fit-card.main { background: radial-gradient(ellipse at top right, rgba(10, 155, 116, 0.12), transparent 60%), var(--surface); border-color: rgba(10, 155, 116, 0.3); }
.fit-card .k { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin-bottom: 14px; }
.fit-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.8rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.fit-card p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; color: var(--text); font-size: 0.96rem; }
.checks li::before { content: "✓"; color: var(--signal); font-weight: 700; }

/* FAQ */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 1.14rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--signal); transition: transform 0.35s var(--ease), background 0.3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--signal-soft); }
.faq details p { color: var(--muted); padding: 0 56px 26px 0; margin: 0; }

/* CTA final + formulario */

.cta-final { padding: 130px 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 15% 30%, rgba(10, 155, 116, 0.14), transparent 60%),
              radial-gradient(ellipse 50% 60% at 90% 90%, rgba(76, 201, 240, 0.1), transparent 60%);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-grid h2 { margin-bottom: 22px; }
.cta-points { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.cta-points li { display: flex; gap: 14px; color: var(--muted); }
.cta-points li b { color: var(--text); font-weight: 600; }
.cta-points .n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--signal); color: var(--signal); display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.76rem; }

.form-card { padding: 34px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 6px; font-size: 1.3rem; }
.form-card > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.84rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong); font: inherit; font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 4px; accent-color: var(--signal); }
.consent a { color: var(--signal); }
.form-card .btn { width: 100%; }
.form-alt { text-align: center; margin: 16px 0 0; font-size: 0.88rem; color: var(--faint); }
.form-alt a { color: var(--text); }
.hp { position: absolute; left: -9999px; }

/* Páginas internas */

.page-hero { padding: 180px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .hero-bg .grid { mask-image: radial-gradient(ellipse 60% 70% at 30% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 20%, #000 20%, transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 900px; margin-bottom: 26px; }

.manifesto { max-width: 820px; }
.manifesto p { font-family: var(--f-display); font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.45; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 1.1em; }
.manifesto p strong { color: var(--text); font-weight: 500; }

.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.belief { padding: 34px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.belief .num { font-family: var(--f-mono); font-size: 0.74rem; color: var(--signal); letter-spacing: 0.1em; margin-bottom: 14px; }
.belief h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.belief p { color: var(--muted); margin: 0; }

.not-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.not-item { padding: 28px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); }
.not-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.not-item h3::before { content: "✕ "; color: var(--coral); }
.not-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.legal { max-width: 820px; }
.legal h2 { font-family: var(--f-body); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin: 42px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal .pending { color: var(--gold); background: var(--gold-soft); padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: 0.85em; }

.center-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 160px 24px 80px; }
.center-page h1 { margin-bottom: 20px; }
.center-page .lead { margin: 0 auto 34px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: rgba(248, 247, 243, 0.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid p { color: var(--muted); font-size: 0.94rem; max-width: 340px; margin-top: 16px; }
.footer-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--signal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }

/* ---------- Animación de entrada ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .finding { opacity: 1; transform: none; }
  .doc-line.hit { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-inner, .story, .cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .story-sticky { position: static; }
  .doc-card { transform: none; }
  .float-badge { left: 12px; bottom: -24px; }
  .usecases { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .not-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section, .cta-final { padding: 88px 0; }
  .hero { padding: 128px 0 80px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(248, 247, 243, 0.98); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-120%); transition: transform 0.4s var(--ease);
  }
  .nav-open .nav-links { transform: none; }
  .nav-open .site-header { background: rgba(248, 247, 243, 0.98); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-links .btn { display: flex; padding: 14px; }
  .method, .paths, .fit, .compare, .beliefs, .not-list, .principles, .field-row { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr; }
  .panel { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .form-card { padding: 24px; }
  .float-badge { display: none; }
  .hero-ctas .btn { width: 100%; }
  .eyebrow { letter-spacing: 0.1em; font-size: 0.7rem; }
  .doc-file { display: none; }
}
