/* ============================================================
   ANGELLEX — hoja de estilos única
   Sin frameworks, sin build. Paleta y medidas en variables.
   Orden: base · utilidades · nav · hero · secciones · pie · responsive
   ============================================================ */

:root {
  /* Azules */
  --navy-950: #060c18;
  --navy-900: #0b1220;
  --navy-850: #0d1524;
  --navy-800: #0f172a;
  --navy-700: #1e293b;

  /* Turquesa */
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --teal-50:  #f0fdfa;

  /* Neutros */
  --ink:    #0f172a;
  --body:   #475569;
  --muted:  #64748b;
  --soft:   #94a3b8;
  --line:   #e2e8f0;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --white: #ffffff;

  /* Tipografía */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* Medidas */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, .08);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, .12);
  --glow: 0 0 24px rgba(13, 148, 136, .35);
  --nav-h: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* El atributo hidden debe ganarle a cualquier display de clase */
[hidden] { display: none !important; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--teal-600); color: #fff; }

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

.mono { font-family: var(--mono); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Iconos ---------- */
.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--xl { width: 2.25rem; height: 2.25rem; stroke-width: 1.2; }
/* Iconos macizos */
.stars .ico, .ico--quote { fill: currentColor; stroke: none; }

/* ---------- Contenedores ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 820px; }

.section { padding: 6rem 0; }
.section--tight { padding: 3.5rem 0; border-block: 1px solid var(--gray-100); }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--navy-800); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.eyebrow {
  color: var(--teal-600); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  line-height: 1.2; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 1rem;
}
.section--dark .section-title { color: #fff; }
.section-sub { font-size: 1.06rem; color: var(--body); }
.section--dark .section-sub { color: var(--soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.5rem;
  background: transparent;          /* los <button> traen gris por defecto */
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn .ico { width: 1.1em; height: 1.1em; stroke-width: 2; transition: transform .25s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

.btn--primary { background: var(--teal-600); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: var(--teal-700); box-shadow: 0 0 35px rgba(13, 148, 136, .55); }

.btn--ghost { border-color: rgba(148, 163, 184, .45); color: #fff; }
.btn--ghost:hover { border-color: var(--teal-400); background: rgba(255, 255, 255, .06); }

.btn--dark { background: var(--navy-800); color: #fff; border-radius: 99px; box-shadow: 0 10px 20px -10px rgba(15, 23, 42, .6); }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn--soft { background: var(--gray-50); color: var(--ink); border-color: var(--line); }
.btn--soft:hover { background: var(--gray-100); }

.link { color: var(--teal-600); font-weight: 600; }

/* ---------- Aparición al hacer scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.topbar.is-scrolled { box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }

.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--nav-h);
}

.topbar-logo { display: flex; align-items: center; gap: .6rem; }
.topbar-logo img { width: 2.6rem; height: auto; }
.topbar-logo span { font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }

.topbar-actions { display: flex; align-items: center; gap: .75rem; }

.topbar-links { display: flex; align-items: center; gap: 2rem; }
.topbar-links a { font-size: .875rem; font-weight: 500; color: var(--body); transition: color .25s; }
.topbar-links a:hover { color: var(--teal-600); }

.topbar-burger {
  display: none;
  background: none; border: 0; padding: .4rem; border-radius: 8px; color: var(--body);
}
.topbar-burger .ico { width: 1.6rem; height: 1.6rem; }

/* Sobre el hero oscuro */
.topbar.is-over {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
/* Apenas se hace scroll dentro del hero, vidrio oscuro: si no, el texto
   pasa por debajo de una barra transparente y queda ilegible. */
.topbar.is-over.is-scrolled {
  background: rgba(6, 12, 24, .82);
  border-bottom-color: rgba(148, 163, 184, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar.is-over .topbar-logo span,
.topbar.is-over .topbar-links a,
.topbar.is-over .topbar-burger { color: rgba(226, 232, 240, .88); }
.topbar.is-over .topbar-links a:hover { color: var(--teal-400); }
.topbar.is-over .topbar-cta {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(148, 163, 184, .35);
  color: #fff;
  box-shadow: none;
}
.topbar.is-over .topbar-cta:hover { background: var(--teal-600); border-color: var(--teal-600); }

.mobile-menu {
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  box-shadow: 0 20px 30px -12px rgba(15, 23, 42, .18);
  padding: .5rem 1.5rem 1.5rem;
}
.mobile-menu a { display: block; padding: .8rem .25rem; font-weight: 500; color: var(--ink); }
.mobile-menu a:hover { color: var(--teal-600); }
.mobile-menu .btn { margin-top: 1rem; }

/* ============================================================
   HERO CINEMATOGRÁFICO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--navy-950);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(115% 85% at 50% 42%, rgba(6, 12, 24, 0) 30%, rgba(6, 12, 24, .55) 70%, rgba(6, 12, 24, .92) 100%),
    linear-gradient(180deg, rgba(6, 12, 24, .65) 0%, rgba(6, 12, 24, 0) 22%, rgba(6, 12, 24, 0) 78%, rgba(6, 12, 24, .9) 100%);
}

.hero-flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 50svh,
    rgba(255, 255, 255, .95) 0%,
    rgba(153, 246, 228, .55) 14%,
    rgba(20, 184, 166, .25) 30%,
    rgba(6, 12, 24, 0) 62%);
}

/* Etiquetas de la fase 3. Los tops van en svh para que caigan dentro de
   la pantalla visible aunque el hero sea más alto que el viewport. */
.hero-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chip {
  position: absolute;
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.05rem;
  border-radius: 14px;
  white-space: nowrap;
  background: rgba(12, 20, 36, .78);
  border: 1px solid rgba(45, 212, 191, .3);
  box-shadow: 0 22px 45px -14px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  will-change: transform, opacity;
}
.chip .ico { width: 1.35rem; height: 1.35rem; color: var(--teal-400); }
.chip-t { color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.15; }
.chip-s { color: var(--soft); font-size: .72rem; margin-top: .18rem; }
.chip--a { left: 5%;  top: 30svh; }
.chip--b { left: 56%; top: 19svh; }
.chip--c { left: 30%; top: 68svh; }

.hero-inner {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 5rem;
}
.hero-grid {
  width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .85rem; margin-bottom: 1.75rem;
  border-radius: 99px;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25);
  color: var(--teal-300);
  font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
}
.pulse {
  position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400);
}
.pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--teal-400); animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.06; font-weight: 700; letter-spacing: -.03em;
  color: #fff; margin-bottom: 1.5rem;
}
.grad {
  background: linear-gradient(90deg, var(--teal-300), #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: 1.1rem; color: rgba(203, 213, 225, .92);
  max-width: 34rem; margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  margin-top: 2.5rem; font-size: .82rem; color: var(--soft);
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust .ico { width: 1.05rem; height: 1.05rem; color: var(--teal-400); }

/* --- Portátil --- */
.hero-visual { position: relative; }
.laptop { position: relative; max-width: 560px; margin: 0 auto; transform-origin: 50% 60%; will-change: transform, opacity; }
.laptop-aura {
  position: absolute; inset: -2.5rem;
  background: rgba(20, 184, 166, .2); filter: blur(70px); border-radius: 50%;
}
.laptop-lid {
  position: relative;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgba(51, 65, 85, .8);
  background: var(--navy-850);
  box-shadow: 0 45px 90px -25px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.laptop-screen {
  position: relative; overflow: hidden;
  border-radius: 10px;
  background: #080f1c;
  border: 1px solid rgba(255, 255, 255, .05);
}
.laptop-hinge {
  height: 10px; width: 113%; margin-left: -6.5%;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #475569 0%, var(--navy-700) 55%, var(--navy-900) 100%);
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 100%, 0 100%);
}
.laptop-foot { height: 3px; width: 26%; margin: 0 auto; border-radius: 0 0 99px 99px; background: rgba(71, 85, 105, .5); }

.screen-sweep {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(204, 251, 241, .3) 48%,
    rgba(255, 255, 255, .55) 51%,
    rgba(204, 251, 241, .3) 54%,
    rgba(255, 255, 255, 0) 67%);
}

/* --- Panel dentro de la pantalla --- */
.screen-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
}
.dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dots i:nth-child(1) { background: rgba(251, 113, 133, .7); }
.dots i:nth-child(2) { background: rgba(251, 191, 36, .7); }
.dots i:nth-child(3) { background: rgba(52, 211, 153, .7); }
.screen-url { font-size: 10px; color: var(--muted); }
.screen-spacer { width: 2rem; }

.screen-body { display: flex; }
.screen-rail {
  width: 44px; flex: none;
  border-right: 1px solid rgba(255, 255, 255, .05);
  padding: .9rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: #475569;
}
.screen-rail .ico { width: 17px; height: 17px; }
.screen-rail .is-on { color: var(--teal-400); }
.rail-logo {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(20, 184, 166, .2); border: 1px solid rgba(45, 212, 191, .3);
  color: var(--teal-300); display: grid; place-items: center;
}
.rail-logo .ico { width: 15px; height: 15px; }

.screen-main { flex: 1; min-width: 0; padding: .9rem; display: grid; gap: .9rem; }
.screen-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.stat {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .03);
  border-radius: 10px; padding: .6rem;
}
.stat-k { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3rem; }
.stat-v { display: block; font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1; }
.stat--accent { border-color: rgba(45, 212, 191, .22); background: rgba(45, 212, 191, .07); }
.stat--accent .stat-k { color: rgba(94, 234, 212, .8); }
.stat--accent .stat-v { color: var(--teal-300); }
.stat-dot {
  position: absolute; top: .6rem; right: .6rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.screen-list { border: 1px solid rgba(255, 255, 255, .05); border-radius: 10px; overflow: hidden; }
.screen-list-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .75rem;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #cbd5e1;
}
.screen-list-head .link { font-size: 9px; text-transform: none; letter-spacing: 0; color: var(--teal-400); }
.screen-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem .75rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.screen-row > div { min-width: 0; }
.screen-row p { font-size: 11px; font-weight: 500; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-row p.mono { font-size: 9px; font-weight: 400; color: var(--muted); margin-top: .1rem; }
.tag {
  flex: none; font-size: 8px; font-weight: 700; letter-spacing: .04em;
  padding: .15rem .5rem; border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .1); color: var(--soft);
}
.tag--new { background: rgba(45, 212, 191, .15); color: var(--teal-300); border-color: rgba(45, 212, 191, .25); }
.tag--warn { background: rgba(251, 191, 36, .15); color: #fcd34d; border-color: rgba(251, 191, 36, .25); }

.hero-float {
  position: absolute; right: -1.5rem; bottom: -2.5rem;
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem;
  border-radius: 14px;
  background: rgba(13, 21, 36, .92);
  border: 1px solid rgba(45, 212, 191, .25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-float-ico {
  width: 2.5rem; height: 2.5rem; flex: none; border-radius: 10px;
  background: var(--teal-600); color: #fff; display: grid; place-items: center;
}
.hero-float-t { font-size: .82rem; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-float-s { font-size: .72rem; color: var(--soft); }

/* --- Controles de la secuencia --- */
/* Fijos al pie de la pantalla: en móvil el hero es más alto que el viewport
   y anclarlos a la sección los dejaba encima del contenido. */
.cine-controls {
  position: fixed; left: 50%; bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 40;
  display: flex; align-items: center; gap: .9rem;
  transition: opacity .35s ease;
}
.cine-controls.is-off { opacity: 0; pointer-events: none; }
.cine-dots { display: flex; align-items: center; gap: .4rem; }
.cine-dot {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(148, 163, 184, .28);
  transition: background .3s, width .3s;
}
.cine-dot.is-active { background: var(--teal-400); width: 40px; }
.cine-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  color: rgba(203, 213, 225, .75);
  border: 1px solid rgba(148, 163, 184, .25);
  padding: .4rem .85rem; border-radius: 99px;
  background: rgba(12, 20, 36, .5);
  backdrop-filter: blur(6px);
  transition: color .25s, border-color .25s, background .25s;
}
.cine-btn .ico { width: .95rem; height: .95rem; }
.cine-btn:hover { color: #fff; border-color: rgba(45, 212, 191, .6); background: rgba(13, 148, 136, .18); }

/* Estado inicial cuando el motor está activo (si no hay JS, todo se ve) */
.js-cine .hero-el,
.js-cine .laptop,
.js-cine .hero-float,
.js-cine .screen { opacity: 0; }
.js-cine .hero-el { will-change: transform, opacity; }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { text-align: center; padding: 1.5rem; }
.benefit + .benefit { border-left: 1px solid var(--gray-100); }
.benefit h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.benefit p { font-size: .9rem; }
.benefit-ico {
  display: grid; place-items: center;
  width: 4rem; height: 4rem; margin: 0 auto 1.5rem;
  border-radius: 18px;
}
.split-copy .benefit-ico { margin: 0 0 1.5rem; }
.benefit-ico .ico { width: 2rem; height: 2rem; stroke-width: 1.3; }
.benefit-ico--teal   { background: var(--teal-50); color: var(--teal-600); }
.benefit-ico--blue   { background: #eff6ff; color: #2563eb; }
.benefit-ico--indigo { background: #eef2ff; color: #4f46e5; }

/* ============================================================
   FUNCIONALIDADES
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .18); }
.feature-ico {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: 1.5rem;
  border-radius: 10px;
  background: var(--gray-50); color: var(--ink);
  transition: background .3s, color .3s;
}
.feature:hover .feature-ico { background: var(--teal-600); color: #fff; }
.feature h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.feature p { font-size: .9rem; }

.feature--soon { background: transparent; border-style: dashed; box-shadow: none; }
.feature--soon:hover { transform: none; box-shadow: none; }
.feature--soon h3 { color: var(--muted); }
.feature--soon .feature-ico { color: var(--soft); }
.feature-soon-badge {
  display: inline-block; margin-bottom: .75rem; padding: .2rem .6rem;
  font-size: .75rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px;
}

/* ============================================================
   LIQUIDADORES
   Reutiliza la tarjeta .feature; solo agrega el artículo del código,
   las etiquetas y el pie de la tarjeta. Dos columnas en escritorio
   porque las tarjetas llevan más texto que las de funcionalidades;
   en tableta y móvil hereda el responsive de .features.
   ============================================================ */
.liq-tools { grid-template-columns: repeat(3, 1fr); max-width: 1180px; margin: 0 auto; align-items: start; }
.liq-tool { display: flex; flex-direction: column; }
.liq-tool h3 { margin-bottom: .3rem; }
.liq-art {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--teal-600);
  margin-bottom: .85rem;
}
.liq-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.liq-tags li {
  font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--muted);
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .2rem .65rem;
}
.liq-go {
  display: flex; align-items: center; gap: .4rem;
  margin-top: auto; padding-top: 1.4rem;
  font-size: .85rem; font-weight: 600; color: var(--teal-600);
}
.liq-go .ico { width: 1.05rem; height: 1.05rem; stroke-width: 2; transition: transform .25s; }
.liq-tool:hover .liq-go .ico { transform: translateX(3px); }

/* ---- Demo de liquidación (portada de la sección) ---- */
.liq-hero {
  display: grid; grid-template-columns: 1fr .85fr; gap: 3rem; align-items: center;
  max-width: 1080px; margin: 0 auto 3.5rem;
}
.liq-hero-demo-wrap { position: relative; }
.liq-hero-aura {
  position: absolute; inset: -18% -14%; z-index: 0;
  background: radial-gradient(closest-side, rgba(13, 148, 136, .16), transparent 72%);
  filter: blur(6px);
}
.liq-hero-demo {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .25);
  padding: 1.4rem 1.5rem 1.1rem;
  overflow: hidden;
}
.lhd-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; }
.lhd-t { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.lhd-a { font-size: .68rem; font-weight: 600; color: var(--teal-600); }
.lhd-barrido {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(45, 212, 191, .16) 50%, transparent 60%);
  transform: translateX(-120%);
}
.liq-hero-demo.is-running .lhd-barrido { animation: liqBarrido 1.4s ease-out .1s 1; }
@keyframes liqBarrido { to { transform: translateX(120%); } }
.lhd-fila {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0; border-top: 1px solid var(--gray-100);
}
.lhd-fila:first-child { border-top: 0; }
.lhd-l { font-size: .82rem; color: var(--body); font-weight: 500; }
.lhd-l i { display: block; font-style: normal; font-size: .68rem; color: var(--soft); margin-top: .15rem; }
.lhd-v { font-size: .88rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lhd-resta .lhd-v { color: var(--muted); }
.lhd-resta .lhd-v::before { content: '\2212\00A0'; }
.lhd-total { border-top: 1px solid var(--line); margin-top: .2rem; padding-top: .8rem; }
.lhd-total .lhd-l { font-weight: 700; color: var(--ink); font-size: .85rem; }
.lhd-total .lhd-v { font-size: 1.05rem; color: var(--teal-600); }
.liq-hero-demo figcaption { margin-top: .9rem; font-size: .7rem; color: var(--soft); text-align: right; }

@media (max-width: 900px) {
  .liq-hero { grid-template-columns: 1fr; gap: 2rem; }
  .liq-hero-demo-wrap { max-width: 26rem; margin: 0 auto; }
}

/* Herramienta que todavía no existe: se ve presente pero apagada */
/* Herramienta que todavía no está abierta al público: misma tarjeta sólida
   que el resto de la página, con una insignia "Próximamente" junto al ícono. */
.liq-tool--soon .liq-go { display: none; }

.liq-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 2.5rem;
  max-width: 980px; margin: 3rem auto 0;
}
.liq-proof {
  display: flex; align-items: flex-start; gap: .75rem;
  flex: 1 1 24rem;
  font-size: .85rem;
  background: var(--teal-50);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
}
.liq-proof .ico { color: var(--teal-600); margin-top: .15rem; }

/* ============================================================
   PLATAFORMA
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-visual { position: relative; }
.split-frame {
  position: absolute; inset: -1rem;
  background: var(--teal-50);
  border-radius: 2.5rem;
  transform: rotate(-3deg);
}
.mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid var(--gray-100);
}
.mock-title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); }
.mock-title .ico { color: var(--teal-600); }
.mock-tools { display: flex; gap: .5rem; }
.mock-tools .ico {
  width: 2rem; height: 2rem; padding: .4rem; border-radius: 8px;
  background: var(--gray-100); color: var(--muted);
}
.mock-head, .mock-row { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 1rem; align-items: center; }
.mock-head {
  padding: .7rem 1.4rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
}
.mock-row { padding: 1rem 1.4rem; border-bottom: 1px solid var(--gray-100); }
.mock-name { font-size: .875rem; font-weight: 700; color: var(--ink); }
.mock-rad { font-size: .7rem; color: var(--muted); }
.mock-act { font-size: .78rem; font-weight: 500; color: var(--ink); }
.mock-time { display: flex; align-items: center; gap: .3rem; font-size: .7rem; color: var(--soft); margin-top: .2rem; }
.mock-time .ico { width: .85rem; height: .85rem; }
.mock-foot { padding: .8rem; text-align: center; background: var(--gray-50); font-size: .78rem; }
.pill { display: inline-block; padding: .15rem .65rem; border-radius: 99px; font-size: .7rem; font-weight: 500; }
.pill--rose  { background: #ffe4e6; color: #9f1239; }
.pill--green { background: #d1fae5; color: #065f46; }
.pill--blue  { background: #dbeafe; color: #1e40af; }

.check-list { display: grid; gap: 1rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; color: #334155; }
.check-list .ico { width: 1.25rem; height: 1.25rem; color: var(--teal-600); margin-top: .15rem; }
.split-copy .section-title { text-align: left; }
.split-copy .section-sub { margin-bottom: 2rem; }

/* ============================================================
   SEGMENTOS
   ============================================================ */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.segment {
  background: var(--navy-700);
  border: 1px solid rgba(51, 65, 85, .6);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .3s, transform .3s;
}
.segment:hover { border-color: var(--teal-600); transform: translateY(-4px); }
.segment .ico--xl { color: var(--teal-400); margin-bottom: 1.5rem; }
.segment h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.segment p { font-size: .88rem; color: var(--soft); }

/* ============================================================
   FRANJA DE VALOR
   ============================================================ */
.band { background: var(--teal-600); color: #fff; padding: 4rem 0; }
.band-title {
  text-align: center; font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 700;
  margin-bottom: 3rem; letter-spacing: -.01em;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { text-align: center; padding: 0 1rem; }
.band-item + .band-item { border-left: 1px solid rgba(255, 255, 255, .2); }
.band-item .ico--xl { margin: 0 auto .75rem; }
.band-item p { font-size: .88rem; font-weight: 500; color: #ccfbf1; }

/* ============================================================
   PLANES
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; max-width: 1080px; margin: 0 auto; }
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  transition: box-shadow .3s;
}
.plan:hover { box-shadow: var(--shadow-soft); }
.plan h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.plan-for { font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: 1.5rem; }
.plan-price strong { font-size: 2.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan .check-list { margin-bottom: 2rem; }
.plan .check-list li { font-size: .88rem; }

.plan--featured {
  position: relative;
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .6);
  transform: translateY(-1.25rem);
}
.plan--featured h3 { color: #fff; margin-top: .5rem; }
.plan--featured .plan-for { color: var(--soft); }
.plan--featured .plan-price strong { color: #fff; }
.plan--featured .plan-price span { color: var(--soft); }
.plan--featured .check-list li { color: #cbd5e1; }
.plan--featured .check-list .ico { color: var(--teal-400); }
.plan-flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--teal-600); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem 1rem; border-radius: 99px;
  box-shadow: 0 10px 20px -8px rgba(13, 148, 136, .8);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.quote {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
.ico--quote { position: absolute; top: 1.5rem; right: 1.5rem; width: 3rem; height: 3rem; color: var(--gray-100); }
.stars { display: flex; gap: .15rem; color: #fbbf24; margin-bottom: 1rem; }
.stars .ico { width: 1rem; height: 1rem; }
.quote blockquote { position: relative; font-style: italic; margin-bottom: 1.5rem; }
.quote figcaption { display: flex; align-items: center; gap: 1rem; }
.quote figcaption > span:last-child { display: grid; font-size: .72rem; color: var(--muted); }
.quote figcaption strong { font-size: .92rem; color: var(--ink); font-style: normal; }
.avatar {
  width: 3rem; height: 3rem; flex: none; border-radius: 50%;
  background: var(--line); color: var(--muted);
  display: grid; place-items: center; font-weight: 700;
}

/* ============================================================
   PREGUNTAS FRECUENTES
   ============================================================ */
.faq { display: grid; gap: 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 1.5rem;
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; width: 1.25rem; height: 1.25rem; flex: none; color: var(--teal-600); }
.faq-sign .ico { position: absolute; inset: 0; width: 1.25rem; height: 1.25rem; stroke-width: 2; transition: opacity .25s; }
.faq-item .i-minus { opacity: 0; }
.faq-item[open] .i-plus { opacity: 0; }
.faq-item[open] .i-minus { opacity: 1; }
.faq-a { padding: 0 1.5rem 1.5rem; }

/* ============================================================
   DEMOSTRACIÓN
   ============================================================ */
.demo { position: relative; background: var(--navy-800); overflow: hidden; }
.demo .section-title { color: #fff; }
.demo .section-sub { color: #cbd5e1; }
.demo-glow { position: absolute; width: 20rem; height: 20rem; border-radius: 50%; filter: blur(100px); opacity: .22; }
.demo-glow--teal { top: -6rem; right: -6rem; background: var(--teal-500); }
.demo-glow--blue { bottom: -6rem; left: -6rem; background: #3b82f6; }

.demo-form {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 20px;
  padding: 2rem;
}
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; color: #cbd5e1; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .92rem;
  width: 100%;
  padding: .7rem .9rem;
  color: #fff;
  background: rgba(2, 6, 23, .45);
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 10px;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: none; }
.field select option { color: #0f172a; }
.field input::placeholder, .field textarea::placeholder { color: #64748b; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); background: rgba(2, 6, 23, .7);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #f87171; }

.consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: var(--soft); }
.consent input { margin-top: .25rem; accent-color: var(--teal-500); width: 1rem; height: 1rem; flex: none; }
.consent a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 2px; }

.demo-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .25rem; }
.demo-note { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted); }
.demo-note .ico { width: 1rem; height: 1rem; }

/* ============================================================
   PIE
   ============================================================ */
.footer { background: var(--navy-800); color: var(--soft); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: .88rem; margin: 1.25rem 0; max-width: 26rem; }
.footer .topbar-logo span { color: #fff; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid rgba(148, 163, 184, .2);
  transition: color .25s, border-color .25s;
}
.footer-social a:hover { color: var(--teal-400); border-color: var(--teal-400); }
.footer-col h2 { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-col li + li { margin-top: .55rem; }
.footer-col a { font-size: .88rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; }
.footer-contact .ico { color: var(--teal-400); margin-top: .15rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(148, 163, 184, .15);
  font-size: .82rem; color: var(--muted);
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.page-head {
  padding: calc(var(--nav-h) + 4rem) 0 2.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--ink); letter-spacing: -.02em;
}
.page-head .updated { margin-top: .75rem; font-size: .85rem; color: var(--muted); }

.legal { padding: 3.5rem 0 5rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 2.5rem 0 .75rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 1.5rem 0 .5rem; }
.legal p { font-size: .95rem; margin-bottom: 1rem; }
.legal ul, .legal ol { display: grid; gap: .5rem; margin: 0 0 1rem; padding-left: 1.25rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { font-size: .95rem; }
.legal a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }
.legal .note {
  background: var(--teal-50);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  font-size: .9rem;
}
.legal .note p:last-child { margin-bottom: 0; }
.legal dl { margin: 0 0 1rem; }
.legal dt { font-weight: 600; color: var(--ink); font-size: .95rem; margin-top: .75rem; }
.legal dd { margin: 0; font-size: .95rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 4.5rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .features, .segments, .quotes { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Franja angosta antes de que aparezca el menú de hamburguesa: con seis
   elementos y el botón, la barra se sale del margen. Se juntan los enlaces. */
@media (max-width: 980px) {
  .topbar-links { gap: 1.25rem; }
}

@media (max-width: 860px) {
  .topbar-nav, .topbar-actions { display: none; }
  .topbar-burger { display: inline-flex; }
}

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--gray-100); }
  .features, .segments, .quotes { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .band-item:nth-child(3) { border-left: 0; }
  .demo-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .mock-head { display: none; }
  .mock-row { grid-template-columns: 1fr; gap: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { right: 0; bottom: -2rem; padding: .7rem; }
  .hero-float-t { font-size: .76rem; }
  .hero-float-s { font-size: .68rem; }
  .chip { padding: .55rem .8rem; border-radius: 12px; }
  .chip .ico { width: 1.05rem; height: 1.05rem; }
  .chip-t { font-size: .78rem; }
  .chip-s { font-size: .64rem; }
  .chip--a { left: 4%;  top: 30svh; }
  .chip--b { left: 22%; top: 15svh; }
  .chip--c { left: 12%; top: 68svh; }
  .cine-controls { gap: .6rem; }
  /* Menos aire: entre menos se pueda hacer scroll dentro del hero,
     menos texto pasa por debajo de la barra. */
  .hero-inner { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 4.5rem; }
  .hero-grid { gap: 2.25rem; }
  .hero-lead { margin-bottom: 2rem; }
  .hero-trust { margin-top: 2rem; }
}

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .chip { display: none; }
}
