/* ══════════════════════════════════════════════════════════════════
   ESTRUCTURA — la sección base del panel: armado de líneas API,
   atención al cliente y cuidado de la cuenta publicitaria.
   Usa los tokens de style.css (--primary, --success, --warning…).
   ══════════════════════════════════════════════════════════════════ */

/* Item destacado del sidebar: es lo primero que tiene que mirar un usuario
   nuevo, así que sale del esquema indigo del resto del menú. */
.menu-item-featured {
  color: #fcd34d;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
}
.menu-item-featured:hover {
  color: #fde68a;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.35);
}
.menu-item.menu-item-featured.active {
  color: #fde68a;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.20) 0%, rgba(245, 158, 11, 0.05) 100%);
  box-shadow: inset 3px 0 0 var(--warning);
  border-color: rgba(245, 158, 11, 0.4);
}
.menu-item-tag {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b0d12;
  background: var(--warning-light);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  white-space: nowrap;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.est-hero {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 2rem 2.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(245, 158, 11, 0.18);
  background:
    linear-gradient(160deg, rgba(245, 158, 11, 0.07) 0%, rgba(15, 21, 34, 0.55) 55%),
    var(--bg-card);
  margin-bottom: 1.6rem;
}
.est-hero-glow {
  position: absolute;
  top: -140px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.est-hero > *:not(.est-hero-glow) { position: relative; }
.est-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.est-hero h2 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}
.est-hero-lead {
  margin: 0 0 0.7rem;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.est-hero-lead strong { color: #fcd34d; }
.est-hero-sub {
  margin: 0;
  max-width: 62ch;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Índice de las 3 secciones ──────────────────────────────────── */
.est-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.est-index-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  text-decoration: none;
  transition: all 0.2s ease;
}
.est-index-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}
.est-index-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
}
.est-index-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}
.est-index-card p {
  margin: 0;
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.est-index-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
}
.est-index-cta i { font-size: 0.7rem; transition: transform 0.2s ease; }
.est-index-card:hover .est-index-cta i { transform: translateX(3px); }

.est-linked-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2.2rem;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #c7d2fe;
}
.est-linked-note i { color: var(--primary-light); margin-top: 0.15rem; flex-shrink: 0; }

/* ── Secciones ──────────────────────────────────────────────────── */
.est-section {
  padding: 1.9rem;
  margin-bottom: 1.6rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  scroll-margin-top: 1.5rem;
}
.est-section-head { margin-bottom: 1.6rem; }
.est-section-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
  padding: 0.26rem 0.6rem;
  border-radius: 7px;
}
.est-section-head h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.est-section-head p {
  margin: 0;
  max-width: 70ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-section-head p strong { color: var(--text-secondary); }

/* ── Pasos numerados ────────────────────────────────────────────── */
.est-step {
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--border);
}
.est-step:last-of-type { border-bottom: none; margin-bottom: 1.2rem; }
.est-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.est-step-body { flex: 1; min-width: 0; }
.est-step-body h4 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.est-step-body > p {
  margin: 0 0 0.9rem;
  max-width: 70ch;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-step-body > p strong { color: var(--text-secondary); }
.est-inline-btn { margin-top: 0.2rem; }

/* Video de la estructura */
.est-video {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-medium);
}
.est-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Los dos caminos de Kommo: QR vs API oficial */
.est-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}
.est-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-medium);
}
.est-path-rec {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.28);
}
.est-path-rec-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #052e22;
  background: var(--success-light);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.est-path-head { display: flex; align-items: center; gap: 0.6rem; }
.est-path-logo { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.est-path-title { font-size: 0.95rem; font-weight: 700; color: #fff; }
.est-path p {
  margin: 0;
  flex: 1;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.est-path-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.est-path-rec .est-path-link { color: var(--success-light); }
.est-path-link:hover { color: #fff; }
.est-path-link .est-ext { font-size: 0.65rem; opacity: 0.7; }

/* Cierre verde de cada sección */
.est-result {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.est-result > i { color: var(--success-light); font-size: 1.15rem; margin-top: 0.1rem; flex-shrink: 0; }
.est-result strong { display: block; font-size: 0.95rem; color: #d1fae5; margin-bottom: 0.25rem; }
.est-result p { margin: 0; font-size: 0.84rem; line-height: 1.6; color: var(--text-muted); }

/* ── Bloque lateral de contexto (el "por qué" de un paso) ───────── */
.est-aside {
  padding: 1rem 1.15rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.est-aside-warn {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.22);
}
/* Dato verificado en la práctica (no una suposición) — mismo verde que
   .est-result, para que "comprobado" se lea de un vistazo en toda la página. */
.est-aside-proof {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}
.est-aside-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.est-aside-warn .est-aside-tag { color: #fcd34d; }
.est-aside-proof .est-aside-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--success-light);
}
.est-aside p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-aside p strong { color: var(--text-secondary); }

/* ── Mapa de la estructura (SVG) ────────────────────────────────── */
.est-map {
  padding: 1.4rem;
  margin-bottom: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
}
.est-map-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.est-map-sub {
  margin: 0 0 1.1rem;
  max-width: 70ch;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-map-sub strong { color: #fcd34d; }
/* El diagrama no se comprime: en pantallas chicas se scrollea de costado. */
.est-map-canvas { overflow-x: auto; }
.est-map-canvas svg { display: block; min-width: 560px; width: 100%; height: auto; }
.est-map-canvas text { font-family: 'Outfit', sans-serif; }
.est-map-cap {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: var(--primary-light);
}
.est-map-cap-amber { fill: #fcd34d; }
.est-map-note { font-size: 11px; fill: var(--text-muted-darker); }
.est-map-chipset rect { fill: rgba(99, 102, 241, 0.12); stroke: rgba(99, 102, 241, 0.3); }
.est-map-chipset-amber rect { fill: rgba(245, 158, 11, 0.12); stroke: rgba(245, 158, 11, 0.3); }
.est-map-chip {
  font-size: 12px;
  font-weight: 600;
  fill: var(--text-secondary);
  text-anchor: middle;
}
.est-map-node { fill: rgba(255, 255, 255, 0.04); stroke: var(--border-hover); }
.est-map-node-amber { fill: rgba(245, 158, 11, 0.07); stroke: rgba(245, 158, 11, 0.28); }
.est-map-node-green { fill: rgba(16, 185, 129, 0.07); stroke: rgba(16, 185, 129, 0.28); }
.est-map-node-hero { fill: rgba(99, 102, 241, 0.16); stroke: rgba(99, 102, 241, 0.5); }
.est-map-label {
  font-size: 13px;
  font-weight: 600;
  fill: var(--text);
  text-anchor: middle;
}
.est-map-label-hero { font-size: 16px; font-weight: 800; letter-spacing: 0.08em; }
.est-map-line { fill: none; stroke: rgba(99, 102, 241, 0.45); stroke-width: 1.6; }
.est-map-line-amber { stroke: rgba(245, 158, 11, 0.45); }
.est-map-line-green { stroke: rgba(16, 185, 129, 0.5); }

/* ── Checklist previo al lanzamiento ────────────────────────────── */
.est-check {
  padding: 1.4rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
}
.est-check-title {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}
.est-check-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 0.5rem 1.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.est-check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.est-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
}
.est-check-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
}

/* ── Señales que mira WhatsApp ──────────────────────────────────── */
.est-signals {
  padding: 1.4rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(239, 68, 68, 0.035);
  border: 1px solid rgba(239, 68, 68, 0.18);
}
.est-signals-title { margin: 0 0 0.45rem; font-size: 0.98rem; font-weight: 700; color: #fff; }
.est-signals-sub {
  margin: 0 0 1rem;
  max-width: 70ch;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-signals-sub strong { color: #fca5a5; }
.est-signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.est-signal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.est-signal > i { color: var(--text-muted-darker); font-size: 0.9rem; flex-shrink: 0; }
.est-signal-hot {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.est-signal-hot > i { color: #fca5a5; }
.est-signals-foot {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
}

/* ── Pilares expandidos ─────────────────────────────────────────── */
.est-pillar-block {
  padding: 1.5rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
}
.est-pillar-head { margin-bottom: 1.2rem; }
.est-pillar-num {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
}
.est-pillar-head h4 {
  margin: 0.6rem 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
}
.est-pillar-head p {
  margin: 0;
  max-width: 70ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-pillar-head p strong { color: var(--text-secondary); }

/* Reglas numeradas (1.1, 2.3, …) */
.est-rules { margin-bottom: 1.2rem; }
.est-rule {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}
.est-rule:first-child { border-top: none; padding-top: 0; }
.est-rule-n {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-light);
  min-width: 2.1rem;
  padding-top: 0.1rem;
}
.est-rule strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #fff;
}
.est-rule p {
  margin: 0;
  max-width: 74ch;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-rule p strong { display: inline; margin: 0; font-size: inherit; color: var(--text-secondary); }

/* Chips de ejemplos reales */
.est-chips { margin: 0.2rem 0 0.9rem 2.95rem; }
.est-chips-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted-darker);
}
.est-chips-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.est-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  font-size: 0.79rem;
  color: var(--text-secondary);
}

/* Tablas hacé / evitá */
.est-vs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 0.9rem;
}
.est-vs-col {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
}
.est-vs-do { background: rgba(16, 185, 129, 0.05); border-color: rgba(16, 185, 129, 0.22); }
.est-vs-dont { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.2); }
.est-vs-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.est-vs-do .est-vs-head { color: var(--success-light); }
.est-vs-dont .est-vs-head { color: #fca5a5; }
.est-vs-col ul { margin: 0; padding-left: 1.05rem; }
.est-vs-col li { font-size: 0.82rem; line-height: 1.75; color: var(--text-muted); }
.est-vs-do li::marker { color: rgba(52, 211, 153, 0.6); }
.est-vs-dont li::marker { color: rgba(252, 165, 165, 0.6); }

/* Regla del ratio */
.est-ratio {
  margin: 0.2rem 0 1rem 2.95rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-medium);
}
.est-ratio-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.5rem; }
.est-ratio-who {
  min-width: 4.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-darker);
}
.est-ratio-bars { display: flex; gap: 0.35rem; }
.est-ratio-bar { display: block; width: 42px; height: 13px; border-radius: 3px; }
.est-ratio-bar-in { background: var(--success); }
.est-ratio-bar-out { background: rgba(255, 255, 255, 0.14); border: 1px solid var(--border-hover); }
.est-ratio-note {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
}

/* Autodiagnóstico */
.est-proof {
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.24);
}
.est-proof-tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fcd34d;
}
.est-proof p { margin: 0; font-size: 0.87rem; line-height: 1.7; color: var(--text-secondary); }

/* ── Bonus: calentamiento ───────────────────────────────────────── */
.est-warm {
  padding: 1.5rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.22);
}
.est-warm-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fcd34d;
}
.est-warm h4 {
  margin: 0.6rem 0 0.6rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
}
.est-warm-lead {
  margin: 0 0 1.1rem;
  max-width: 70ch;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-warm-lead strong { color: #fcd34d; }
.est-warm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.est-warm-item {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.16);
}
.est-warm-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fcd34d;
}
.est-warm-item p { margin: 0; font-size: 0.81rem; line-height: 1.6; color: var(--text-muted); }
.est-warm-foot {
  margin: 0 0 1rem;
  max-width: 74ch;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.est-warm-foot strong { color: var(--text-secondary); }

/* ── Cierre de la sección 2 ─────────────────────────────────────── */
.est-stake {
  padding: 1.5rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-hover);
}
.est-stake-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted-darker);
}
.est-stake > p {
  margin: 0 0 0.7rem;
  max-width: 66ch;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
.est-stake-sub {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ── Sección 3: recorrido de un anuncio ─────────────────────────── */
.est-flow {
  padding: 1.4rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
}
.est-flow-title { margin: 0 0 1rem; font-size: 0.98rem; font-weight: 700; color: #fff; }
.est-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.est-flow-steps li {
  display: flex;
  gap: 0.7rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}
.est-flow-n {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.est-flow-steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: #fff;
}
.est-flow-steps p { margin: 0; font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); }

.est-quote {
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.05);
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.est-quote strong { color: #fcd34d; }

/* Manual PDF (gate por compra mínima) */
.est-manual {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.18);
}
.est-manual-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}
.est-manual-body { flex: 1; min-width: 0; }
.est-manual-body > strong { display: block; font-size: 0.98rem; color: #fff; margin-bottom: 0.3rem; }
.est-manual-body > p { margin: 0 0 0.9rem; font-size: 0.84rem; line-height: 1.6; color: var(--text-muted); }
.est-manual-locked {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #d4d4d8;
}
.est-manual-locked > i { color: var(--warning-light); }
.est-manual-locked > span { flex: 1; min-width: 200px; }

/* ── Sección 3: cuenta madre / cuenta tester ────────────────────── */
.est-accounts {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.est-account {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-medium);
}
.est-account-mother { background: rgba(245, 158, 11, 0.05); border-color: rgba(245, 158, 11, 0.25); }
.est-account-tester { background: rgba(99, 102, 241, 0.05); border-color: rgba(99, 102, 241, 0.25); }
.est-account-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.24rem 0.55rem;
  border-radius: 6px;
}
.est-account-mother .est-account-tag { color: #0b0d12; background: var(--warning-light); }
.est-account-tester .est-account-tag { color: #fff; background: rgba(99, 102, 241, 0.35); }
.est-account p { margin: 0; font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }
.est-account p strong { color: var(--text-secondary); }
.est-account-arrow { color: var(--text-muted-darker); font-size: 1.1rem; text-align: center; }

.est-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}
.est-tip {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}
.est-tip > i { color: var(--primary-light); font-size: 0.95rem; margin-top: 0.15rem; flex-shrink: 0; }
.est-tip p { margin: 0; font-size: 0.83rem; line-height: 1.65; color: var(--text-muted); }
.est-tip p strong { color: var(--text-secondary); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .est-hero { padding: 2rem 1.3rem 1.8rem; }
  .est-section { padding: 1.4rem 1.1rem; }
  .est-step { gap: 0.8rem; }
  .est-pillar-block, .est-warm, .est-stake { padding: 1.2rem 1rem; }
  .est-map, .est-check, .est-signals, .est-flow { padding: 1.15rem 1rem; }
  /* Sin la sangría que los alinea con el texto de la regla: en pantalla
     angosta ese margen se come el ancho útil. */
  .est-chips, .est-ratio { margin-left: 0; }
  .est-ratio-row { gap: 0.6rem; }
  .est-ratio-bar { width: 32px; }
  /* Apilado, el flujo se lee de arriba abajo: primero la tester, después la
     madre — al revés que en desktop, donde la flecha va de derecha a izquierda. */
  .est-accounts { grid-template-columns: 1fr; }
  .est-account-tester { order: 1; }
  .est-account-arrow { order: 2; transform: rotate(-90deg); }
  .est-account-mother { order: 3; }
}

/* ══════════════════════════════════════════════════════════════════
   ESTADO BLOQUEADO — lo único que ve una cuenta sin compra. El
   contenido real ni siquiera llega al navegador (lo sirve
   /api/estructura/content solo con más de 1 crédito), así que esto no
   es "la misma página tapada": es la pantalla completa para ese caso.
   Misma paleta ámbar del hero, para que se lea como la misma sección.
   ══════════════════════════════════════════════════════════════════ */
.est-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 4rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.est-locked {
  position: relative;
  overflow: hidden;
  max-width: 660px;
  margin: 1.5rem auto;
  padding: 2.8rem 2.2rem 2.4rem;
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(245, 158, 11, 0.18);
  background:
    linear-gradient(160deg, rgba(245, 158, 11, 0.07) 0%, rgba(15, 21, 34, 0.55) 55%),
    var(--bg-card);
}
.est-locked-glow {
  position: absolute;
  top: -150px;
  right: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.est-locked > *:not(.est-locked-glow) { position: relative; }
.est-locked-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  font-size: 1.35rem;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.est-locked h2 {
  margin: 1rem 0 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.est-locked-lead {
  margin: 0 auto 1.6rem;
  max-width: 480px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.est-locked-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  text-align: left;
}
.est-locked-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-medium);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.est-locked-list li > i {
  color: #fcd34d;
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.est-locked-list strong { color: var(--text-secondary); }
.est-locked-note {
  margin: 0 0 1.3rem;
  font-size: 0.8rem;
  color: var(--text-muted-darker);
}

@media (max-width: 640px) {
  .est-locked { padding: 2rem 1.2rem 1.8rem; margin: 1rem auto; }
  .est-locked-list li { padding: 0.8rem 0.9rem; font-size: 0.82rem; }
}
