/* ================================================================
   VeltWallet Design System
   Colores extraidos de SVGs del logo:
     Gold gradient: #E8C766 → #C9A227 → #A8851C
     Graph gradient: #6B6358 → #3A352E
     Dark overlay:  #2A251F
================================================================ */

:root {
  /* Fondos — grafito caliente */
  --vw-bg-primary:   #141414;
  --vw-bg-secondary: #1C1C1E;
  --vw-bg-card:      #242424;
  --vw-bg-hover:     #2E2920;
  --vw-bg-input:     #1C1A11;

  /* Dorado — extraido del logo */
  --vw-gold:         #C9A227;
  --vw-gold-light:   #E8C766;
  --vw-gold-dark:    #A8851C;
  --vw-gold-muted:   rgba(201, 162, 39, 0.5);
  --vw-gold-subtle:  rgba(201, 162, 39, 0.1);

  /* Texto */
  --vw-text-primary:   #FFFFFF;
  --vw-text-secondary: #C8C0B0;
  --vw-text-muted:     #7A7060;

  /* Bordes */
  --vw-border:      rgba(107, 99, 88, 0.28);
  --vw-border-gold: rgba(201, 162, 39, 0.4);

  /* Gradiente dorado reutilizable */
  --vw-gradient-gold: linear-gradient(135deg, #E8C766 0%, #C9A227 50%, #A8851C 100%);

  /* Radios */
  --vw-radius:    10px;
  --vw-radius-lg: 16px;
  --vw-radius-xl: 24px;

  /* Sombras */
  --vw-shadow:      0 4px 24px rgba(0, 0, 0, 0.5);
  --vw-shadow-gold: 0 0 24px rgba(201, 162, 39, 0.15);
  --vw-shadow-btn:  0 2px 12px rgba(201, 162, 39, 0.3);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--vw-bg-primary);
  color: var(--vw-text-primary);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--vw-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--vw-gold-light); }

/* ── Navegacion autenticada ── */
.vw-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 13, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vw-border);
}
.vw-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 1.5rem; height: 58px;
}
.vw-nav-logo { display: flex; align-items: center; }
.vw-nav-logo img { height: 30px; display: block; }
.vw-nav-links { display: flex; gap: 0.15rem; flex: 1; }
.vw-nav-link {
  padding: 0.4rem 0.85rem; border-radius: 7px;
  color: var(--vw-text-muted); font-size: 0.82rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.vw-nav-link:hover { color: var(--vw-text-secondary); background: rgba(255,255,255,0.05); }
.vw-nav-link.active { color: var(--vw-gold); background: var(--vw-gold-subtle); }

.vw-nav-user {
  display: flex; align-items: center; gap: 0.75rem;
  margin-left: auto; flex-shrink: 0;
}
.vw-nav-empresa { font-size: 0.72rem; color: var(--vw-text-muted); }
.vw-nav-nombre { font-size: 0.8rem; font-weight: 600; color: var(--vw-text-secondary); }

/* ── Botones ── */
.vw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: none; cursor: pointer; font-weight: 600;
  border-radius: var(--vw-radius); transition: all 0.18s;
  text-decoration: none; white-space: nowrap; outline: none;
  font-family: inherit;
  /* Defaults para botones sin modificador de tamaño (evita texto recortado) */
  padding: 12px 28px; font-size: 0.9rem; min-width: fit-content;
}
.vw-btn:focus-visible { outline: 2px solid var(--vw-gold); outline-offset: 2px; }
.vw-btn-sm  { padding: 0.38rem 0.85rem; font-size: 0.76rem; }
.vw-btn-md  { padding: 0.58rem 1.2rem;  font-size: 0.84rem; }
.vw-btn-lg  { padding: 0.82rem 2rem;    font-size: 0.93rem; }

.vw-btn-primary {
  background: var(--vw-gradient-gold);
  color: #1A1710;
  box-shadow: var(--vw-shadow-btn);
}
.vw-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.45);
  color: #121008;
}
.vw-btn-primary:active { filter: brightness(0.96); }

.vw-btn-ghost {
  background: transparent;
  border: 1px solid var(--vw-border-gold);
  color: var(--vw-gold);
}
.vw-btn-ghost:hover { background: var(--vw-gold-subtle); color: var(--vw-gold-light); }

.vw-btn-outline {
  background: transparent;
  border: 1px solid var(--vw-border);
  color: var(--vw-text-secondary);
}
.vw-btn-outline:hover { border-color: var(--vw-gold-muted); color: var(--vw-gold); }

.vw-btn-danger {
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.3);
  color: #FCA5A5;
}
.vw-btn-danger:hover { background: rgba(220,38,38,0.2); }

/* ── Tarjetas ── */
.vw-card {
  background: var(--vw-bg-card);
  border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-lg);
  padding: 1.5rem;
}
.vw-card-gold {
  border-color: var(--vw-border-gold);
  box-shadow: var(--vw-shadow-gold);
}
.vw-card-sm { padding: 1rem; border-radius: var(--vw-radius); }

/* ── Formularios ── */
.vw-label {
  display: block; font-size: 0.76rem; font-weight: 600;
  color: var(--vw-text-secondary); margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.vw-input {
  width: 100%; padding: 0.65rem 0.9rem;
  background: var(--vw-bg-input); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius); color: var(--vw-text-primary); font-size: 0.87rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  font-family: inherit;
}
.vw-input:focus {
  border-color: var(--vw-gold-muted);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}
.vw-input::placeholder { color: var(--vw-text-muted); }
.vw-input:disabled { opacity: 0.5; cursor: not-allowed; }

.vw-select {
  width: 100%; padding: 0.65rem 2.2rem 0.65rem 0.9rem;
  background: var(--vw-bg-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237A7060'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  border: 1px solid var(--vw-border); border-radius: var(--vw-radius);
  color: var(--vw-text-primary); font-size: 0.87rem;
  appearance: none; -webkit-appearance: none; outline: none;
  transition: border-color 0.2s;
}
.vw-select:focus { border-color: var(--vw-gold-muted); }

.vw-form-group { margin-bottom: 1.1rem; }
.vw-form-error { font-size: 0.74rem; color: #FCA5A5; margin-top: 0.3rem; }

/* ── Alertas ── */
.vw-alert {
  padding: 0.8rem 1rem; border-radius: var(--vw-radius);
  font-size: 0.82rem; margin-bottom: 1rem;
}
.vw-alert-error   { background: rgba(220,38,38,0.1);   border: 1px solid rgba(220,38,38,0.25);   color: #FCA5A5; }
.vw-alert-success { background: rgba(16,185,129,0.1);  border: 1px solid rgba(16,185,129,0.25);  color: #6EE7B7; }
.vw-alert-info    { background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);  color: var(--vw-gold-light); }
.vw-alert-warning { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.25);  color: #FCD34D; }

/* ── Layout contenedor ── */
.vw-page { min-height: 100vh; display: flex; flex-direction: column; }
.vw-content {
  flex: 1; max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 2rem 1.5rem;
}
.vw-content-narrow { max-width: 680px; }
.vw-content-full { flex: 1; width: 100%; padding: 2rem 1.5rem; }

/* ── Tipografia de secciones ── */
.vw-section-title { font-size: 1.4rem; font-weight: 700; color: var(--vw-text-primary); }
.vw-section-sub   { font-size: 0.85rem; color: var(--vw-text-muted); margin-top: 0.25rem; }
.vw-page-header   { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }

/* ── Divisores ── */
.vw-divider      { border: none; border-top: 1px solid var(--vw-border); margin: 1.5rem 0; }
.vw-divider-gold { border-top-color: var(--vw-border-gold); }

/* ── Badges ── */
.vw-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.6rem; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700;
}
.vw-badge-gold    { background: rgba(201,162,39,0.15); color: var(--vw-gold);    border: 1px solid var(--vw-border-gold); }
.vw-badge-green   { background: rgba(16,185,129,0.12); color: #6EE7B7;           border: 1px solid rgba(16,185,129,0.25); }
.vw-badge-red     { background: rgba(220,38,38,0.12);  color: #FCA5A5;           border: 1px solid rgba(220,38,38,0.25); }
.vw-badge-neutral { background: rgba(107,99,88,0.2);   color: var(--vw-text-muted); border: 1px solid var(--vw-border); }

/* ── Tabla ── */
.vw-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.vw-table th {
  padding: 0.6rem 1rem; text-align: left;
  font-size: 0.7rem; font-weight: 700; color: var(--vw-text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  border-bottom: 1px solid var(--vw-border);
}
.vw-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(107,99,88,0.15);
  color: var(--vw-text-secondary);
}
.vw-table tr:last-child td { border-bottom: none; }
.vw-table tr:hover td { background: var(--vw-bg-hover); }

/* ── Metricas ── */
.vw-metric       { font-size: 2rem; font-weight: 700; color: var(--vw-text-primary); line-height: 1; }
.vw-metric-label { font-size: 0.72rem; color: var(--vw-text-muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.vw-metric-gold  { color: var(--vw-gold); }
.vw-metric-sm    { font-size: 1.4rem; }

/* ── Grid de metricas ── */
.vw-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* ── Landing page ── */
.vw-landing { background: var(--vw-bg-primary); overflow: hidden; }

.vw-hero {
  min-height: 90vh; display: flex; align-items: center;
  position: relative; padding: 4rem 1.5rem;
}
.vw-hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }

.vw-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);
  font-size: 0.75rem; font-weight: 700; color: var(--vw-gold);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.75rem;
}
.vw-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.12;
  color: var(--vw-text-primary); margin-bottom: 1.25rem;
}
.vw-hero-title .gold { color: var(--vw-gold); }
.vw-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--vw-text-secondary); max-width: 540px;
  line-height: 1.7; margin-bottom: 2.25rem;
}
.vw-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.vw-hero-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; top: -100px; right: -150px;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.vw-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.vw-feature-card {
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-lg); padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.vw-feature-card:hover {
  border-color: var(--vw-border-gold);
  transform: translateY(-3px);
}
.vw-feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.vw-feature-title { font-size: 0.95rem; font-weight: 700; color: var(--vw-text-primary); margin-bottom: 0.4rem; }
.vw-feature-desc  { font-size: 0.83rem; color: var(--vw-text-muted); line-height: 1.65; }

.vw-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.vw-sector-chip {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; border-radius: var(--vw-radius);
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  font-size: 0.78rem; font-weight: 500; color: var(--vw-text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.vw-sector-chip:hover { border-color: var(--vw-border-gold); color: var(--vw-gold); }

.vw-section { padding: 5rem 1.5rem; }
.vw-section-center { text-align: center; }
.vw-section-inner { max-width: 1100px; margin: 0 auto; }
.vw-section-tagline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--vw-text-primary);
  line-height: 1.2; margin-bottom: 1rem;
}

/* ── Login / Auth ── */
.vw-auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 2rem 1rem;
  background: var(--vw-bg-primary);
}
.vw-auth-card {
  width: 100%; max-width: 420px;
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-xl); padding: 2.5rem 2rem;
  box-shadow: var(--vw-shadow);
}
.vw-auth-logo {
  text-align: center; margin-bottom: 1.75rem;
}
.vw-auth-logo img { height: 36px; }
.vw-auth-title {
  font-size: 1.3rem; font-weight: 700; color: var(--vw-text-primary);
  margin-bottom: 0.3rem;
}
.vw-auth-sub { font-size: 0.82rem; color: var(--vw-text-muted); margin-bottom: 1.75rem; }

/* ── Dashboard shell ── */
.vw-dash-header { margin-bottom: 2rem; }
.vw-dash-title { font-size: 1.5rem; font-weight: 800; color: var(--vw-text-primary); }
.vw-dash-sub { font-size: 0.85rem; color: var(--vw-text-muted); margin-top: 0.2rem; }
.vw-dash-greeting {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; color: var(--vw-gold);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .vw-nav-links { display: none; }
  .vw-hero { min-height: auto; padding: 3rem 1.25rem 2rem; }
  .vw-section { padding: 3.5rem 1.25rem; }
  .vw-features-grid { grid-template-columns: 1fr; }
  .vw-content { padding: 1.5rem 1rem; }
  .vw-auth-card { padding: 2rem 1.25rem; }
}

/* ── Utilidades ── */
.vw-text-gold    { color: var(--vw-gold) !important; }
.vw-text-muted   { color: var(--vw-text-muted) !important; }
.vw-text-primary { color: var(--vw-text-primary) !important; }
.vw-mt-0  { margin-top: 0 !important; }
.vw-mb-0  { margin-bottom: 0 !important; }
.vw-gap-1 { gap: 0.5rem; }
.vw-gap-2 { gap: 1rem; }
.vw-flex  { display: flex; }
.vw-align-center { align-items: center; }
.vw-justify-between { justify-content: space-between; }
.vw-w-full { width: 100%; }
.vw-font-bold { font-weight: 700; }

/* ════════════════════════════════════════════════════════════════
   Landing Layout — prefijo vwl- para no colisionar con vw-
════════════════════════════════════════════════════════════════ */

/* ── Navbar landing ── */
.vwl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 1.5rem;
  background: transparent;
  transition: background 0.35s, backdrop-filter 0.35s, border-bottom-color 0.35s;
  border-bottom: 1px solid transparent;
}
.vwl-nav--scrolled {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--vw-border);
}
.vwl-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 66px;
  transition: height 0.35s ease;
}
.vwl-nav--scrolled .vwl-nav-inner { height: 54px; }
.vwl-nav--scrolled .vwl-nav-logo img { height: 24px; }
.vwl-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.vwl-nav-logo img { height: 28px; display: block; transition: height 0.35s ease; }
.vwl-nav-links { display: flex; gap: 0.2rem; flex: 1; }
.vwl-nav-link {
  padding: 0.4rem 0.9rem; border-radius: 8px;
  color: var(--vw-text-secondary); font-size: 0.83rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.vwl-nav-link:hover { color: var(--vw-text-primary); background: rgba(255,255,255,0.05); }
.vwl-nav-cta { display: flex; gap: 0.65rem; align-items: center; margin-left: auto; flex-shrink: 0; }

/* ── Hero ── */
.vwl-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 8rem 1.5rem 5rem;
}
.vwl-hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.vwl-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem; border-radius: 20px;
  background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);
  font-size: 0.68rem; font-weight: 700; color: var(--vw-gold);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1.5rem; width: fit-content;
}
.vwl-hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.08;
  color: var(--vw-text-primary); margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.vwl-hero-title .gold { color: var(--vw-gold); }
.vwl-hero-sub {
  font-size: 1.05rem;
  color: var(--vw-text-secondary);
  line-height: 1.75; margin-bottom: 2.25rem;
  max-width: 490px;
}
.vwl-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.vwl-hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.vwl-hero-card {
  width: 100%; max-width: 420px;
  min-height: 220px;
  border-radius: 16px;
  padding: 24px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, #2E2920 0%, #161310 100%);
  border: 1px solid rgba(201, 162, 39, 0.22);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.75))
          drop-shadow(0 0 48px rgba(201,162,39,0.12));
}
/* Franja dorada superior */
.vwl-hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--vw-gradient-gold);
}

/* Header: marca + badge WALLET */
.vwl-hcard-header {
  display: flex; align-items: center; justify-content: space-between;
}
.vwl-hcard-brand {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--vw-gold);
}
.vwl-hcard-wallet-badge {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--vw-gold); padding: 0.22rem 0.55rem; border-radius: 6px;
  background: rgba(201, 162, 39, 0.12); border: 1px solid rgba(201, 162, 39, 0.35);
}

/* Negocio: ícono + nombre — 16px bajo el header */
.vwl-hcard-biz {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
}
.vwl-hcard-biz-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: rgba(201, 162, 39, 0.1); border: 1px solid rgba(201, 162, 39, 0.28);
  display: flex; align-items: center; justify-content: center;
}
.vwl-hcard-biz-name { font-size: 0.92rem; font-weight: 700; color: #fff; line-height: 1.2; }
.vwl-hcard-biz-sub  { font-size: 0.7rem; color: rgba(200, 192, 176, 0.6); }

/* Puntos */
.vwl-hcard-points {
  margin-top: 20px; margin-bottom: 4px;
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: var(--vw-gradient-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vwl-hcard-points-label {
  font-size: 0.62rem; letter-spacing: 0.15em; color: var(--vw-text-muted);
}

/* Separador entre puntos y sección inferior */
.vwl-hcard-divider {
  border: none; border-top: 1px solid rgba(107, 99, 88, 0.35);
  margin: 16px 0 0;
}

/* Sección inferior: cliente + nivel + QR */
.vwl-hcard-bottom {
  padding-top: 16px; display: flex; align-items: center; gap: 12px;
}
.vwl-hcard-customer { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.vwl-hcard-customer-label {
  font-size: 0.56rem; letter-spacing: 0.12em; color: rgba(200, 192, 176, 0.5);
}
.vwl-hcard-customer-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
.vwl-hcard-level {
  display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0;
  font-size: 0.7rem; font-weight: 700; color: var(--vw-gold);
  padding: 0.22rem 0.65rem; border-radius: 13px;
  background: rgba(201, 162, 39, 0.12); border: 1px solid rgba(201, 162, 39, 0.4);
}
.vwl-hcard-qr {
  width: 56px; height: 56px; flex-shrink: 0; margin-right: 4px;
  display: block;
}
.vwl-hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 68%);
  top: 50%; right: -80px; transform: translateY(-50%);
  pointer-events: none;
  animation: vwlGlowPulse 7s ease-in-out infinite;
}
.vwl-hero-glow-2 {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.05) 0%, transparent 70%);
  bottom: -60px; left: -40px;
  pointer-events: none;
  animation: vwlGlowPulse 9s ease-in-out infinite reverse;
}
@keyframes vwlGlowPulse {
  0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateY(-50%) scale(1.12); }
}
.vwl-hero-glow-2 { animation-name: vwlGlowPulse2; }
@keyframes vwlGlowPulse2 {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* ── Cómo funciona ── */
.vwl-steps-section { padding: 6rem 1.5rem; background: var(--vw-bg-secondary); }
.vwl-steps-inner   { max-width: 1100px; margin: 0 auto; }
.vwl-steps-header  { text-align: center; margin-bottom: 3.5rem; }
.vwl-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; position: relative;
}
.vwl-steps-grid::after {
  content: '';
  position: absolute; top: 52px;
  left: calc(33.33% - 16px); right: calc(33.33% - 16px);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--vw-border-gold) 20%, var(--vw-border-gold) 80%, transparent 100%);
  pointer-events: none;
}
.vwl-step {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-xl);
  transition: border-color 0.3s, transform 0.3s;
  position: relative; z-index: 1;
}
.vwl-step:hover { border-color: var(--vw-border-gold); transform: translateY(-5px); }
.vwl-step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--vw-gold-subtle); border: 2px solid var(--vw-border-gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: var(--vw-gold);
  margin-bottom: 1.25rem;
}
.vwl-step-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.vwl-step-title { font-size: 1rem; font-weight: 700; color: var(--vw-text-primary); margin-bottom: 0.5rem; }
.vwl-step-desc  { font-size: 0.84rem; color: var(--vw-text-muted); line-height: 1.7; }

/* ── Modos de uso ── */
.vwl-modes-section { padding: 6rem 1.5rem; }
.vwl-modes-inner   { max-width: 1100px; margin: 0 auto; }
.vwl-modes-header  { text-align: center; margin-bottom: 3.5rem; }
.vwl-modes-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vwl-mode-card {
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-xl); padding: 2.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.vwl-mode-card:hover { border-color: var(--vw-border-gold); }
.vwl-mode-card--primary { border-color: var(--vw-border-gold); box-shadow: var(--vw-shadow-gold); }
.vwl-mode-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.75rem; border-radius: 20px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.vwl-mode-tag--solo { background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold); color: var(--vw-gold); }
.vwl-mode-tag--eco  { background: rgba(107,99,88,0.15); border: 1px solid var(--vw-border); color: var(--vw-text-muted); }
.vwl-mode-title { font-size: 1.35rem; font-weight: 800; color: var(--vw-text-primary); margin-bottom: 0.5rem; }
.vwl-mode-desc  { font-size: 0.87rem; color: var(--vw-text-muted); margin-bottom: 1.75rem; line-height: 1.7; }

.vwl-mode-sector-chip {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--vw-bg-hover); border: 1px solid var(--vw-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--vw-text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.vwl-mode-sector-chip:hover { border-color: var(--vw-border-gold); color: var(--vw-gold); }

.vwl-feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.vwl-feature-list li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.85rem; color: var(--vw-text-secondary); line-height: 1.5;
}
.vwl-feature-list li::before {
  content: '';
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: var(--vw-gold-subtle);
  border: 1px solid var(--vw-border-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}
.vwl-integration-diagram {
  margin-top: 1.5rem;
  display: flex; align-items: stretch; justify-content: center; gap: 0.4rem;
}
.vwl-diag-node {
  flex: 1 1 0; min-width: 0;
  background: #1A1710; border: 1px solid rgba(107, 99, 88, 0.45);
  border-radius: 12px; padding: 0.9rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.35rem;
}
.vwl-diag-node--center {
  position: relative;
  background: #252017; border-color: rgba(201, 162, 39, 0.45);
  padding-top: 1.1rem;
}
.vwl-diag-node--center::before {
  content: ''; position: absolute; top: 0; left: 12px; right: 12px;
  height: 3px; border-radius: 0 0 2px 2px; background: var(--vw-gradient-gold);
}
.vwl-diag-logo {
  height: 28px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.9;
}
.vwl-diag-icon {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
}
.vwl-diag-name { font-size: 0.72rem; font-weight: 700; color: #fff; }
.vwl-diag-node--center .vwl-diag-name { font-size: 0.8rem; font-weight: 800; }
.vwl-diag-sub { font-size: 0.6rem; color: rgba(200, 192, 176, 0.55); line-height: 1.35; }
.vwl-diag-badge {
  margin-top: 0.1rem; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--vw-gold); padding: 0.12rem 0.5rem; border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
}
.vwl-diag-conn { flex: 0 0 26px; align-self: center; height: 14px; }

.vwl-conn-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

@media (max-width: 480px) {
  .vwl-integration-diagram { gap: 0.25rem; }
  .vwl-diag-node { padding: 0.7rem 0.35rem; }
  .vwl-diag-conn { flex-basis: 16px; }
}

/* ── Sectores (cards grandes) ── */
.vwl-sectors-section { padding: 6rem 1.5rem; background: var(--vw-bg-secondary); }
.vwl-sectors-inner   { max-width: 1100px; margin: 0 auto; }
.vwl-sectors-header  { text-align: center; margin-bottom: 3.5rem; }
.vwl-sectors-grid-lg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.vwl-sector-card-lg {
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  border-radius: var(--vw-radius-lg); padding: 1.5rem 1rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.vwl-sector-card-lg:hover {
  border-color: var(--vw-border-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--vw-border-gold);
}
.vwl-sector-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--vw-gold-subtle); border: 1px solid var(--vw-border-gold);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s;
}
.vwl-sector-card-lg:hover .vwl-sector-icon-wrap { background: rgba(201,162,39,0.18); }
.vwl-sector-name { font-size: 0.82rem; font-weight: 600; color: var(--vw-text-secondary); line-height: 1.4; }

/* ── Tarjeta digital ── */
.vwl-digital-section { padding: 6rem 1.5rem; }
.vwl-digital-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.vwl-phone-wrap { display: flex; justify-content: center; position: relative; }
.vwl-phone-svg {
  width: 100%; max-width: 290px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.65))
          drop-shadow(0 0 30px rgba(201,162,39,0.08));
}
.vwl-wallet-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.vwl-wallet-badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 10px;
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  font-size: 0.82rem; font-weight: 600; color: var(--vw-text-secondary);
}

/* ── Dashboard preview ── */
.vwl-dashboard-section { padding: 6rem 1.5rem; background: var(--vw-bg-secondary); }
.vwl-dashboard-inner   { max-width: 1100px; margin: 0 auto; }
.vwl-dashboard-header  { text-align: center; margin-bottom: 3.5rem; }
.vwl-dashboard-mockup {
  border-radius: var(--vw-radius-xl); overflow: hidden;
  border: 1px solid var(--vw-border-gold);
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), var(--vw-shadow-gold);
}
.vwl-dashboard-svg { width: 100%; display: block; }

/* ── CTA final ── */
.vwl-cta-section {
  padding: 7rem 1.5rem;
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, #141414 0%, #1C1C1E 50%, #141414 100%);
}
.vwl-cta-deco {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 58%);
  pointer-events: none;
}
.vwl-cta-gold-line {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 280px; height: 2px;
  background: var(--vw-gradient-gold); opacity: 0.55;
}
.vwl-cta-content { max-width: 620px; margin: 0 auto; position: relative; }
.vwl-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; color: var(--vw-text-primary); line-height: 1.15;
  margin-bottom: 1.25rem; letter-spacing: -0.025em;
}
.vwl-cta-title .gold { color: var(--vw-gold); }
.vwl-cta-sub { font-size: 1rem; color: var(--vw-text-muted); margin-bottom: 2.5rem; line-height: 1.75; }

/* ── Footer landing ── */
.vwl-footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--vw-border);
  background: var(--vw-bg-primary);
}
.vwl-footer-inner  { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.vwl-footer-top    { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; }
.vwl-footer-logo img { height: 26px; }
.vwl-footer-links  { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.vwl-footer-link   { font-size: 0.82rem; color: var(--vw-text-muted); transition: color 0.2s; }
.vwl-footer-link:hover { color: var(--vw-gold); }
.vwl-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--vw-border);
}
.vwl-footer-copy { font-size: 0.75rem; color: var(--vw-text-muted); }
.vwl-ecosystem-logos { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vwl-eco-badge {
  padding: 0.2rem 0.6rem; border-radius: 6px;
  background: var(--vw-bg-card); border: 1px solid var(--vw-border);
  font-size: 0.65rem; font-weight: 700; color: var(--vw-text-muted); letter-spacing: 0.05em;
}
.vwl-eco-badge--active {
  background: var(--vw-gold-subtle); border-color: var(--vw-border-gold); color: var(--vw-gold);
}

/* ── Responsive landing ── */
@media (max-width: 1024px) {
  .vwl-hero-inner    { grid-template-columns: 1fr; gap: 3rem; }
  /* sin order:-1 → texto arriba, tarjeta abajo (spec §2.5) */
  .vwl-hero-card     { max-width: 380px; }
  .vwl-hero          { padding: 6rem 1.5rem 4rem; min-height: auto; }
  .vwl-modes-grid    { grid-template-columns: 1fr; }
  .vwl-digital-inner { grid-template-columns: 1fr; gap: 3rem; }
  .vwl-phone-wrap    { order: -1; }
  .vwl-sectors-grid-lg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .vwl-nav-links      { display: none; }
  .vwl-steps-grid     { grid-template-columns: 1fr; }
  .vwl-steps-grid::after { display: none; }
  .vwl-sectors-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .vwl-hero-sub { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .vwl-hero-card      { max-width: 100%; }
  .vwl-nav-cta .vw-btn-ghost { display: none; }
  .vwl-sectors-grid-lg { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .vwl-sector-card-lg { padding: 1.25rem 0.75rem; }
  .vwl-mode-card      { padding: 1.75rem 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   App Shell — Layout con sidebar para la app autenticada (Fase 4+)
═══════════════════════════════════════════════════════════════════════ */
.vw-app-body {
  min-height: 100vh;
  background: var(--vw-bg-primary);
}
.vw-app-shell {
  display: flex;
  min-height: 100vh;
}
.vw-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--vw-bg-secondary);
  border-right: 1px solid var(--vw-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0;
  height: 100vh; z-index: 200;
  overflow-y: auto;
}
.vw-sidebar-logo { padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--vw-border); flex-shrink: 0; }
.vw-sidebar-logo a { display: block; }
.vw-sidebar-logo img { height: 26px; display: block; }
.vw-sidebar-nav { flex: 1; padding: 0.75rem 0.6rem; display: flex; flex-direction: column; gap: 0.15rem; }
.vw-sidebar-link {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.52rem 0.85rem; border-radius: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--vw-text-muted);
  transition: color 0.15s, background 0.15s; text-decoration: none;
}
.vw-sidebar-link:hover { color: var(--vw-text-secondary); background: rgba(255,255,255,0.04); }
.vw-sidebar-link.active { color: var(--vw-gold); background: var(--vw-gold-subtle); }
.vw-sidebar-link svg { flex-shrink: 0; opacity: 0.75; }
.vw-sidebar-link.active svg { opacity: 1; }
.vw-sidebar-divider { height: 1px; background: var(--vw-border); margin: 0.6rem 0.85rem; }
.vw-sidebar-group-label {
  font-size: 0.66rem; font-weight: 700; color: var(--vw-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.55rem 0.85rem 0.2rem;
}
.vw-sidebar-sub { padding-left: 0.4rem; }
.vw-sidebar-footer { padding: 0.9rem 1.1rem; border-top: 1px solid var(--vw-border); flex-shrink: 0; }
.vw-sidebar-tenant { font-size: 0.72rem; font-weight: 700; color: var(--vw-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; margin-bottom: 0.15rem; }
.vw-sidebar-user { font-size: 0.68rem; color: var(--vw-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; margin-bottom: 0.65rem; }
.vw-app-main { flex: 1; margin-left: 240px; display: flex; flex-direction: column; min-height: 100vh; }
.vw-app-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28,28,30,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vw-border);
  padding: 0 1.75rem; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
}
.vw-app-breadcrumb { font-size: 0.8rem; color: var(--vw-text-muted); }
.vw-app-breadcrumb strong { color: var(--vw-text-secondary); }
.vw-app-header-user { display: flex; align-items: center; gap: 0.6rem; }
.vw-app-content { flex: 1; padding: 2rem 1.75rem; max-width: 1200px; width: 100%; }
.vw-config-form { max-width: 680px; }
.vw-config-card { background: var(--vw-bg-card); border: 1px solid var(--vw-border); border-radius: var(--vw-radius-lg); padding: 1.5rem; }
.vw-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 680px) { .vw-form-grid { grid-template-columns: 1fr; } }
.vw-config-section { background: var(--vw-bg-card); border: 1px solid var(--vw-border); border-radius: var(--vw-radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.vw-config-section-title { font-size: 0.85rem; font-weight: 700; color: var(--vw-text-primary); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--vw-border); }
.vw-checkbox-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.vw-checkbox-item { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.9rem; background: var(--vw-bg-secondary); border: 1px solid var(--vw-border); border-radius: 8px; cursor: pointer; transition: border-color 0.15s; }
.vw-checkbox-item:has(input:checked) { border-color: var(--vw-border-gold); background: var(--vw-gold-subtle); }
.vw-checkbox-item input { accent-color: var(--vw-gold); width: 14px; height: 14px; }
.vw-checkbox-item span { font-size: 0.8rem; font-weight: 500; color: var(--vw-text-secondary); }
.vw-plan-banner { padding: 0.75rem 1.1rem; border-radius: var(--vw-radius); display: flex; align-items: center; gap: 0.8rem; font-size: 0.82rem; margin-bottom: 1.25rem; }
.vw-plan-banner-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); color: #FCD34D; }
.vw-plan-banner-danger  { background: rgba(220,38,38,0.08);  border: 1px solid rgba(220,38,38,0.25);  color: #FCA5A5; }
@media (max-width: 900px) { .vw-sidebar { width: 200px; } .vw-app-main { margin-left: 200px; } }
@media (max-width: 640px) { .vw-sidebar { transform: translateX(-100%); transition: transform 0.25s ease; } .vw-sidebar.open { transform: translateX(0); } .vw-app-main { margin-left: 0; } }
