/* additions.css — Styles for NEW elements on the Nucleo landing page.
   Does NOT override any existing styles. */

/* ============================================================
   1. SOCIAL PROOF SECTION
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem !important;
}

.stat-card .stat-val {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffc842;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   2. MID-CTA SECTION
   ============================================================ */
.mid-cta {
  position: relative;
  padding: 4rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 184, 47, 0.06), transparent),
    rgba(3, 14, 24, 0.95);
  border: none;
}

.mid-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.mid-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

.mid-cta .btn-cta {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #030e18;
  background: linear-gradient(135deg, #ffc842, #ffb82f);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mid-cta .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 184, 47, 0.3);
}

/* ============================================================
   3. PLAN PRICES
   ============================================================ */
.plan-price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #ffc842;
  margin: 0.5rem 0 0.25rem;
  line-height: 1.2;
}

.plan-price .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   4. FEATURED PLAN
   ============================================================ */
.plan-featured {
  position: relative;
  border: 2px solid #ffc842;
  box-shadow: 0 0 32px rgba(255, 200, 66, 0.1);
}

.plan-featured::before {
  content: "Recomendado";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #030e18;
  background: linear-gradient(135deg, #ffc842, #ffb82f);
  border-radius: 20px;
  white-space: nowrap;
}

/* ============================================================
   5. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.1s; }
.reveal-d3 { transition-delay: 0.15s; }
.reveal-d4 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-d1,
  .reveal-d2,
  .reveal-d3,
  .reveal-d4 {
    transition-delay: 0s;
  }
}

/* ============================================================
   6. PARTICLE CANVAS
   ============================================================ */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   7. INTEGRATION GRID
   ============================================================ */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.integrations-grid .integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.integrations-grid .integration-item:hover {
  border-color: rgba(255, 200, 66, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.integrations-grid .integration-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.integrations-grid .integration-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* ============================================================
   8. HERO TEXT FIX + ROTATION
   ============================================================ */
.hero-copy h1 {
  overflow: visible !important;
  padding-bottom: 0;
}

.hero-copy h1::after {
  display: none !important;
}

.hero-copy h1 .type-line:last-child::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: .85em;
  background: #ffca54;
  vertical-align: -.06em;
  margin-left: 7px;
  animation: caret 1s steps(1) infinite;
  box-shadow: 0 0 12px #ffbd3f;
}

.hero-copy h1 .type-line {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 .type-line {
    transition: none;
  }
}

/* ============================================================
   9. SINGLE SEAMLESS DARK BACKGROUND — no gold-waves overlay, animations show through
   ============================================================ */
html {
  background: #030d16;
}

body {
  background:
    linear-gradient(180deg, rgba(3,13,22,0.45) 0%, rgba(3,13,22,0.35) 50%, rgba(3,13,22,0.5) 100%),
    url('/media/gold-waves.png') center center / cover no-repeat fixed,
    #030d16 !important;
}

/* Remove per-section backgrounds that cause visible cuts */
.section,
.hero-section,
.modules-section,
.privacy-section,
.faq-section,
.social-proof-section,
.ba-section,
.industries-section,
.install-section,
.compare-section,
.manifesto-section,
.big-manifesto,
.plans-section,
.mid-cta {
  background: transparent !important;
  background-image: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

.closing,
.hero-section {
  background: transparent !important;
  background-image: none !important;
  border-block: none !important;
}

.flame-scene {
  z-index: 1 !important;
}

main, header, footer, .wrap {
  position: relative;
  z-index: 3;
}

/* ============================================================
   9b. FLOATING WHATSAPP ASSISTANT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  background: linear-gradient(135deg, #25d366, #128c4e);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 8px 32px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-float-pulse 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45), 0 12px 40px rgba(0,0,0,0.5);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

@keyframes wa-float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 8px 32px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.5), 0 8px 32px rgba(0,0,0,0.4); }
}

@media (max-width: 560px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px 10px 12px;
    font-size: 13px;
  }
  .wa-float svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   10-PRE. HIDE MODULE ACTION BUTTONS (low value per JP feedback)
   ============================================================ */
.module-action {
  display: none !important;
}

/* ============================================================
   10. NAV BAR — BIGGER TEXT
   ============================================================ */
header nav a {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

header .btn {
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.5rem !important;
}

/* ============================================================
   11. FOOTER — MORE VISIBLE
   ============================================================ */
footer.wrap {
  padding: 2.5rem 1.5rem !important;
  border-top: 1px solid rgba(255, 200, 66, 0.15) !important;
}

footer.wrap > span {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

footer .footer-legal a {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  transition: color 0.2s ease;
}

footer .footer-legal a:hover {
  color: #ffc842 !important;
}

/* ============================================================
   12. PLAN NOTE — BIGGER TEXT
   ============================================================ */
.plan-note {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 2rem !important;
  text-align: center;
}

/* ============================================================
   13. OPERACIÓN PLAN — MORE READABLE
   ============================================================ */
.plans article p {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6 !important;
}

.plans article h3 {
  font-size: 1.25rem !important;
}

.plans article b {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================================
   14. FAQ CARDS (same style as other sections)
   ============================================================ */
.faq-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.faq-card {
  background: rgba(7, 20, 33, 0.85);
  border: 1px solid rgba(255, 200, 66, 0.2);
  border-radius: 13px;
  padding: 1.5rem 1.25rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.04);
}

.faq-card:hover {
  border-color: rgba(255, 200, 66, 0.45);
  background: rgba(10, 25, 40, 0.9);
  transform: translateY(-2px);
}

.faq-card h3 {
  font-size: 0.95rem;
  font-weight: 650;
  color: #ffd274;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.faq-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   RESPONSIVE — MOBILE (375px base)
   ============================================================ */
@media (max-width: 960px) {
  .faq-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .faq-cards {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card .stat-val {
    font-size: 1.75rem;
  }

  .mid-cta {
    padding: 3rem 1rem;
  }

  .mid-cta h2 {
    font-size: 1.35rem;
  }

  .plan-price {
    font-size: 1.6rem;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .social-proof .stat-number {
    font-size: 1.75rem;
  }

  .social-proof .stat-label {
    font-size: 0.75rem;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   15. SOCIAL PROOF SECTION (big stats under hero)
   ============================================================ */
.social-proof-section {
  padding: 3rem 0 1.5rem !important;
}
.social-proof-section .stats-row {
  gap: 1rem;
}
.social-proof-section .stat-card {
  position: relative;
  background: rgba(7, 20, 33, 0.55);
  border: 1px solid rgba(255, 200, 66, 0.14);
  border-radius: 14px;
  padding: 1.75rem 1rem !important;
  backdrop-filter: blur(10px);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.social-proof-section .stat-card:hover {
  border-color: rgba(255, 200, 66, 0.4);
  background: rgba(10, 25, 40, 0.75);
  transform: translateY(-3px);
}
.social-proof-section .stat-val {
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd983 0%, #ffb82f 60%, #d99418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.social-proof-section .stat-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
}

/* ============================================================
   16. ANTES / DESPUÉS
   ============================================================ */
.ba-section { padding: 5rem 0; }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ba-card {
  background: linear-gradient(180deg, rgba(10,22,36,.9), rgba(5,13,22,.9));
  border: 1px solid rgba(255,200,66,.12);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color .3s, transform .3s;
}
.ba-card:hover { border-color: rgba(255,200,66,.35); transform: translateY(-4px); }
.ba-card h3 {
  font-size: 1.05rem; font-weight: 650; color: #ffd274;
  margin: 0 0 1.25rem; letter-spacing: 0.01em;
}
.ba-row { padding: 0.9rem 0; border-top: 1px dashed rgba(255,255,255,.08); }
.ba-row:first-of-type { border-top: none; }
.ba-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.ba-before .ba-tag { color: #ff9b7a; background: rgba(255,80,60,.1); border: 1px solid rgba(255,120,90,.25); }
.ba-after .ba-tag { color: #70e3a7; background: rgba(60,220,140,.08); border: 1px solid rgba(90,220,150,.25); }
.ba-row p { font-size: 0.92rem; color: rgba(255,255,255,.78); margin: 0; line-height: 1.5; }
.ba-row p strong { color: #fff; }
.ba-after p strong { color: #ffd274; }

/* ============================================================
   17. INDUSTRIAS GRID
   ============================================================ */
.industries-section { padding: 5rem 0; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.industry-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: rgba(7, 20, 33, 0.65);
  border: 1px solid rgba(255,200,66,.12);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color .3s, background .3s, transform .3s;
}
.industry-card:hover {
  border-color: rgba(255,200,66,.4);
  background: rgba(12,28,44,.8);
  transform: translateY(-4px);
}
.ind-icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffe4a0 0%, #ffc842 35%, #e89b1a 70%, #8b5a0a 100%);
  box-shadow:
    0 0 0 1px rgba(255,200,66,.4),
    0 8px 24px rgba(255,180,47,.35),
    inset -4px -6px 12px rgba(0,0,0,.35),
    inset 2px 3px 8px rgba(255,230,160,.4);
  position: relative;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.4), box-shadow .3s ease;
}
.ind-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,66,.25), transparent 65%);
  z-index: -1;
  opacity: .7;
  transition: opacity .3s ease;
}
.industry-card:hover .ind-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow:
    0 0 0 1px rgba(255,200,66,.6),
    0 12px 32px rgba(255,180,47,.55),
    inset -4px -6px 12px rgba(0,0,0,.35),
    inset 2px 3px 8px rgba(255,230,160,.5);
}
.industry-card:hover .ind-icon::after { opacity: 1; }
.ind-icon svg {
  width: 30px; height: 30px;
  fill: none; stroke: #1a0d02; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(255,230,160,.5));
  position: relative; z-index: 1;
}
.industry-card h3 {
  font-size: 1.15rem; font-weight: 650; color: #fff; margin: 0;
}
.industry-card p {
  font-size: 0.9rem; color: rgba(255,255,255,.68); margin: 0; line-height: 1.5;
  flex-grow: 1;
}
.ind-link {
  margin-top: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: #ffc842;
  letter-spacing: 0.02em;
}
.ind-link b { transition: transform .25s ease; display: inline-block; }
.industry-card:hover .ind-link b { transform: translateX(4px); }

/* ============================================================
   18. CÓMO SE INSTALA — TIMELINE
   ============================================================ */
.install-section { padding: 5rem 0; }
.install-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
.install-timeline::before {
  content: '';
  position: absolute;
  top: 44px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,200,66,.3), transparent);
}
.install-phase {
  background: rgba(7, 20, 33, 0.75);
  border: 1px solid rgba(255,200,66,.14);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.install-phase:hover { border-color: rgba(255,200,66,.4); transform: translateY(-3px); }
.install-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.1rem;
}
.install-num {
  flex: 0 0 54px; width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc842, #ffb82f);
  color: #0a1420; font-weight: 800; font-size: 1.1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 0 24px rgba(255,200,66,.3);
}
.install-head h3 {
  font-size: 1.15rem; font-weight: 650; color: #fff; margin: 0 0 0.15rem;
}
.install-head b {
  font-size: 0.82rem; color: rgba(255,255,255,.5); font-weight: 500;
}
.install-phase ul {
  list-style: none; padding: 0; margin: 0;
}
.install-phase li {
  position: relative; padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.9rem; color: rgba(255,255,255,.78); line-height: 1.5;
  border-top: 1px dashed rgba(255,255,255,.06);
}
.install-phase li:first-child { border-top: none; }
.install-phase li::before {
  content: '✦';
  position: absolute; left: 0; top: 0.5rem;
  color: #ffc842; font-size: 0.75rem;
}

/* ============================================================
   19. COMPARATIVO
   ============================================================ */
.compare-section { padding: 5rem 0; }
.compare-wrap {
  background: rgba(7, 20, 33, 0.7);
  border: 1px solid rgba(255,200,66,.14);
  border-radius: 18px;
  padding: 1rem;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.93rem;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.compare-table thead th {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,200,66,.2);
}
.compare-table thead .col-nucleo {
  color: #ffd274;
}
.compare-table tbody td {
  color: rgba(255,255,255,.78);
}
.compare-table tbody td:first-child {
  color: #fff; font-weight: 500;
}
.compare-table .col-nucleo {
  background: linear-gradient(180deg, rgba(255,200,66,.07), rgba(255,200,66,.02));
  border-left: 1px solid rgba(255,200,66,.14);
  border-right: 1px solid rgba(255,200,66,.14);
}
.compare-table tbody tr:last-child .col-nucleo {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.compare-table b { font-weight: 600; letter-spacing: 0.01em; }
.compare-table b.good { color: #70e3a7; }
.compare-table b.meh  { color: #ffd274; }
.compare-table b.bad  { color: #ff9b7a; }
.compare-note {
  margin: 1.75rem 0.5rem 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  font-style: italic;
}

/* ============================================================
   20. MANIFESTO FOUNDER QUOTE
   ============================================================ */
.manifesto-section { padding: 5rem 0 4rem; }
.manifesto-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 2.5rem 1.5rem; border: 0;
}
.manifesto-quote p {
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  color: rgba(255,255,255,.92);
  font-weight: 500;
  letter-spacing: 0.005em;
  margin: 0 0 1.5rem;
}
.manifesto-quote footer {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
}
.manifesto-quote footer strong {
  display: block;
  color: #ffd274; font-weight: 650;
  font-size: 1rem; letter-spacing: 0.01em;
  margin-bottom: 0.15rem;
}

/* ============================================================
   21. BIG MANIFESTO (closing before footer)
   ============================================================ */
.big-manifesto {
  padding: 6rem 0 5rem;
  text-align: center;
}
.big-manifesto-text {
  max-width: 980px; margin: 0 auto;
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,.92);
}
.big-manifesto-text span {
  background: linear-gradient(135deg, #ffe09a 0%, #ffc842 50%, #d99418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 650;
}

/* ============================================================
   22. LEGAL PAGES (shared layout)
   ============================================================ */
.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.legal-main h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.legal-main .legal-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffc842;
  margin-bottom: 1rem;
}
.legal-main .legal-updated {
  color: rgba(255,255,255,.45);
  font-size: 0.88rem;
  margin: 0 0 2.5rem;
}
.legal-main h2 {
  font-size: 1.25rem;
  color: #ffd274;
  margin: 2.5rem 0 0.75rem;
  font-weight: 650;
}
.legal-main h3 {
  font-size: 1rem;
  color: #fff;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}
.legal-main p { margin: 0 0 1rem; font-size: 0.95rem; }
.legal-main ul, .legal-main ol { padding-left: 1.3rem; margin: 0.5rem 0 1.25rem; }
.legal-main li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.legal-main a { color: #ffc842; text-decoration: underline; text-decoration-color: rgba(255,200,66,.4); }
.legal-main a:hover { text-decoration-color: #ffc842; }
.legal-main strong { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .ba-grid,
  .industries-grid,
  .install-timeline { grid-template-columns: repeat(2, 1fr); }
  .install-timeline::before { display: none; }
}
@media (max-width: 640px) {
  .ba-grid,
  .industries-grid,
  .install-timeline { grid-template-columns: 1fr; }
  .social-proof-section .stats-row { grid-template-columns: repeat(2, 1fr); }
  .social-proof-section .stat-val { font-size: 2rem; }
  .big-manifesto { padding: 4rem 0 3rem; }
  .manifesto-quote { padding: 1.5rem 1rem; }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 0.7rem 0.65rem; }
}


/* ============================================================
   V2 REBUILD — SECTION STYLES (Oct 2026)
   ============================================================ */

:root {
  --nc-bg: #030d16;
  --nc-surface: rgba(7, 20, 33, 0.72);
  --nc-surface-strong: rgba(10, 25, 40, 0.85);
  --nc-border: rgba(255, 200, 66, 0.14);
  --nc-border-hover: rgba(255, 200, 66, 0.42);
  --nc-gold: #ffc842;
  --nc-gold-soft: #ffd274;
  --nc-text: rgba(255, 255, 255, 0.92);
  --nc-muted: rgba(255, 255, 255, 0.65);
  --nc-dim: rgba(255, 255, 255, 0.5);
  --nc-radius: 14px;
}

main > section.section { padding: 5.5rem 0; }
@media (max-width: 768px) { main > section.section { padding: 3.5rem 0; } }

.section-heading h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5rem;
  color: #fff;
  font-weight: 700;
}
.section-heading h2 span {
  background: linear-gradient(135deg, #ffe09a 0%, #ffc842 55%, #d99418 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-heading p {
  color: var(--nc-muted);
  max-width: 62ch;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}
.section-heading { text-align: center; }

/* HERO claims inline */
.hero-claims {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.hero-claims li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .95rem; color: rgba(255,255,255,.78);
  font-weight: 500; letter-spacing: .005em;
}
.hero-claims li svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--nc-gold); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero-claims { gap: .5rem 1rem; justify-content: center; }
  .hero-claims li { font-size: .85rem; }
}

.btn-primary-cta {
  background: linear-gradient(135deg, #ffc842, #ffb82f) !important;
  color: #0a1420 !important;
  border: none !important;
}
.btn-ghost-cta {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
.btn-ghost-cta:hover { border-color: var(--nc-gold) !important; color: var(--nc-gold) !important; }

/* 2. PROBLEMA */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.problem-card {
  padding: 2rem 1.75rem;
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-radius);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  backdrop-filter: blur(10px);
}
.problem-card:hover {
  border-color: var(--nc-border-hover);
  transform: translateY(-3px);
  background: var(--nc-surface-strong);
}
.pc-icon {
  display: inline-flex; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,200,66,.16), rgba(255,180,47,.04));
  border: 1px solid rgba(255,200,66,.22);
  margin-bottom: 1rem;
}
.pc-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--nc-gold-soft); stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.problem-card h3 {
  font-size: 1.1rem; font-weight: 650; color: #fff;
  margin: 0 0 .55rem; letter-spacing: .005em;
  line-height: 1.25;
}
.problem-card p {
  font-size: .95rem; color: var(--nc-muted);
  margin: 0; line-height: 1.55;
}

@media (max-width: 960px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } }

/* 3. NÚCLEO */
.nucleo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.nucleo-card {
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-radius);
  padding: 1.75rem;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
  backdrop-filter: blur(10px);
}
.nucleo-card:hover {
  border-color: var(--nc-border-hover);
  transform: translateY(-3px);
  background: var(--nc-surface-strong);
}
.nc-head {
  display: flex; align-items: center; gap: .85rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nc-icon {
  display: inline-flex; width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffe4a0 0%, #ffc842 35%, #e89b1a 70%, #8b5a0a 100%);
  box-shadow:
    0 0 0 1px rgba(255,200,66,.4),
    0 6px 20px rgba(255,180,47,.4),
    inset -3px -5px 10px rgba(0,0,0,.35),
    inset 2px 3px 6px rgba(255,230,160,.4);
  position: relative;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.4);
}
.nc-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,66,.3), transparent 65%);
  z-index: -1;
  opacity: .7;
}
.nc-card:hover .nc-icon { transform: rotate(-5deg) scale(1.08); }
.nc-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: #1a0d02; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  position: relative; z-index: 1;
}
.nc-head h3 { font-size: 1.2rem; font-weight: 650; color: #fff; margin: 0; }
.nc-body { display: flex; flex-direction: column; gap: 1.1rem; }
.nc-tag {
  display: inline-block;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 4px;
  margin-bottom: .55rem;
}
.nc-tag-auto { color: #70e3a7; background: rgba(60,220,140,.08); border: 1px solid rgba(90,220,150,.25); }
.nc-tag-dec  { color: var(--nc-gold-soft); background: rgba(255,200,66,.08); border: 1px solid rgba(255,200,66,.25); }
.nc-block ul { list-style: none; padding: 0; margin: 0; }
.nc-block li {
  position: relative; padding: .35rem 0 .35rem 1.1rem;
  font-size: .9rem; color: rgba(255,255,255,.78); line-height: 1.5;
}
.nc-block li::before {
  content: ''; position: absolute; left: 0; top: .75rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nc-gold);
}
.nc-block p {
  margin: 0; padding: .85rem 1rem;
  background: rgba(255,200,66,.06);
  border-left: 3px solid var(--nc-gold);
  border-radius: 0 8px 8px 0;
  font-size: .92rem; color: #fff; line-height: 1.55;
  font-style: italic;
}
.nucleo-footer-note {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 62ch;
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: 1.15rem;
  color: var(--nc-gold-soft);
  letter-spacing: .005em;
}

@media (max-width: 768px) { .nucleo-grid { grid-template-columns: 1fr; } }

/* 4. INDUSTRIAS adapt note */
.industries-adapt {
  text-align: center;
  margin: 2.25rem auto 0;
  max-width: 56ch;
  font-size: .98rem;
  color: var(--nc-muted);
  line-height: 1.55;
}
.industry-card p b {
  color: var(--nc-gold-soft);
  font-weight: 650;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-right: .3rem;
}

/* 5. DEMO EN VIVO */
.demo-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: center;
}
.demo-kicker {
  display: inline-block;
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nc-gold);
  margin-bottom: .9rem; font-weight: 700;
}
.demo-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: #fff;
}
.demo-copy h2 span {
  background: linear-gradient(135deg, #ffe09a, #ffc842 55%, #d99418);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demo-copy p {
  color: var(--nc-muted); font-size: 1rem;
  line-height: 1.6; margin: 0 0 1.75rem;
  max-width: 56ch;
}
.demo-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.demo-preview {
  display: block;
  background: linear-gradient(180deg, rgba(10,22,36,.95), rgba(5,13,22,.95));
  border: 1px solid var(--nc-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,200,66,.06);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.demo-preview:hover {
  transform: translateY(-4px);
  border-color: var(--nc-border-hover);
  box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,200,66,.2);
}
.demo-preview-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 1rem;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .72rem;
  color: var(--nc-dim);
  letter-spacing: .04em;
}
.demo-preview-bar span { color: rgba(255,100,100,.5); letter-spacing: .3em; }
.demo-preview-body { padding: 1.5rem 1.25rem; }
.dp-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-bottom: 1rem;
}
.dp-kpis > div {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .65rem .75rem;
}
.dp-kpis small { display: block; font-size: .68rem; color: var(--nc-dim); text-transform: uppercase; letter-spacing: .08em; }
.dp-kpis strong { font-size: 1.1rem; color: #fff; font-weight: 700; }
.dp-chart { height: 72px; margin: .5rem 0 1rem; }
.dp-chart svg { width: 100%; height: 100%; }
.dp-rows { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: rgba(255,255,255,.78); }
.dp-rows div { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-top: 1px dashed rgba(255,255,255,.06); }
.dp-rows div:first-child { border-top: none; }
.dp-rows b { margin-left: auto; color: var(--nc-gold-soft); font-weight: 600; }
.dp-rows .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); display: inline-block; }
.dp-rows .dot.green { background: #70e3a7; box-shadow: 0 0 8px rgba(112,227,167,.6); }
.dp-rows .dot.amber { background: var(--nc-gold); box-shadow: 0 0 8px rgba(255,200,66,.6); }
.demo-preview-cta {
  display: block;
  padding: .85rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, #ffc842, #ffb82f);
  color: #0a1420;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
}

@media (max-width: 960px) {
  .demo-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

/* 6. PRIVACIDAD pillars */
.privacy-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.pp-card {
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color .3s, transform .3s, background .3s;
  backdrop-filter: blur(10px);
}
.pp-card:hover { border-color: var(--nc-border-hover); transform: translateY(-3px); background: var(--nc-surface-strong); }
.pp-icon {
  display: inline-flex; width: 54px; height: 54px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,200,66,.18), rgba(255,180,47,.04));
  border: 1px solid rgba(255,200,66,.26);
  margin: 0 auto 1rem;
}
.pp-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--nc-gold-soft); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.pp-card h3 { font-size: 1.05rem; font-weight: 650; color: #fff; margin: 0 0 .55rem; }
.pp-card p { font-size: .9rem; color: var(--nc-muted); margin: 0; line-height: 1.55; }

@media (max-width: 960px) { .privacy-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .privacy-pillars { grid-template-columns: 1fr; } }

/* 7. CÓMO TRABAJAMOS pricing note */
.install-pricing-note {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--nc-muted);
  font-style: italic;
  line-height: 1.55;
}

/* 10. CTA FINAL */
.cta-final-section { padding-bottom: 7rem !important; }
.cta-options {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cta-opt {
  position: relative;
  display: flex; flex-direction: column; gap: .4rem;
  padding: 2rem 1.75rem 2.5rem;
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s, transform .3s, background .3s;
  backdrop-filter: blur(10px);
}
.cta-opt:hover {
  border-color: var(--nc-border-hover);
  transform: translateY(-4px);
  background: var(--nc-surface-strong);
}
.cta-opt-primary {
  background: linear-gradient(160deg, rgba(255,200,66,.14), rgba(255,180,47,.04));
  border-color: rgba(255,200,66,.4);
}
.cta-opt-primary:hover { border-color: var(--nc-gold); background: linear-gradient(160deg, rgba(255,200,66,.22), rgba(255,180,47,.06)); }
.cta-step {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--nc-gold);
  margin-bottom: .25rem;
}
.cta-opt strong {
  font-size: 1.3rem; font-weight: 700; color: #fff;
  letter-spacing: -0.005em; line-height: 1.2;
}
.cta-opt small {
  font-size: .9rem; color: var(--nc-muted);
  line-height: 1.5; margin-top: .25rem;
}
.cta-arrow {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  font-size: 1.25rem; color: var(--nc-gold);
  transition: transform .25s ease;
}
.cta-opt:hover .cta-arrow { transform: translateX(5px); }

@media (max-width: 960px) { .cta-options { grid-template-columns: 1fr; } }

/* TEXTURE: animations show through */
.flame-scene, .ambient-glow, #particles-canvas {
  z-index: 1 !important;
  pointer-events: none;
}
main, header, footer, .wrap, section { position: relative; z-index: 3; }

/* Hide old sections removed from V2 (defensive) */
.social-proof-section,
.ba-section,
.compare-section,
.big-manifesto,
.plans-section,
.mid-cta,
.closing,
.social-proof { display: none !important; }

/* Mobile touch targets */
@media (max-width: 640px) {
  .hero-actions .btn { padding: .9rem 1.4rem !important; font-size: .95rem; }
}

/* Phase price in Cómo trabajamos */
.phase-price {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 650;
  color: #ffc842;
  background: rgba(255, 200, 66, 0.1);
  border: 1px solid rgba(255, 200, 66, 0.25);
  border-radius: 999px;
  letter-spacing: 0.01em;
  vertical-align: middle;
}
.install-head b { margin-right: 4px; }
@media (max-width: 640px) {
  .phase-price { display: block; margin: 6px 0 0; width: fit-content; }
}

/* HERO sources + wires: restaurados al diseño original de styles.css (no override) */

/* Fix: core (emblema Núcleo) debe quedar donde terminan las wires — SOLO para v1 (hero original) */
.hero-visual:not(.hero-visual-v2) .core {
  position: absolute !important;
  left: 42% !important;
  top: 24% !important;
  width: 150px !important;
  height: 150px !important;
  z-index: 10 !important;
  transform: rotate(-4deg);
  filter: drop-shadow(0 0 8px #ffce54) drop-shadow(0 0 28px #ff9c00aa);
}
.hero-visual:not(.hero-visual-v2) .core img {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 960px) {
  .hero-visual:not(.hero-visual-v2) .core { width: 120px !important; height: 120px !important; left: 40% !important; }
}

/* ============================================================
   HERO VISUAL V2 — Grid 3x3 de integraciones + core + wires
   ============================================================ */
.hero-visual.hero-visual-v2 {
  position: relative;
  width: 100%;
  min-height: 540px;
  height: auto;
  margin: 0;
  padding: 20px;
  display: block;
  overflow: visible;
}
.hero-visual-v2 .hero-wires-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.hero-visual-v2 .integrations-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 28px 48px;
  z-index: 3;
  padding: 10px 0;
}
.hero-visual-v2 .integrations-grid > .chip:nth-child(5) { display: none; } /* placeholder */
.hero-visual-v2 .chip-facturama {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  justify-self: center;
}

/* Chip futurista */
.hero-visual-v2 .chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a1420 0%, #141c2e 100%);
  border: 1px solid rgba(255, 200, 66, 0.3);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 200, 66, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #e8ecf3;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  animation: chipPulse 4.5s ease-in-out infinite;
  z-index: 4;
}
.hero-visual-v2 .chip[data-chip="banco"]    { animation-delay: 0s; }
.hero-visual-v2 .chip[data-chip="sat"]      { animation-delay: .4s; }
.hero-visual-v2 .chip[data-chip="erp"]      { animation-delay: .8s; }
.hero-visual-v2 .chip[data-chip="crm"]      { animation-delay: 1.2s; }
.hero-visual-v2 .chip[data-chip="excel"]    { animation-delay: 1.6s; }
.hero-visual-v2 .chip[data-chip="outlook"]  { animation-delay: 2.0s; }
.hero-visual-v2 .chip[data-chip="whatsapp"] { animation-delay: 2.4s; }
.hero-visual-v2 .chip[data-chip="teams"]    { animation-delay: 2.8s; }
.hero-visual-v2 .chip[data-chip="facturama"]{ animation-delay: 3.2s; }

@keyframes chipPulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(0,0,0,.4),
      0 0 0 1px rgba(255, 200, 66, 0.15),
      inset 0 1px 0 rgba(255,255,255,.08);
  }
  50% {
    box-shadow:
      0 6px 28px rgba(0,0,0,.5),
      0 0 0 1px rgba(255, 200, 66, 0.35),
      0 0 20px rgba(255, 184, 47, 0.25),
      inset 0 1px 0 rgba(255,255,255,.12);
  }
}

.hero-visual-v2 .chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 200, 66, 0.75);
  box-shadow:
    0 10px 30px rgba(0,0,0,.55),
    0 0 0 1px rgba(255, 200, 66, 0.5),
    0 0 32px rgba(255, 184, 47, 0.4),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.hero-visual-v2 .chip .chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(255,200,66,.18), rgba(255,200,66,.04) 70%);
  border: 1px solid rgba(255, 200, 66, 0.22);
}
.hero-visual-v2 .chip .chip-icon svg {
  width: 22px;
  height: 22px;
  color: #ffc842;
  filter: drop-shadow(0 0 6px rgba(255, 200, 66, 0.45));
}
.hero-visual-v2 .chip .chip-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.hero-visual-v2 .chip .chip-text strong {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 650;
  color: #fff5d9;
  letter-spacing: .2px;
}
.hero-visual-v2 .chip .chip-text small {
  font-size: 10.5px;
  color: #9ba6b8;
  font-weight: 500;
  margin-top: 2px;
}

/* CORE emblema */
.hero-visual-v2 .core {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  width: 160px;
  height: 160px;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  filter:
    drop-shadow(0 0 18px rgba(255, 180, 40, 0.6))
    drop-shadow(0 0 42px rgba(255, 156, 0, 0.45));
  animation: coreBreathe 3.5s ease-in-out infinite;
}
.hero-visual-v2 .core img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
}
@keyframes coreBreathe {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(255, 180, 40, 0.6))
      drop-shadow(0 0 42px rgba(255, 156, 0, 0.45));
  }
  50% {
    filter:
      drop-shadow(0 0 26px rgba(255, 200, 66, 0.85))
      drop-shadow(0 0 60px rgba(255, 156, 0, 0.65));
  }
}
.hero-visual-v2 .core-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 200, 66, 0.4);
  pointer-events: none;
  animation: ringPulse 2.6s ease-out infinite;
}
.hero-visual-v2 .core-ring-2 { animation-delay: 1.3s; }
@keyframes ringPulse {
  0%   { transform: translate(-50%, -50%) scale(.75); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.75); opacity: 0; }
}

/* SVG wires path styling (JS dibuja los paths) */
.hero-visual-v2 .hero-wires-svg .wire-base {
  fill: none;
  stroke: rgba(255, 184, 47, 0.18);
  stroke-width: 1.4;
}
.hero-visual-v2 .hero-wires-svg .wire-flow {
  fill: none;
  stroke: #ffc842;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  filter: drop-shadow(0 0 4px rgba(255, 200, 66, 0.7));
  animation: wireFlow 2.2s linear infinite;
}
@keyframes wireFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -32; }
}
.hero-visual-v2 .hero-wires-svg .wire-particle {
  fill: #ffe08a;
  filter: drop-shadow(0 0 6px rgba(255, 200, 66, 0.9));
}

/* Ocultar dashboard viejo y purchase si quedaran rastros */
.hero-visual-v2 .dashboard,
.hero-visual-v2 .purchase,
.hero-visual-v2 .wires:not(.hero-wires-svg) { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .hero-visual.hero-visual-v2 {
    min-height: 480px;
    padding: 12px 4px;
  }
  .hero-visual-v2 .integrations-grid { gap: 18px 20px; }
  .hero-visual-v2 .core { width: 120px; height: 120px; }
  .hero-visual-v2 .chip { padding: 9px 10px; min-height: 52px; gap: 8px; }
  .hero-visual-v2 .chip .chip-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .hero-visual-v2 .chip .chip-icon svg { width: 18px; height: 18px; }
  .hero-visual-v2 .chip .chip-text strong { font-size: 11.5px; }
  .hero-visual-v2 .chip .chip-text small { font-size: 9.5px; }
}
@media (max-width: 480px) {
  .hero-visual-v2 .integrations-grid { gap: 14px 10px; }
  .hero-visual-v2 .core { width: 96px; height: 96px; }
  .hero-visual-v2 .chip { padding: 7px 8px; min-height: 46px; }
  .hero-visual-v2 .chip .chip-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .hero-visual-v2 .chip .chip-text strong { font-size: 10.5px; }
  .hero-visual-v2 .chip .chip-text small { font-size: 9px; }
}

/* ============================================================
   HERO V2 — Brand colors + larger core
   ============================================================ */

/* Chip con estructura más clara */
.hero-visual-v2 .chip {
  background: linear-gradient(135deg, #0f1624 0%, #1a2338 100%) !important;
  border: 1px solid rgba(255,200,66,.18) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.03),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s ease, border-color .25s ease !important;
}
.hero-visual-v2 .chip:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,200,66,.4) !important;
}
.hero-visual-v2 .chip-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.hero-visual-v2 .chip-icon svg {
  width: 24px !important;
  height: 24px !important;
}
.hero-visual-v2 .chip:hover .chip-icon { transform: scale(1.1) rotate(-4deg); }
.hero-visual-v2 .chip-text strong {
  font-size: .95rem !important;
  font-weight: 650;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.hero-visual-v2 .chip-text small {
  font-size: .72rem !important;
  color: rgba(255,255,255,.5);
  display: block;
  margin-top: 2px;
}

/* COLORES DE MARCA por chip */
/* Banco — dorado */
.hero-visual-v2 .chip[data-chip="banco"] .chip-icon { background: linear-gradient(135deg, #ffe4a0, #e89b1a); box-shadow: 0 0 20px rgba(255,180,47,.3); }
.hero-visual-v2 .chip[data-chip="banco"] .chip-icon svg { stroke: #1a0d02; }
.hero-visual-v2 .chip[data-chip="banco"]:hover { border-color: #ffc842 !important; box-shadow: 0 8px 32px rgba(255,180,47,.3), 0 0 0 1px #ffc842 !important; }

/* SAT — rojo mexicano */
.hero-visual-v2 .chip[data-chip="sat"] .chip-icon { background: linear-gradient(135deg, #e74c3c, #a52820); box-shadow: 0 0 20px rgba(231,76,60,.3); }
.hero-visual-v2 .chip[data-chip="sat"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="sat"]:hover { border-color: #e74c3c !important; box-shadow: 0 8px 32px rgba(231,76,60,.3), 0 0 0 1px #e74c3c !important; }

/* ERP — azul SAP */
.hero-visual-v2 .chip[data-chip="erp"] .chip-icon { background: linear-gradient(135deg, #3b82f6, #1e40af); box-shadow: 0 0 20px rgba(59,130,246,.3); }
.hero-visual-v2 .chip[data-chip="erp"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="erp"]:hover { border-color: #3b82f6 !important; box-shadow: 0 8px 32px rgba(59,130,246,.3), 0 0 0 1px #3b82f6 !important; }

/* CRM — naranja Salesforce/HubSpot */
.hero-visual-v2 .chip[data-chip="crm"] .chip-icon { background: linear-gradient(135deg, #ff7a2b, #c13d00); box-shadow: 0 0 20px rgba(255,122,43,.3); }
.hero-visual-v2 .chip[data-chip="crm"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="crm"]:hover { border-color: #ff7a2b !important; box-shadow: 0 8px 32px rgba(255,122,43,.3), 0 0 0 1px #ff7a2b !important; }

/* Excel — verde oficial #217346 */
.hero-visual-v2 .chip[data-chip="excel"] .chip-icon { background: linear-gradient(135deg, #2db858, #167335); box-shadow: 0 0 20px rgba(45,184,88,.3); }
.hero-visual-v2 .chip[data-chip="excel"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="excel"]:hover { border-color: #2db858 !important; box-shadow: 0 8px 32px rgba(45,184,88,.3), 0 0 0 1px #2db858 !important; }

/* Outlook — azul oficial #0078D4 */
.hero-visual-v2 .chip[data-chip="outlook"] .chip-icon { background: linear-gradient(135deg, #2b8ad8, #0056a3); box-shadow: 0 0 20px rgba(43,138,216,.3); }
.hero-visual-v2 .chip[data-chip="outlook"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="outlook"]:hover { border-color: #2b8ad8 !important; box-shadow: 0 8px 32px rgba(43,138,216,.3), 0 0 0 1px #2b8ad8 !important; }

/* WhatsApp — verde oficial #25D366 */
.hero-visual-v2 .chip[data-chip="whatsapp"] .chip-icon { background: linear-gradient(135deg, #25d366, #128c4e); box-shadow: 0 0 20px rgba(37,211,102,.3); }
.hero-visual-v2 .chip[data-chip="whatsapp"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="whatsapp"]:hover { border-color: #25d366 !important; box-shadow: 0 8px 32px rgba(37,211,102,.3), 0 0 0 1px #25d366 !important; }

/* Teams — morado oficial #6264A7 */
.hero-visual-v2 .chip[data-chip="teams"] .chip-icon { background: linear-gradient(135deg, #8689d9, #4b4e9c); box-shadow: 0 0 20px rgba(134,137,217,.3); }
.hero-visual-v2 .chip[data-chip="teams"] .chip-icon svg { stroke: #fff; }
.hero-visual-v2 .chip[data-chip="teams"]:hover { border-color: #8689d9 !important; box-shadow: 0 8px 32px rgba(134,137,217,.3), 0 0 0 1px #8689d9 !important; }

/* Facturama — dorado premium */
.hero-visual-v2 .chip[data-chip="facturama"] .chip-icon { background: linear-gradient(135deg, #ffd98a, #c89830); box-shadow: 0 0 20px rgba(255,200,66,.3); }
.hero-visual-v2 .chip[data-chip="facturama"] .chip-icon svg { stroke: #1a0d02; }
.hero-visual-v2 .chip[data-chip="facturama"]:hover { border-color: #ffc842 !important; box-shadow: 0 8px 32px rgba(255,200,66,.3), 0 0 0 1px #ffc842 !important; }

/* CORE más grande y prominente */
.hero-visual-v2 .core {
  width: 220px !important;
  height: 220px !important;
}
.hero-visual-v2 .core img {
  width: 100% !important;
  height: 100% !important;
  filter: drop-shadow(0 0 20px rgba(255,200,66,.6)) drop-shadow(0 0 40px rgba(255,160,30,.4));
  animation: core-breathe 4s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255,200,66,.6)) drop-shadow(0 0 40px rgba(255,160,30,.4)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(255,200,66,.9)) drop-shadow(0 0 60px rgba(255,160,30,.6)); }
}
@media (max-width: 960px) {
  .hero-visual-v2 .core { width: 160px !important; height: 160px !important; }
}

/* ============================================================
   HERO SOURCES — Brand icons from SimpleIcons CDN
   ============================================================ */
.hero-visual .source {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.hero-visual .source .brand-icon {
  width: 28px !important;
  height: 28px !important;
  padding: 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
  object-fit: contain;
  transition: transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
}
.hero-visual .source:hover .brand-icon {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 24px rgba(255,200,66,.3), 0 0 0 1px rgba(255,200,66,.4);
}
.hero-visual .source strong {
  color: #fff !important;
  font-size: 0.95rem;
}
.hero-visual .source small {
  color: rgba(255,255,255,.55) !important;
  font-size: 0.72rem;
}

/* Sidebar brand icons del dashboard mockup */
.dashboard aside .side-brand {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  opacity: .85;
}

/* ============================================================
   HERO SOURCES — Posición exacta sobre inicio de wires + no clickeable
   ============================================================ */
.hero-visual .source {
  cursor: default !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 8 !important;
}
.hero-visual .generic-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffe4a0 0%, #ffc842 35%, #e89b1a 70%, #8b5a0a 100%);
  box-shadow: 0 4px 16px rgba(255,180,47,.4), inset -2px -4px 8px rgba(0,0,0,.3), inset 2px 3px 6px rgba(255,230,160,.4);
  flex-shrink: 0;
}
.hero-visual .generic-icon svg {
  width: 20px; height: 20px;
  stroke: #1a0d02;
}
.hero-visual .source-0 { top: 4% !important;  left: 14% !important; right: auto !important; bottom: auto !important; }
.hero-visual .source-1 { top: 0% !important;  left: 34% !important; right: auto !important; bottom: auto !important; }
.hero-visual .source-2 { top: 0% !important;  left: 56% !important; right: auto !important; bottom: auto !important; }
.hero-visual .source-3 { top: 16% !important; left: 76% !important; right: auto !important; bottom: auto !important; }
.hero-visual .source-4 { top: 32% !important; left: 80% !important; right: auto !important; bottom: auto !important; }
.hero-visual .source-5 { top: 48% !important; left: 80% !important; right: auto !important; bottom: auto !important; }

/* Dialog: close button siempre accesible */
dialog .dialog-close,
dialog button[aria-label="Cerrar"] {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
dialog::backdrop {
  cursor: pointer;
}

/* ============================================================
   PROBLEM ICONS — Flame-style animation
   ============================================================ */
.pc-flame {
  width: 64px !important;
  height: 64px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(255,200,66,.15), transparent 60%);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255,180,47,.5));
  animation: pc-flame-pulse 2.8s ease-in-out infinite;
}
.pc-flame svg {
  width: 44px; height: 44px;
}
.pc-flame circle, .pc-flame path {
  transition: all .3s ease;
}
@keyframes pc-flame-pulse {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(255,180,47,.5)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 24px rgba(255,180,47,.9)) drop-shadow(0 0 8px rgba(255,255,200,.6)); transform: scale(1.05); }
}
.problem-card:hover .pc-flame {
  animation-duration: 1.2s;
}

/* QUITAR silhouettes golden (JP no le gustaron) */
.golden-silhouettes { display: none !important; }

/* ============================================================
   PROBLEM ILLUSTRATIONS — Cinemáticas, animadas, no círculos
   ============================================================ */
.pc-illust {
  display: block;
  width: 100%;
  max-width: 180px;
  margin: 0 0 18px;
  filter: drop-shadow(0 4px 20px rgba(255,180,47,.25));
}
.pc-illust svg { width: 100%; height: auto; display: block; }

/* Silos: cada silo pulsa + líneas rotas parpadean */
.pc-silos .silo { transform-origin: 50% 100%; animation: silo-pulse 2.4s ease-in-out infinite; }
.pc-silos .s2 { animation-delay: 0.3s; }
.pc-silos .s3 { animation-delay: 0.6s; }
.pc-silos .s4 { animation-delay: 0.9s; }
@keyframes silo-pulse {
  0%, 100% { opacity: .6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.03); }
}
.pc-silos .xmark { animation: xmark-flash 1.8s steps(2, end) infinite; }
@keyframes xmark-flash {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}

/* Hourglass: arena cayendo + partículas */
.pc-hourglass .sand-top { animation: sand-shrink 2.5s linear infinite; transform-origin: 50% 7px; }
.pc-hourglass .sand-bot { animation: sand-grow 2.5s linear infinite; transform-origin: 50% 60px; }
.pc-hourglass .falling { animation: falling-dot 2.5s linear infinite; }
.pc-hourglass .repeat-dot { animation: repeat-blink 1.5s ease-in-out infinite; }
@keyframes sand-shrink { 0% { transform: scaleY(1); opacity: .9; } 100% { transform: scaleY(.2); opacity: .4; } }
@keyframes sand-grow { 0% { transform: scaleY(.2); opacity: .4; } 100% { transform: scaleY(1); opacity: .9; } }
@keyframes falling-dot { 0% { transform: translateY(-8px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes repeat-blink { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }

/* Chart: línea dibujándose + ? parpadeando */
.pc-chart .line-done { stroke-dasharray: 200; stroke-dashoffset: 0; animation: line-draw 3s ease-in-out infinite; }
.pc-chart .line-missing { animation: line-missing-shift 2s linear infinite; }
.pc-chart .miss-mark { animation: miss-flash 1.6s ease-in-out infinite; transform-origin: 96px 10px; }
@keyframes line-draw { 0%, 20% { stroke-dashoffset: 200; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes line-missing-shift { to { stroke-dashoffset: -16; } }
@keyframes miss-flash { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.15); opacity: 1; } }

/* Hover: aceleramos todas las animaciones */
.problem-card:hover .pc-illust { filter: drop-shadow(0 4px 32px rgba(255,180,47,.5)); }
.problem-card:hover .silo,
.problem-card:hover .sand-top,
.problem-card:hover .sand-bot,
.problem-card:hover .falling,
.problem-card:hover .repeat-dot,
.problem-card:hover .xmark,
.problem-card:hover .line-done,
.problem-card:hover .line-missing,
.problem-card:hover .miss-mark { animation-duration: 1s; }

/* Oculta los pc-icon/pc-flame viejos si quedan */
.problem-card .pc-icon.pc-flame { display: none; }

/* Scattered boxes: cajas desconectadas pulsando en distintos tiempos */
.pc-scattered .box { transform-origin: center; animation: box-float 3s ease-in-out infinite; }
.pc-scattered .b1 { animation-delay: 0s; }
.pc-scattered .b2 { animation-delay: 0.3s; }
.pc-scattered .b3 { animation-delay: 0.6s; }
.pc-scattered .b4 { animation-delay: 0.9s; }
.pc-scattered .b5 { animation-delay: 0.4s; }
.pc-scattered .b6 { animation-delay: 0.7s; }
.pc-scattered .b7 { animation-delay: 1s; }
@keyframes box-float {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(-2px); opacity: 1; }
}
.pc-scattered .broken { animation: broken-dash 2s linear infinite; }
@keyframes broken-dash { to { stroke-dashoffset: -14; } }
.problem-card:hover .pc-scattered .box,
.problem-card:hover .pc-scattered .broken { animation-duration: 1s; }

/* Canvas animations para los 3 problem cards */
.pc-anim {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 130px;
  margin: 0 0 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,195,75,.05), rgba(0,0,0,.35));
  border: 1px solid rgba(255,195,75,.18);
  box-shadow: inset 0 0 20px rgba(255,180,47,.06);
}

/* ============================================================
   FLUJO DORADO EN WIRES — hacer visible el movimiento
   ============================================================ */
.hero-visual .wires .wire-line {
  stroke: #ffcc5c !important;
  stroke-width: 2 !important;
  filter: drop-shadow(0 0 6px rgba(255,180,47,.7));
  opacity: .9;
}
.hero-visual .wires .wire-blur {
  stroke: #ffb82f !important;
  stroke-width: 7 !important;
  opacity: .35 !important;
  filter: blur(3px);
}
.hero-visual .wires .wire-packets {
  stroke: #fff4c4 !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-dasharray: 10 32 !important;
  filter: drop-shadow(0 0 8px #ffbe31) drop-shadow(0 0 14px #ff9d00);
  animation: wire-flow 2.2s linear infinite !important;
  opacity: 1 !important;
}
@keyframes wire-flow {
  to { stroke-dashoffset: -210; }
}

/* ============================================================
   PROBLEM CARDS — íconos SVG limpios dorados
   ============================================================ */
.problem-card .pc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,195,75,.18), rgba(255,160,30,.08));
  border: 1px solid rgba(255,195,75,.25);
  box-shadow: 0 0 24px rgba(255,180,47,.15), inset 0 0 12px rgba(255,195,75,.08);
  color: #ffcb63;
  margin: 0 0 18px;
}
.problem-card .pc-ico svg { width: 30px; height: 30px; }

/* ============================================================
   OLAS DORADAS DEL FONDO — restauradas como estaban
   ============================================================ */
body {
  background:
    linear-gradient(180deg, rgba(3,13,22,0.45) 0%, rgba(3,13,22,0.35) 50%, rgba(3,13,22,0.5) 100%),
    url('/media/gold-waves.png') center center / cover no-repeat fixed,
    #030d16 !important;
}

/* ============================================================
   V14-CIERRE REDESIGN — Timeline + Cómo funciona + CTA cierre
   ============================================================ */

/* ---------- TIMELINE MAÑANA (debajo del hero) ---------- */
.timeline-section {
  padding: 48px 0 32px !important;
  background: transparent !important;
}
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.tl-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "icon time" "icon name" "icon desc";
  gap: 2px 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(10,24,38,.92), rgba(5,14,24,.95));
  border: 1px solid rgba(255,195,75,.2);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35), inset 0 0 24px rgba(255,180,47,.05);
  min-height: 92px;
}
.tl-card .tl-icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,195,75,.18), rgba(255,160,30,.06));
  border: 1px solid rgba(255,195,75,.3);
  color: #ffcb63;
  align-self: center;
}
.tl-card .tl-icon svg { width: 22px; height: 22px; }
.tl-card .tl-time {
  grid-area: time;
  font: 500 11px/1 ui-monospace, 'Geist Mono', monospace;
  color: #9ab;
  letter-spacing: .5px;
}
.tl-card strong {
  grid-area: name;
  font: 650 16px/1.2 Inter, sans-serif;
  color: #fff5d9;
}
.tl-card small {
  grid-area: desc;
  font-size: 12.5px;
  color: #b8c7d7;
  margin-top: 2px;
}
.tl-card .tl-ok {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,195,75,.4);
  color: #ffd266;
  font-size: 11px;
}
.tl-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,195,75,.5);
  font-size: 20px;
  padding: 0 2px;
}
.timeline-section:hover .tl-card { border-color: rgba(255,195,75,.35); }

@media (max-width: 960px) {
  .timeline-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tl-arrow { display: none; }
}
@media (max-width: 560px) {
  .timeline-grid { grid-template-columns: 1fr; }
}

/* ---------- CÓMO FUNCIONA · 3 PASOS ---------- */
.how-section { padding: 72px 0 !important; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
  margin-top: 36px;
}
.how-step {
  background: linear-gradient(135deg, rgba(10,24,38,.92), rgba(5,14,24,.95));
  border: 1px solid rgba(255,195,75,.2);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35), inset 0 0 32px rgba(255,180,47,.04);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-step header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc34b, #e89614);
  color: #1a0e03;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 0 16px rgba(255,195,75,.5);
}
.how-step h3 {
  font: 700 24px/1.1 Inter, sans-serif;
  color: #fff5d9;
}
.how-step p {
  color: #c6d2e1;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.how-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.how-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,195,75,.1), rgba(0,0,0,.3));
  border: 1px solid rgba(255,195,75,.25);
  color: #ffcb63;
}
.how-icons svg { width: 22px; height: 22px; }
.how-list {
  list-style: none;
  padding: 14px 16px;
  margin: auto 0 0;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,195,75,.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.how-list li {
  color: #e4ebf2;
  font-size: 14px;
  font-weight: 500;
}
.how-list li::marker { color: #ffcb63; }
.how-approve {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,195,75,.08), rgba(0,0,0,.4));
  border: 1px solid rgba(255,195,75,.3);
  border-radius: 12px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.how-approve small { color: #9ab; font-size: 12px; }
.how-approve strong { color: #ffd266; font-size: 22px; font-weight: 700; }
.how-wait { color: #c6d2e1; font-size: 12px; margin-bottom: 8px; }
.how-approve-btn {
  background: linear-gradient(135deg, #ffc34b, #e89614);
  color: #1a0e03;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: default;
  width: fit-content;
}
.how-arrow {
  display: inline-flex;
  align-items: center;
  color: rgba(255,195,75,.55);
  font-size: 26px;
  padding: 0 4px;
}

@media (max-width: 960px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-arrow { display: none; }
}

/* ---------- CTA CIERRE ---------- */
.cta-close-section {
  padding: 80px 0 !important;
  background: transparent !important;
}
.cta-close {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 44px 48px;
  background:
    linear-gradient(135deg, rgba(20,10,0,.5), rgba(5,14,24,.75)),
    radial-gradient(ellipse at 85% 50%, rgba(255,160,30,.25), transparent 60%);
  border: 1px solid rgba(255,195,75,.25);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 0 40px rgba(255,180,47,.08);
}
.cta-close-copy h2 {
  font: 800 36px/1.1 Inter, sans-serif;
  color: #fff5d9;
  letter-spacing: -1px;
  margin: 0;
}
.cta-close-copy h2 span {
  background: linear-gradient(135deg, #ffd266, #ff9d00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-close-copy p {
  color: #c6d2e1;
  font-size: 16px;
  margin: 14px 0 0;
}
.cta-close-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.cta-close-btn { font-size: 16px; padding: 14px 24px; }

@media (max-width: 820px) {
  .cta-close {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .cta-close-actions { align-items: stretch; }
  .cta-close-copy h2 { font-size: 28px; }
}

/* ============================================================
   QH-CARDS · Qué hace Núcleo (4 cards con mini-tablas reales)
   ============================================================ */
.qh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.qh-card {
  background: linear-gradient(135deg, rgba(10,24,38,.95), rgba(5,14,24,.98));
  border: 1px solid rgba(255,195,75,.2);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 44px rgba(0,0,0,.4), inset 0 0 30px rgba(255,180,47,.03);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.qh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,195,75,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 24px rgba(255,180,47,.15);
}
.qh-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,195,75,.18), rgba(255,160,30,.06));
  border: 1px solid rgba(255,195,75,.3);
  color: #ffcb63;
  flex-shrink: 0;
}
.qh-icon svg { width: 20px; height: 20px; }
.qh-head h3 {
  font: 700 20px/1.1 Inter, sans-serif;
  color: #fff5d9;
  flex: 1;
}
.qh-arrow { color: rgba(255,195,75,.5); font-size: 20px; }
.qh-card > p {
  color: #c6d2e1;
  font-size: 13.5px;
  line-height: 1.5;
  margin: -4px 0 2px;
}
.qh-mini {
  padding: 14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,195,75,.15);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.qh-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #e4ebf2;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,195,75,.1);
}
.qh-link { color: #ffcb63; font-size: 11px; font-weight: 500; }
.qh-mini-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #9ab;
}
.qh-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 600;
}
.qh-badge-ok { background: rgba(100,220,130,.15); color: #85e0a0; border: 1px solid rgba(100,220,130,.3); }
.qh-badge-wait { background: rgba(255,195,75,.15); color: #ffcb63; border: 1px solid rgba(255,195,75,.3); }
.qh-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qh-rows li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c6d2e1;
}
.qh-rows li b { color: #fff5d9; font-weight: 600; }
.qh-rows-oc li { grid-template-columns: auto 1fr auto; gap: 10px; }
.qh-rows-oc li span:first-child { font-family: ui-monospace, monospace; font-size: 11px; color: #9ab; }
.qh-rows-oc li.active b { color: #ffd266; }
.qh-rows-kpi li { grid-template-columns: 1fr auto auto; gap: 10px; }
.qh-spark { color: #85e0a0; font-family: ui-monospace, monospace; letter-spacing: 1px; }
.qh-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a5668; display: inline-block; }
.qh-dot.green { background: #85e0a0; box-shadow: 0 0 8px rgba(133,224,160,.5); }
.qh-dot.amber { background: #ffcb63; box-shadow: 0 0 8px rgba(255,203,99,.5); }
.qh-dot.red { background: #ff6b7a; box-shadow: 0 0 8px rgba(255,107,122,.5); }
.qh-cta {
  color: #ffcb63;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0 2px;
  text-align: center;
  border-top: 1px solid rgba(255,195,75,.15);
  transition: color .2s;
}
.qh-cta:hover { color: #fff5d9; }

@media (max-width: 1100px) {
  .qh-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .qh-grid { grid-template-columns: 1fr; }
}

/* QH BANNER */
.qh-banner {
  margin-top: 32px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(10,24,38,.95), rgba(5,14,24,.98)),
              radial-gradient(ellipse at 85% 50%, rgba(255,160,30,.15), transparent 60%);
  border: 1px solid rgba(255,195,75,.25);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.qh-banner h3 { font: 700 22px/1.2 Inter, sans-serif; color: #fff5d9; margin: 0; }
.qh-banner p { color: #c6d2e1; font-size: 14px; margin: 6px 0 0; }
.qh-banner .btn { flex-shrink: 0; }

@media (max-width: 700px) {
  .qh-banner { flex-direction: column; text-align: center; padding: 24px; align-items: stretch; }
}

/* ---------- HIDE old nucleo-card estilo viejo (ya reemplazadas) ---------- */
.nucleo-section .nucleo-grid,
.nucleo-section .nucleo-footer-note { display: none !important; }
