/* ==========================================================================
   ECOM PROJECT — Sistema de diseño
   Paleta: Obsidiana + Verde señal. Cambiar --accent / --accent-2 basta para
   virar toda la identidad (p. ej. a morado #A78BFA / #7C3AED).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #050706;
  --bg-2:      #080B0A;
  --panel:     #0C1210;
  --panel-2:   #111815;
  --panel-3:   #161E1A;

  --line:      rgba(255, 255, 255, .075);
  --line-2:    rgba(255, 255, 255, .14);

  --fg:        #F3F7F4;
  --fg-2:      #BCC7C1;
  --muted:     #7B8A83;

  --accent:    #2FE39B;
  --accent-2:  #10B47C;
  --accent-3:  #0A5F42;
  --accent-ink:#03130C;
  --glow:      rgba(47, 227, 155, .16);

  --bone:      #E9E4D8;

  --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
  /* Monoespaciada del sistema: cero bytes de descarga, se usa en etiquetas y datos */
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 48px);
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 640;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

/* Textura de grano global */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .3;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 132px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-family: var(--font-mono);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: .5em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.h-xl  { font-size: clamp(2.15rem, 5.4vw, 4.3rem); }
.h-lg  { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.h-md  { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.h-sm  { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.02em; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--fg-2); line-height: 1.62; }
.small { font-size: .875rem; color: var(--muted); line-height: 1.6; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 22px; } .mt-l { margin-top: 36px; } .mt-xl { margin-top: 56px; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.center .measure, .center .measure-sm { margin-inline: auto; }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }
.section-head .h-lg { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .35s;
  will-change: transform;
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px -10px var(--glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 18px 44px -12px var(--glow); }

.btn--ghost { border-color: var(--line-2); color: var(--fg); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(47,227,155,.06); }

.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--accent);
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(5, 7, 6, .78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(145deg, var(--accent), var(--accent-3));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: -.04em; color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 6px 20px -8px var(--glow);
}
.brand__name {
  font-family: var(--font-display); font-weight: 620; font-size: .95rem;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.brand__name span { display: block; font-size: 9px; letter-spacing: .26em; color: var(--muted); font-weight: 500; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 520; font-size: .9rem;
  color: var(--fg-2);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.nav a.is-active { color: var(--fg); background: rgba(255,255,255,.06); }
.header__cta { margin-left: 10px; flex: none; }

.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); }
.burger span { display: block; width: 17px; height: 1.5px; background: var(--fg); margin: 4px auto; transition: transform .35s var(--ease), opacity .2s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5,7,6,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: calc(var(--header-h) + 28px) var(--gut) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 7vw, 2.4rem); letter-spacing: -.03em;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--fg-2); transition: color .25s;
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); }
.drawer .btn { margin-top: 28px; }

@media (max-width: 1040px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + clamp(64px, 11vw, 132px));
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: ''; position: absolute;
  width: 1100px; height: 900px;
  top: -420px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow), transparent 66%);
  filter: blur(20px);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 62% at 50% 32%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 32%, #000 20%, transparent 78%);
}
.hero__inner { max-width: 980px; }
.hero h1 { margin-top: 26px; }
.hero .lead { margin-top: 28px; max-width: 62ch; }
.hero .btn-row { margin-top: 40px; }
.hero__note { margin-top: 20px; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note b { color: var(--fg-2); font-weight: 600; }

/* Hero a dos columnas: argumento a la izquierda, entregable a la derecha */
.hero--split { padding-top: calc(var(--header-h) + clamp(20px, 5vw, 64px)); }
.hero--split .hero__inner { max-width: none; }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero--split h1 { font-size: clamp(2.05rem, 3.9vw, 3.35rem); }
.hero--split .lead { font-size: clamp(1rem, 1.25vw, 1.09rem); max-width: 54ch; margin-top: 24px; }
.hero--split .btn-row { margin-top: 34px; }
@media (max-width: 1000px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero--split h1 { font-size: clamp(2.15rem, 5.4vw, 3.2rem); }
}

/* ---------- Informe EGOS Radar (maqueta del hero) ---------- */
.radar {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, var(--panel-2), var(--panel));
  box-shadow: 0 40px 90px -50px rgba(0,0,0,1), 0 0 0 1px rgba(47,227,155,.06) inset;
  overflow: hidden;
  font-size: 15px;
}
.radar__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
}
.radar__bar b { color: var(--accent); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.radar__bar b::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
}
.radar__body { padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 22px; }

.radar__id { display: grid; gap: 6px; }
.radar__id h3 { font-size: 1.02rem; letter-spacing: -.02em; }
.radar__id span { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); letter-spacing: .06em; }

.radar__rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.radar__row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center;
  background: var(--panel); padding: 10px 14px;
}
.radar__row .k { font-size: .84rem; color: var(--fg-2); }
.radar__row .v { font-family: var(--font-mono); font-size: .82rem; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.radar__row .r { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; }
.radar__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.radar__dot--ok   { background: var(--accent); }
.radar__dot--warn { background: #E3A64B; }
.radar__dot--bad  { background: #F0857A; }
@media (max-width: 420px) { .radar__row .r { display: none; } }

.radar__domino { display: grid; gap: 9px; padding-top: 4px; }
.radar__domino > span {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent);
}
.radar__domino h4 { font-size: 1.16rem; letter-spacing: -.025em; line-height: 1.22; }
.radar__cost {
  font-family: var(--font-mono); font-size: .78rem; color: var(--fg-2);
  padding: 9px 13px; border-radius: 9px;
  background: rgba(240,133,122,.08); border: 1px solid rgba(240,133,122,.25);
}
.radar__cost b { color: #F0857A; font-weight: 500; }

.radar__insight {
  border-top: 1px dashed var(--line-2); padding-top: 16px;
  font-size: .87rem; color: var(--fg-2); line-height: 1.55;
}
.radar__insight b { color: var(--accent); font-weight: 600; }

/* ---------- Compromisos operativos ---------- */
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 900px) { .pledges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pledges { grid-template-columns: 1fr; } }
.pledge { background: var(--bg-2); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 10px; align-content: start; }
.pledge dt {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; line-height: 1;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.pledge dd { margin: 0; }
.pledge dd b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.02em; color: var(--fg); }
.pledge dd span { display: block; margin-top: 7px; font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* ---------- Contador y descargo del pie ---------- */
.tally {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 12px 28px;
  padding: 22px 0 26px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.tally__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tally__n {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--fg), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.disclaimer { margin-top: 18px; font-size: .74rem; color: var(--muted); line-height: 1.6; max-width: 88ch; opacity: .85; }

/* ---------- Refuerzo bajo los CTA ---------- */
.cta-note {
  margin-top: 16px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.cta-note span { display: flex; align-items: center; gap: 7px; }
.cta-note span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }
.center .cta-note, .cta .cta-note { justify-content: center; }

/* ---------- Página de recurso individual ---------- */
.article { max-width: 780px; margin-inline: auto; }
.article__player {
  aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: #000;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,1);
}
.article__player iframe { width: 100%; height: 100%; border: 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .05em; }
.article__meta span { display: flex; align-items: center; gap: 8px; }
.article__meta span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.article__body { margin-top: 34px; display: grid; gap: 18px; }
.article__body p { color: var(--fg-2); font-size: 1.02rem; }
.more { display: grid; gap: 10px; margin-top: 14px; }
.more a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: rgba(255,255,255,.02);
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.more a:hover { border-color: var(--accent); background: rgba(47,227,155,.05); transform: translateX(3px); }
.more a b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.02em; }
.more a span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

/* ---------- Barra de métricas ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  overflow: hidden;
}
.stats > div { padding: clamp(22px, 3vw, 32px); border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dt {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display); font-weight: 660;
  font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(160deg, var(--fg), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats dd { margin: 12px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.45; letter-spacing: .01em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Marquee de marcas ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 30px; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 16%; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee__track { display: flex; width: max-content; animation: slide 68s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 26px;
  font-family: var(--font-display); font-weight: 560; font-size: .93rem;
  color: var(--muted); white-space: nowrap;
  transition: color .3s, filter .3s;
  filter: grayscale(1);
  opacity: .8;
}
.marquee__item:hover { color: var(--fg); filter: none; opacity: 1; }
.marquee__item img { width: 20px; height: 20px; border-radius: 5px; flex: none; }
@keyframes slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Tarjetas ---------- */
.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  transition: border-color .4s, transform .5s var(--ease), background .4s;
  overflow: hidden;
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,227,155,.09), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card__num {
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem;
  letter-spacing: .14em; color: var(--accent);
}
.card h3 { margin-top: 14px; font-size: 1.22rem; letter-spacing: -.025em; }
.card p { margin-top: 12px; color: var(--fg-2); font-size: .95rem; line-height: 1.6; }
.card__ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(47,227,155,.1);
  border: 1px solid rgba(47,227,155,.22);
  color: var(--accent);
  margin-bottom: 20px;
}
.card__ico svg { width: 20px; height: 20px; }

/* ---------- Bloque problema ---------- */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }
.chain { display: grid; gap: 2px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.chain__row { padding: clamp(20px, 2.4vw, 28px); background: var(--panel); }
.chain__row:nth-child(even) { background: var(--panel-2); }
.chain__row span {
  font-family: var(--font-mono); font-weight: 500; font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.chain__row p { margin-top: 10px; color: var(--fg-2); font-size: .97rem; }
.chain__row--out { background: linear-gradient(140deg, rgba(47,227,155,.12), rgba(47,227,155,.03)) !important; }
.chain__row--out span { color: var(--accent); }
.chain__row--out p { color: var(--fg); }

/* ---------- Pasos del método ---------- */
.steps { counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-2); padding: clamp(26px, 3vw, 36px); position: relative; transition: background .4s; }
.step:hover { background: var(--panel-2); }
.step__n {
  font-family: var(--font-mono); font-weight: 600; font-size: 2.1rem;
  letter-spacing: -.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(47,227,155,.5);
}
.step h3 { margin-top: 18px; font-size: 1.18rem; }
.step p { margin-top: 11px; font-size: .93rem; color: var(--fg-2); }
.step__why { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }

/* ---------- Escalera de escalones ---------- */
.ladder { display: grid; gap: 14px; }
.rung {
  display: grid; grid-template-columns: 92px 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center;
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(100deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  transition: border-color .4s, transform .45s var(--ease);
}
.rung:hover { border-color: rgba(47,227,155,.4); transform: translateX(4px); }
.rung__lvl { font-family: var(--font-display); font-weight: 660; font-size: 2.1rem; letter-spacing: -.05em; color: var(--accent); line-height: 1; }
.rung__lvl small { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 6px; }
.rung h3 { font-size: 1.12rem; }
.rung p { margin-top: 8px; font-size: .92rem; color: var(--fg-2); }
.rung__tag {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--fg-2);
}
@media (max-width: 760px) {
  .rung { grid-template-columns: 1fr; gap: 14px; }
  .rung__tag { justify-self: start; }
}

/* ---------- Servicios (lista larga) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 5vw, 64px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); align-items: start; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 24px; } }
.svc__aside { position: sticky; top: calc(var(--header-h) + 28px); }
@media (max-width: 900px) { .svc__aside { position: static; } }
.svc__idx { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .16em; color: var(--accent); }
.svc__aside h3 { margin-top: 16px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc__body p { color: var(--fg-2); font-size: 1.02rem; }
.svc__list { margin-top: 26px; display: grid; gap: 12px; }
.svc__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--fg-2); }
.svc__list li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(47,227,155,.12); border: 1px solid rgba(47,227,155,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FE39B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.svc__out {
  margin-top: 28px; padding: 20px 24px; border-radius: var(--r);
  border: 1px solid rgba(47,227,155,.24); background: rgba(47,227,155,.05);
}
.svc__out span { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.svc__out p { margin-top: 8px; color: var(--fg); font-size: .96rem; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-display); font-weight: 550; font-size: .855rem;
  color: var(--fg-2);
  transition: all .28s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--fg); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 620; }
.chip b { font-family: var(--font-mono); font-weight: 500; opacity: .6; margin-left: 6px; font-size: .78em; font-variant-numeric: tabular-nums; }

.toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.search {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  min-width: 250px;
}
.search svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.search input { border: 0; background: none; color: var(--fg); outline: none; width: 100%; font-size: .9rem; }
.search input::placeholder { color: var(--muted); }

/* ---------- Grid de proyectos ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 940px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } }

.proj {
  display: block;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.proj:hover { border-color: rgba(47,227,155,.42); transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.9); }
.proj__shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(150deg, var(--panel-2), var(--panel-3));
  display: grid; place-items: center;
}
/* La captura se pinta encima del placeholder de marca (que está posicionado,
   así que sin z-index quedaría por delante y la taparía). */
.proj__img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 1s var(--ease), opacity .6s;
  opacity: 0;
}
.proj__img.is-ready { opacity: 1; }
.proj:hover .proj__img.is-ready { transform: scale(1.045); }
.proj__ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 12px;
  align-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47,227,155,.09), transparent 60%),
    linear-gradient(150deg, var(--panel-2), var(--panel-3));
}
.proj__ph img { width: 44px; height: 44px; border-radius: 11px; opacity: 1; }
.proj__ph span { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--fg-2); letter-spacing: -.01em; }
.proj__meta { padding: 18px 20px 20px; display: flex; align-items: center; gap: 12px; }
.proj__fav { width: 26px; height: 26px; border-radius: 7px; flex: none; background: var(--panel-3); }
.proj__txt { min-width: 0; flex: 1; }
.proj__txt h3 { font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj__txt p { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .09em; font-weight: 500; }
.proj__go { flex: none; color: var(--muted); transition: color .3s, transform .35s var(--ease); }
.proj:hover .proj__go { color: var(--accent); transform: translate(2px, -2px); }
.proj__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(5,7,6,.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  font-family: var(--font-mono); font-weight: 500; font-size: .66rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.empty { padding: 70px 20px; text-align: center; color: var(--muted); }

/* ---------- Video (YouTube diferido) ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 940px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr; } }

.vid {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.vid:hover { border-color: rgba(47,227,155,.42); transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.9); }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.9) brightness(.82); }
/* hqdefault llega en 4:3 con bandas negras: se recorta al centro */
.vid__thumb img.is-crop { transform: scale(1.36); }
.vid:hover .vid__thumb img { transform: scale(1.05); filter: none; }
.vid:hover .vid__thumb img.is-crop { transform: scale(1.43); }
.vid__play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.vid__play i {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(5,7,6,.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  display: grid; place-items: center;
  transition: background .35s, transform .45s var(--ease), border-color .35s;
}
.vid:hover .vid__play i { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.vid__play svg { width: 17px; height: 17px; margin-left: 3px; fill: #fff; transition: fill .35s; }
.vid:hover .vid__play svg { fill: var(--accent-ink); }
.vid__meta { padding: 18px 20px 20px; flex: 1; }
.vid__meta span { font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.vid__meta h3 { margin-top: 9px; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.28; }
.vid__meta p { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.vid--wide { grid-column: span 2; }
@media (max-width: 560px) { .vid--wide { grid-column: span 1; } }

/* Modal de video */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(3,5,4,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(1080px, 100%); }
.modal__frame {
  position: relative; aspect-ratio: 16/9; width: 100%;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-2);
  background: #000;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,1);
}
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.modal__bar h3 { font-size: 1.05rem; }
.modal__close {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s;
}
.modal__close:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  letter-spacing: -.02em; color: var(--fg);
  transition: color .3s;
}
.faq__q:hover { color: var(--accent); }
.faq__q i { flex: none; width: 22px; height: 22px; position: relative; margin-top: 5px; }
.faq__q i::before, .faq__q i::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease);
}
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__item.is-open .faq__q { color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 26px; color: var(--fg-2); max-width: 70ch; font-size: .98rem; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 84px) clamp(24px, 5vw, 64px);
  background: linear-gradient(150deg, var(--panel-2), var(--bg-2));
  text-align: center;
}
.cta::before {
  content: ''; position: absolute; z-index: 0;
  width: 760px; height: 620px; top: -320px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow), transparent 66%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-top: 20px; }
.cta .lead { margin: 22px auto 0; max-width: 58ch; }
.cta .btn-row { margin-top: 36px; justify-content: center; }
.cta__meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-size: .82rem; color: var(--muted); }
.cta__meta span { display: flex; align-items: center; gap: 7px; }
.cta__meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px) 34px; background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.footer ul { margin-top: 18px; display: grid; gap: 11px; }
.footer ul a { font-size: .92rem; color: var(--fg-2); transition: color .25s; }
.footer ul a:hover { color: var(--accent); }
.footer__about p { margin-top: 20px; font-size: .92rem; color: var(--muted); max-width: 42ch; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--muted);
}
.badge-partner {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(47,227,155,.28); background: rgba(47,227,155,.06);
  font-size: .74rem; font-weight: 500; color: var(--accent);
  font-family: var(--font-mono); letter-spacing: .06em;
}

/* ---------- Encabezado de página interna ---------- */
.pagehead {
  position: relative; z-index: 2; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(52px, 8vw, 96px));
  padding-bottom: clamp(34px, 4vw, 52px);
}
.pagehead::before {
  content: ''; position: absolute; z-index: -1;
  width: 900px; height: 640px; top: -340px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow), transparent 68%);
}
.pagehead h1 { margin-top: 22px; }
.pagehead .lead { margin-top: 24px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   REDISEÑO DE CAPTACIÓN · componentes nuevos
   ========================================================================== */

/* ---------- Hero: prueba dentro del primer pantallazo ---------- */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--fg-2);
}
.hero__badge b {
  background: var(--accent); color: var(--accent-ink);
  padding: 3px 9px; border-radius: 999px; font-weight: 600; letter-spacing: .04em;
}
.hero__proof {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
}
.hero__faces { display: flex; }
.hero__faces img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bg); margin-left: -9px; background: var(--panel-3);
}
.hero__faces img:first-child { margin-left: 0; }
.hero__proof p { font-size: .86rem; color: var(--fg-2); line-height: 1.4; }
.hero__proof p b { color: var(--fg); font-weight: 600; }

/* ---------- Barra de prueba: cifras + marcas en un bloque ---------- */
.proofbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 2; }
.proofbar__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.proofbar__stats div { padding: 22px 20px; border-right: 1px solid var(--line); text-align: center; }
.proofbar__stats div:last-child { border-right: 0; }
.proofbar__stats b {
  display: block; font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.03em; line-height: 1;
  color: var(--fg); font-variant-numeric: tabular-nums;
}
.proofbar__stats span { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) {
  .proofbar__stats div { padding: 18px 8px; }
  .proofbar__stats span { font-size: .7rem; }
}
.proofbar .marquee { border-top: 1px solid var(--line); padding-block: 18px; }

/* ---------- Bloque del diagnóstico ---------- */
.diag {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(28px, 4.5vw, 60px);
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(47,227,155,.1), transparent 60%),
    linear-gradient(160deg, var(--panel-2), var(--bg-2));
}
@media (max-width: 900px) { .diag { grid-template-columns: 1fr; } }
.diag h2 { margin-top: 16px; }
.diag__gets { margin-top: 24px; display: grid; gap: 11px; }
.diag__gets li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--fg-2); }
.diag__gets li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(47,227,155,.12); border: 1px solid rgba(47,227,155,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FE39B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.diag .btn-row { margin-top: 30px; }

/* Maqueta de una pregunta del quiz */
.qcard {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--panel); overflow: hidden;
  box-shadow: 0 30px 70px -44px rgba(0,0,0,1);
}
.qcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.qcard__top span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qcard__top b { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.qcard__bar { height: 3px; background: var(--line); }
.qcard__bar i { display: block; height: 100%; width: 30%; background: var(--accent); }
.qcard__body { padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 16px; }
.qcard__body h3 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; }
.qcard__opts { display: grid; gap: 9px; }
.qcard__opts span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 15px; border-radius: 11px; border: 1px solid var(--line-2);
  font-size: .9rem; color: var(--fg-2);
}
.qcard__opts span::after { content: ''; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.qcard__opts span.is-on { border-color: var(--accent); background: rgba(47,227,155,.07); color: var(--fg); }
.qcard__opts span.is-on::after { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--panel); }
.qcard__note { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Enrutador por situación ---------- */
.route { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .route { grid-template-columns: 1fr; } }
.route__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg);
  border: 1px solid var(--line); background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  transition: border-color .4s, transform .5s var(--ease);
}
.route__card:hover { border-color: rgba(47,227,155,.45); transform: translateY(-3px); }
.route__who { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.route__card h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.22; }
.route__card > p { color: var(--fg-2); font-size: .95rem; }
.route__prog {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.route__prog span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route__prog b { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--accent); letter-spacing: -.02em; margin-top: 3px; }
.route__alt { margin-top: 22px; font-size: .9rem; color: var(--muted); text-align: center; }
.route__alt a { color: var(--accent); border-bottom: 1px solid rgba(47,227,155,.35); }

/* ---------- Tarjetas de recurso externo ---------- */
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 900px) { .res { grid-template-columns: 1fr; } }
.res__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: border-color .35s, background .35s, transform .45s var(--ease);
}
.res__card:hover { border-color: var(--accent); background: rgba(47,227,155,.04); transform: translateY(-3px); }
.res__type { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.res__card h3 { font-size: 1.08rem; line-height: 1.3; }
.res__card p { font-size: .9rem; color: var(--fg-2); }
.res__go { margin-top: auto; padding-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Posicionamiento: frente al enemigo ---------- */
.against { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 860px) { .against { grid-template-columns: 1fr; } }
.against div { background: var(--bg-2); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 10px; align-content: start; }
.against s { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-decoration-thickness: 1px; }
.against b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; color: var(--fg); }
.against p { font-size: .9rem; color: var(--fg-2); }

/* ---------- Ajustes de densidad del home rediseñado ---------- */
/* El home enruta, no argumenta: menos aire entre bloques que en las páginas de lectura. */
.page-home .section { padding-block: clamp(56px, 7vw, 96px); }
.page-home .section--tight { padding-block: clamp(40px, 5vw, 64px); }
.diag h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.hero__faces img { background: #F3F7F4; padding: 3px; border-color: var(--bg); }

/* ---------- Logo oficial ---------- */
.brand__logo { display: block; height: 36px; width: auto; }
.footer .brand__logo { height: 40px; }
@media (max-width: 520px) { .brand__logo { height: 30px; } }
.hero__badge b, .hero__badge { white-space: nowrap; }
@media (max-width: 420px) { .hero__badge { font-size: .64rem; letter-spacing: .03em; gap: 8px; } }

/* ---------- Vitrina o canal ---------- */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs__col { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.vs__col--no { background: var(--bg-2); }
.vs__col--yes { background: linear-gradient(160deg, rgba(47,227,155,.09), var(--bg-2) 70%); border-left: 1px solid var(--line-2); }
@media (max-width: 760px) { .vs__col--yes { border-left: 0; border-top: 1px solid var(--line-2); } }
.vs__head { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.vs__col--no .vs__head { color: #F08A7A; }
.vs__col--yes .vs__head { color: var(--accent); }
.vs ul { display: grid; gap: 12px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--fg-2); }
.vs li::before { flex: none; width: 18px; margin-top: 1px; font-family: var(--font-mono); font-weight: 600; }
.vs__col--no li::before { content: '×'; color: #F08A7A; }
.vs__col--yes li::before { content: '✓'; color: var(--accent); }
.vs__col--yes li { color: var(--fg); }

/* ---------- Para quién no es ---------- */
.notfor { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 16px; }
.notfor ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 860px) { .notfor ul { grid-template-columns: 1fr; } }
.notfor li { font-size: .9rem; color: var(--fg-2); line-height: 1.5; }
.notfor li b { display: block; color: var(--fg); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.notfor p { font-size: .88rem; color: var(--muted); }
.notfor a, .cta-share a { color: var(--accent); border-bottom: 1px solid rgba(47,227,155,.35); }
.diag--single { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; }
.cta-share { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* Testimonios del home: cuatro en una fila */
.videos--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .videos--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos--4 { grid-template-columns: 1fr; } }
.hero__faces img { width: 28px; height: 28px; margin-left: -8px; }
.hero__faces img:first-child { margin-left: 0; }
