/* ==========================================================================
   LEVEL UP — identidad propia (Identidad Level Up)
   Principales: #090625 · #011140 · #022873 · #053ba6
   Secundarios (Carinae): #0066ff · #00cee9
   Tipografías: Montserrat (títulos / identidad) · Inter (subtítulos / texto)
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("/fonts/level-up/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/level-up/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --l-night: #090625;
  --l-deep: #011140;
  --l-navy: #022873;
  --l-royal: #053ba6;
  --l-blue: #0066ff;
  --l-cyan: #00cee9;

  --bg: var(--l-night);
  --text: #ffffff;
  --muted: #b9c2dc;
  --line: rgba(255,255,255,.14);
  --surface: var(--l-deep);
  --header-bg: rgba(9,6,37,.92);
  --focus: var(--l-cyan);
  --focus-ring: rgba(0,206,233,.35);
  --field-bg: #fff; --field-text: var(--l-night); --field-line: #c9d1e8;
  --error: #ff8a8a; --error-bg: #3a0f1c; --error-text: #ffd0d0;
  --ok-bg: rgba(0,206,233,.14); --ok-text: #fff;
  --req: var(--l-cyan);

  --font-display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --display-weight: 900;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1120px;
}
h1, h2 { text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
h3 { font-size: 1.25rem; font-weight: 800; }
.eyebrow { color: var(--l-cyan); font-weight: 700; }
.muted { color: var(--muted); }

.site-header .brand-link img { height: 48px; width: auto; }
.site-nav a { color: #fff; }
.site-nav a:hover { color: var(--l-cyan); }
.site-nav .btn { min-height: 44px; padding: 10px 20px; }
.parent-brand { color: var(--muted); }

.btn-primary { background: var(--l-blue); color: #fff; }
.btn-primary:hover { background: var(--l-royal); }
.btn-cyan { background: var(--l-cyan); color: var(--l-night); }
.btn-cyan:hover { background: #fff; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { min-height: 58px; padding: 16px 32px; font-size: 1.125rem; }

/* HERO */
.l-hero { position: relative; padding-block: clamp(48px, 8vw, 104px); overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--l-navy) 0%, var(--l-deep) 38%, var(--l-night) 72%); }
.l-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .l-hero-grid { grid-template-columns: 6fr 5fr; } }
.l-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .95; }
.l-hero h1 em { font-style: normal; color: var(--l-cyan); }
.l-hero .lead { margin-top: 24px; max-width: 42ch; color: var(--muted); }
.l-hero .btn-row { margin-top: 32px; }

/* Escalera de niveles (gráfica de progresión, sin porcentajes) */
.stairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; height: clamp(260px, 34vw, 380px); }
.stair { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; min-width: 0; border-radius: 14px 14px 4px 4px; color: #fff; }
.stair:nth-child(1) { height: 38%; background: var(--l-navy); }
.stair:nth-child(2) { height: 66%; background: var(--l-royal); }
.stair:nth-child(3) { height: 100%; background: var(--l-blue); box-shadow: 0 0 0 2px var(--l-cyan), 0 20px 60px rgba(0,102,255,.45); }
.stair b { font-family: var(--font-display); font-weight: 900; font-size: clamp(.75rem, 3.2vw, 2rem); line-height: 1; text-transform: uppercase; }
.stair small { display: block; line-height: 1.25; margin-top: 6px; font-size: clamp(.6875rem, 2.4vw, .8125rem); color: rgba(255,255,255,.8); }
.stair-arrow { position: absolute; top: -78px; right: 12px; height: 64px; width: auto; color: var(--l-cyan); filter: drop-shadow(0 6px 18px rgba(0,206,233,.35)); }
.js .stairs .stair { transform-origin: bottom; transform: scaleY(.2); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.js .stairs.is-in .stair { transform: none; opacity: 1; }
.js .stairs.is-in .stair:nth-child(2) { transition-delay: .12s; }
.js .stairs.is-in .stair:nth-child(3) { transition-delay: .24s; }

/* PASOS */
.l-steps { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 800px) { .l-steps { grid-template-columns: repeat(3, 1fr); } }
.l-step { padding: 28px; border-radius: var(--radius-lg); background: var(--l-deep); border: 1px solid var(--line); }
.l-step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--l-blue); font-family: var(--font-display); font-weight: 900; font-size: 1.125rem; }
.l-step:last-child .l-step-num { background: var(--l-cyan); color: var(--l-night); }
.l-step h3 { margin: 20px 0 8px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.l-step p { color: var(--muted); }
.l-note { margin-top: 24px; color: var(--muted); font-size: .9375rem; }

/* REGISTRO */
.l-register { background: var(--l-deep); }
.l-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--l-night); border: 1px solid var(--line); }
.l-register .form-legal a, .l-card a { color: var(--l-cyan); }
.form-success { text-align: left; }
.form-success .badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--l-cyan); color: var(--l-night); font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.form-success h3 { margin: 18px 0 12px; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.75rem, 3.4vw, 2.5rem); text-transform: uppercase; line-height: 1; }
.form-success p { color: var(--muted); }
.form-success p + p { margin-top: 10px; }

/* COMERCIOS ADHERIDOS */
.shops { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .shops { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .shops { grid-template-columns: repeat(3, 1fr); } }
.shop { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--l-deep); border: 1px solid var(--line); }
.shop-logo { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 14px; background: var(--l-night); overflow: hidden; }
.shop-logo img { max-width: 76px; max-height: 64px; width: auto; }
.shop-logo span { font-family: var(--font-display); font-weight: 900; font-size: 2rem; }
.shop h3 { font-size: 1.125rem; }
.shop-meta { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.shop-benefit { margin-top: 8px; color: var(--l-cyan); font-weight: 700; }
.shop-cond { margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.shop-links { margin-top: 8px; display: flex; gap: 12px; font-size: .875rem; }
.shop-links a { color: var(--l-cyan); }

/* COMERCIOS (B2B) — sección diferenciada en azul */
.l-business { background: var(--l-blue); color: #fff; }
.l-business .eyebrow { color: var(--l-night); }
.l-business .lead { color: rgba(255,255,255,.92); }
.l-quote { margin-top: 32px; padding: 24px 28px; border-left: 4px solid var(--l-cyan); background: rgba(9,6,37,.28); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.25; }
.l-points { display: grid; gap: 12px; margin-top: 32px; }
.l-points li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.l-business .l-card { background: var(--l-night); }
.l-business .btn-primary { background: var(--l-blue); }
.l-business .btn-outline { border-color: #fff; }

/* PIE */
.l-footer { padding-block: 48px 32px; border-top: 1px solid var(--line); }
.l-footer-top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .l-footer-top { grid-template-columns: 4fr 4fr 4fr; } }
.l-footer-logo img { width: 150px; height: auto; }
.l-footer .footer-title { margin-bottom: 12px; font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l-cyan); }
.l-footer .footer-nav li + li { margin-top: 8px; }
.l-footer .footer-nav a { color: #fff; text-decoration: none; }
.l-footer .footer-nav a:hover { text-decoration: underline; }
.l-footer .footer-legal { color: var(--muted); }
.l-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .875rem; color: var(--muted); }
.l-footer .footer-bottom button { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .875rem; }
@media (min-width: 600px) { .stairs { gap: 12px; } .stair { padding: 18px; } }
@media (min-width: 960px) { .stair b { font-size: clamp(1.1rem, 2vw, 2rem); } }

/* ==== Flecha del logo como recurso gráfico ================================ */
.l-hero { isolation: isolate; }
.l-hero-arrow { position: absolute; z-index: -1; right: -4%; top: -12%; height: 128%; width: auto; color: var(--l-navy); opacity: .55; pointer-events: none; }
@media (max-width: 959px) { .l-hero-arrow { height: 70%; top: auto; bottom: -6%; right: -18%; } }
.btn-arrow { height: 1.15em; width: auto; flex-shrink: 0; }
.btn svg.btn-arrow { width: auto; height: 1.15em; }
.l-step-arrow { height: 26px; width: auto; color: var(--l-night); }
.pt-arrow { height: 26px; width: auto; color: var(--l-night); margin-top: -2px; }
.l-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--l-navy), var(--l-royal)); }
.l-cta-band p { font-size: 1.125rem; }
.l-shops-section { border-top: 1px solid var(--line); }
.l-business { position: relative; overflow: hidden; isolation: isolate; }
.l-business-arrow { position: absolute; z-index: -1; right: -3%; bottom: -22%; height: 150%; width: auto; color: var(--l-royal); pointer-events: none; }
.l-business-teaser .wrap { position: relative; }
.btn-night { background: var(--l-night); color: #fff; }
.btn-night:hover { background: var(--l-deep); }
.l-business-title { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1; text-transform: uppercase; }
.l-card-title { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 20px; }
.l-business .l-card .btn-outline { border-color: rgba(255,255,255,.6); }
.l-back { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 4px; }
.l-back:hover { color: var(--l-cyan); }

/* ==== Pantalla de registro (paso a paso) ================================= */
.l-screen { min-height: calc(100vh - 72px); padding-block: clamp(32px, 6vw, 72px) 96px; background: radial-gradient(90% 60% at 80% 0%, var(--l-navy) 0%, var(--l-night) 70%); }
.l-screen-wrap { max-width: 640px; }
.l-screen-intro h1 { margin: 10px 0 28px; font-size: clamp(2.2rem, 7vw, 3.5rem); line-height: 1; }
.wz-card { position: relative; overflow: hidden; }
.wz-progress { position: relative; height: 6px; margin: 4px 30px 32px 0; border-radius: 3px; background: rgba(255,255,255,.12); }
.wz-bar { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--l-blue), var(--l-cyan)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.wz-arrow { position: absolute; right: -30px; top: -16px; height: 32px; width: auto; color: var(--l-cyan); }
.wz-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.js .wz[data-wizard] .wz-step[hidden] { display: none; }
.wz-step + .wz-step { margin-top: 28px; }
.js .wz[data-wizard] .wz-step + .wz-step { margin-top: 0; }
.wz-q { display: block; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.25rem); line-height: 1.05; text-transform: uppercase; }
.wz-count { display: block; margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; color: var(--l-cyan); }
.wz-help { margin: -6px 0 16px; color: var(--muted); }
.wz .field input:not([type=checkbox]) { min-height: 58px; font-size: 1.1875rem; }
.wz .check { font-size: 1rem; }
.wz-step .field + .field { margin-top: 16px; }
.wz-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.wz-nav .wz-next, .wz-nav .wz-submit { margin-left: auto; }
.js .wz[data-wizard] .wz-submit[hidden], .wz-nav [hidden] { display: none; }
.js .wz-step.is-entering { animation: wzIn .35s ease both; }
@keyframes wzIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.form-success h2 { margin: 18px 0 12px; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.75rem, 5vw, 2.5rem); text-transform: uppercase; line-height: 1; }
.success-arrow { display: block; height: 72px; width: auto; margin-bottom: 18px; color: var(--l-cyan); }
.js .form-success .success-arrow { animation: arrowUp .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arrowUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
