/*
 * Web pública de Property Creator Studio (home, planes y product-funnel/*). Design system propio, sin dependencias ni
 * estilos en línea (CSP style-src 'self'). Neutros sobrios + un solo acento de marca (degradado magenta → cian), usado
 * con moderación: botón principal, palabras clave y detalles. Tipografía Inter (variable, servida desde el mismo origen).
 * Temas: oscuro por defecto; .theme-light, .theme-sand y .theme-vivid para landings de campañas con identidad propia.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #07080b;
  --bg-2: #0c0d12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #111219;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f5f8;
  --text-2: #c9cdd8;
  --muted: #8d93a5;
  --accent: #ff3cac;
  --accent-2: #22d3ee;
  --ok: #3ee0a1;
  --warn: #ffb547;
  --grad: linear-gradient(100deg, #ff3cac 0%, #a463ff 48%, #22d3ee 100%);
  --grad-soft: linear-gradient(100deg, rgba(255, 60, 172, 0.16), rgba(34, 211, 238, 0.16));
  --on-accent: #0a0612;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: max(20px, calc((100% - 1180px) / 2));
  color-scheme: dark;
}
.theme-light {
  --bg: #fbfbfd; --bg-2: #f3f4f7; --surface: #ffffff; --surface-2: #f4f5f8; --surface-solid: #ffffff;
  --line: rgba(10, 12, 20, 0.08); --line-2: rgba(10, 12, 20, 0.16); --text: #0b0c10; --text-2: #2b2f3a; --muted: #6b7080;
  --shadow: 0 30px 70px -35px rgba(20, 22, 40, 0.35), 0 0 0 1px var(--line); --on-accent: #ffffff;
  color-scheme: light;
}
.theme-sand {
  --bg: #f5f1ea; --bg-2: #ede7dc; --surface: #fbf9f5; --surface-2: #f1ebe1; --surface-solid: #fbf9f5;
  --line: rgba(60, 40, 20, 0.1); --line-2: rgba(60, 40, 20, 0.2); --text: #1d1813; --text-2: #3b332a; --muted: #7a6e60;
  --shadow: 0 30px 70px -35px rgba(60, 40, 20, 0.35), 0 0 0 1px var(--line); --on-accent: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 14px; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.045em; font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -0.04em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
strong { font-weight: 620; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 60, 172, 0.35); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i .fill, .i-fill { fill: currentColor; stroke: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.split > * { min-width: 0; }
@media (min-width: 981px) { .hero .split { grid-template-columns: 1.2fr 1fr; } }
.split-rev > :first-child { order: 2; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ── Tipografía de sección ─────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--text-2); max-width: 640px; margin-top: 22px; letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.fine { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--text-2); font-size: 1.1rem; margin-top: 18px; }
.kicker-num { font-variant-numeric: tabular-nums; }

/* ── Botones ───────────────────────────────────────────────────────── */
.btn { --b: var(--line-2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  padding: 0 22px; border-radius: 999px; border: 1px solid var(--b); background: transparent; color: var(--text); font: 600 0.97rem/1 var(--font);
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); --b: var(--text-2); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i-arrow, .btn:hover .i:last-child { transform: translateX(2px); }
.btn-primary { border: 0; background: var(--text); color: var(--bg); box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 38px -12px rgba(255, 255, 255, 0.45); }
.btn-brand { border: 0; background: var(--grad); color: var(--on-accent); background-size: 140% 100%; background-position: 0 0;
  box-shadow: 0 14px 40px -14px rgba(255, 60, 172, 0.65); }
.btn-brand:hover { background-position: 100% 0; box-shadow: 0 18px 46px -14px rgba(34, 211, 238, 0.55); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); text-decoration: none; }
.btn-link:hover .i { transform: translateX(3px); }
.btn-link .i { transition: transform 0.25s var(--ease); }
.theme-light .btn-primary, .theme-sand .btn-primary { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 34px; }
.center .cta-row { justify-content: center; }
.cta-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.center .cta-note { justify-content: center; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note .i { color: var(--ok); }

/* ── Cabecera ──────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.site-brand img { width: 30px; height: 30px; }
.site-brand strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.site-nav > a, .nav-drop > summary { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 0.93rem; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: color 0.2s, background-color 0.2s; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.site-nav > a:hover, .nav-drop > summary:hover, .site-nav > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-drop { position: relative; }
.nav-drop[open] > summary .i { transform: rotate(180deg); }
.nav-drop > summary .i { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-panel { position: absolute; top: calc(100% + 10px); left: -8px; width: 340px; padding: 8px; border-radius: 18px; background: var(--surface-solid);
  box-shadow: var(--shadow); display: grid; gap: 2px; animation: pop 0.18s var(--ease); }
.nav-panel a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.nav-panel a:hover { background: var(--surface-2); }
.nav-panel .i { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--surface-2); color: var(--text); }
.nav-panel b { font-weight: 600; font-size: 0.93rem; }
.nav-panel small { color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.site-actions .btn { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.nav-toggle { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) {
  .site-header { gap: 12px; }
  .site-nav { display: none; }
  .site-actions .btn-ghost-hide { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-toggle > summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; }
  .nav-toggle > summary::-webkit-details-marker { display: none; }
  .nav-toggle .nav-sheet { position: fixed; inset: 68px 0 auto 0; max-height: calc(100dvh - 68px); overflow-y: auto; padding: 16px 20px 28px;
    background: var(--bg); border-bottom: 1px solid var(--line); display: grid; gap: 4px; animation: pop 0.18s var(--ease); }
  .nav-sheet a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
  .nav-sheet .btn { margin-top: 14px; }
  .site-actions { margin-left: 0; }
}
.site-header-min { justify-content: space-between; }

/* ── Superficies ───────────────────────────────────────────────────── */
.card { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; }
a.card:hover, .card-hover:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.card .card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--line); }
.card .card-icon .i { width: 22px; height: 22px; }
.card .card-link { margin-top: 18px; }
.card-glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0.55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface); }
.pill-brand { border: 0; background: var(--grad-soft); color: var(--text); }
.pill-warn { border-color: rgba(255, 181, 71, 0.35); color: var(--warn); }
.pill-ok { border-color: rgba(62, 224, 161, 0.35); color: var(--ok); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--surface); font-size: 0.95rem; color: var(--text-2); }
.callout .i { margin-top: 3px; color: var(--warn); }
.callout p { margin: 0; }
.callout-ok .i { color: var(--ok); }

/* ── Listas ────────────────────────────────────────────────────────── */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li .i { margin-top: 4px; color: var(--ok); }
.checks-x li .i { color: var(--muted); }
.feature-list { display: grid; gap: 28px; margin-top: 36px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.feature .i { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats > div { padding: 20px 18px; }
  .stats b { font-size: 1.35rem; }
}

/* ── Dispositivos y video ──────────────────────────────────────────── */
.device { position: relative; margin: 0; }
.device-phone { width: min(300px, 78vw); margin-inline: auto; padding: 10px; border-radius: 46px; background: linear-gradient(160deg, #2a2c35, #0d0e12 45%, #1b1c23);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 0 1px rgba(0, 0, 0, 0.6); }
.device-phone .screen { position: relative; overflow: hidden; border-radius: 37px; aspect-ratio: 9 / 16; background: #000; }
.device-phone .screen::after { content: ""; position: absolute; top: 10px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.device-phone video, .device-phone img { width: 100%; height: 100%; object-fit: cover; }
.device-sm { width: min(220px, 60vw); border-radius: 36px; padding: 8px; }
.device-sm .screen { border-radius: 29px; }
.device-sm .screen::after { height: 16px; top: 8px; }
.device figcaption { margin-top: 18px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.device figcaption b { display: block; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.device-browser { border-radius: 16px; overflow: hidden; background: var(--surface-solid); box-shadow: var(--shadow); }
.device-browser .bar { display: flex; gap: 7px; align-items: center; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.device-browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.device-browser img { width: 100%; height: auto; }
.demo-ctrl { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(10, 10, 14, 0.55); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s; }
.demo-ctrl:hover { transform: scale(1.06); background: rgba(10, 10, 14, 0.75); }
.demo-ctrl .i { width: 18px; height: 18px; }
.demo-ctrl .i-on, .demo[data-state="playing"] ~ .demo-ctrl .i-off { display: none; }
.demo[data-state="playing"] ~ .demo-ctrl .i-on { display: block; }
.demo-sound { right: auto; left: 12px; }
.demo-sound .i-sound, .demo-sound[aria-pressed="true"] .i-mute { display: none; }
.demo-sound[aria-pressed="true"] .i-sound { display: block; }
.demo-label { position: absolute; z-index: 2; left: 14px; top: 44px; padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  color: #fff; background: rgba(10, 10, 14, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.glow { position: absolute; inset: auto; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: 0.35; background: var(--grad);
  pointer-events: none; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 18px; isolation: isolate; }
.phones .device-phone:nth-child(2) { transform: translateY(-34px); }
@media (max-width: 640px) {
  .phones { gap: 10px; }
  .phones .device-phone { width: 46vw; padding: 6px; border-radius: 30px; }
  .phones .device-phone .screen { border-radius: 25px; }
  .phones .device-phone .screen::after { height: 14px; top: 7px; }
  .phones .device-phone:nth-child(3) { display: none; }
}

/* ── Antes / después ───────────────────────────────────────────────── */
.ba { display: grid; grid-template-columns: 1.2fr auto 0.8fr; gap: clamp(16px, 3vw, 40px); align-items: center; }
.ba-photos { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0e0e14; }
.ba-photos img { width: 100%; height: auto; }
.ba-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: var(--on-accent); }
.ba-arrow .i { width: 24px; height: 24px; stroke-width: 2.2; }
.ba-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 760px) {
  .ba { grid-template-columns: 1fr; justify-items: center; }
  .ba-arrow { transform: rotate(90deg); }
}

/* ── Pasos ─────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); counter-reset: s; }
.steps-4 { --cols: 4; }
.steps li { counter-increment: s; position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 26px; font-size: 0.85rem; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-2); margin: 0; font-size: 0.96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ── Precios ───────────────────────────────────────────────────────── */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.plan.is-featured { background: var(--surface-2); }
.plan .plan-name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-2); }
.plan .price { margin: 18px 0 4px; font-size: 2.9rem; font-weight: 650; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan .checks { margin: 22px 0 26px; flex: 1; font-size: 0.95rem; }
.plan .btn { width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
table.compare th, table.compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare tr:last-child > * { border-bottom: 0; }
table.compare thead th { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; background: var(--surface); }
table.compare tbody th { font-weight: 500; color: var(--muted); width: 26%; }
table.compare td { color: var(--text-2); }
table.compare .is-us { background: var(--surface); color: var(--text); }
table.compare[data-focus="free"] [data-plan-col="free"], table.compare[data-focus="starter"] [data-plan-col="starter"],
table.compare[data-focus="pro"] [data-plan-col="pro"] { background: var(--surface-2); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: rgba(255, 181, 71, 0.14); color: var(--warn); }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s, background-color 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-2); }

/* ── Banda CTA ─────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); border-radius: 32px;
  border: 1px solid var(--line); background: radial-gradient(80% 120% at 0% 0%, rgba(255, 60, 172, 0.18), transparent 60%),
  radial-gradient(70% 120% at 100% 100%, rgba(34, 211, 238, 0.16), transparent 60%), var(--bg-2); text-align: center; }
.cta-band h2 { max-width: 760px; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .cta-row, .cta-band .cta-note { justify-content: center; }

/* ── Migas ─────────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -68px 0 0; pointer-events: none;
  background: radial-gradient(50% 50% at 75% 20%, rgba(164, 99, 255, 0.14), transparent 70%), radial-gradient(40% 40% at 15% 10%, rgba(255, 60, 172, 0.1), transparent 70%); }
.hero-media { position: relative; isolation: isolate; }
.hero-media .glow { left: 15%; top: 10%; }

/* ── Pie ───────────────────────────────────────────────────────────── */
.site-footer { padding: 72px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-grid h4 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.84rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer-min { padding: 32px var(--gutter); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a, .link-btn { color: inherit; text-decoration: none; }
.footer-legal a:hover, .link-btn:hover { color: var(--text); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Aviso de cookies (ciclo 12): tarjeta discreta abajo a la izquierda; en móvil, barra inferior. No tapa la acción principal. */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: grid; gap: 14px; max-width: 420px; padding: 18px 20px;
  border-radius: 18px; background: var(--surface-solid); box-shadow: var(--shadow); font-size: 0.88rem; line-height: 1.5; color: var(--text-2);
  animation: consent-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.consent p { margin: 0; }
.consent strong { color: var(--text); }
.consent a { color: var(--text); }
.consent-actions { display: flex; justify-content: flex-end; gap: 10px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .consent { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }

/* ── Movimiento ────────────────────────────────────────────────────── */
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-in.d1 { transition-delay: 0.08s; } .reveal-in.d2 { transition-delay: 0.16s; } .reveal-in.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Móvil estrecho: la marca no se parte en varias líneas (el nombre completo sigue en aria-label) */
.site-brand > span { white-space: nowrap; }
@media (max-width: 420px) { .site-header .brand-pre { display: none; } }
