/* CatchAI · landing. Misma paleta, tipografía y fondo que la plataforma de adopción
   (adopcion.catchai.cloud) para que ambas se sientan un solo producto. */

:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --bg-alt: #eaf3fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --fg: #0b2138;
  --fg-soft: #33475b;
  --muted: #586473;
  --line: rgba(11, 33, 56, 0.1);
  --line-strong: rgba(11, 33, 56, 0.16);
  --brand: #077aa7;
  --brand-glow: #1bc7ef;
  --brand-soft: rgba(7, 122, 167, 0.1);
  --chip: rgba(255, 255, 255, 0.6);
  --card-shadow: 0 30px 80px -20px rgba(11, 33, 56, 0.35);
  --grad-text: linear-gradient(90deg, #0779a8, #1595d8 55%, #1bc7ef);
  --grad-btn: linear-gradient(90deg, #0b5f8f, #1595d8);
  --ok: #188a5a;
  --radius: 28px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06111f;
  --bg-alt: #081627;
  --surface: rgba(11, 26, 46, 0.75);
  --surface-solid: #0b1a2e;
  --fg: #eef4fa;
  --fg-soft: #cbd6e2;
  --muted: #9fb0c2;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --brand: #5fd6f5;
  --brand-glow: #1bc7ef;
  --brand-soft: rgba(27, 199, 239, 0.12);
  --chip: rgba(255, 255, 255, 0.05);
  --card-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --ok: #4fd39a;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(27, 199, 239, 0.25); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Íconos ---------- */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .i { transition: transform .2s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 12px 28px -10px rgba(7, 121, 168, 0.6); }
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(7, 121, 168, 0.75); }
.btn-ghost { background: var(--chip); color: var(--fg); border-color: var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-block { width: 100%; min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--fg); cursor: pointer;
}
.icon-btn:hover { background: var(--brand-soft); }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; }
:root[data-theme="dark"] .theme-light-icon { display: none; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: inline-flex; align-items: center; border-radius: 10px; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--fg-soft); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--fg); background: var(--brand-soft); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta-long { display: none; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (min-width: 640px) { .header-cta-long { display: inline; } .header-cta-short { display: none; } .brand img { height: 46px; } }

/* ---------- Hero (igual a la portada del diagnóstico en la plataforma) ---------- */
.hero { position: relative; isolation: isolate; margin-top: -76px; padding-top: 76px; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-alt); pointer-events: none; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px), 0) scale(1.06); transition: transform .7s ease-out; will-change: transform; }
@media (min-width: 768px) { .hero-bg img { object-position: 70% center; } }
.hero-veil { position: absolute; inset: 0; }
.hero-veil-mobile { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75), rgba(234, 243, 251, .6)); }
:root[data-theme="dark"] .hero-veil-dark { background: linear-gradient(90deg, #06111f, rgba(6, 17, 31, .85), rgba(6, 17, 31, .35)); }
:root[data-theme="dark"] .hero-veil-mobile { background: linear-gradient(180deg, rgba(6, 17, 31, .9), rgba(6, 17, 31, .8), rgba(6, 17, 31, .6)); }
@media (min-width: 768px) { .hero-veil-mobile { display: none; } }
.hero-bg canvas { position: absolute; inset: 0; }
.hero-halo { position: absolute; inset: 0; opacity: 0; background: radial-gradient(420px circle at var(--cx, -999px) var(--cy, -999px), rgba(27, 199, 239, .14), transparent 60%); transition: opacity .5s ease; }
@media (pointer: fine) { .hero-halo { opacity: 1; } }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); }

.hero-grid { display: grid; gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; padding-top: 16px; } }
@media (min-width: 1240px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 160px 430px; gap: 32px; } }

.hero-copy { max-width: 640px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(7, 122, 167, .15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
:root[data-theme="dark"] .pill { background: rgba(255, 255, 255, .1); color: #a5f0ff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hero h1 { margin: 16px 0 0; font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.15rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.hero h1 .grad { display: block; padding-bottom: .06em; }
.hero-lede { margin: 20px 0 0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--fg-soft); line-height: 1.65; }
.hero-lede strong { color: var(--fg); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); font-size: 12.5px; font-weight: 500; color: var(--fg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.features { list-style: none; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: none; gap: 18px; }
@media (min-width: 1024px) { .features { display: grid; } }
.features li { display: flex; gap: 16px; }
.feature-ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .7); color: var(--fg); box-shadow: 0 1px 2px rgba(11, 33, 56, .06); }
:root[data-theme="dark"] .feature-ico { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #a5f0ff; }
.features strong { display: block; font-weight: 600; }
.features span { font-size: 14px; color: var(--fg-soft); }

/* Isotipo 3D */
.emblem { display: none; width: 160px; height: 160px; position: relative; top: -160px; justify-self: center; perspective: 900px; }
@media (min-width: 1240px) { .emblem { display: block; } }
.emblem-float { position: relative; width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.emblem-halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(27, 199, 239, .55), rgba(7, 121, 168, .25) 40%, transparent 70%); filter: blur(24px); animation: breathe 6s ease-in-out infinite; }
.emblem-orbit { position: absolute; border-radius: 50%; }
.emblem-orbit.o1 { inset: -8%; border: 1px solid rgba(255, 255, 255, .4); -webkit-mask-image: linear-gradient(115deg, #000, transparent 60%); mask-image: linear-gradient(115deg, #000, transparent 60%); animation: spin 38s linear infinite; }
.emblem-orbit.o2 { inset: 4%; border: 1px solid rgba(103, 232, 249, .4); -webkit-mask-image: linear-gradient(300deg, #000, transparent 55%); mask-image: linear-gradient(300deg, #000, transparent 55%); animation: spin 24s linear infinite reverse; }
.emblem-orbit.o2::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 4px rgba(27, 199, 239, .9); }
.emblem-tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.emblem-tilt img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.emblem-shine { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; -webkit-mask: url(/brand/isotipo-512.png) center / contain no-repeat; mask: url(/brand/isotipo-512.png) center / contain no-repeat; background: radial-gradient(circle at var(--sx, 35%) var(--sy, 30%), rgba(255, 255, 255, .75), transparent 45%); transform: translateZ(7px); }

/* Tarjeta del diagnóstico (ocupa el lugar del formulario de registro) */
.dx-card { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .7); background: var(--surface); box-shadow: var(--card-shadow), 0 0 0 1px rgba(0, 0, 0, .03); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
:root[data-theme="dark"] .dx-card { border-color: rgba(255, 255, 255, .1); box-shadow: var(--card-shadow), 0 0 0 1px rgba(255, 255, 255, .05); }
@media (min-width: 640px) { .dx-card { padding: 32px; } }
.dx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dx-card h2 { margin: 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.dx-sub { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.tag-free { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: rgba(24, 138, 90, .12); color: var(--ok); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.dx-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.dx-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.dx-list .i { color: var(--brand); margin-top: 1px; }
.dx-sample { margin: 22px 0 0; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); }
.dx-sample-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); }
.dx-sample-head b { font-size: 13px; color: var(--fg); font-weight: 600; }
.bars { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: 1fr 34px; gap: 4px 10px; align-items: center; font-size: 12.5px; color: var(--fg-soft); }
.bars .track { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bars .fill { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #0779a8, #1bc7ef); transform-origin: left; animation: grow 1.2s .6s cubic-bezier(.2, .8, .2, 1) both; }
.bars .fill.low { background: linear-gradient(90deg, #d97706, #f59e0b); }
.bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.dx-card .btn-block { margin-top: 22px; }
.dx-login { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.dx-login a { font-weight: 600; }
.dx-foot { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
@media (max-width: 639px) { .section { padding: 72px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.section h2 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.lede { margin: 16px 0 0; font-size: 1.08rem; color: var(--fg-soft); }

.card { position: relative; border-radius: 22px; border: 1px solid var(--line); background: var(--surface-solid); padding: 26px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 20px 40px -24px rgba(7, 121, 168, .45); }
.card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
.card p { margin: 8px 0 0; color: var(--fg-soft); font-size: 15px; }
.ico-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }

/* Método: 3 pasos */
.method { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: m; }
@media (min-width: 900px) { .method { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.method li { position: relative; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface-solid); overflow: hidden; }
.method .num { display: block; font-size: 3.2rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.method h3 { margin: 14px 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.method p { margin: 6px 0 0; color: var(--fg-soft); }
.method li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 199, 239, .18), transparent 70%); }

/* Pilares */
.pillar { display: flex; flex-direction: column; }
.pillar .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand); text-transform: uppercase; }
.pillar h3 { margin-top: 10px; font-size: 1.3rem; }
.ticks { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ticks .i { color: var(--brand); margin-top: 3px; }

/* Niveles de automatización */
.levels { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 960px) { .levels { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.level { position: relative; display: flex; flex-direction: column; }
.level-top { display: flex; align-items: center; gap: 12px; }
.level-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.level-name { font-weight: 700; font-size: 1.05rem; }
.level h3 { margin-top: 16px; }
.level .example { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--muted); }
.level-featured { border-color: color-mix(in srgb, var(--brand-glow) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-glow) 30%, transparent), 0 24px 50px -28px rgba(27, 199, 239, .6); }
.level-featured .level-n { background: var(--grad-btn); color: #fff; }
.badge { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700; }

/* Video */
.video-wrap { position: relative; margin-top: 48px; border-radius: 24px; padding: 8px; background: linear-gradient(135deg, rgba(27, 199, 239, .45), rgba(7, 121, 168, .15) 40%, rgba(27, 199, 239, .35)); box-shadow: 0 40px 90px -40px rgba(7, 121, 168, .7); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #06111f; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Para quién */
.who { display: flex; gap: 14px; align-items: flex-start; }
.who .ico-tile { margin: 0; flex-shrink: 0; }

/* Caso */
.case { display: grid; gap: 28px; align-items: center; padding: 36px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 90% 0%, rgba(27, 199, 239, .14), transparent 70%), var(--surface-solid); }
@media (min-width: 900px) { .case { grid-template-columns: 1.1fr 1fr; padding: 48px; } }
.case h3 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.2; }
.case p { margin: 12px 0 0; color: var(--fg-soft); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; font-weight: 500; }
.flow li .ico-tile { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.flow li.human { border-color: color-mix(in srgb, var(--brand-glow) 50%, transparent); }

/* Rutas */
.route { display: flex; flex-direction: column; }
.route .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route h3 { margin-top: 10px; font-size: 1.2rem; }
.route .link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface-solid); transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand); transition: transform .25s ease; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--fg-soft); }

/* CTA final */
.cta-final { position: relative; overflow: hidden; border-radius: 32px; padding: 56px 24px; text-align: center; color: #eef4fa; background: #06111f; isolation: isolate; }
@media (min-width: 640px) { .cta-final { padding: 72px 48px; } }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/brand/fondo-catchai-sm.jpg) 70% center / cover; opacity: .55; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 50% 0%, rgba(27, 199, 239, .25), transparent 70%), linear-gradient(180deg, rgba(6, 17, 31, .55), rgba(6, 17, 31, .9)); }
.cta-final .eyebrow { color: #7fe3ff; }
.cta-final h2 { max-width: 760px; margin: 0 auto; color: #fff; }
.cta-final .lede { max-width: 640px; margin-left: auto; margin-right: auto; color: #cbd6e2; }
.cta-checks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 28px 0 0; padding: 0; font-size: 14.5px; }
.cta-checks li { display: inline-flex; align-items: center; gap: 8px; }
.cta-checks .i { color: #5fd6f5; }
.cta-final .hero-ctas { justify-content: center; margin-top: 32px; }
.cta-final .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.cta-final .btn-ghost:hover { border-color: #5fd6f5; }

/* ---------- Pie ---------- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: 14.5px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--fg-soft); }
.footer-grid a:hover { color: var(--fg); }
.footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom a { color: var(--muted); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Animaciones ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rise { animation: rise .8s ease-out both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* En tema claro el menú cae sobre la parte oscura de la imagen: píldora translúcida para que se lea. */
@media (min-width: 960px) {
  .nav { padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  :root[data-theme="dark"] .nav { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
}

/* Los riesgos: rojo para que se lean como alerta */
:root { --risk: #c62828; --risk-soft: rgba(198, 40, 40, .1); --risk-line: rgba(198, 40, 40, .28); }
:root[data-theme="dark"] { --risk: #ff6b6b; --risk-soft: rgba(255, 107, 107, .12); --risk-line: rgba(255, 107, 107, .3); }
.risk-label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--risk-soft); color: var(--risk); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--risk-line); }
.risk { border-color: var(--risk-line); background: linear-gradient(180deg, var(--risk-soft), transparent 55%), var(--surface-solid); }
.risk .ico-tile { background: var(--risk-soft); color: var(--risk); }
.risk:hover { border-color: var(--risk); box-shadow: 0 20px 40px -24px rgba(198, 40, 40, .45); }
