/* =========================================================
   PROSPECTOR · style.css
   Component styles — pain, pillars, APEX, method, metrics,
   personas, pricing, FAQ, CTA, footer, blog, article.
   Includes scroll-reveal + responsive refinements.
   Load LAST.
   ========================================================= */

/* --- Pain section --- */
.pain-grid { gap: 1rem; }
.pain-card {
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.35rem 3.4rem;
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pain-card::before {
  content: '';
  position: absolute;
  left: 1.35rem; top: 1.55rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.25), rgba(248, 113, 113, 0.05));
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.pain-card::after {
  content: '✕';
  position: absolute;
  left: 1.52rem; top: 1.45rem;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fca5a5;
}
.pain-card:hover { border-color: rgba(248, 113, 113, 0.25); transform: translateY(-2px); }
.pain-card h4 { margin: 0 0 0.2rem; font-size: 1rem; color: var(--text-hi); font-weight: 600; letter-spacing: -0.01em; }
.pain-card p { margin: 0; color: var(--text-mute); font-size: 0.88rem; line-height: 1.5; }

/* =========================================================
   Pillars (solución)
   ========================================================= */
.pillar {
  position: relative;
  padding: 2rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pillar:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.pillar-title {
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0;
  font-weight: 600;
}
.pillar-body { color: var(--text-mute); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--surface-hi);
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.pillar.accent-violet { border-color: rgba(139, 92, 246, 0.3); }
.pillar.accent-violet::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet) 50%, transparent);
}
.pillar.accent-orange { border-color: rgba(255, 107, 26, 0.25); }
.pillar.accent-orange::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
}
.pillar.accent-mix::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet) 30%, var(--orange) 70%, transparent);
}
.pillar.accent-cyan { border-color: rgba(0, 229, 255, 0.28); }
.pillar.accent-cyan::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan, #00E5FF) 50%, transparent);
}

/* ---- Highlights dentro de pillar-title · palabras clave con gradiente ---- */
.pillar-title .hi {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-repeat: no-repeat;
}
.pillar.accent-violet .pillar-title .hi {
  background-image: linear-gradient(135deg, #C084FC 0%, #A855F7 50%, #8B5CF6 100%);
}
.pillar.accent-mix .pillar-title .hi,
.pillar.accent-orange .pillar-title .hi {
  background-image: linear-gradient(135deg, #FF8A3D 0%, #FF6A00 55%, #C084FC 100%);
}
.pillar.accent-cyan .pillar-title .hi {
  background-image: linear-gradient(135deg, #00E5FF 0%, #00B8D4 55%, #00E5FF 100%);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.25));
}

/* =========================================================
   APEX section
   ========================================================= */
.apex-section {
  position: relative;
  padding-block: clamp(3.25rem, 5.5vw, 5.5rem);
  overflow: hidden;
}
.apex-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 107, 26, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(139, 92, 246, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.apex-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .apex-hero { grid-template-columns: 1fr; gap: 2rem; }
}
.apex-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.apex-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--orange-hi);
  text-transform: uppercase;
}
.apex-logo .mk {
  width: 8px; height: 8px; border-radius: 2px; background: var(--grad-brand);
  box-shadow: 0 0 10px rgba(255, 107, 26, 0.6);
}
.apex-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text-hi);
  margin: 0 0 1.25rem;
}
.apex-title .slash {
  background: linear-gradient(135deg, var(--orange) 0%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.apex-lede {
  font-size: var(--fs-md);
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 55ch;
  margin: 0 0 2rem;
}
.apex-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.apex-stack .chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-hi);
  color: var(--text);
}

/* APEX dashboard mockup */
.apex-mockup {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, #0f0b1e, #08060f);
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.15), 0 0 100px -30px rgba(255, 107, 26, 0.28);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}
.apex-mockup-bar {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}
.apex-mockup-bar .dots { display: flex; gap: 0.35rem; }
.apex-mockup-bar .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.apex-mockup-bar .url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
}
.apex-mockup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 160px 1fr;
  overflow: hidden;
}
.apex-side {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.2);
}
.apex-side-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-mute);
  border-radius: 6px;
  font-family: var(--font-mono);
}
.apex-side-item .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
}
.apex-side-item.active {
  background: linear-gradient(90deg, rgba(255, 107, 26, 0.12), transparent);
  color: var(--orange-hi);
  border-left: 2px solid var(--orange);
  padding-left: calc(0.6rem - 2px);
}
.apex-side-item.active .pip { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.apex-main {
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.apex-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.apex-kpi {
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.apex-kpi-label { font-size: 0.62rem; font-family: var(--font-mono); color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; }
.apex-kpi-val { font-size: 1.15rem; font-weight: 700; color: var(--text-hi); letter-spacing: -0.015em; margin-top: 0.15rem; }
.apex-kpi-delta { font-size: 0.65rem; color: var(--green); font-family: var(--font-mono); margin-top: 0.1rem; }

.apex-kanban {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  min-height: 0;
}
.apex-col {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
}
.apex-col-head {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}
.apex-col-head .count { color: var(--violet-hi); }
.apex-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem;
  font-size: 0.62rem;
  line-height: 1.3;
}
.apex-card-name {
  color: var(--text-hi); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.apex-card-meta {
  color: var(--text-dim); font-family: var(--font-mono); font-size: 0.55rem; margin-top: 0.15rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.apex-card.hot { border-left: 2px solid var(--orange); }
.apex-card.cold { border-left: 2px solid var(--violet); }

/* APEX features grid */
.apex-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .apex-features { grid-template-columns: 1fr; } }
.apex-feature {
  padding: 1.75rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.apex-feature:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.apex-feature-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange-2);
  letter-spacing: 0.2em;
}
.apex-feature h3 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-hi);
}
.apex-feature p { margin: 0; color: var(--text-mute); line-height: 1.55; font-size: 0.95rem; }
.apex-feature .bar {
  position: absolute;
  left: 0; right: 0; top: 0; height: 2px;
}
.apex-feature.violet .bar { background: linear-gradient(90deg, var(--violet), transparent); }
.apex-feature.orange .bar { background: linear-gradient(90deg, var(--orange), transparent); }
.apex-feature.mix .bar { background: var(--grad-brand); }

/* 10 screens grid */
.apex-screens {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 4rem;
}
@media (max-width: 960px) { .apex-screens { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .apex-screens { grid-template-columns: repeat(2, 1fr); } }
.apex-screen {
  padding: 1.15rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.apex-screen:hover { border-color: var(--border-hi); transform: translateY(-2px); background: var(--surface-2); }
.apex-screen-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin-bottom: 0.9rem;
  color: var(--text-dim);
}
.apex-screen-num { color: var(--violet-2); font-weight: 600; letter-spacing: 0.1em; }
.apex-screen-path { color: var(--text-dim); }
.apex-screen h4 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--text-hi);
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.apex-screen-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: var(--violet-2);
  margin-bottom: 0.85rem;
}
.apex-screen-ico svg { width: 16px; height: 16px; stroke-width: 2; }
.apex-screen p { margin: 0; color: var(--text-mute); font-size: 0.8rem; line-height: 1.4; }
.apex-screen .bar {
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
}

/* Flow 6 steps con tracer animado que viaja de Importar → Reunión */
.apex-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin: 2rem 0 3rem;
}
.apex-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(139, 92, 246, 0.15),
    rgba(0, 229, 255, 0.25) 50%,
    rgba(255, 106, 0, 0.25)
  );
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.apex-flow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px var(--orange), 0 0 4px #fff inset;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: flow-tracer 5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes flow-tracer {
  0%   { left: 4%;  background: var(--violet-2); box-shadow: 0 0 16px var(--violet-2); }
  20%  { left: 21%; background: var(--violet-2); box-shadow: 0 0 16px var(--violet-2); }
  40%  { left: 38%; background: var(--cyan);    box-shadow: 0 0 16px var(--cyan); }
  60%  { left: 55%; background: var(--cyan);    box-shadow: 0 0 16px var(--cyan); }
  80%  { left: 72%; background: var(--orange);  box-shadow: 0 0 16px var(--orange); }
  95%  { left: 92%; background: var(--green-radar); box-shadow: 0 0 22px var(--green-radar); }
  100% { left: 96%; background: var(--green-radar); box-shadow: 0 0 24px var(--green-radar); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .apex-flow::after { animation: none; opacity: 0; }
}
@media (max-width: 1000px) {
  .apex-flow::before, .apex-flow::after { display: none; }
}
.apex-step { position: relative; z-index: 2; background: var(--grad-surface); }
@media (max-width: 1000px) { .apex-flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .apex-flow { grid-template-columns: repeat(2, 1fr); } }
.apex-step {
  position: relative;
  padding: 1.25rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.apex-step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 4px 16px -4px rgba(139, 92, 246, 0.6);
}
.apex-step h5 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--text-hi);
  font-weight: 600;
}
.apex-step p { margin: 0; font-size: 0.78rem; color: var(--text-mute); }

/* Stack */
.apex-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
@media (max-width: 800px) { .apex-stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .apex-stack-grid { grid-template-columns: 1fr; } }
.apex-tech {
  padding: 1.35rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.apex-tech .kind {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.apex-tech .name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0.55rem;
}
.apex-tech p { margin: 0; color: var(--text-mute); font-size: 0.85rem; }
.apex-tech::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--violet);
  opacity: 0.5;
}
.apex-tech.orange::before { background: var(--orange); }
.apex-tech.cyan::before { background: var(--cyan); }
.apex-tech.green::before { background: var(--green); }

/* =========================================================
   Metodología timeline
   ========================================================= */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } }
.method-timeline { position: relative; padding-left: 2rem; }
.method-timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem; top: 0.75rem; bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(180deg, var(--violet), var(--orange));
  opacity: 0.4;
}
.method-item {
  position: relative;
  padding: 0 0 1.25rem 0.5rem;
}
.method-item::before {
  content: '';
  position: absolute;
  left: -1.55rem; top: 0.35rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}
.method-item:nth-child(even)::before { border-color: var(--orange); box-shadow: 0 0 12px rgba(255, 107, 26, 0.5); }
.method-item .step-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.method-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--text-hi);
  letter-spacing: -0.015em;
  font-weight: 600;
}
.method-item p { margin: 0; color: var(--text-mute); font-size: 0.9rem; line-height: 1.5; }

.method-card {
  padding: 2rem;
  background: var(--grad-surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.method-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 100% 0%, rgba(255, 107, 26, 0.1), transparent 50%);
  pointer-events: none;
}
.method-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text-hi);
  font-weight: 700;
}
.method-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.method-card ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
}
.method-card ul li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* =========================================================
   Roadmap 4 fases — grid de cards bajo el timeline
   ========================================================= */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 1000px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .plan-grid { grid-template-columns: 1fr; } }

.phase {
  padding: 1.75rem 1.5rem;
  background: var(--grad-surface);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  overflow: hidden;
}
.phase:hover {
  border-color: var(--line-violet-strong);
  transform: translateY(-4px);
}
.phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: rgba(139, 92, 246, 0.10);
  color: var(--violet-2);
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.phase:nth-child(2) .phase-tag { color: var(--cyan);        background: rgba(0, 229, 255, 0.08);  border-color: rgba(0, 229, 255, 0.25); }
.phase:nth-child(3) .phase-tag { color: var(--orange-hi);   background: rgba(255, 106, 0, 0.08);  border-color: rgba(255, 106, 0, 0.30); }
.phase:nth-child(4) .phase-tag { color: var(--green-radar); background: rgba(0, 255, 133, 0.08);  border-color: rgba(0, 255, 133, 0.30); }

.phase h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--text-hi);
}
.phase ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.phase li {
  font-size: 0.88rem;
  color: var(--text-mute);
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}
.phase li::before {
  content: '›';
  color: var(--violet-2);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1em;
  line-height: 1;
}
.phase:nth-child(2) li::before { color: var(--cyan); }
.phase:nth-child(3) li::before { color: var(--orange-hi); }
.phase:nth-child(4) li::before { color: var(--green-radar); }

/* =========================================================
   Metrics / results
   ========================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(255, 107, 26, 0.03));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
}
@media (max-width: 800px) { .metrics { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; gap: 1.25rem; } }
.metric {
  text-align: left;
  padding: 0.5rem 0;
}
.metric .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}
.metric .lbl {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.4;
}

/* =========================================================
   Personas (para quién)
   ========================================================= */
.persona {
  padding: 1.75rem;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.persona:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.persona-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange-2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.persona-quote {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 500;
}
.persona-quote::before { content: '"'; color: var(--violet-2); margin-right: 0.1em; }
.persona-quote::after { content: '"'; color: var(--violet-2); margin-left: 0.1em; }
.persona-help {
  font-size: 0.88rem;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  line-height: 1.5;
}
.persona-help strong { color: var(--text); font-weight: 500; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: var(--grad-surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}
.price-card.featured {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(139, 92, 246, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.05), rgba(255, 107, 26, 0.02));
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 30px 90px -30px rgba(139, 92, 246, 0.5);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.6), transparent 30%, rgba(255, 107, 26, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}
.price-tier {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.price-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0;
}
.price-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text-hi);
}
.price-unit { font-size: 0.95rem; color: var(--text-mute); }
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.price-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.45;
}
.price-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--violet-2); }
.price-card.orange .price-list li svg { color: var(--orange-2); }
.price-foot {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-hi);
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--violet-hi); }
.faq-q .icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-hi);
  display: grid; place-items: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-q .icon { transform: rotate(45deg); background: var(--grad-brand); border-color: transparent; }
.faq-item[open] .faq-q .icon svg { color: #fff; }
.faq-a {
  padding-top: 0.85rem;
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 72ch;
}

/* =========================================================
   CTA final + formulario
   ========================================================= */
.cta-final {
  position: relative;
  padding: 3.5rem 3rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 107, 26, 0.15), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(139, 92, 246, 0.2), transparent 55%),
    linear-gradient(180deg, #110d1f, #08060f);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) { .cta-final { grid-template-columns: 1fr; padding: 2.25rem 1.75rem; } }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin: 0 0 1rem;
}
.cta-final p { color: var(--text-mute); font-size: var(--fs-md); line-height: 1.55; margin: 0 0 1.75rem; }

.form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hi);
  border-radius: 10px;
  color: var(--text-hi);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  /* Indica al navegador que renderice los UI controls (incluido el dropdown nativo de <select>) en modo oscuro */
  color-scheme: dark;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.06);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.form-field textarea { resize: vertical; min-height: 96px; }

/* Estilizar las <option> del select para que el desplegable nativo no salga blanco.
   Funciona en Chrome, Edge, Safari modernos y Firefox 113+ — el resto cae al
   color-scheme: dark de arriba que ya da fondo oscuro estándar del navegador. */
.form-field select option,
.form-field select optgroup {
  background-color: #0D0A14;
  color: #F8FAFC;
  padding: 0.5rem 0.75rem;
}
.form-field select option:checked,
.form-field select option:hover {
  background-color: #1A1225;
  color: #FF8A3D;
}
/* Misma lógica para selects de los formularios de recursos / cualquier otro select */
select { color-scheme: dark; }
select option { background-color: #0D0A14; color: #F8FAFC; }
.form-submit { margin-top: 0.5rem; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.25rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
  color: var(--text-mute);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-hi);
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer ul a { color: var(--text-mute); transition: color var(--dur) var(--ease); }
.footer ul a:hover { color: var(--text-hi); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Utility
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.flex { display: flex; }
.items-center { align-items: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.text-center { text-align: center; }
.mt-lg { margin-top: 2rem; }
.mb-lg { margin-bottom: 2rem; }

/* =========================================================
   Blog
   ========================================================= */
.blog-hero {
  padding-top: clamp(7rem, 10vw, 9rem);
  padding-bottom: 3rem;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 1rem 0 1.25rem;
  color: var(--text-hi);
  max-width: 18ch;
}
.blog-hero p { color: var(--text-mute); max-width: 56ch; font-size: var(--fs-md); }

.blog-filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.blog-filter {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: var(--surface-2);
  font-size: 0.82rem;
  color: var(--text);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.blog-filter.active,
.blog-filter:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.blog-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.blog-card-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-card-img svg { width: 100%; height: 100%; }
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex; gap: 0.75rem; align-items: center;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.blog-card-meta .cat { color: var(--violet-2); }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-hi);
  font-weight: 700;
}
.blog-card p { margin: 0; color: var(--text-mute); font-size: 0.92rem; line-height: 1.55; flex-grow: 1; }
.blog-card-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--violet-2); font-size: 0.88rem; font-weight: 500;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.blog-card:hover .blog-card-link { color: var(--orange-2); gap: 0.7rem; }

/* Article page */
.article-hero {
  padding: clamp(7rem, 10vw, 9rem) 0 2rem;
  border-bottom: 1px solid var(--border);
}
.article-hero .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.article-hero .meta .cat { color: var(--violet-2); }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 1.5rem;
  color: var(--text-hi);
}
.article-hero .lede {
  font-size: var(--fs-md);
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 1.5rem;
}
.article-author {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}
.author-info { font-size: 0.88rem; }
.author-info .name { color: var(--text-hi); font-weight: 500; }
.author-info .role { color: var(--text-dim); font-size: 0.8rem; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 1rem;
  color: var(--text-hi);
}
.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.75rem;
  color: var(--text-hi);
}
.article-body p { margin: 0 0 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--text-hi); font-weight: 600; }
.article-body a { color: var(--violet-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--orange-2); }
.article-body blockquote {
  border-left: 2px solid var(--violet);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.75rem 0;
  color: var(--text-hi);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  background: var(--surface-hi);
  color: var(--orange-hi);
  border: 1px solid var(--border);
}
.article-cta {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(255, 107, 26, 0.04));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--text-hi);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.article-cta p { margin: 0 0 1.25rem; color: var(--text-mute); }

/* =========================================================
   Upgrade editorial · estética revista premium
   ========================================================= */

/* Drop-cap en la primera letra del primer párrafo */
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 0.92;
  float: left;
  padding: 0.3rem 0.85rem 0 0;
  color: var(--violet-2);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  letter-spacing: -0.04em;
}

/* Pull-quote editorial — cita grande que rompe la columna */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text-hi);
  padding: 1.75rem 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--line-violet-strong);
  border-bottom: 1px solid var(--line-violet-strong);
  position: relative;
  text-align: left;
}
.pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 40px;
  height: 2px;
  background: var(--grad-brand);
}

/* Mini CTA embebido — se integra en la lectura sin romper */
.mini-cta {
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 106, 0, 0.04));
  border: 1px solid var(--line-violet-strong);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  font-size: 1rem;
}
.mini-cta strong {
  display: block;
  color: var(--text-hi);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.mini-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--orange-hi);
  font-weight: 600;
  margin-top: 0.5rem;
  text-decoration: none;
}
.mini-cta a:hover { color: var(--orange); gap: 0.55rem; }

/* FAQ dentro del artículo */
.article-faq {
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-faq h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.article-faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.article-faq details[open] summary { color: var(--violet-hi); }
.article-faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.01em;
  transition: color var(--dur) var(--ease);
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--violet-2);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
  line-height: 1;
}
.article-faq details[open] summary::after { transform: rotate(45deg); }
.article-faq details > *:not(summary) {
  margin-top: 0.75rem;
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* Eyebrow/kicker en H2 — numeración sutil tipo revista */
.article-body h2 {
  position: relative;
  padding-top: 0.5rem;
}
.article-body h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

/* small helpers */
.mono { font-family: var(--font-mono); }

/* decorative SVGs inside brand-mark and icons should always be inert to screen readers */
.brand-mark svg,
.card-icon svg,
.btn .arrow { pointer-events: none; }

/* =========================================================
   RESPONSIVE REFINEMENTS — granular breakpoints
   Keeps the design tight from 320px up to 4K.
   ========================================================= */

/* --- Tablet refinements (768-900px) --- */
@media (max-width: 900px) {
  section { padding-block: clamp(3rem, 6vw, 5rem); }
  .hero-title { font-size: clamp(2.6rem, 6vw, 4.2rem); }
}

/* --- Pricing collapses earlier so cards don't feel squeezed on tablet --- */
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 2rem; }
  .cta-final { padding: 2.5rem 2rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* --- Form row breakpoint more generous --- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 1.35rem; }
  .cta-final { gap: 2rem; padding: 2rem 1.5rem; }
}

/* --- Hero mockup lateral collapses on phones --- */
@media (max-width: 760px) {
  .hero-mockup { transform: none; }
  .hero-visual { margin-top: 2.5rem; }
  .hero-mockup .apex-mockup-body { grid-template-columns: 110px 1fr !important; }
  .hero-mockup .apex-side { padding: 0.5rem 0.35rem; }
  .hero-mockup .apex-side-item { padding: 0.35rem 0.4rem; font-size: 0.65rem; }
  .hero-mockup .apex-kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-mockup .apex-kpi-val { font-size: 1rem; }
  .hero-mockup .apex-kanban { grid-template-columns: repeat(3, 1fr) !important; }
  .hero-mockup .apex-col:nth-child(4),
  .hero-mockup .apex-col:nth-child(5) { display: none; }
}

/* --- APEX section mockup on mobile --- */
@media (max-width: 760px) {
  #apex .apex-mockup { aspect-ratio: 5/5; }
  #apex .apex-mockup-body { grid-template-columns: 100px 1fr; }
  #apex .apex-side { padding: 0.6rem 0.4rem; }
  #apex .apex-side-item { padding: 0.4rem; font-size: 0.68rem; }
  #apex .apex-kanban { grid-template-columns: repeat(2, 1fr); }
  #apex .apex-col:nth-child(3),
  #apex .apex-col:nth-child(4) { display: none; }
}

/* --- Phone refinements (≤480px) --- */
@media (max-width: 480px) {
  :root { --pad-x: 1.1rem; }

  .hero { padding-top: 6.5rem; padding-bottom: 3rem; }
  .hero-title { font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; width: 100%; }
  .hero-trust { gap: 0.75rem 1.25rem; font-size: 0.78rem; padding-top: 1.5rem; }
  .hero-trust-item { flex-basis: 100%; }

  .hero-mockup .apex-kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-mockup .apex-kanban { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-mockup .apex-col:nth-child(3) { display: none; }

  #apex .apex-mockup { aspect-ratio: 4/5; }
  #apex .apex-mockup-body { grid-template-columns: 85px 1fr; }
  #apex .apex-kanban { grid-template-columns: 1fr; }
  #apex .apex-col:nth-child(n+2) { display: none; }

  .apex-title { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .apex-logo-wrap { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .apex-flow { grid-template-columns: 1fr; }
  .apex-screens { grid-template-columns: 1fr; }

  .price-card { padding: 1.75rem 1.35rem; }
  .price-amount { font-size: 2.5rem; }
  .price-foot { flex-direction: column; }
  .price-foot .btn { width: 100%; justify-content: center; }

  .metrics { padding: 1.5rem 1.25rem; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .metric .num { font-size: 2.4rem; }

  .cta-final { padding: 1.75rem 1.25rem; }
  .cta-final h2 { font-size: 1.75rem; }

  .pain-card { padding: 1.1rem 1.1rem 1.1rem 3rem; }
  .pain-card::before { left: 1.1rem; top: 1.25rem; width: 18px; height: 18px; }
  .pain-card::after { left: 1.24rem; top: 1.2rem; font-size: 9px; }

  .pillar { min-height: 0; padding: 1.5rem; }

  .method-timeline { padding-left: 1.5rem; }
  .method-card { padding: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .section-title { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .eyebrow { font-size: 0.66rem; padding: 0.4rem 0.75rem; }

  .blog-card h3 { font-size: 1.2rem; }
  .article-body { font-size: 0.98rem; padding: 2rem 0; }
  .article-body h2 { font-size: 1.55rem; margin-top: 2.25rem; }
  .article-body h3 { font-size: 1.15rem; }
}

/* --- Very small phones (≤360px) --- */
@media (max-width: 360px) {
  :root { --pad-x: 0.9rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-mockup .apex-kanban { grid-template-columns: 1fr !important; }
  .hero-mockup .apex-col:nth-child(n+2) { display: none; }
  .metrics { grid-template-columns: 1fr; }
}

/* --- Prefers-reduced-data: drop heavy aurora blobs --- */
@media (prefers-reduced-data: reduce) {
  body::before { background: none; }
  .hero-aurora { display: none; }
}

/* =========================================================
   Legal pages (aviso, privacidad, cookies)
   Same design system, focused on readability.
   ========================================================= */
.legal-hero {
  padding-top: clamp(7rem, 10vw, 9rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--text-hi);
}
.legal-hero p { color: var(--text-mute); font-size: var(--fs-md); max-width: 60ch; margin: 0; }

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.85rem;
  color: var(--text-hi);
}
.legal-body h3 { font-size: 1.15rem; font-weight: 600; margin: 1.75rem 0 0.5rem; color: var(--text-hi); }
.legal-body p { margin: 0 0 1rem; color: var(--text); }
.legal-body ul, .legal-body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body strong { color: var(--text-hi); font-weight: 600; }
.legal-body a { color: var(--violet-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--orange-2); }
.legal-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.1rem 0.35rem;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--orange-hi);
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.legal-table th, .legal-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border-bottom-color: var(--border-hi);
}
.legal-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* =========================================================
   MIGRACIÓN AL SISTEMA VISUAL OFICIAL
   Aplica las reglas del CLAUDE.md master:
   · Space Grotesk en headings · Orbitron en KPIs
   · Hover de cards elevado a 4px con glow reforzado
   · Punto verde radar en el logo
   · Acentos tácticos cyan y verde en iconografía
   Carga al final — sobreescribe valores antiguos.
   ========================================================= */

/* Logo: radar target — ahora vive dentro del SVG del brand-mark (ver main.css) */

/* --- Hover premium unificado — elevación 4px + glow reforzado --- */
.card:hover,
.pain-card:hover,
.pillar:hover,
.persona:hover,
.apex-feature:hover,
.apex-screen:hover,
.apex-tech:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hi);
}

/* --- Cifras, KPIs y métricas → Orbitron SemiBold --- */
.apex-kpi-val,
.apex-kpi-delta,
.metric .num,
.price-amount,
.apex-step-num {
  font-family: var(--font-numeric);
  font-feature-settings: 'tnum' 1;   /* numerales tabulares */
  letter-spacing: -0.01em;
}
.apex-kpi-val { font-size: 1.15rem; }
.metric .num { letter-spacing: -0.02em; }
.price-amount { letter-spacing: -0.025em; }
/* Labels y metadata pequeña siguen en mono para contraste técnico */
.apex-kpi-label,
.apex-feature-num,
.apex-screen-num { font-family: var(--font-mono); }

/* --- Tipografía: headings fuerzan Space Grotesk vía var(--font-display) --- */
/* Las reglas existentes ya usan var(--font-display) — sólo reforzamos los que
   estaban usando font-display cuando el token apuntaba a Inter. */
.hero-title,
.apex-title,
.section-title,
.pillar-title,
.price-name,
.apex-feature h3,
.apex-screen h4,
.apex-tech .name,
.cta-final h2,
.article-hero h1,
.article-body h2,
.method-card h3,
.blog-hero h1,
.legal-hero h1,
.blog-card h3,
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* --- Article body h2/h3 refinement --- */
.article-body h2 { font-size: var(--fs-2xl); }
.article-body h3 { font-size: var(--fs-xl); }

/* --- Verde radar táctico: checks de pricing y success states --- */
.price-list li svg {
  color: var(--violet-2);
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.25));
}
.price-card.orange .price-list li svg {
  color: var(--orange-2);
  filter: drop-shadow(0 0 4px rgba(255, 138, 61, 0.25));
}
/* El check del hero-trust sí es "éxito" → verde radar (uso escaso justificado) */
.hero-trust-item svg {
  color: var(--green-radar);
  filter: drop-shadow(0 0 6px rgba(0, 255, 133, 0.35));
}
/* Method card items = ticks de entregables ya completados → verde radar */
.method-card ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300ff85' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-color: rgba(0, 255, 133, 0.15);
  border-color: rgba(0, 255, 133, 0.4);
}

/* --- Cyan en iconografía técnica (APEX dashboard/IA) --- */
.apex-side-item.active {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.12), transparent);
  color: var(--cyan);
  border-left-color: var(--cyan);
}
.apex-side-item.active .pip {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.apex-kpi-delta { color: var(--green-radar); text-shadow: 0 0 8px rgba(0, 255, 133, 0.35); }

/* --- Ajuste de fondos para reflejar paleta oficial --- */
.apex-mockup { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.hero-mockup { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)); }

/* --- Eyebrow → body mono weight refinado --- */
.eyebrow { font-family: var(--font-mono); font-weight: 500; }

/* --- Mono refinements en metadata del blog --- */
.blog-card-meta,
.article-hero .meta,
.legal-meta,
.apex-screen-top,
.apex-col-head,
.apex-feature-num { font-family: var(--font-mono); }

/* --- Secondary button outline cyan variant --- */
.btn-secondary.btn-cyan {
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}
.btn-secondary.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

/* --- Hero trust bar tweaks — más limpio --- */
.hero-trust-item { color: var(--text-mute); }
.hero-trust-item strong { color: var(--text); }

/* --- Scroll reveal stagger helper --- */
.reveal.stagger-1 { transition-delay: 80ms; }
.reveal.stagger-2 { transition-delay: 160ms; }
.reveal.stagger-3 { transition-delay: 240ms; }
.reveal.stagger-4 { transition-delay: 320ms; }

/* --- Dark selection refinement --- */
::selection { background: rgba(139, 92, 246, 0.55); color: #ffffff; }

/* --- Final contrast / kerning polish on large headings --- */
.hero-title,
.apex-title { letter-spacing: -0.035em; line-height: 1; }
.section-title { letter-spacing: -0.025em; line-height: 1.08; }

/* --- Jerarquía oficial: apex-title alineado con H1 (56/38) --- */
.apex-title { font-size: var(--fs-display); }
/* --- Section title alineado con H2 (42/30) --- */
.section-title { font-size: var(--fs-2xl); }

/* =========================================================
   AMBIENTE · CYBER GROWTH
   Separadores luminosos, mockup flotante y orbit cards
   ========================================================= */

/* Separador luminoso morado con chispazo central */
.sep {
  height: 1px;
  width: 100%;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-violet-glow), transparent);
  position: relative;
}
.sep::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--grad-brand);
  filter: blur(6px);
  opacity: 0.7;
}

/* Float del mockup del hero — respira */
@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-mockup {
  animation: mockup-float 8s ease-in-out infinite;
  position: relative;
}
.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad-brand);
  opacity: 0.15;
  filter: blur(28px);
  z-index: -1;
}

/* Orbit cards — badges flotando alrededor del mockup del hero */
.orbit {
  position: absolute;
  background: rgba(13, 10, 20, 0.92);
  border: 1px solid var(--line-violet-strong);
  border-radius: 14px;
  padding: 0.7rem 0.95rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(168, 85, 247, 0.15);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: mockup-float 7s ease-in-out infinite;
  z-index: 2;
}
.orbit-1 { top: -22px; right: 28px; animation-delay: -2s; }
.orbit-2 { bottom: 20px; left: -28px; animation-delay: -4s; }
.orbit-3 { top: 42%; right: -32px; animation-delay: -6s; }

.orbit .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.orbit-1 .ico {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
}
.orbit-2 .ico {
  background: rgba(255, 106, 0, 0.15);
  color: var(--orange-hi);
  border: 1px solid rgba(255, 106, 0, 0.35);
}
.orbit-3 .ico {
  background: rgba(0, 255, 133, 0.12);
  color: var(--green-radar);
  border: 1px solid rgba(0, 255, 133, 0.32);
}
.orbit .l {
  font-size: 0.68rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}
.orbit .v {
  font-family: var(--font-numeric);
  font-weight: 600;
  color: var(--text-hi);
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* En pantallas estrechas las orbit-cards estorban más que añaden */
@media (max-width: 980px) {
  .orbit-1, .orbit-2, .orbit-3 { display: none; }
}


/* --- Pulido de KPIs en hero mockup: tipografía Orbitron más punchy --- */
.hero-mockup .apex-kpi-val { font-size: 1.05rem; font-weight: 600; }
.hero-mockup .apex-kpi-delta { font-size: 0.6rem; }

/* --- APEX feature heading alineado con H3 (28/22) --- */
.apex-feature h3,
.apex-tech .name,
.apex-screen h4,
.pillar-title,
.price-name,
.method-card h3,
.article-body h3 { font-size: var(--fs-xl); }

/* --- Pequeño pulido del hero-mockup bar para reflejar fondos oficiales --- */
.apex-mockup-bar { background: rgba(255, 255, 255, 0.015); }

/* =========================================================
   Imágenes técnicas con tinte violeta · estilo Nothing
   Aplicar a cualquier <img> o <figure> para tratamiento unificado.
   ========================================================= */
.tech-img {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.tech-img img,
.tech-img svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7) contrast(1.15);
  opacity: 0.45;
  mix-blend-mode: luminosity;
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.tech-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(168, 85, 247, 0.12) 50%, rgba(13, 10, 20, 0.6));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.tech-img:hover img,
.tech-img:hover svg { opacity: 0.6; filter: grayscale(80%) brightness(0.85) contrast(1.2); }

/* Variante sutilísima — background de sección detrás de título */
.tech-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.tech-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(7, 7, 10, 0.85) 80%);
}
.tech-bg img,
.tech-bg svg {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) brightness(0.5) contrast(1.4);
  opacity: 0.15;
  mix-blend-mode: screen;
}

/* =========================================================
   Firma personal · voz humana
   ========================================================= */
.signature-block {
  padding: clamp(2rem, 4vw, 3.5rem);
  margin: clamp(2rem, 4vw, 3.5rem) auto;
  max-width: 760px;
  background: linear-gradient(180deg, rgba(13, 10, 20, 0.8), rgba(7, 7, 10, 0.6));
  border: 1px solid var(--line-violet);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  position: relative;
}
.signature-block::before {
  content: '"';
  position: absolute;
  top: 0.3rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--violet-2);
  opacity: 0.25;
  pointer-events: none;
}
.signature-block .sig-body {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text);
  position: relative;
}
.signature-block .sig-body p { margin: 0 0 1rem; }
.signature-block .sig-body p:last-of-type { margin-bottom: 0; }
.signature-block strong { color: var(--text-hi); font-weight: 600; }

.signature-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-violet);
}
.signature-author .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(139, 92, 246, 0.5);
}
.signature-author .who .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.signature-author .who .role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.signature-scribble {
  font-family: 'Caveat', 'Brush Script MT', cursive;
  font-size: 1.9rem;
  color: var(--violet-hi);
  line-height: 1;
  transform: rotate(-3deg);
  display: inline-block;
  margin: 0 0 0.15rem;
  transform-origin: left center;
}
.signature-author .who .signature-scribble { display: block; width: fit-content; }

/* Firma manuscrita real · sustituye al Caveat cuando se prefiere autenticidad */
.signature-real {
  display: block;
  width: 160px;
  height: auto;
  margin: -0.5rem 0 0.4rem;
  transform: rotate(-2deg);
  transform-origin: left center;
  filter: drop-shadow(0 4px 14px rgba(168, 85, 247, 0.35));
  user-select: none;
  -webkit-user-drag: none;
}
.manifesto-signoff .signature-real {
  width: 220px;
  margin: 0 auto 0.6rem;
  display: block;
}

/* =========================================================
   WhatsApp flotante · contacto directo
   ========================================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 60;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-decoration: none;
}
.whatsapp-btn svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.whatsapp-btn:hover {
  transform: scale(1.06);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.6),
    0 6px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: whatsapp-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: 0;
}
@keyframes whatsapp-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  80%  { opacity: 0;    transform: scale(1.55); }
  100% { opacity: 0;    transform: scale(1.55); }
}

/* Tooltip "¿Hablamos?" al hacer hover en desktop */
.whatsapp-btn::after {
  content: '¿Hablamos por WhatsApp?';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--bg-2);
  color: var(--text-hi);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line-violet-strong);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.whatsapp-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-btn::after { display: none; }  /* el tooltip estorba en móvil */
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-btn::before { animation: none; opacity: 0.35; }
}

/* =========================================================
   Footer enriquecido · datos de contacto + socials
   ========================================================= */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-mute);
  transition: color var(--dur) var(--ease);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--text-hi); }
.footer-contact svg {
  width: 14px; height: 14px;
  color: var(--violet-2);
  flex-shrink: 0;
}
.footer-contact .hours {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-left: 22px;           /* alinea bajo el número, visualmente "hijo" */
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.footer-socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-hi);
  color: var(--text-mute);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-socials a:hover {
  color: var(--text-hi);
  background: var(--surface-hi);
  border-color: var(--violet-2);
  transform: translateY(-2px);
}
.footer-socials svg { width: 15px; height: 15px; }

/* =========================================================
   HUD · Reticles en esquinas (coordenadas + status)
   Brackets en L con tipografía mono cyan. Vibra Anduril /
   cabina de avión / intel dashboard. Úsalo escaso y preciso.
   ========================================================= */
.hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.78;
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hud::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-radar);
  box-shadow: 0 0 6px var(--green-radar), 0 0 2px #fff;
  flex-shrink: 0;
  animation: hud-pulse 1.6s ease-in-out infinite;
}
@keyframes hud-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

/* Posicionamiento por esquinas */
.hud-tl {
  top: 88px;
  left: clamp(1rem, 3vw, 2rem);
  padding: 6px 0 0 18px;
}
.hud-tl::before {
  top: 0; left: 0;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.hud-tr {
  top: 88px;
  right: clamp(1rem, 3vw, 2rem);
  padding: 6px 18px 0 0;
  flex-direction: row-reverse;
}
.hud-tr::before {
  top: 0; right: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.hud-bl {
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  padding: 0 0 6px 18px;
}
.hud-bl::before {
  bottom: 0; left: 0;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.hud-br {
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  padding: 0 18px 6px 0;
  flex-direction: row-reverse;
}
.hud-br::before {
  bottom: 0; right: 0;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

/* Variante morada para secciones donde el cyan competiría */
.hud.hud-violet {
  color: var(--violet-2);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.32);
}

/* En móvil los HUD se compactan o se ocultan los menos prioritarios */
@media (max-width: 720px) {
  .hud {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    opacity: 0.7;
  }
  .hud-bl, .hud-br { display: none; }
}
@media (max-width: 480px) {
  .hud-tr { display: none; }
}

/* Respeta reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hud-dot { animation: none; }
}

/* =========================================================
   RADAR SCOPE — seña de identidad del hero
   Círculos concéntricos morados + cruceta + sweep verde
   rotando 8s. Vibra "mission control", no "SaaS Linear".
   ========================================================= */
.radar-scope {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(480px, 68vw, 900px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
  mask-image: radial-gradient(circle at 50% 50%, black 52%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 52%, transparent 92%);
}
/* Garantiza que el contenido del hero (texto + mockup) quede sobre el radar */
.hero > .container {
  position: relative;
  z-index: 2;
}
.radar-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.radar-rings .rings > circle {
  transform-origin: center;
}
.radar-rings .rings > circle:nth-child(odd) {
  animation: radar-ring-pulse 4s ease-in-out infinite;
}
.radar-rings .rings > circle:nth-child(3) { animation-delay: 1.3s; }
.radar-rings .rings > circle:nth-child(5) { animation-delay: 2.6s; }

@keyframes radar-ring-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* Sweep: conic-gradient sobre un círculo rotando 360° cada 8s */
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 270deg,
    rgba(0, 255, 133, 0.45) 0deg,
    rgba(0, 255, 133, 0.22) 14deg,
    rgba(0, 255, 133, 0.09) 32deg,
    rgba(0, 255, 133, 0.03) 52deg,
    transparent 70deg,
    transparent 360deg
  );
  animation: radar-sweep 8s linear infinite;
  will-change: transform;
  transform-origin: center;
  mask-image: radial-gradient(circle, black 98%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 98%, transparent 100%);
}
@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Arm (línea fina en el borde frontal del sweep, más brillante) */
.radar-arm {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 50%;
  transform-origin: bottom center;
  background: linear-gradient(to bottom,
    rgba(0, 255, 133, 0),
    rgba(0, 255, 133, 0.85) 60%,
    rgba(0, 255, 133, 1) 95%);
  animation: radar-sweep 8s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0, 255, 133, 0.8));
  will-change: transform;
  pointer-events: none;
}

/* Blip: destello que aparece en una posición aleatoria del radar */
.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-radar);
  box-shadow: 0 0 10px var(--green-radar), 0 0 3px #fff;
  opacity: 0;
  animation: radar-blip 8s ease-out infinite;
  pointer-events: none;
}
.radar-blip.b1 { top: 28%; left: 62%; animation-delay: 1.8s; }
.radar-blip.b2 { top: 68%; left: 40%; animation-delay: 4.2s; }
.radar-blip.b3 { top: 45%; left: 78%; animation-delay: 6.5s; }
@keyframes radar-blip {
  0%, 10%  { opacity: 0; transform: scale(0.6); }
  15%      { opacity: 1; transform: scale(1.3); }
  45%      { opacity: 0.6; transform: scale(1); }
  75%, 100%{ opacity: 0; transform: scale(1); }
}

/* En móvil el radar se hace más pequeño y se posiciona centrado */
@media (max-width: 980px) {
  .radar-scope {
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: min(90vw, 600px);
    opacity: 0.5;
  }
}

/* Respeta reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .radar-sweep,
  .radar-arm,
  .radar-blip,
  .radar-rings .rings > circle { animation: none; }
  .radar-sweep { opacity: 0.35; }
  .radar-blip { opacity: 0.55; }
}

/* ======================================================
   Newsletter · bloque antes del footer
   ====================================================== */
.newsletter-card {
  padding: 2.75rem 3rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 107, 26, 0.04));
  border: 1px solid var(--line-violet, rgba(168, 85, 247, 0.28));
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .newsletter-card { padding: 2rem 1.5rem; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: rgba(7, 7, 10, 0.6);
  border: 1px solid var(--border, rgba(168, 85, 247, 0.2));
  border-radius: 16px;
  backdrop-filter: blur(12px);
}
.newsletter-form .nl-field { display: flex; flex-direction: column; gap: 0.35rem; }
.newsletter-form label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.newsletter-form input {
  padding: 0.9rem 1rem;
  background: rgba(13, 10, 20, 0.7);
  border: 1px solid var(--border, rgba(168, 85, 247, 0.22));
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--cyan, #00E5FF);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.newsletter-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}
.newsletter-form .nl-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0;
  text-align: center;
}
.newsletter-form .nl-ok {
  color: var(--green-radar, #00FF85);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  margin: 0.5rem 0 0;
  padding: 0.75rem;
  background: rgba(0, 255, 133, 0.08);
  border: 1px solid rgba(0, 255, 133, 0.28);
  border-radius: 10px;
}
.newsletter-form.sent .nl-field, .newsletter-form.sent .btn, .newsletter-form.sent .nl-note { display: none; }
.newsletter-form.sent .nl-ok { display: block !important; }
.newsletter-form.sent .nl-ok[hidden] { display: block; }
/* Honeypot anti-bot · invisible para humanos, presente en el DOM para bots */
.newsletter-form .nl-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.newsletter-form .nl-note a {
  color: var(--violet-2, #a78bfa);
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.4);
  text-underline-offset: 2px;
}
.newsletter-form .nl-note a:hover {
  color: var(--violet, #8B5CF6);
  text-decoration-color: var(--violet, #8B5CF6);
}
.newsletter-form .nl-err {
  color: #ff8a8a;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  margin: 0.6rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 80, 80, 0.28);
  border-radius: 10px;
}
.newsletter-form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.newsletter-form .nl-btn-loading {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
}

/* ======================================================
   Casos reales narrados
   ====================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .case-grid { grid-template-columns: 1fr; }
}
.case-card {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(13, 10, 20, 0.55), rgba(7, 7, 10, 0.4));
  border: 1px solid var(--line-violet, rgba(168, 85, 247, 0.22));
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 24px 48px -20px rgba(139, 92, 246, 0.45);
}
.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.case-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-hi, #FF8A3D);
  font-weight: 600;
}
.case-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.case-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-hi);
  margin: 0;
  font-weight: 700;
}
.case-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}
.case-block-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan, #00E5FF);
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 12px;
}
.case-block-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--cyan, #00E5FF);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}
.case-block p {
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.case-block p strong { color: var(--text-hi); font-weight: 600; }
.case-block p em { color: var(--violet-2, #a78bfa); font-style: italic; }

.case-disclaimer {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 107, 0, 0.04);
  border: 1px dashed rgba(255, 107, 0, 0.28);
  border-radius: 14px;
  color: var(--text-mute);
  font-size: 0.88rem;
  line-height: 1.6;
}
.case-disclaimer strong { color: var(--text-hi); font-weight: 600; }
.case-disclaimer-ico {
  color: var(--orange-hi, #FF8A3D);
  padding-top: 2px;
}
.case-disclaimer-ico svg { width: 24px; height: 24px; }

/* ======================================================
   ANIMACIÓN 01 · Text-reveal por carácter (solo H1 hero)
   ====================================================== */
.char-reveal { display: inline-block; overflow: hidden; }
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              filter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.char-reveal .char.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ======================================================
   ANIMACIÓN 02 · Spotlight en cards .pillar al hover
   Sigue al cursor con un radial-gradient morado
   ====================================================== */
.pillar {
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(139, 92, 246, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; z-index: 1; }

/* ======================================================
   ANIMACIÓN 03 · Magnetic buttons (CTAs grandes)
   El botón traduce ligeramente hacia el cursor cuando se acerca
   ====================================================== */
.btn-primary.btn-lg {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}
.btn-primary.btn-lg[data-magnetic] {
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
}

/* Respeta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .char-reveal .char {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .pillar::before { display: none; }
  .btn-primary.btn-lg[data-magnetic] { transform: none !important; }
}

/* ======================================================
   COOKIE BANNER · RGPD-friendly, estética Prospector
   Aparece solo primera visita (persiste en localStorage)
   ====================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 540px;
  z-index: 1000;
  padding: 1.35rem 1.5rem;
  background: rgba(13, 10, 20, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-violet-strong, rgba(168, 85, 247, 0.35));
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(139, 92, 246, 0.08),
              0 0 40px -8px rgba(139, 92, 246, 0.3);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.3s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none !important; }

.cookie-banner-head {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cookie-banner-head svg {
  width: 22px; height: 22px;
  color: var(--cyan, #00E5FF);
  flex-shrink: 0;
}
.cookie-banner-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-hi);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.cookie-banner p {
  color: var(--text-mute);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 1.15rem;
}
.cookie-banner p a {
  color: var(--violet-2, #a78bfa);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.cookie-btn {
  flex: 1;
  min-width: 110px;
  padding: 0.7rem 1rem;
  font-family: var(--font-body, Inter);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  line-height: 1.2;
  text-align: center;
}
.cookie-btn:active { transform: scale(0.97); }
.cookie-btn-primary {
  background: linear-gradient(135deg, #8B5CF6, #FF6A00);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -10px rgba(139, 92, 246, 0.6);
}
.cookie-btn-primary:hover {
  box-shadow: 0 10px 25px -8px rgba(139, 92, 246, 0.75);
}
.cookie-btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border, rgba(168, 85, 247, 0.28));
}
.cookie-btn-secondary:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(168, 85, 247, 0.5);
}
.cookie-banner-foot {
  margin-top: 0.85rem;
  text-align: center;
}
.cookie-banner-foot a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-decoration: none;
  border-bottom: 1px dashed rgba(161, 161, 170, 0.3);
}
.cookie-banner-foot a:hover { color: var(--violet-2, #a78bfa); border-bottom-color: var(--violet-2, #a78bfa); }

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 1rem; left: 1rem; right: 1rem;
    padding: 1.1rem 1.2rem;
  }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-btn { width: 100%; }
}

/* ======================================================
   SECCIÓN CATEGORÍA NUEVA · posicionamiento disruptivo
   ====================================================== */
.category-section { padding-block: clamp(3.5rem, 6vw, 6rem); position: relative; }
.category-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(139, 92, 246, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(255, 107, 0, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.category-section > .container { position: relative; z-index: 1; }

/* TABLA COMPARATIVA */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (max-width: 1100px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  padding: 1.5rem 1.35rem;
  background: rgba(13, 10, 20, 0.45);
  border: 1px solid var(--border, rgba(168, 85, 247, 0.18));
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}
.compare-card:hover { opacity: 1; transform: translateY(-3px); border-color: rgba(168, 85, 247, 0.32); }
.compare-head { display: flex; flex-direction: column; gap: 0.25rem; }
.compare-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.compare-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.compare-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.5;
}
.compare-list .x {
  color: var(--danger, #f87171);
  font-weight: 700;
  font-family: var(--font-mono);
  text-align: center;
}
.compare-list .check {
  color: var(--green-radar, #00FF85);
  font-weight: 700;
  font-family: var(--font-mono);
  text-align: center;
  filter: drop-shadow(0 0 4px rgba(0, 255, 133, 0.4));
}

/* Card destacada Prospector */
.compare-card-prospector {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.12) 0%, rgba(255, 106, 0, 0.06) 60%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid var(--line-violet-strong, rgba(168, 85, 247, 0.45));
  box-shadow: 0 25px 55px -20px rgba(139, 92, 246, 0.5),
              0 0 30px -10px rgba(168, 85, 247, 0.4);
  position: relative;
  opacity: 1;
  transform: none;
}
.compare-card-prospector:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px -20px rgba(139, 92, 246, 0.7),
              0 0 40px -10px rgba(168, 85, 247, 0.5);
}
.compare-card-prospector .compare-tag { color: var(--orange-hi, #FF8A3D); }
.compare-card-prospector .compare-list li { color: var(--text); }
.compare-card-prospector .compare-list strong { color: var(--text-hi); }
.compare-badge {
  position: absolute;
  top: -10px; right: 16px;
  background: linear-gradient(135deg, var(--violet, #8B5CF6), var(--orange, #FF6A00));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(139, 92, 246, 0.6);
}

/* BLOQUE SPEECH IA · destacado */
.speech-highlight {
  position: relative;
  padding: 3rem 2.75rem;
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.04) 0%, rgba(13, 10, 20, 0.85) 70%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 720px) { .speech-highlight { padding: 2rem 1.5rem; } }
.speech-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.speech-content { position: relative; z-index: 1; }
.speech-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  color: var(--text-hi);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 28ch;
}
.speech-accent {
  background: linear-gradient(135deg, #00E5FF 0%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.speech-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 70ch;
  margin: 0 0 2.25rem;
}
.speech-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}
@media (max-width: 720px) {
  .speech-meta { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; }
}
.speech-meta-item { display: flex; flex-direction: column; gap: 0.4rem; }
.speech-meta-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan, #00E5FF);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35));
  line-height: 1;
}
.speech-meta-lbl {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-mute);
  max-width: 22ch;
}

/* CIERRE ANCLA */
.category-anchor {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  font-weight: 600;
  margin: 0;
}

/* ======================================================
   Utilidades de destaque · gradientes reutilizables
   Aplicables a cualquier <span> dentro de cualquier título
   ====================================================== */
.hi-violet, .hi-orange, .hi-cyan {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-repeat: no-repeat;
}
.hi-violet {
  background-image: linear-gradient(135deg, #C084FC 0%, #A855F7 50%, #8B5CF6 100%);
}
.hi-orange {
  background-image: linear-gradient(135deg, #FF8A3D 0%, #FF6A00 55%, #C084FC 100%);
}
.hi-cyan {
  background-image: linear-gradient(135deg, #00E5FF 0%, #00B8D4 55%, #00E5FF 100%);
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.25));
}

/* Pricing cards · titulares con destaque */
.price-name { line-height: 1.15; }
.price-name .hi-violet,
.price-name .hi-orange,
.price-name .hi-cyan { font-weight: 700; }

/* ======================================================
   CTA SPLIT · texto + mini-form en lateral
   Reemplaza los CTA finales planos que dejaban espacios
   negros muertos al pie de precios.html y apex.html
   ====================================================== */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  padding: 2.75rem 2.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.07), rgba(255, 107, 0, 0.04));
  border: 1px solid var(--line-violet, rgba(168, 85, 247, 0.25));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-split::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.cta-split > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .cta-split { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
}
.cta-split-left { display: flex; flex-direction: column; justify-content: center; }

/* Quick form · captura email + empresa */
.quick-form {
  padding: 1.85rem 1.65rem;
  background: rgba(7, 7, 10, 0.65);
  border: 1px solid var(--line-violet-strong, rgba(168, 85, 247, 0.32));
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px -25px rgba(139, 92, 246, 0.5);
}
.quick-form-head { margin-bottom: 1.25rem; }
.quick-form-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--orange-hi, #FF8A3D);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.quick-form h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-hi);
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.quick-form p {
  color: var(--text-mute);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
.quick-form form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.quick-form label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin-bottom: -0.3rem;
}
.quick-form input {
  padding: 0.85rem 1rem;
  background: rgba(13, 10, 20, 0.7);
  border: 1px solid var(--border, rgba(168, 85, 247, 0.22));
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.quick-form input:focus {
  outline: none;
  border-color: var(--cyan, #00E5FF);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.quick-form button { margin-top: 0.5rem; justify-content: center; width: 100%; }
.quick-form-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin: 0.85rem 0 0;
  text-align: center;
}
.quick-form-ok {
  color: var(--green-radar, #00FF85);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  margin: 0.85rem 0 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 255, 133, 0.08);
  border: 1px solid rgba(0, 255, 133, 0.28);
  border-radius: 10px;
}
[data-cta-quick-form].sent form,
[data-cta-quick-form].sent .quick-form-note { display: none; }
[data-cta-quick-form].sent .quick-form-ok { display: block !important; }
[data-cta-quick-form].sent .quick-form-ok[hidden] { display: block; }

