/* ===================================================================
   ZAZ CONDUCTORES — Design System V2
   Sitio público zazconductores.com · estático · mobile-first
   1 sola fuente de verdad de estilos para las 6 páginas pilar.
   ADN preservado del Google Sites: negro + rojo ZAZ + dorado, Teko/Roboto.
   =================================================================== */

:root {
  /* Superficies */
  --bg-1: #0a0a0a;          /* fondo principal: negro profundo */
  --bg-2: #111827;          /* secciones alternas */
  --bg-3: #1F2937;          /* cards, boxes */
  --bg-glass: rgba(31, 41, 55, .55);
  --border: #374151;
  --border-soft: rgba(255, 255, 255, .07);

  /* Marca */
  --red: #E60023;           /* rojo ZAZ — CTA principal, énfasis */
  --red-soft: #B8001C;
  --amber: #F59E0B;         /* dorado — highlights, Yango */
  --green: #34D399;         /* bonos / positivo */
  --blue: #3B82F6;          /* info / links */

  /* Texto */
  --text: #F3F4F6;
  --text-dim: #9CA3AF;
  --text-faint: #6B7280;

  /* WhatsApp */
  --wa: #25D366;

  /* Tipografía */
  --font-display: 'Teko', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Sombras / glow */
  --glow-red: 0 0 40px rgba(230, 0, 35, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Atmósfera: gradiente mesh + grano sutil (cabina de mando / HUD) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(230,0,35,.10), transparent 60%),
    radial-gradient(800px 600px at 5% 15%, rgba(245,158,11,.06), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(59,130,246,.05), transparent 60%);
}
/* Grano de película — textura que mata el "plano AI slop" */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .5px;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 10vw, 5.8rem); letter-spacing: -1px; }
h1 .text-red, h1 .text-amber { position: relative; }
h2 { font-size: clamp(2.1rem, 6.5vw, 3.5rem); letter-spacing: -.5px; }
h3 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-size: .95rem;
}
.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }
.text-dim { color: var(--text-dim); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--text-dim); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 14px 30px; border-radius: var(--radius);
  min-height: 52px; transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
  text-align: center; line-height: 1.1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--glow-red); }
.btn-primary:hover { background: #ff0a2e; box-shadow: 0 0 55px rgba(230,0,35,.55); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--amber), #fbbf24); color: #1a1300; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(245,158,11,.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--red); color: #fff; }
.btn-wa { background: var(--wa); color: #062b14; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(37,211,102,.45); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.45rem; padding: 18px 38px; min-height: 60px; }

/* ---------- Cards / glass ---------- */
.card {
  background: var(--bg-3); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px;
}
.glass {
  background: var(--bg-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
}
.card-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-weight: 500; color: var(--text-dim); transition: color .2s; font-size: .98rem; }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__cta { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .5px;
  background: var(--red); color: #fff; padding: 8px 18px; border-radius: 10px; text-transform: uppercase; }
.nav__cta:hover { background: #ff0a2e; }
.nav__toggle { display: none; font-size: 1.6rem; color: #fff; padding: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 64px; text-align: center; }
.hero__glow {
  position: absolute; top: 0; left: 50%; width: 700px; height: 700px; transform: translate(-50%,-30%);
  background: radial-gradient(circle, rgba(230,0,35,.18) 0%, rgba(230,0,35,0) 60%);
  pointer-events: none; animation: pulseGlow 8s infinite ease-in-out;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 640px; margin: 0 auto 32px; }
.hero__pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 0 auto 26px; max-width: 720px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--amber); line-height: 1; }
.trust-item .lbl { font-size: .82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  background: var(--bg-3); border: 1px solid var(--border-soft); border-radius: 999px;
  padding: 7px 16px 7px 12px; font-size: .9rem; color: var(--text-dim);
}
.partner-badge img { height: 20px; }

/* ---------- Comparativa (Diferencia ZAZ) ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus__col { padding: 26px; border-radius: var(--radius-lg); }
.versus__col--bad { background: #16181d; border: 1px solid var(--border); }
.versus__col--good { background: linear-gradient(160deg, rgba(230,0,35,.12), var(--bg-3)); border: 1px solid var(--red); }
.versus__col h3 { font-size: 1.4rem; margin-bottom: 16px; }
.versus__col li { padding: 9px 0 9px 28px; position: relative; color: var(--text-dim); border-top: 1px solid var(--border-soft); }
.versus__col li:first-of-type { border-top: none; }
.versus__col--bad li::before { content: "✕"; position: absolute; left: 0; color: var(--text-faint); }
.versus__col--good li { color: var(--text); }
.versus__col--good li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- Pasos ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 1.7rem; display: grid; place-items: center;
}
.step__num::before { content: counter(step); }

/* ---------- Testimonios ---------- */
.quote { background: var(--bg-3); border-left: 3px solid var(--red); border-radius: 12px; padding: 22px 24px; }
.quote p { font-style: italic; color: var(--text); margin-bottom: 12px; }
.quote .who { font-weight: 700; color: #fff; }
.quote .role { font-size: .85rem; color: var(--amber); }

/* ---------- Simulador ---------- */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.sim__controls .field { margin-bottom: 18px; }
.sim__controls label { display: block; font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: 1px; color: var(--text-dim); margin-bottom: 7px; text-transform: uppercase; }
.sim__controls select, .sim__controls input[type="text"] {
  width: 100%; background: var(--bg-1); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 13px 14px; font-size: 1rem; font-family: var(--font-body);
}
.sim__controls input[type="range"] { width: 100%; accent-color: var(--red); height: 30px; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row .val { font-family: var(--font-display); font-size: 1.5rem; color: var(--amber); }
.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1; padding: 12px 6px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--border);
  color: var(--text-dim); font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .5px;
  text-transform: uppercase; min-height: 48px; transition: all .15s;
}
.seg button.on { background: var(--red); color: #fff; border-color: var(--red); }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap button { flex: 1 1 30%; min-width: 90px; font-size: 1.05rem; padding: 11px 4px; }
.sim__panel { background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 80px; }
.sim__row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border-soft); }
.sim__row.minus .v { color: var(--text-dim); }
.sim__net { margin-top: 14px; padding-top: 16px; border-top: 2px solid var(--red); }
.sim__net .lbl { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 1px; }
.sim__net .v { font-family: var(--font-display); font-size: 2.6rem; color: var(--green); line-height: 1; }
.sim__budget { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.budget-item { background: var(--bg-1); border-radius: 10px; padding: 12px; text-align: center; }
.budget-item .pct { font-family: var(--font-display); font-size: 1.1rem; color: var(--amber); }
.budget-item .amt { font-weight: 700; font-size: .92rem; }
.budget-item .nm { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; }
.sim__note { font-size: .82rem; color: var(--text-faint); margin-top: 16px; line-height: 1.5; }

/* ---------- Acordeón (FAQ) ---------- */
.acc__item { border-bottom: 1px solid var(--border-soft); }
.acc__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 20px 0; font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: .5px; color: #fff; }
.acc__q::after { content: "+"; color: var(--red); font-size: 1.8rem; flex: 0 0 auto; transition: transform .2s; }
.acc__item.open .acc__q::after { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--text-dim); }
.acc__item.open .acc__a { max-height: 600px; }
.acc__a-inner { padding: 0 0 20px; }

/* ---------- Anclas / nav secciones (crece-con-zaz) ---------- */
.subnav { position: sticky; top: 64px; z-index: 40; background: rgba(17,24,39,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); overflow-x: auto; }
.subnav__inner { display: flex; gap: 8px; padding: 10px 20px; min-width: max-content; }
.subnav a { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .5px; text-transform: uppercase;
  color: var(--text-dim); padding: 6px 14px; border-radius: 8px; white-space: nowrap; }
.subnav a:hover { color: #fff; background: var(--bg-3); }
[id] { scroll-margin-top: 120px; }

/* ---------- Tier roadmap ---------- */
.tier { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: var(--bg-3); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 18px 20px; }
.tier__badge { font-family: var(--font-display); font-size: 1.1rem; padding: 6px 12px; border-radius: 8px;
  background: var(--bg-1); color: var(--amber); white-space: nowrap; }
.tier__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.tier__score { font-size: .85rem; color: var(--text-dim); }
.tier__earn { font-family: var(--font-display); font-size: 1.6rem; color: var(--green); text-align: right; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: #060606; border-top: 1px solid var(--border-soft); padding: 48px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 32px; }
.footer__brand img { height: 34px; margin-bottom: 14px; }
.footer h4 { font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.footer a { display: block; color: var(--text-dim); padding: 5px 0; font-size: .94rem; }
.footer a:hover { color: #fff; }
.footer__legal { border-top: 1px solid var(--border-soft); padding-top: 20px; font-size: .82rem;
  color: var(--text-faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- CTA sticky móvil ---------- */
.sticky-cta { display: none; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px;
  border-radius: 50%; background: var(--wa); display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); animation: pulseWa 2.6s infinite; }

/* ---------- Animaciones ---------- */
@keyframes pulseGlow { 0%,100% { opacity: .8; transform: translate(-50%,-30%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-30%) scale(1.15); } }
@keyframes pulseWa { 0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 12px rgba(37,211,102,0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   POWER — componentes de impacto (gaming/élite)
   =================================================================== */

/* Contador gigante */
.stat-big { text-align: center; }
.stat-big .count { font-family: var(--font-display); font-weight: 700; line-height: .95;
  font-size: clamp(3rem, 12vw, 5.5rem); background: linear-gradient(135deg, #fff 20%, var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-big .count.red { background: linear-gradient(135deg, #fff 10%, var(--red)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-big .count.green { background: linear-gradient(135deg, #fff 10%, var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-big .lbl { font-size: .9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-top: 6px; }

/* Fila de stats con separadores */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.stat-strip .stat-big { padding: 8px; }
.stat-strip .stat-big .count { font-size: clamp(1.9rem, 7vw, 3rem); }

/* Barra de progreso animada (factores del score) */
.bar { background: var(--bg-1); border-radius: 999px; height: 12px; overflow: hidden; position: relative; }
.bar__fill { height: 100%; width: 0; border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.8,.2,1);
  background: linear-gradient(90deg, var(--red), var(--amber)); box-shadow: 0 0 18px rgba(245,158,11,.4); }
.bar-row { margin-bottom: 18px; }
.bar-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.bar-row .top .nm { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .5px; }
.bar-row .top .pct { font-family: var(--font-display); font-size: 1.4rem; color: var(--amber); }
.bar-row .desc { font-size: .82rem; color: var(--text-dim); margin-top: 5px; }

/* Tier card con glow y badge */
.tier-card { position: relative; background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 24px; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tier-card:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.tier-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: radial-gradient(circle, var(--glow-color, rgba(245,158,11,.25)) 0%, transparent 70%); }
.tier-card .lvl { font-family: var(--font-display); font-size: .9rem; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.tier-card .name { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; margin: 4px 0 2px; }
.tier-card .range { font-size: .82rem; color: var(--text-dim); }
.tier-card .earn { font-family: var(--font-display); font-size: 2.4rem; color: var(--green); margin-top: 14px; line-height: 1; }
.tier-card .earn span { font-size: .9rem; color: var(--text-dim); }
.tier-card .meta { font-size: .82rem; color: var(--text-dim); margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border-soft); }
.tier-card.legend { border-color: var(--amber); --glow-color: rgba(245,158,11,.4); }
.tier-card.legend .name { color: var(--amber); }
/* Crédito ZAZ como beneficio (sube con el tier) */
.tier-credit { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.tier-credit .cl { font-size: .82rem; color: var(--text-dim); }
.tier-credit .cv { font-family: var(--font-display); font-size: 1.35rem; color: var(--green); letter-spacing: .5px; }

/* Card con hover elevado (cualquier card) */
.card.hov, .glass.hov { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.card.hov:hover, .glass.hov:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 18px 44px rgba(0,0,0,.5); }

/* Pill / badge */
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-3);
  border: 1px solid var(--border-soft); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--text-dim); }
.pill.red { border-color: var(--red); color: #fff; background: rgba(230,0,35,.12); }

/* Sección con borde superior de acento */
.accent-top { border-top: 3px solid var(--red); }

/* Redes sociales (footer) */
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-3); border: 1px solid var(--border-soft);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .18s, background .2s, border-color .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; fill: var(--text); }

/* Calendly embed wrapper */
.calendly-wrap { background: var(--bg-3); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  overflow: hidden; min-height: 630px; }
.calendly-inline-widget { min-width: 320px; height: 630px; }

/* Tarjetas-ciudad con foto real (punch visual) */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card { position: relative; height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-soft); display: block; }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; transition: transform .5s ease; }
.city-card__overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.45) 50%, rgba(10,10,10,.94) 100%); }
.city-card:hover img { transform: scale(1.07); }
.city-card:hover { border-color: var(--red); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.city-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.city-card__name { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.city-card__slogan { color: #fff; font-size: .95rem; margin: 5px 0 14px; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.city-card__cta { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .5px; text-transform: uppercase;
  padding: 10px 20px; border-radius: 10px; transition: background .2s, transform .15s;
  box-shadow: 0 6px 18px rgba(230,0,35,.4); }
.city-card:hover .city-card__cta { background: #ff0a2e; transform: translateX(3px); }
@media (max-width: 900px) { .city-grid { grid-template-columns: 1fr 1fr; } .city-card { height: 280px; } }
@media (max-width: 560px) { .city-grid { grid-template-columns: 1fr; } .city-card { height: 260px; } }

/* Video grid (YouTube) */
.video-card { background: var(--bg-3); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s; }
.video-card:hover { transform: translateY(-3px); border-color: var(--red); }
.video-card .thumb { aspect-ratio: 16/9; background: var(--bg-1); display: grid; place-items: center; font-size: 2.4rem; position: relative; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .thumb .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: #fff;
  background: rgba(0,0,0,.28); text-shadow: 0 2px 12px rgba(0,0,0,.6); transition: background .2s; }
.video-card:hover .thumb .play { background: rgba(230,0,35,.34); }
.video-card .vt { padding: 14px; font-family: var(--font-display); font-size: 1.2rem; }

@media (max-width: 640px) {
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ===================================================================
   UNICORNIO — detalles distintivos (cabina HUD / telemetría)
   =================================================================== */

/* Línea de telemetría: rejilla sutil en el hero */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 100% 38px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }

/* Eyebrow con líneas a los lados (estética HUD) */
.eyebrow.flanked { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow.flanked::before, .eyebrow.flanked::after {
  content: ""; height: 1px; width: 38px; background: linear-gradient(90deg, transparent, var(--amber)); }
.eyebrow.flanked::after { background: linear-gradient(90deg, var(--amber), transparent); }

/* Texto display con peso extra y sombra dramática para los números héroe */
.mega { font-family: var(--font-display); font-weight: 700; line-height: .9;
  font-size: clamp(3.4rem, 15vw, 7rem); letter-spacing: -2px;
  text-shadow: 0 0 60px rgba(230,0,35,.3); }

/* Borde con gradiente para cards premium (tier Leyenda, paneles clave) */
.grad-border { position: relative; background: var(--bg-3); border-radius: var(--radius-lg); }
.grad-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--red), var(--amber), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* Selector de vertical (segmented grande, estilo cabina) */
.vsel { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-2);
  border: 1px solid var(--border-soft); border-radius: 14px; flex-wrap: wrap; justify-content: center; }
.vsel button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-dim); transition: all .18s; min-height: 46px; }
.vsel button.on { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(230,0,35,.4); }
.vsel button:not(.on):hover { color: #fff; background: var(--bg-3); }

/* Carga orquestada del hero (staggered) */
.hero h1, .hero .lead, .hero__cta, .hero .stat-strip, .hero .partner-badge, .hero .pill, .hero .vsel {
  animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .partner-badge, .hero .pill { animation-delay: .05s; }
.hero h1 { animation-delay: .12s; }
.hero .lead { animation-delay: .22s; }
.hero__cta, .hero .vsel { animation-delay: .32s; }
.hero .stat-strip { animation-delay: .42s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lead, .hero__cta, .hero .stat-strip, .hero .partner-badge, .hero .pill, .hero .vsel { animation: none; }
}

/* ===================================================================
   MOBILE-FIRST: breakpoints
   =================================================================== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .sim { grid-template-columns: 1fr; }
  .sim__panel { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Tarjetas de tier: sus cifras display son grandes → bajan a 1 columna antes que el resto */
@media (max-width: 760px) {
  #tierGrid { grid-template-columns: 1fr; }
  #tierGrid .tier-card.legend { grid-column: auto; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,10,10,.98); border-bottom: 1px solid var(--border); padding: 8px 0;
    transform: translateY(-120%); transition: transform .28s ease; }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 20px; width: 100%; font-size: 1.1rem; }
  .nav__links .nav__cta { margin: 8px 20px; text-align: center; }
  .nav__toggle { display: block; }
  .grid-3, .grid-2, .versus, .footer__grid, .sim__budget { grid-template-columns: 1fr; }
  .versus { gap: 12px; }
  .tier { grid-template-columns: 1fr auto; }
  .tier__badge { grid-column: 1 / -1; justify-self: start; }
  /* Tarjetas de tier (Balance): 1 columna limpia, sin span 2 que desborda, cifras que caben */
  #tierGrid { grid-template-columns: 1fr !important; }
  #tierGrid .tier-card,
  #tierGrid .tier-card.legend { grid-column: auto !important; }
  .tier-card { padding: 20px; }
  .tier-card .name { font-size: 1.9rem; }
  .tier-card .earn { font-size: 2rem; }
  .tier-credit { flex-wrap: wrap; row-gap: 4px; }
  /* Cifras display grandes: escalar para que NUNCA se corten en móvil estrecho */
  .trust-item .num { font-size: 2rem; }
  .sim__net .v { font-size: 2.1rem; }
  .city-card__name { font-size: 1.8rem; }
  /* Evita que cualquier número largo rompa su contenedor */
  .tier-card .earn, .tier-card .name, .sim__net .v, .trust-item .num,
  .stat-big .count, .count { overflow-wrap: anywhere; }
  .hero { padding: 56px 0 40px; }
  .hero__trust { gap: 20px; }
  /* CTA pegajoso inferior en móvil */
  .sticky-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
    gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10,10,10,.95); border-top: 1px solid var(--border); backdrop-filter: blur(10px); }
  .sticky-cta .btn { flex: 1; font-size: 1.1rem; padding: 12px; min-height: 50px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); } /* sticky-cta + barra gestos */
  .wa-float { display: none; } /* en móvil usamos el sticky-cta */
  .footer__legal { flex-direction: column; }

  /* ---------- Refinamientos mobile-first (auditoría 16-JUN) ---------- */
  /* FIX B: cards con menos padding → recupera ~16px de ancho útil */
  .card { padding: 20px; }
  /* FIX C: selectores de vertical en filas parejas, sin partir labels */
  .seg { gap: 6px; }
  .seg button { padding: 11px 4px; font-size: 1.02rem; letter-spacing: 0; }
  .seg-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .seg-wrap button { flex: none; min-width: 0; }
  .vsel { display: flex; width: 100%; gap: 6px; }
  .vsel button { flex: 1 1 auto; min-width: 0; padding: 11px 8px; justify-content: center; }
  /* FIX E: áreas táctiles ≥44px (subnav, redes, links footer) */
  .subnav a { padding: 10px 14px; min-height: 40px; display: inline-flex; align-items: center; }
  .socials a { width: 44px; height: 44px; }
  .footer a { padding: 9px 0; display: inline-block; }
  /* FIX E2: footer centrado en móvil (1 columna) — iconos de redes alineados */
  .footer { text-align: center; }
  .footer__brand img { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  /* FIX G: Calendly fluido, sin doble-scroll ni desbordar */
  .calendly-inline-widget { min-width: 0 !important; width: 100% !important; height: auto; min-height: 1000px; }
  /* FIX H: acordeón con margen anti-recorte */
  .acc__item.open .acc__a { max-height: 1600px; }
}

/* ============================================================
   UX MOBILE v2 (17-JUN) — resultado visible · carruseles · densidad
   ============================================================ */
@media (max-width: 640px) {
  /* 1 · SIMULADOR: la cifra queda PEGADA arriba mientras mueves los sliders */
  .sim { gap: 16px; }
  .sim__panel { position: sticky; top: 56px; z-index: 30; order: -1;
    padding: 16px 18px; box-shadow: 0 14px 32px rgba(0,0,0,.55); }
  .sim__panel .sim__note { display: none; }   /* compacta el sticky (la nota baja a los controles no hace falta) */
  .sim__net .v { font-size: 1.8rem; }

  /* 2 · CARRUSELES swipe: deslizar horizontal en vez de apilar verticalmente.
     Cards al 84% → asoma la siguiente = pista visual de que hay más. */
  #cityGrid, #tierGrid, .swipe-row {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding: 4px 2px 12px; }
  #cityGrid::-webkit-scrollbar, #tierGrid::-webkit-scrollbar, .swipe-row::-webkit-scrollbar { height: 0; }
  #cityGrid > *, #tierGrid > *, .swipe-row > * {
    flex: 0 0 84%; scroll-snap-align: center; }

  /* 3 · DENSIDAD: menos aire muerto = más contenido por pantalla */
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 26px; }
  .lead { font-size: 1rem; }
  h2 { margin-bottom: 4px; }
}
