/* ══════════════════════════════════════════════════════════════
   SportaSoft Landing — Estilos
   Fuente: docs/Diseños/langing page v2/varios archivos/
   ══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  /* Defaults = Palette E "Polvo de Ladrillo" (ver PALETTES en index.html). JS los re-aplica al cargar. */
  --brand:      #153b29;  /* pino — paneles oscuros / sidebar */
  --brand-2:    #26523e;
  --accent:     #397856;  /* verde cancha — acento, links, iconos */
  --cta:        #bb5a37;  /* ladrillo / terracota — CTA */
  --cta-text:   #FFFFFF;
  --highlight:  #e9b452;  /* ámbar sol */
  --bg:         #f8f7f2;  /* piedra clara (no crema: croma muy baja) */
  --surface:    #fefdfb;
  --surface-2:  #f4f2ec;
  --text:       #1d271f;
  --muted:      #5c665e;
  --border:     #e0ded7;
  --heading:    #153b29;
  --radius:     16px;
  --radius-sm:  10px;
  --maxw:       1180px;
  --shadow:     0 1px 2px rgba(15,36,71,.04), 0 12px 32px -12px rgba(15,36,71,.18);
  --shadow-lg:  0 30px 80px -28px rgba(15,36,71,.45);
  --ease:       cubic-bezier(.22,.61,.36,1);
  background-color: var(--bg);
}

/* ── BASE ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
  overflow-x: hidden;          /* contiene los glows del hero, sin scroll horizontal */
  touch-action: manipulation;  /* elimina el delay de 300ms en taps (mobile) */
}
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing: -.02em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-family: 'DM Mono', monospace;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.mono { font-family: 'DM Mono', monospace; }

/* Lead-in for the spotlight feature — a different cadence from the hero kicker,
   so it reads as a deliberate accent rather than repeated section grammar. */
.fs-kicker {
  display: inline-block; font-family: 'DM Mono', monospace;
  font-size: 12.5px; font-weight: 500; color: var(--accent);
  padding-bottom: 6px; border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  margin-bottom: 14px;
}
/* Early-access badge — a value signal, styled as a pill on the dark panel. */
.access-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'DM Mono', monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--highlight); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 13px;
}
.access-badge::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--highlight); }
/* separa el badge del título que lo sigue */
.access-badge { margin-bottom: 16px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 14.5px 'Bricolage Grotesque', sans-serif; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), border-color .25s, color .25s, background .25s;
  white-space: nowrap; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
/* Feedback táctil: el botón "se hunde" al presionar (skill: scale-feedback). */
.btn:not(:disabled):active { transform: translateY(0) scale(.97); transition-duration: .08s; }
/* La flecha del CTA avanza un poco en hover (micro-interacción motivada: dirección). */
.btn-cta svg { transition: transform .25s var(--ease); }
.btn-cta:hover svg { transform: translateX(3px); }
.btn-cta { background: var(--cta); color: var(--cta-text); box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--cta) 75%, transparent); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--cta) 70%, transparent); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 17px; font-size: 13.5px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand-logo { display: flex; align-items: center; gap: 11px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26.4px; color: var(--heading); }
.logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
}
.logo-mark img { width: 36px; height: 36px; display: block; }
/* Variante del isotipo según el modo de color (data-tn-mode en <html>). */
.logo-mark .logo-dark { display: none; }
[data-tn-mode="dark"] .logo-mark .logo-light { display: none; }
[data-tn-mode="dark"] .logo-mark .logo-dark { display: block; }
.brand-logo b { color: var(--cta); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.pal-switch { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.pal-dot {
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s var(--ease), border-color .2s;
}
.pal-dot:hover { transform: scale(1.12); }
.pal-dot.active { border-color: var(--text); }
.pal-dot[data-pal="E"] { background: conic-gradient(from 220deg, #153b29, #397856 45%, #bb5a37); }
.pal-dot[data-pal="A"] { background: conic-gradient(from 220deg, #0F2447, #00A896 55%, #F4631A); }
.pal-dot[data-pal="B"] { background: conic-gradient(from 220deg, #1A3A2A, #27AE60 55%, #F9C74F); }
.pal-dot[data-pal="C"] { background: conic-gradient(from 220deg, #1B2A41, #3D9BE9 55%, #38EF7D); }
.pal-dot[data-pal="D"] { background: conic-gradient(from 220deg, #14532d, #16a34a 55%, #4ade80); }
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: transform .2s var(--ease), border-color .2s, color .2s;
}
.theme-btn:hover { transform: rotate(-18deg) scale(1.06); border-color: var(--accent); color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; }

/* Selector de idioma (texto ES·EN·PT, sin banderas: un idioma no es un país) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang-opt {
  border: 0; background: transparent; cursor: pointer; padding: 5px 9px; border-radius: 999px;
  font: 600 12px/1 inherit; letter-spacing: .03em; color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-opt:hover { color: var(--text); }
.lang-opt.active { background: var(--accent); color: #fff; }

/* Hamburguesa + hoja móvil (ocultas en desktop) */
.nav-burger { display: none; width: 38px; height: 38px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; cursor: pointer; position: relative; padding: 0; }
/* Las 3 líneas se centran con un contenedor flex implícito vía translate,
   así el botón puede crecer a 44px en mobile sin descolocarlas. */
.nav-burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--text); border-radius: 2px; transition: transform .28s var(--ease), opacity .2s; }
.nav-burger span:nth-child(1) { transform: translateY(-5px); }
.nav-burger span:nth-child(2) { transform: translateY(0); }
.nav-burger span:nth-child(3) { transform: translateY(5px); }
.nav-burger.open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
.nav-sheet {
  position: fixed; inset: 70px 0 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
}
.nav-sheet.open { opacity: 1; pointer-events: auto; }
.nav-sheet-inner {
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 18px 28px 26px; display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-12px); transition: transform .3s var(--ease);
}
.nav-sheet.open .nav-sheet-inner { transform: translateY(0); }
.nav-sheet-inner a { font: 600 16px 'Bricolage Grotesque', sans-serif; color: var(--text); padding: 13px 4px; border-bottom: 1px solid var(--border); }
.nav-sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.nav-sheet-actions a, .nav-sheet-actions button { width: 100%; }
.nav-sheet-actions a.btn-ghost { border-bottom: 1px solid var(--border); }

/* ══════════════════════════════════════════════════════════════
   MOVIMIENTO — entrada de hero + scroll-reveal (dial MOTION 4)
   El contenido es visible por defecto; estas reglas solo lo realzan.
   Sin gate de visibilidad: si JS no corre, todo se ve igual.
   ══════════════════════════════════════════════════════════════ */

/* Entrada del hero al cargar: stagger via --i (índice del elemento). */
.js-anim .hero [data-rise] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .7s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll-reveal: bloques que entran al viewport (IntersectionObserver añade .in). */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js-anim [data-reveal].in { opacity: 1; transform: none; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); font-weight: 800; color: var(--heading); margin: 20px 0 0; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }
.hero h1 em::after { content:''; position:absolute; left:0; right:0; bottom:.06em; height:.16em; background: var(--highlight); opacity:.5; border-radius: 3px; z-index:-1; }
.hero-sub { font-size: clamp(15.5px, 1.4vw, 18px); color: var(--muted); margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .ti { display: flex; flex-direction: column; }
.hero-trust .ti b { font-family: 'Bricolage Grotesque'; font-size: 22px; font-weight: 800; color: var(--heading); }
.hero-trust .ti span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.hero-trust .ti + .ti { padding-left: 22px; border-left: 1px solid var(--border); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; opacity: .5; }
.hero-glow.g1 { width: 460px; height: 460px; background: var(--accent); top: -160px; right: -80px; }
.hero-glow.g2 { width: 380px; height: 380px; background: var(--highlight); bottom: -180px; left: -120px; opacity:.3; }

/* ── PRODUCT PREVIEW ── */
.preview {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.preview:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.pv-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.pv-url { margin-left: 9px; font-family: 'DM Mono', monospace; font-size: 9px; color: var(--muted); opacity: .8; }
/* "Demo en vivo": señala que el preview es interactivo, no una captura estática. */
.pv-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: 'DM Mono', monospace; font-size: 8.5px; font-weight: 500; color: var(--accent); }
.pv-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); animation: pvLivePulse 2s var(--ease) infinite; }
@keyframes pvLivePulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}
.pv-app { display: flex; height: 360px; }
.pv-side { width: 158px; flex-shrink: 0; background: linear-gradient(180deg, var(--brand), var(--brand-2)); padding: 16px 0; }
.pv-logo { display: flex; align-items: center; gap: 8px; padding: 0 16px 14px; }
.pv-logo .lm { width: 24px; height: 24px; border-radius: 7px; background: color-mix(in srgb, var(--accent) 85%, #fff); display:grid; place-items:center; }
.pv-logo .lm svg { width: 14px; height: 14px; }
.pv-logo span { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 12px; color: #fff; }
.pv-nav { display: flex; align-items: center; gap: 9px; padding: 8px 16px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.5); margin: 2px 8px; border-radius: 8px; }
.pv-nav.on { background: rgba(255,255,255,.12); color: #fff; }
.pv-nav .nd { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.pv-main { flex: 1; display: flex; flex-direction: column; background: var(--bg); min-width: 0; }
.pv-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.pv-top h4 { font-size: 13px; color: var(--heading); }
.pv-top p { font-size: 10px; color: var(--muted); margin-top: 1px; }
.pv-av { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 700; }
.pv-screen { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.pv-scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px; gap: 9px; animation: pvIn .5s var(--ease); }
@keyframes pvIn { from { opacity: 0; transform: translateY(10px) scale(.992); } to { opacity: 1; transform: none; } }
.pv-dots { display: flex; gap: 5px; justify-content: center; padding: 7px 0 10px; }
.pv-dot2 { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--border); transition: transform .2s, background .2s; }
.pv-dot2.on { background: var(--accent); transform: scale(1.3); }
.pv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pv-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; }
.pv-stat .l { font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pv-stat .v { font-family: 'Bricolage Grotesque'; font-size: 17px; font-weight: 800; color: var(--heading); margin-top: 3px; }
.pv-stat .d { font-size: 8.5px; font-weight: 700; margin-top: 1px; }
.pv-stat .d.up { color: var(--accent); }
.pv-stat .d.mut { color: var(--muted); }
.pv-dash { display: grid; grid-template-columns: 1.3fr 1fr; gap: 9px; flex: 1; min-height: 0; }
.pv-col { display: flex; flex-direction: column; gap: 9px; }
.pv-col .pv-panel { flex: 1; }
.pv-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.pv-ph { padding: 8px 11px; font-size: 10px; font-weight: 700; color: var(--heading); border-bottom: 1px solid var(--border); display:flex; justify-content:space-between; align-items:center; }
.pv-ph .lk { color: var(--accent); font-size: 9px; font-family:'DM Mono'; }
.pv-pb { padding: 9px 11px; flex: 1; }
.pv-res { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 9.5px; }
.pv-res:last-child { border: 0; }
.pv-res .rd { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pv-res .rn { font-weight: 600; flex: 1; color: var(--text); }
.pv-res .rt { font-family: 'DM Mono'; font-size: 8.5px; color: var(--muted); }
.pv-tag { font-size: 7.5px; font-weight: 700; padding: 1.5px 6px; border-radius: 999px; }
.pv-kv { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.pv-kv:last-child { border: 0; }
.pv-kv b { font-family: 'Bricolage Grotesque'; font-size: 13px; color: var(--heading); }
.pv-ok { font-size: 10px; font-weight: 600; color: #16a34a; display: flex; align-items: center; gap: 5px; padding: 5px 0; }

/* calendar preview */
.pv-calbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pv-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.pv-seg span { font-size: 8.5px; font-weight: 600; padding: 3px 8px; color: var(--muted); }
.pv-seg span.on { background: var(--accent); color: #fff; }
.pv-leg { display: flex; gap: 8px; margin-left: auto; }
.pv-leg i { font-style: normal; font-size: 8px; color: var(--muted); display: flex; align-items: center; gap: 3px; }
.pv-leg i b { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.pv-calgrid { display: grid; grid-template-columns: 44px repeat(6, 1fr); grid-template-rows: 18px repeat(3, 1fr); flex: 1; min-height: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); }
.pv-calcorner { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.pv-calhh { font-size: 7.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); background: var(--surface-2); }
.pv-calct { font-size: 8.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; padding-left: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pv-calcell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pv-ev { z-index: 1; margin: 2px; border-radius: 4px; border: 1px solid; font-size: 7.5px; font-weight: 600; padding: 2px 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: flex; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.1); }

/* pagos preview */
.pv-scr-pagos { padding: 0; }
.pv-tbl { padding: 12px; display: flex; flex-direction: column; opacity: .5; }
.pv-tr { display: grid; grid-template-columns: 34px 1fr 56px 38px; gap: 8px; font-size: 8.5px; padding: 7px 4px; border-bottom: 1px solid var(--border); color: var(--text); }
.pv-th { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-size: 7.5px; }
.pv-modal-back { position: absolute; inset: 0; background: color-mix(in srgb, #04060c 55%, transparent); display: grid; place-items: center; padding: 14px; animation: pvFade .4s var(--ease); }
@keyframes pvFade { from { opacity: 0; } to { opacity: 1; } }
.pv-modal { width: 100%; max-width: 262px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 13px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); animation: pvPop .42s var(--ease); }
@keyframes pvPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.pv-mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.pv-mh b { font-family: 'Bricolage Grotesque'; font-size: 12px; color: var(--heading); }
.pv-mh .pv-x { color: var(--muted); font-size: 14px; line-height: 1; }
.pv-mlabel { font-size: 8.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 9px 0 5px; display: flex; justify-content: space-between; }
.pv-mlabel .pv-madd { color: var(--accent); text-transform: none; letter-spacing: 0; }
.pv-mitem { display: flex; justify-content: space-between; align-items: center; font-size: 9.5px; padding: 5px 0; color: var(--text); border-bottom: 1px dashed var(--border); }
.pv-chip { display: flex; align-items: center; gap: 6px; }
.pv-chip::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.pv-mtotal { text-align: right; font-size: 10px; color: var(--muted); margin: 8px 0; }
.pv-mtotal b { font-family: 'Bricolage Grotesque'; font-size: 14px; color: var(--heading); }
.pv-pays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.pv-pay { font-size: 8.5px; font-weight: 600; text-align: center; padding: 6px 4px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); }
.pv-pay.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pv-pay.off { opacity: .45; }
.pv-confirm { width: 100%; margin-top: 9px; background: var(--accent); color: #fff; border: 0; border-radius: 7px; padding: 9px; font: 700 9.5px 'Bricolage Grotesque'; cursor: pointer; }

/* ── SECTIONS ── */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 108px) 0; }
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; color: var(--heading); text-wrap: balance; }
/* Re-introduce top spacing only when a kicker precedes the heading. */
.sec-head .eyebrow + h2 { margin-top: 14px; }
.sec-head p { font-size: 16.5px; color: var(--muted); margin-top: 15px; }

/* ── FEATURES ── */
.feat-spot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 44px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.feat-spot .fs-text { padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.fs-text h3 { font-size: 1.7rem; font-weight: 800; color: var(--heading); margin: 16px 0 12px; }
.fs-text p { color: var(--muted); font-size: 15px; }
.fs-list { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.fs-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.fs-list .ck { width: 21px; height: 21px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--highlight) 22%, transparent); margin-top: 1px; }
.fs-list .ck svg { width: 12px; height: 12px; color: color-mix(in srgb, var(--accent) 80%, #000 18%); }
.feat-spot .fs-visual { background: linear-gradient(150deg, var(--brand), var(--brand-2)); padding: clamp(26px, 3vw, 40px); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.fs-visual::before { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background: var(--highlight); filter: blur(80px); opacity:.22; top:-60px; right:-60px; }

.receipt { width: 100%; max-width: 340px; background: var(--surface); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); overflow: hidden; position: relative; z-index: 1; }
.rcp-h { padding: 15px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rcp-h b { font-family:'Bricolage Grotesque'; font-size: 14px; color: var(--heading); }
.rcp-h .st { font-size: 10px; font-weight: 700; background: var(--accent); padding: 3px 9px; border-radius: 999px; color: #fff; }
.rcp-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; font-size: 13px; border-bottom: 1px dashed var(--border); }
.rcp-row .ci { display: flex; align-items: center; gap: 9px; color: var(--text); }
.rcp-row .ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.rcp-row .ico svg { width: 14px; height: 14px; }
.rcp-row .amt { font-family: 'DM Mono'; font-weight: 500; color: var(--text); }
.rcp-tot { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--surface-2); }
.rcp-tot span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.rcp-tot b { font-family: 'Bricolage Grotesque'; font-size: 18px; color: var(--heading); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); margin-bottom: 17px; }
.feat-ic svg { width: 22px; height: 22px; }
.feat-card h4 { font-size: 16.5px; font-weight: 700; color: var(--heading); }
.feat-card p { font-size: 13.8px; color: var(--muted); margin-top: 8px; }

/* ── PROBLEM (dolor / antes) ──
   El "antes": tono más sobrio que las secciones de solución. Acento terracota
   (cta) en los íconos para señalar fricción/dolor, no acción. */
.problem-sec { background: var(--surface-2); }
.problem-sec .sec-head h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.pain-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 48px; max-width: 920px; margin-left: auto; margin-right: auto;
}
.pain-card {
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 24px; transition: border-color .25s, box-shadow .25s var(--ease);
}
.pain-card:hover { border-color: color-mix(in srgb, var(--cta) 32%, var(--border)); box-shadow: var(--shadow); }
.pain-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--cta) 12%, transparent); color: var(--cta);
}
.pain-ic svg { width: 22px; height: 22px; }
.pain-body h4 { font-size: 16px; font-weight: 700; color: var(--heading); }
.pain-body p { font-size: 13.8px; color: var(--muted); margin-top: 7px; line-height: 1.55; }
.pain-turn {
  margin: 36px auto 0; max-width: 920px; text-align: center;
  font-size: 16px; color: var(--text); font-weight: 600;
}
.pain-link {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 8px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--cta);
}
.pain-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.pain-link:hover svg { transform: translateX(3px); }
@media (max-width: 680px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-turn { font-size: 15px; }
  .pain-link { margin-left: 0; margin-top: 6px; }
}

/* ── PRODUCT PILLARS ──
   Deliberately NOT cards: horizontal icon+text rows on a divided list,
   a different rhythm from the Features grid above it. */
.pillars { margin-top: 48px; max-width: 860px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-top: 1px solid var(--border); }
.pillar:first-child { border-top: none; }
.pillar-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.pillar-ic svg { width: 26px; height: 26px; }
.pillar-body h4 { font-size: 1.25rem; font-weight: 700; color: var(--heading); }
.pillar-body p { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 62ch; }
@media (max-width: 560px) {
  .pillar { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .pillar-ic { width: 46px; height: 46px; }
}

/* ── PRICING ── */
.price-section { background: var(--surface-2); }
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 26px auto 0; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.bill-toggle button { border: 0; background: transparent; cursor: pointer; font: 600 13.5px 'Bricolage Grotesque'; color: var(--muted); padding: 8px 18px; border-radius: 999px; transition: color .2s, background .2s; }
.bill-toggle button.on { background: var(--brand); color: #fff; }
.bill-save { font-size: 11px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); padding: 2px 8px; border-radius: 999px; margin-left: 2px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cta); color: var(--cta-text); font: 700 11px 'Bricolage Grotesque'; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 19px; font-weight: 800; color: var(--heading); }
.price-card .pdesc { font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 38px; }
.price-amt { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price-amt .cur { font-size: 19px; font-weight: 700; color: var(--heading); font-family: 'Bricolage Grotesque'; }
.price-amt .num { font-size: 44px; font-weight: 800; color: var(--heading); font-family: 'Bricolage Grotesque'; letter-spacing: -.03em; }
.price-amt .per { font-size: 13px; color: var(--muted); }
.price-card .pfeat { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card .pfeat li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.8px; color: var(--text); }
.price-card .pfeat .ck { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.price-card .pfeat .ck svg { width: 19px; height: 19px; }
.price-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 22px; }

/* ── ACCESS ── */
.access { background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff; border-radius: var(--radius); padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden; }
.access::before { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background: var(--accent); filter: blur(90px); opacity:.3; top:-160px; right:-100px; }
.access::after  { content:''; position:absolute; width:320px; height:320px; border-radius:50%; background: var(--highlight); filter: blur(90px); opacity:.18; bottom:-160px; left:-80px; }
.access-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.access h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: #fff; }
.access .a-sub { color: rgba(255,255,255,.78); font-size: 16px; margin-top: 14px; }
.access-points { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.access-points li { display: flex; gap: 11px; align-items: center; font-size: 14.5px; color: rgba(255,255,255,.9); list-style: none; }
.access-points .ck { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; }
.access-points .ck svg { width: 12px; height: 12px; color: var(--highlight); }
.form-card { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 18px; color: var(--heading); }
.form-card .fc-sub { font-size: 13px; color: var(--muted); margin-top: 4px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font: 400 14px 'Hanken Grotesk', sans-serif; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); background: var(--surface); }
.field.err input, .field.err select { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.field .msg { font-size: 11.5px; color: #EF4444; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn-cta { width: 100%; margin-top: 6px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .sc-ic { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; background: color-mix(in srgb, var(--highlight) 24%, transparent); display: grid; place-items: center; }
.form-success .sc-ic svg { width: 30px; height: 30px; color: color-mix(in srgb, var(--accent) 85%, #000 15%); }
.form-success h3 { font-size: 19px; color: var(--heading); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }

/* ── FOOTER ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 52px 0 30px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--heading); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 9px 0; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* ── PRICING — nuevo modelo modular ── */
.price-base {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.price-base-left {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.price-base-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'DM Mono', monospace;
}
.price-base-features {
  list-style: none;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  align-content: center;
}
.price-base-features li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.price-base-features .ck {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}
.price-base-features .ck svg { width: 18px; height: 18px; }

.price-addons-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 32px 0 14px;
}
.price-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  transition: border-color .2s, transform .2s var(--ease);
}
.addon-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-2px); }
.addon-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.addon-price span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.addon-card h4 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.addon-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.price-calc {
  margin-top: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}
.price-calc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-calc-grid { display: flex; flex-direction: column; gap: 10px; }
.price-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 12px;
}
.pcr-left { display: flex; flex-direction: column; gap: 2px; }
.pcr-label { font-size: 14px; font-weight: 600; color: var(--text); }
.pcr-detail { font-size: 11.5px; color: var(--muted); }
.pcr-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.pcr-price span { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ── Responsive pricing ── */
@media (max-width: 860px) {
  .price-base { grid-template-columns: 1fr; }
  .price-base-left { border-right: none; border-bottom: 1px solid var(--border); }
  .price-base-features { grid-template-columns: 1fr; padding: 24px 28px; }
}
@media (max-width: 560px) {
  .price-addons { grid-template-columns: 1fr; }
  .price-base-left { padding: 26px 22px; }
  .price-base-features { padding: 20px 22px; }
  .price-calc { padding: 18px 16px; }
  .price-calc-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pcr-price { font-size: 18px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Laptop pequeño / tablet horizontal (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  /* Card destacada ocupa las 2 columnas y se centra */
  .price-card.feat { grid-column: 1 / -1; max-width: 440px; margin: 0 auto; }
}

/* ── Tablet (≤920px) ── */
@media (max-width: 920px) {
  /* Nav — colapsa a hamburguesa */
  .nav-links { display: none; }
  .nav-burger { display: block; width: 44px; height: 44px; } /* touch target mínimo 44px */
  .nav-login { display: none; } /* "Ingresar" vive dentro de la hoja móvil */
  .nav-inner { gap: 12px; }

  /* Hero — columna única */
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: 100%; }

  /* Preview — sin perspectiva 3D, centrado */
  .preview { transform: none; max-width: 580px; margin: 0 auto; }
  .preview:hover { transform: none; }
  .pv-app { height: 320px; }
  .pv-side { width: 136px; }

  /* Features */
  .feat-spot { grid-template-columns: 1fr; }
  .feat-spot .fs-visual { order: -1; min-height: 240px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing — vuelve a columna única */
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .price-card.feat { grid-column: auto; max-width: 100%; margin: 0; }

  /* Access */
  .access-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Tablet pequeño (≤768px) ── */
@media (max-width: 768px) {
  .sec { padding: clamp(48px, 7vw, 80px) 0; }
  .sec-head h2 { font-size: clamp(1.65rem, 4.5vw, 2.2rem); }
  .sec-head p { font-size: 15px; }

  /* Footer apilado */
  .foot-grid { flex-direction: column; gap: 32px; }
  .foot-brand { max-width: 100%; }
  .foot-cols { gap: 36px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Access — border-radius menor */
  .access { border-radius: var(--radius-sm); }

  /* Pricing */
  .price-grid { max-width: 380px; }
  .price-card { padding: 26px 22px; }
}

/* ── Mobile (≤560px) ── */
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }

  /* Nav — solo logo + botones */
  .pal-switch { display: none; }
  /* En móvil el selector de idioma vive en la hoja de navegación, no en la barra. */
  .nav-right > .lang-switch { display: none; }
  .nav-right { gap: 6px; }
  .btn-sm { padding: 11px 14px; font-size: 12.5px; } /* alto de tap ~42px */

  /* Hero */
  .hero { padding: 44px 0 32px; }
  .hero-trust { gap: 18px 22px; margin-top: 30px; }
  .hero-trust .ti { gap: 4px; }
  .hero-trust .ti + .ti { padding-left: 22px; }
  .hero-trust .ti b { font-size: 18px; }
  .brand-logo span.full { display: none; } /* solo logo mark */

  /* Preview — más compacto */
  .pv-app { height: 280px; }
  .pv-side { width: 112px; }
  .pv-logo span { display: none; } /* solo ícono en sidebar */
  .pv-nav { padding: 7px 10px; font-size: 10.5px; gap: 7px; }

  /* Features */
  .feat-grid { grid-template-columns: 1fr; }
  .feat-spot .fs-text { padding: 24px 20px; }
  .fs-text h3 { font-size: 1.4rem; }

  /* Pricing */
  .price-grid { max-width: 100%; }
  .price-amt .num { font-size: 36px; }

  /* Access */
  .access { padding: 36px 22px; }
  .access-grid { gap: 30px; }
  .access-badge { margin-bottom: 18px; }
  .access .a-sub { margin-top: 16px; }
  .access-points { margin-top: 26px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .foot-cols { flex-direction: column; gap: 24px; }

  /* Secciones */
  .sec { padding: clamp(36px, 8vw, 56px) 0; }
}

/* ── Mobile pequeño (≤400px) ── */
@media (max-width: 400px) {
  /* Ocultar "Ingresar" en pantallas muy chicas — queda solo el CTA */
  .nav-right .btn-ghost { display: none; }

  /* Preview — ocultar sidebar, dar todo el ancho al contenido */
  .pv-side { display: none; }
  .pv-app { height: 260px; }

  /* Feat-spot */
  .feat-spot .fs-visual { min-height: 180px; }

  /* Hero trust — wrap sin separador, con más aire entre items apilados */
  .hero-trust { flex-wrap: wrap; gap: 16px 26px; margin-top: 26px; }
  .hero-trust .ti { flex: 0 0 auto; min-width: calc(50% - 26px); gap: 3px; }
  .hero-trust .ti + .ti { border-left: none; padding-left: 0; }
  .hero-trust .ti span { line-height: 1.4; }
}

/* ════════════════════════════════════════════════════════════════
   SHOWCASE — carrusel vertical problema → solución (sección Problem)
   Usa los tokens de marca (--brand pino, --accent verde cancha, --cta
   terracota, --highlight ámbar). 100% CSS + un toque de JS para tabs.
   ════════════════════════════════════════════════════════════════ */
.sc-intro { margin-top: 56px; margin-bottom: 28px; }

.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; margin-top: 48px; }

/* columna de tabs */
.sc-tabs { display: flex; flex-direction: column; gap: 13px; }
/* Altura fija por tab: reserva el alto del caso más alto (título chico + párrafo)
   para que activar/desactivar nunca cambie la altura de la columna → cero saltos.
   El contenido se centra vertical: en inactiva el título grande llena la card;
   en activa el título se achica y aparece el párrafo, sin alterar la altura. */
.sc-tab { position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 116px; text-align: left; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; cursor: pointer; overflow: hidden; font-family: inherit; color: var(--text);
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease, transform .35s cubic-bezier(.22,.61,.36,1); }
.sc-tab:hover { border-color: var(--accent); transform: translateY(-1px); }
.sc-tab .sc-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .35s ease; }
/* Título grande cuando la tab está inactiva; se achica al activarse para dar lugar al párrafo. */
.sc-tab h3 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-top: 3px; line-height: 1.2;
  transition: font-size .4s cubic-bezier(.22,.61,.36,1); }
.sc-tab.active h3 { font-size: 1.05rem; }
/* La descripción reserva SIEMPRE su altura (no colapsa) para que cambiar de tab
   no altere el alto de la columna y la sección no salte. Solo varía la opacidad. */
.sc-tab p { font-size: .88rem; color: var(--muted); margin-top: 7px; opacity: 0; line-height: 1.5;
  transition: opacity .4s ease; }
.sc-tab.active { border-color: transparent; box-shadow: 0 14px 34px -14px rgba(21,59,41,.32); background: var(--surface); }
.sc-tab.active .sc-tag { color: var(--accent); }
.sc-tab.active p { opacity: 1; }
.sc-tab .sc-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.sc-tab.active .sc-progress { animation: scTabProgress var(--autoplay,14s) linear forwards; }
@keyframes scTabProgress { from { width: 0 } to { width: 100% } }
.sc-tab::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent);
  transform: scaleY(0); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.sc-tab.active::before { transform: scaleY(1); }

/* ventana (sticky en desktop) — escenas apiladas con crossfade */
.sc-viewport { position: sticky; top: 24px; display: grid; }
.sc-scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.99);
  pointer-events: none; transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1), visibility .5s; }
.sc-scene.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* escenas inactivas: animaciones pausadas; .restart las reinicia desde 0% */
.sc-scene :where(*), .sc-scene .sc-stage::after { animation-play-state: paused; }
.sc-scene.active :where(*), .sc-scene.active .sc-stage::after { animation-play-state: running; }
.sc-scene.restart :where(*), .sc-scene.restart .sc-stage::after { animation: none !important; }

/* ── cuadro de animación ── */
.sc-stage { position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  padding: 26px; min-height: 470px;
  box-shadow: 0 30px 60px -20px rgba(21,59,41,.45), 0 0 0 1px rgba(255,255,255,.04) inset; }
.sc-stage::after { content: ''; position: absolute; width: 360px; height: 360px; right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(187,90,55,.30), transparent 65%); pointer-events: none;
  animation: scGlow 14s ease-in-out infinite; }
@keyframes scGlow {
  0%,42% { background: radial-gradient(circle, rgba(187,90,55,.32), transparent 65%); }
  55%,95% { background: radial-gradient(circle, rgba(233,180,82,.28), transparent 65%); }
  100% { background: radial-gradient(circle, rgba(187,90,55,.32), transparent 65%); } }

.sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; position: relative; z-index: 5; }
.sc-dot { width: 11px; height: 11px; border-radius: 50%; }
.sc-title { color: #fff; font-weight: 700; font-size: .95rem; margin-left: 5px; position: relative; height: 1.2em; min-width: 230px; }
.sc-title .sc-t { position: absolute; left: 0; top: 0; white-space: nowrap; }
.sc-t-caos { color: #ffb3a3; animation: scTitleCaos 14s ease-in-out infinite; }
.sc-t-orden { color: var(--highlight); opacity: 0; animation: scTitleOrden 14s ease-in-out infinite; }
@keyframes scTitleCaos { 0%,42% { opacity: 1 } 50%,100% { opacity: 0 } }
@keyframes scTitleOrden { 0%,46% { opacity: 0 } 54%,95% { opacity: 1 } 100% { opacity: 0 } }
.sc-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; position: relative; height: 1.2em; min-width: 90px; justify-content: flex-end; }
.sc-badge .sc-s { position: absolute; right: 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sc-s-caos { color: #ffb3a3; animation: scTitleCaos 14s ease-in-out infinite; }
.sc-s-orden { color: var(--highlight); opacity: 0; animation: scTitleOrden 14s ease-in-out infinite; }
.sc-pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: scPulse 1.6s ease-in-out infinite; }
@keyframes scPulse { 0%,100% { opacity: 1; transform: scale(1) } 50% { opacity: .35; transform: scale(.7) } }

/* capa CAOS */
.sc-chaos { position: absolute; inset: 26px; top: 72px; z-index: 3; animation: scChaos 14s ease-in-out infinite; }
@keyframes scChaos {
  0%,40% { opacity: 1; filter: blur(0); transform: scale(1); }
  50% { opacity: 0; filter: blur(6px); transform: scale(.94); } 100% { opacity: 0; } }

/* capa ORDEN */
.sc-order { position: relative; z-index: 4; opacity: 0; transform: scale(.96); animation: scOrder 14s ease-in-out infinite; }
@keyframes scOrder {
  0%,44% { opacity: 0; transform: scale(.96); } 54% { opacity: 1; transform: scale(1); }
  95% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.sc-panel { background: rgba(255,255,255,.97); border-radius: 16px; padding: 16px; }
.sc-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.sc-panel-head strong { font-size: .9rem; color: #1d271f; }
.sc-panel-head span { font-size: .75rem; color: #5c665e; }

/* WhatsApp */
.sc-msg { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.96);
  color: #1d271f; border-radius: 12px 12px 12px 4px; padding: 7px 10px; font-size: .74rem; font-weight: 600;
  white-space: nowrap; box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); opacity: 0; }
.sc-wa { width: 15px; height: 15px; border-radius: 50%; background: #25D366; color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: .5rem; flex-shrink: 0; }
.sc-unread { position: absolute; top: -6px; right: -6px; background: var(--cta); color: #fff; font-size: .58rem;
  font-weight: 800; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sc-msg.m1 { top: 2%; right: 2%; transform: rotate(-4deg); animation: scPile 14s ease-in-out infinite .2s; }
.sc-msg.m2 { top: 19%; right: 14%; transform: rotate(3deg); animation: scPile 14s ease-in-out infinite .8s; }
.sc-msg.m3 { top: 36%; right: 4%; transform: rotate(-2deg); animation: scPile 14s ease-in-out infinite 1.4s; }
.sc-msg.m4 { top: 53%; right: 16%; transform: rotate(4deg); animation: scPile 14s ease-in-out infinite 2s; }
@keyframes scPile {
  0% { opacity: 0; transform: translateY(-16px) scale(.85); }
  7% { opacity: 1; transform: translateY(0) scale(1); }
  40% { opacity: 1; } 50%,100% { opacity: 0; } }

/* planilla Excel */
.sc-sheet { position: absolute; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.55); opacity: 0; font-size: .68rem; }
.sc-sheet-bar { background: #1d6f42; color: #fff; font-weight: 700; padding: 5px 9px; display: flex;
  align-items: center; gap: 6px; font-size: .68rem; }
.sc-xl { background: #fff; color: #1d6f42; width: 15px; height: 15px; border-radius: 3px; display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: .6rem; }
.sc-sheet table { width: 100%; border-collapse: collapse; }
.sc-sheet td, .sc-sheet th { border: 1px solid #d6d6d6; padding: 3px 5px; color: #333; text-align: left; }
.sc-sheet th { background: #f3f3f3; font-weight: 700; color: #666; font-size: .62rem; }
.sc-sheet td.dup { background: rgba(187,90,55,.16); color: var(--cta); font-weight: 700; position: relative; }
.sc-sheet td.dup::after { content: ''; position: absolute; left: 6%; right: 6%; top: 50%; height: 1.5px; background: var(--cta); }
.sc-sheet td.ref { background: rgba(187,90,55,.16); color: var(--cta); font-weight: 800; }
.sc-sheet td.okc { color: #1d6f42; font-weight: 700; }
.sc-sheet td.q { color: var(--cta); font-weight: 800; text-align: center; }
.sc-sheet td.over { background: rgba(187,90,55,.16); color: var(--cta); font-weight: 800; }
.sc-sheet td.under { background: rgba(233,180,82,.22); color: #8a6d00; font-weight: 800; }
.sc-handwrite { background: #fffbe6; color: #8a6d00; font-style: italic; font-size: .62rem; padding: 4px 6px; border-top: 1px solid #d6d6d6; }
.sc-tabname { font-size: .6rem; color: #5c665e; padding: 2px 6px; background: #eee; border-bottom: 1px solid #d6d6d6; }

/* alerta tardía */
.sc-clash { position: absolute; background: rgba(187,90,55,.96); color: #fff; border-radius: 12px; padding: 9px 12px;
  font-size: .76rem; font-weight: 700; max-width: 220px; box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); opacity: 0; }
.sc-clash small { display: block; font-weight: 600; font-size: .68rem; opacity: .92; margin-top: 2px; }
@keyframes scClash {
  0% { opacity: 0; transform: scale(.8); } 4% { opacity: 1; transform: scale(1.05); }
  7%,9%,11% { transform: translateX(-4px); } 8%,10% { transform: translateX(4px); }
  12%,40% { opacity: 1; transform: scale(1); } 50%,100% { opacity: 0; } }

/* escena 1: agenda */
.s1 .sc-sheet { top: 4%; left: 2%; width: 232px; transform: rotate(-2deg) scale(.9); animation: scSheetIn 14s ease-in-out infinite .1s; }
@keyframes scSheetIn {
  0% { opacity: 0; transform: rotate(-2deg) scale(.8); } 6% { opacity: 1; transform: rotate(-2deg) scale(.9); }
  40% { opacity: 1; } 50%,100% { opacity: 0; } }
.s1 .sc-clash { bottom: 1%; right: 4%; animation: scClash 14s ease-in-out infinite 3.2s; }
.sc-grid { display: grid; grid-template-columns: 52px repeat(4,1fr); gap: 6px; }
.sc-col { font-size: .68rem; color: #5c665e; font-weight: 700; text-align: center; padding-bottom: 2px; }
.sc-time { font-size: .68rem; color: #5c665e; display: flex; align-items: center; justify-content: flex-end; padding-right: 4px; }
.sc-slot { height: 30px; border-radius: 7px; background: #f4f2ec; border: 1px dashed #e0ded7; position: relative; overflow: hidden; }
.sc-slot.book { border: 1px solid transparent; background: var(--accent); color: #fff; font-size: .64rem; font-weight: 700;
  display: flex; align-items: center; padding-left: 7px; transform: scale(.6); opacity: 0; animation: scBook 14s ease-in-out infinite; }
.sc-slot.book.alt { background: var(--cta); }
.sc-slot.book.amber { background: var(--highlight); color: var(--brand); }
@keyframes scBook {
  0%,47% { transform: scale(.6); opacity: 0; } 52% { transform: scale(1.08); opacity: 1; }
  56%,95% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.d1 { animation-delay: 0s } .d2 { animation-delay: .25s } .d3 { animation-delay: .5s } .d4 { animation-delay: .75s }
.d5 { animation-delay: 1s } .d6 { animation-delay: 1.25s } .d7 { animation-delay: 1.5s } .d8 { animation-delay: 1.75s }
.sc-slot.target { background: rgba(57,120,86,.14); border: 1px dashed var(--accent); }
.sc-bycursor { position: absolute; inset: 0; border-radius: 7px; background: var(--accent); color: #fff; font-size: .64rem;
  font-weight: 700; display: flex; align-items: center; padding-left: 7px; transform: scale(.4); opacity: 0; animation: scClick 14s ease-in-out infinite; }
@keyframes scClick {
  0%,78% { transform: scale(.4); opacity: 0; } 82% { transform: scale(1.12); opacity: 1; }
  86%,95% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.sc-cursor { position: absolute; z-index: 6; width: 22px; height: 22px; opacity: 0; pointer-events: none; animation: scCursor 14s ease-in-out infinite; }
.sc-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.sc-ring { position: absolute; left: -6px; top: -6px; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--highlight); opacity: 0; animation: scClickRing 14s ease-in-out infinite; }
@keyframes scCursor {
  0%,58% { opacity: 0; left: 86%; top: 88%; } 62% { opacity: 1; left: 86%; top: 88%; }
  74% { opacity: 1; left: 84%; top: 70%; } 79% { opacity: 1; left: 84%; top: 70%; transform: scale(.85); }
  82% { opacity: 1; left: 84%; top: 70%; transform: scale(1); } 90% { opacity: 1; left: 84%; top: 70%; }
  96%,100% { opacity: 0; left: 84%; top: 70%; } }
@keyframes scClickRing {
  0%,78% { opacity: 0; transform: scale(.5); } 80% { opacity: .9; transform: scale(.6); }
  88% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; } }
.sc-counter { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: #fff; }
.sc-num { font-size: 1.6rem; font-weight: 800; color: var(--highlight); position: relative; }
.sc-plus { font-size: .8rem; color: var(--accent-dark, #7FCBA0); margin-left: 2px; vertical-align: super; opacity: 0; animation: scPlus 14s ease-in-out infinite; }
@keyframes scPlus {
  0%,82% { opacity: 0; transform: translateY(4px); } 86% { opacity: 1; transform: translateY(0) scale(1.2); }
  90%,95% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; } }
.sc-lbl { font-size: .82rem; color: rgba(255,255,255,.8); }
.sc-auto { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--highlight); padding: 4px 10px; border-radius: 99px; }

/* escena 2: multisede */
.s2 .sc-sheet { width: 170px; }
.s2 .sc-sheet.sa { top: 2%; left: 1%; transform: rotate(-3deg) scale(.92); animation: scSheet2 14s ease-in-out infinite .1s; }
.s2 .sc-sheet.sb { top: 30%; left: 26%; transform: rotate(2deg) scale(.92); animation: scSheet2 14s ease-in-out infinite .9s; }
.s2 .sc-sheet.sc { top: 14%; left: 52%; transform: rotate(-1deg) scale(.92); animation: scSheet2 14s ease-in-out infinite 1.7s; }
@keyframes scSheet2 { 0% { opacity: 0 } 7% { opacity: 1 } 40% { opacity: 1 } 50%,100% { opacity: 0 } }
.s2 .desync { bottom: 2%; left: 50%; transform: translateX(-50%); animation: scClash 14s ease-in-out infinite 3s; }
.sc-sedes { display: flex; flex-direction: column; gap: 9px; }
.sc-sede { display: flex; align-items: center; gap: 11px; background: #f4f2ec; border-radius: 10px; padding: 10px 13px;
  opacity: 0; transform: translateX(-10px); animation: scSede 14s ease-in-out infinite; }
.sc-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.sc-sede.b .sc-ic { background: var(--cta); } .sc-sede.c .sc-ic { background: var(--highlight); color: var(--brand); }
.sc-sede .nm { font-size: .82rem; font-weight: 700; color: #1d271f; }
.sc-sede .meta { font-size: .7rem; color: #5c665e; }
.sc-bar { margin-left: auto; width: 90px; height: 8px; border-radius: 99px; background: #e3e0d8; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: var(--accent); width: 0; animation: scFill 14s ease-in-out infinite; }
.sc-sede.b .sc-bar i { background: var(--cta); } .sc-sede.c .sc-bar i { background: var(--highlight); }
.sc-pct { font-size: .72rem; font-weight: 800; color: #1d271f; min-width: 34px; text-align: right; }
@keyframes scSede {
  0%,46% { opacity: 0; transform: translateX(-10px); } 54% { opacity: 1; transform: translateX(0); }
  95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scFill { 0%,52% { width: 0; } 70%,95% { width: var(--w,70%); } 100% { width: var(--w,70%); } }
.sd1 { animation-delay: 0s } .sd2 { animation-delay: .2s } .sd3 { animation-delay: .4s }
.sc-sync { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: .8rem; }
.sc-livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); animation: scPulse 1.6s ease-in-out infinite; }

/* escena 3: pagos & caja */
.s3 .sc-sheet { top: 3%; left: 2%; width: 240px; transform: rotate(-2deg) scale(.92); animation: scSheetIn 14s ease-in-out infinite .1s; }
.s3 .sc-cashbox { position: absolute; bottom: 3%; right: 3%; background: #fff; border-radius: 10px; padding: 10px 13px;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.55); opacity: 0; animation: scSheetIn 14s ease-in-out infinite .6s; width: 185px; }
.s3 .sc-cashbox .row { display: flex; justify-content: space-between; font-size: .72rem; color: #444; padding: 2px 0; }
.s3 .sc-cashbox .diff { color: var(--cta); font-weight: 800; border-top: 1px solid #eee; margin-top: 3px; padding-top: 5px; }
.s3 .sc-msg.m1 { top: 1%; right: 2%; } .s3 .sc-msg.m2 { top: 20%; right: 18%; }
.sc-pays { display: flex; flex-direction: column; gap: 8px; }
.sc-pay { display: flex; align-items: center; gap: 10px; background: #f4f2ec; border-radius: 10px; padding: 9px 12px;
  opacity: 0; transform: translateY(6px); animation: scPayIn 14s ease-in-out infinite; }
.sc-pay .nm { font-size: .82rem; font-weight: 700; color: #1d271f; }
.sc-pay .amt { margin-left: auto; font-size: .78rem; font-weight: 700; color: #5c665e; }
.sc-pay .st { font-size: .66rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.sc-pay .st.paid { background: rgba(57,120,86,.18); color: #2c6044; }
.sc-pay .st.due { background: rgba(187,90,55,.16); color: var(--cta); }
@keyframes scPayIn {
  0%,46% { opacity: 0; transform: translateY(6px); } 54% { opacity: 1; transform: translateY(0); }
  95% { opacity: 1; } 100% { opacity: 0; } }
.sc-pay.p1 { animation-delay: 0s } .sc-pay.p2 { animation-delay: .18s } .sc-pay.p3 { animation-delay: .36s } .sc-pay.p4 { animation-delay: .54s }
.sc-cashok { margin-top: 14px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(233,180,82,.4); border-radius: 10px; padding: 10px 13px; color: #fff;
  opacity: 0; animation: scPayIn 14s ease-in-out infinite .7s; }
.sc-cashok .big { font-size: 1.3rem; font-weight: 800; color: var(--highlight); }
.sc-cashok .lbl { font-size: .78rem; color: rgba(255,255,255,.85); }
.sc-cashok .ok { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--brand); background: var(--highlight); padding: 4px 10px; border-radius: 99px; }

/* escena 4: clases */
.s4 .sc-sheet { top: 4%; left: 3%; width: 215px; transform: rotate(-2deg) scale(.92); animation: scSheetIn 14s ease-in-out infinite .1s; }
.s4 .sc-clash.over { top: 6%; right: 3%; animation: scClash 14s ease-in-out infinite 2.6s; }
.s4 .sc-clash.under { bottom: 4%; right: 5%; animation: scClash 14s ease-in-out infinite 3.4s; background: rgba(233,180,82,.96); color: var(--brand); }
.sc-classcard .sc-cap { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.sc-ring2 { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.sc-ring2 svg { transform: rotate(-90deg); }
.sc-ring2 .val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; color: #1d271f; }
.sc-cap .tit { font-size: .86rem; font-weight: 800; color: #1d271f; }
.sc-cap .sub { font-size: .72rem; color: #5c665e; }
.sc-roster { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.sc-seat { height: 30px; border-radius: 7px; background: #f4f2ec; border: 1px dashed #e0ded7; display: flex;
  align-items: center; justify-content: center; font-size: .62rem; font-weight: 700; color: #5c665e; }
.sc-seat.taken { background: var(--accent); color: #fff; border: 1px solid transparent; transform: scale(.6); opacity: 0; animation: scBook 14s ease-in-out infinite; }
.sc-seat.taken.alt { background: var(--cta); }
.sc-seat.free { color: var(--accent); border-color: var(--accent); background: rgba(57,120,86,.08); }
.e1 { animation-delay: 0s } .e2 { animation-delay: .15s } .e3 { animation-delay: .3s } .e4 { animation-delay: .45s }
.e5 { animation-delay: .6s } .e6 { animation-delay: .75s }

/* escena 5: métricas */
.s5 .sc-questions { position: absolute; inset: 26px; top: 72px; }
.s5 .sc-q { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.96);
  color: #1d271f; border-radius: 12px; padding: 8px 12px; font-size: .78rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); opacity: 0; }
.sc-qm { width: 18px; height: 18px; border-radius: 50%; background: var(--cta); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; flex-shrink: 0; }
.s5 .sc-q.q1 { top: 3%; left: 2%; transform: rotate(-3deg); animation: scPile 14s ease-in-out infinite .3s; }
.s5 .sc-q.q2 { top: 24%; right: 3%; transform: rotate(3deg); animation: scPile 14s ease-in-out infinite 1s; }
.s5 .sc-q.q3 { top: 46%; left: 6%; transform: rotate(-2deg); animation: scPile 14s ease-in-out infinite 1.7s; }
.s5 .sc-q.q4 { top: 66%; right: 8%; transform: rotate(2deg); animation: scPile 14s ease-in-out infinite 2.4s; }
.s5 .blind { bottom: 1%; left: 50%; transform: translateX(-50%); animation: scClash 14s ease-in-out infinite 3.2s; }
.sc-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.sc-kpis { display: contents; }
.sc-kpi { background: #f4f2ec; border-radius: 12px; padding: 11px 14px; opacity: 0; transform: translateY(8px); animation: scKpi 14s ease-in-out infinite; }
.sc-kpi .lbl { font-size: .66rem; font-weight: 700; color: #5c665e; text-transform: uppercase; letter-spacing: .04em; }
.sc-kpi .val { font-size: 1.35rem; font-weight: 800; color: #1d271f; margin-top: 2px; line-height: 1.1; }
.sc-kpi .delta { font-size: .68rem; font-weight: 800; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }
.sc-kpi .delta.up { color: #2c6044; } .sc-kpi .delta.down { color: var(--cta); }
@keyframes scKpi {
  0%,46% { opacity: 0; transform: translateY(8px); } 54% { opacity: 1; transform: translateY(0); }
  95% { opacity: 1; } 100% { opacity: 0; } }
.k1 { animation-delay: 0s } .k2 { animation-delay: .12s } .k3 { animation-delay: .24s } .k4 { animation-delay: .36s }
.sc-cardc { grid-column: 1 / -1; background: #f4f2ec; border-radius: 12px; padding: 11px 14px;
  opacity: 0; transform: translateY(8px); animation: scKpi 14s ease-in-out infinite .3s; }
.sc-cardc .lbl { font-size: .66rem; font-weight: 700; color: #5c665e; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.sc-cardc.trend svg { width: 100%; height: 74px; display: block; overflow: visible; }
.sc-cardc.trend .area { fill: url(#scTrendGrad); opacity: 0; animation: scArea 14s ease-in-out infinite; }
.sc-cardc.trend .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 360; stroke-dashoffset: 360; animation: scLine 14s ease-in-out infinite; }
.sc-cardc.trend .pt { fill: #fff; stroke: var(--accent); stroke-width: 2; opacity: 0; animation: scPt 14s ease-in-out infinite; }
.sc-cardc.trend .pt.last { fill: var(--highlight); stroke: var(--highlight); }
@keyframes scLine { 0%,52% { stroke-dashoffset: 360; } 72%,95% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 360; } }
@keyframes scArea { 0%,56% { opacity: 0; } 74%,95% { opacity: .9; } 100% { opacity: 0; } }
@keyframes scPt { 0%,70% { opacity: 0; } 78%,95% { opacity: 1; } 100% { opacity: 0; } }
.sc-cardc.trend .tnote { margin-top: 5px; font-size: .66rem; font-weight: 700; color: #2c6044; }

/* showcase responsive */
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; gap: 20px; }
  .sc-viewport { position: static; }
  /* En mobile todas las descripciones se ven, así que no aplica el efecto
     título grande→chico ni la altura fija: cada tab crece con su contenido. */
  .sc-tab { padding: 14px 16px; min-height: 0; }
  .sc-tab h3, .sc-tab.active h3 { font-size: .95rem; }
  .sc-tab p { opacity: 1; margin-top: 5px; font-size: .82rem; }
  .sc-stage { min-height: 0; padding: 18px; border-radius: 18px; }
  .sc-head { margin-bottom: 13px; }
  .sc-title { font-size: .82rem; min-width: 0; }
  .sc-badge { font-size: .64rem; min-width: 0; }
  .sc-chaos { inset: 18px; top: 56px; }
  .sc-dash { grid-template-columns: 1fr; }
  .sc-kpi .val { font-size: 1.2rem; }
  .sc-sheet { font-size: .6rem; }
  .sc-msg { font-size: .66rem; padding: 6px 9px; }
  .s5 .sc-q { font-size: .68rem; }
}
@media (max-width: 480px) {
  .sc-grid { grid-template-columns: 40px repeat(4,1fr); gap: 4px; }
  .sc-slot { height: 26px; }
  .sc-slot.book, .sc-bycursor { font-size: .56rem; }
  .sc-roster { gap: 4px; }
  .sc-seat { height: 26px; font-size: .56rem; }
}

/* ── Accesibilidad ── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; animation: none !important; }
  /* El contenido animado vuelve a su estado visible final, sin movimiento. */
  .js-anim [data-rise],
  .js-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* Showcase: sin movimiento, mostrar la escena activa en su estado "orden" final */
  .sc-scene { transition: none !important; }
  .sc-chaos { display: none !important; }
  .sc-cursor { display: none !important; }
  .sc-order { opacity: 1 !important; transform: none !important; }
  .sc-slot.book, .sc-bycursor, .sc-seat.taken, .sc-sede, .sc-pay, .sc-cashok, .sc-kpi, .sc-cardc { opacity: 1 !important; transform: none !important; }
  .sc-bar i { width: var(--w,70%) !important; }
  .sc-cardc.trend .line { stroke-dashoffset: 0 !important; }
  .sc-cardc.trend .area, .sc-cardc.trend .pt { opacity: 1 !important; }
  .sc-plus { opacity: 1 !important; }
  .sc-t-caos, .sc-s-caos { display: none !important; }
  .sc-t-orden, .sc-s-orden { opacity: 1 !important; }
}
