/* ==========================================================================
   ANALYZER AGENT — Design System
   Powered by ITSense · 2026
   ========================================================================== */

/* -------------------- Tokens -------------------- */
:root {
  /* Brand core */
  --analyzer-yellow: #FFDE1A;
  --analyzer-yellow-dim: #F4CC00;

  /* Module accents (from brand guide) */
  --personas: #FFDE1A;        /* amarillo · zorro */
  --empresas: #1CA0E6;         /* azul · vaca */
  --empresas-dark: #0B5B87;
  --cumplimiento: #42E04B;     /* verde */
  --social: #EC1E79;           /* magenta */
  --income: #FF6B2C;           /* naranja */

  /* Dark surfaces */
  --bg: #0B0E10;
  --bg-2: #12171B;
  --bg-3: #1A2026;
  --bg-4: #222B32;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #F5F6F8;
  --text-dim: #CBD5E1;
  --muted: #94A3B8;
  --faded: #64748B;

  /* Alerts */
  --red: #EF4444;
  --amber: #F59E0B;
  --green: #10B981;

  /* Spacing */
  --s-0: 0;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-yellow: 0 12px 32px rgba(255, 222, 26, 0.28);
  --shadow-blue: 0 12px 32px rgba(28, 160, 230, 0.28);

  /* Typography */
  --f-sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --header-h: 72px;
}

/* -------------------- Reset -------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* -------------------- Utilities -------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 560px) { .container { padding-inline: 20px; } }

.mono { font-family: var(--f-mono); }
.accent-yellow { color: var(--analyzer-yellow); }
.accent-blue { color: var(--empresas); }
.accent-green { color: var(--cumplimiento); }
.accent-magenta { color: var(--social); }
.accent-orange { color: var(--income); }

.stack > * + * { margin-top: var(--gap, 16px); }

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5 { font-family: var(--f-sans); letter-spacing: -0.02em; font-weight: 800; line-height: 1.1; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--muted);
}
.kicker.yellow { color: var(--analyzer-yellow); border-color: rgba(255,222,26,0.3); background: rgba(255,222,26,0.06); }
.kicker.blue { color: var(--empresas); border-color: rgba(28,160,230,0.35); background: rgba(28,160,230,0.06); }
.kicker.green { color: var(--cumplimiento); border-color: rgba(66,224,75,0.35); background: rgba(66,224,75,0.06); }

.eyebrow {
  font-size: 12px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.16em; text-transform: uppercase;
}

.display-1 { font-size: clamp(40px, 7vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.display-2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.display-3 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-dim); line-height: 1.55; }

/* -------------------- Header / Nav -------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.header.scrolled {
  background: rgba(11, 14, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img.brand-logo { height: 56px; width: auto; display: block; transition: transform .25s ease; }
.brand:hover img.brand-logo { transform: scale(1.03); }
@media (max-width: 560px) { .brand img.brand-logo { height: 44px; } }
/* Bull mascot mark + clean wordmark lockup (Analyzer Empresas) */
.brand img.brand-mark { height: 46px; }
.brand-word { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.03em; color: var(--analyzer-blue, #1CA0E6); line-height: 1; margin-left: -2px; }
@media (max-width: 560px) { .brand img.brand-mark { height: 38px; } .brand-word { font-size: 23px; } }
/* Logo lockup: mascota + wordmark de texto (color adaptable a tema → siempre legible) */
.brand { gap: 4px; }
.brand img.brand-mascot { height: 46px; width: auto; display: block; transition: transform .25s ease; }
.brand:hover img.brand-mascot { transform: scale(1.04) rotate(-2deg); }
.brand-word2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -0.035em; line-height: 1; color: var(--text); }
@media (max-width: 560px) { .brand img.brand-mascot { height: 38px; } .brand-word2 { font-size: 22px; } }

/* Logo theme variants: white wordmark on dark bg, dark wordmark on light bg */
.brand img.brand-logo-dark { display: none; }
:root[data-theme="light"] .brand img.brand-logo-light { display: none; }
:root[data-theme="light"] .brand img.brand-logo-dark  { display: block; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 8px 8px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  white-space: nowrap; position: relative;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-links a::after { content:''; position:absolute; left:8px; right:8px; bottom:1px; height:2px; border-radius:2px; background:var(--analyzer-yellow); transform:scaleX(0); transform-origin:left; transition:transform .22s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform:scaleX(1); }
.nav-cta {
  background: var(--analyzer-yellow) !important;
  color: var(--bg) !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-yellow);
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { background: var(--analyzer-yellow) !important; transform: translateY(-1px); }
/* Menú organizado: links a la izquierda, acciones (tema + CTAs) agrupadas a la derecha con divisor */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
@media (max-width: 1240px) {
  .nav-links, .nav-actions { display: contents; }
}

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: transform .25s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg);
    padding: 20px 24px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  body.menu-open .nav { transform: translateY(0); }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }
}

/* -------------------- Sections / Layout -------------------- */
.section { padding: clamp(60px, 10vw, 120px) 0; }
.section-sm { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: var(--s-10); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.55; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--analyzer-yellow); color: var(--bg); box-shadow: var(--shadow-yellow); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(255,222,26,0.42); }
.btn-blue { background: var(--empresas); color: white; box-shadow: var(--shadow-blue); }
.btn-blue:hover { box-shadow: 0 16px 36px rgba(28,160,230,0.42); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); background: var(--bg-3); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* -------------------- Cards -------------------- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
}
.card:hover { border-color: var(--line-strong); }
.card-lg { padding: 32px; border-radius: var(--r-2xl); }

/* -------------------- HERO (home) -------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,222,26,0.12), transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(28,160,230,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-2) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin: 22px 0; }
.hero h1 .block { display: block; }
.hero h1 .accent { color: var(--analyzer-yellow); }
.hero p { max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: grid; grid-template-columns: repeat(4, auto); gap: 24px;
  padding-top: 28px; border-top: 1px solid var(--line);
  max-width: 560px;
}
@media (max-width: 560px) { .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.hero-trust .t-val { font-family: var(--f-mono); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.hero-trust .t-lbl { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* Hero visual: real fox mascot + halo + dots */
.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
@media (max-width: 920px) { .hero-visual { min-height: 400px; } }

.mascot-stage {
  position: relative;
  width: 460px; height: 460px;
  display: grid; place-items: center;
}
@media (max-width: 920px) { .mascot-stage { width: 340px; height: 340px; } }

.mascot-halo {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255,222,26,0.22), transparent 60%);
  animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

.mascot-ring {
  position: absolute; inset: 20px;
  border: 1px dashed rgba(255,222,26,0.25);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}
.mascot-ring.inner {
  inset: 60px;
  border-style: solid;
  border-color: rgba(28,160,230,0.18);
  animation-duration: 28s;
  animation-direction: reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.mascot-img {
  position: relative; z-index: 2;
  width: 82%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(255,222,26,0.28));
  animation: float-mascot 5s ease-in-out infinite;
}
@keyframes float-mascot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.orb-dot {
  position: absolute; z-index: 3;
  padding: 8px 14px;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.orb-dot::before { content: '●'; margin-right: 6px; }
.orb-dot.d1 { top: 8%; right: -4%; color: var(--empresas); animation-delay: 0s; }
.orb-dot.d2 { top: 46%; right: -10%; color: var(--cumplimiento); animation-delay: 1s; }
.orb-dot.d3 { bottom: 10%; left: -2%; color: var(--social); animation-delay: 2s; }
.orb-dot.d4 { top: 30%; left: -8%; color: var(--income); animation-delay: 1.5s; }
@media (max-width: 920px) {
  .orb-dot.d1 { right: 0; }
  .orb-dot.d2 { right: -4%; }
  .orb-dot.d3 { left: 4%; }
  .orb-dot.d4 { left: 0; }
}

.floating-card {
  position: absolute; padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.floating-card .f-val { font-family: var(--f-mono); font-size: 20px; font-weight: 700; }
.floating-card .f-lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.fc-1 { top: 10%; right: -10%; animation-delay: 0s; }
.fc-1 .f-val { color: var(--empresas); }
.fc-2 { bottom: 10%; left: -12%; animation-delay: 1.2s; }
.fc-2 .f-val { color: var(--cumplimiento); }
@media (max-width: 920px) {
  .fc-1 { right: 0; } .fc-2 { left: 0; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* -------------------- Problem section -------------------- */
.problem-card {
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 760px) { .problem-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; } }
.problem-list { display: grid; gap: 16px; }
.problem-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.problem-item .x { width: 24px; height: 24px; border-radius: 50%; background: rgba(239,68,68,0.15); color: var(--red); display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.problem-item p { font-size: 15px; color: var(--text-dim); }

/* -------------------- Agent strip -------------------- */
.agent-strip {
  background: linear-gradient(135deg, rgba(255,222,26,0.06), rgba(28,160,230,0.06));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.agent-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,222,26,0.15), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(28,160,230,0.12), transparent 40%);
  pointer-events: none;
}
.agent-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
@media (max-width: 860px) { .agent-strip-grid { grid-template-columns: 1fr; } }
.agent-strip h2 { margin: 16px 0 16px; }
.agent-strip p { color: var(--text-dim); font-size: 17px; line-height: 1.55; margin-bottom: 24px; }
.agent-steps { display: grid; gap: 10px; }
.agent-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; }
.agent-step .check { width: 22px; height: 22px; border-radius: 50%; background: var(--cumplimiento); color: var(--bg); display: grid; place-items: center; font-weight: 900; font-size: 12px; flex-shrink: 0; }

/* -------------------- Modules grid -------------------- */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .modules { grid-template-columns: 1fr; } }
.module {
  position: relative;
  padding: 32px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.module::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
.module > * { position: relative; z-index: 1; }
.module-personas::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,222,26,0.18), transparent 65%); z-index: 0;
}
.module-empresas::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(28,160,230,0.18), transparent 65%); z-index: 0;
}
.module-cumplimiento::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(66,224,75,0.18), transparent 65%); z-index: 0;
}
.module-enterprise::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(28,160,230,0.12), transparent 65%); z-index: 0;
}

.module-mascot {
  width: 88px; height: 88px; border-radius: 22px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.module-mascot img { width: 78%; height: auto; position: relative; z-index: 2; }
.module-mascot.icon { font-size: 42px; }
.module-personas .module-mascot {
  background: linear-gradient(135deg, var(--analyzer-yellow) 0%, var(--analyzer-yellow-dim) 100%);
  box-shadow: var(--shadow-yellow);
}
.module-empresas .module-mascot {
  background: linear-gradient(135deg, var(--empresas) 0%, var(--empresas-dark) 100%);
  box-shadow: var(--shadow-blue);
}
.module-cumplimiento .module-mascot {
  background: linear-gradient(135deg, var(--cumplimiento) 0%, #22a028 100%);
  color: var(--bg);
  box-shadow: 0 12px 32px rgba(66,224,75,0.28);
}
.module-enterprise .module-mascot {
  background: linear-gradient(135deg, var(--empresas-dark) 0%, #083b58 100%);
  color: white;
}

.module-tag { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.module h3 { font-size: 26px; margin: 6px 0 12px; }
.module p { color: var(--text-dim); font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.module-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.module-features span {
  font-size: 12px; font-weight: 600; padding: 5px 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text-dim);
}
.module-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
}
.module-personas .module-link { color: var(--analyzer-yellow); }
.module-empresas .module-link { color: var(--empresas); }
.module-cumplimiento .module-link { color: var(--cumplimiento); }
.module-enterprise .module-link { color: var(--empresas); }
.module-link svg { transition: transform .2s; }
.module:hover .module-link svg { transform: translateX(4px); }

/* -------------------- Capabilities strip -------------------- */
.caps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 980px) { .caps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: repeat(2, 1fr); } }
.cap {
  padding: 20px; text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.cap:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.cap-icon { font-size: 28px; margin-bottom: 12px; }
.cap-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cap-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* -------------------- Case spotlight -------------------- */
.case {
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 0;
  overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
.case-copy { padding: 48px; }
@media (max-width: 560px) { .case-copy { padding: 32px; } }
.case-copy h2 { margin: 14px 0 18px; }
.case-copy p { color: var(--text-dim); line-height: 1.6; margin-bottom: 14px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.case-metric { padding: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.case-metric .m-val { font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--red); }
.case-metric .m-lbl { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.case-preview {
  background: var(--bg-3);
  padding: 32px;
  display: grid; place-items: center;
  position: relative; border-left: 1px solid var(--line);
}
@media (max-width: 860px) { .case-preview { border-left: 0; border-top: 1px solid var(--line); } }
.case-gauge {
  width: 240px; height: 240px; border-radius: 50%;
  background: conic-gradient(from 180deg,
    var(--red) 0deg, var(--red) 30deg,
    var(--amber) 30deg, var(--amber) 60deg,
    var(--green) 60deg, var(--green) 180deg,
    transparent 180deg, transparent 360deg);
  position: relative;
  display: grid; place-items: center;
}
.case-gauge::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  background: var(--bg-3);
}
.case-gauge-val { position: relative; text-align: center; }
.case-gauge-val .n { font-family: var(--f-mono); font-size: 54px; font-weight: 700; color: var(--red); line-height: 1; }
.case-gauge-val .t { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; font-weight: 700; }

/* -------------------- Segments (use cases) -------------------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .segments { grid-template-columns: 1fr; } }
.segment {
  padding: 24px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.segment:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.segment-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--bg-3); display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
}
.segment h4 { font-size: 17px; margin-bottom: 6px; }
.segment p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* -------------------- Ecosystem -------------------- */
.ecosystem {
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  text-align: center;
}
@media (max-width: 560px) { .ecosystem { padding: 32px 24px; } }
.eco-logos {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px;
}
.eco-node {
  padding: 14px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-full);
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.eco-dot { width: 8px; height: 8px; border-radius: 50%; }
.eco-dot.itu { background: var(--analyzer-yellow); }
.eco-dot.itc { background: var(--analyzer-yellow); }
.eco-dot.msx { background: var(--empresas); }
.eco-dot.plx { background: var(--social); }

/* -------------------- CTA band -------------------- */
.cta-band {
  padding: 64px 48px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,222,26,0.14), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(28,160,230,0.12), transparent 55%),
    linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  text-align: center;
}
@media (max-width: 560px) { .cta-band { padding: 40px 24px; } }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--text-dim); max-width: 580px; margin: 0 auto 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------- Footer -------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 24px;
  background: var(--bg-2);
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 14px 0; max-width: 300px; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--faded);
}

/* -------------------- Reveal on scroll (no-JS safe) -------------------- */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
/* Only hide until in-view when JS is active. Avoids 2000px of black space. */
html.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: translateY(0); }

/* -------------------- Subtle grain overlay (optional) -------------------- */
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>");
  opacity: .6; mix-blend-mode: overlay;
}

/* -------------------- Open Data section -------------------- */
.opendata {
  padding: 56px 48px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,222,26,0.10), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(28,160,230,0.08), transparent 40%),
    linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
}
@media (max-width: 560px) { .opendata { padding: 36px 24px; } }

.opendata-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
@media (max-width: 860px) { .opendata-head { grid-template-columns: 1fr; } }

.opendata-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 560px) { .opendata-counters { grid-template-columns: repeat(2, 1fr); } }
.od-counter {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.od-counter .v { font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--analyzer-yellow); letter-spacing: -0.02em; }
.od-counter .l { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .sources-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sources-grid { grid-template-columns: 1fr; } }

.source-group {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.source-group:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.source-group.sg-accent {
  border-color: rgba(255,222,26,0.35);
  background: linear-gradient(180deg, rgba(255,222,26,0.06), var(--bg));
}
.source-group.sg-pila {
  border-color: rgba(255,222,26,0.5);
  background: linear-gradient(180deg, rgba(255,222,26,0.12), var(--bg));
  position: relative;
}
.source-group.sg-pila::after {
  content: 'ÚNICO EN ANALYZER';
  position: absolute; top: 10px; right: 10px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.12em;
  padding: 4px 8px;
  background: var(--analyzer-yellow); color: var(--bg); border-radius: var(--r-full);
}

.source-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.source-group-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-3);
  display: grid; place-items: center;
  font-size: 18px;
}
.source-group.sg-pila .source-group-icon { background: rgba(255,222,26,0.2); }
.source-group-title { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.source-group-count { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.source-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.source-tag {
  font-size: 11px; font-weight: 600;
  padding: 5px 9px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text-dim);
}
.source-tag.plus {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
}

.opendata-quote {
  margin-top: 32px; padding: 20px 24px;
  background: rgba(255,222,26,0.06);
  border-left: 3px solid var(--analyzer-yellow);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 15px; line-height: 1.6; color: var(--text-dim);
}
.opendata-quote strong { color: var(--analyzer-yellow); }

/* -------------------- BAIT Score section -------------------- */
.bait {
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
}
.bait::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(28,160,230,0.12), transparent 60%);
  pointer-events: none;
}
.bait-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 860px) { .bait-grid { grid-template-columns: 1fr; } }
.bait h2 { margin: 14px 0 16px; }
.bait .lead { margin-bottom: 26px; }
.bait-ranges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
.bait-range {
  padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; align-items: center; gap: 12px;
}
.bait-range .r-dot { width: 10px; height: 10px; border-radius: 50%; }
.bait-range.r-top .r-dot { background: var(--green); }
.bait-range.r-ok .r-dot { background: #65D1A1; }
.bait-range.r-mid .r-dot { background: var(--amber); }
.bait-range.r-low .r-dot { background: var(--red); }
.bait-range .r-label { font-family: var(--f-mono); font-weight: 700; font-size: 14px; }
.bait-range .r-desc { font-size: 12px; color: var(--muted); margin-left: auto; }

.bait-gauge-wrap {
  display: grid; place-items: center; position: relative;
  padding: 24px;
}
.bait-gauge-big {
  position: relative;
  width: 320px; height: 320px;
}
.bait-gauge-big svg { width: 100%; height: 100%; display: block; }
.bait-gauge-center {
  position: absolute; top: 56%; left: 50%; transform: translate(-50%, -50%);
  text-align: center;
}
.bait-gauge-val { font-family: var(--f-mono); font-weight: 700; font-size: 68px; line-height: 1; letter-spacing: -0.03em; color: var(--red); }
.bait-gauge-total { color: var(--muted); font-size: 20px; margin-left: 2px; }
.bait-gauge-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 8px; }
.bait-case-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-top: 10px;
  padding: 5px 10px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: var(--r-full);
}

/* -------------------- PILA section -------------------- */
.pila {
  padding: 56px 48px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,222,26,0.10), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(66,224,75,0.08), transparent 50%),
    linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
@media (max-width: 560px) { .pila { padding: 36px 24px; } }
.pila-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
@media (max-width: 760px) { .pila-head { grid-template-columns: 1fr; } }
.pila-badge {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 10px 18px;
  background: var(--bg); border: 1px solid var(--analyzer-yellow); border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--analyzer-yellow);
}
.pila-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pila-cases { grid-template-columns: 1fr; } }
.pila-case {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.pila-case .p-num {
  font-family: var(--f-mono); font-size: 28px; font-weight: 700;
  color: var(--analyzer-yellow); letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pila-case h4 { font-size: 16px; margin-bottom: 8px; }
.pila-case p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* -------------------- Industries matrix (Compliance Agent) -------------------- */
.industries-wrap {
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
@media (max-width: 560px) { .industries-wrap { padding: 32px 24px; } }
.industries-head {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 28px;
}
@media (max-width: 760px) { .industries-head { grid-template-columns: 1fr; } }
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 860px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: repeat(2, 1fr); } }

.industry {
  padding: 20px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.industry::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--analyzer-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.industry:hover { border-color: rgba(255,222,26,0.4); transform: translateY(-3px); }
.industry:hover::before { transform: scaleX(1); }
.industry-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.industry-name { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.industry-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* -------------------- Comparison section -------------------- */
.compare-wrap {
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
}
@media (max-width: 560px) { .compare-wrap { padding: 32px 24px; } }
.compare-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent;
  text-align: center;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.highlight { color: var(--analyzer-yellow); font-size: 13px; letter-spacing: 0.06em; }
.compare-table td { color: var(--text-dim); }
.compare-table td.cap-name { color: var(--text); font-weight: 600; }
.compare-table td.c-yes { color: var(--green); text-align: center; font-size: 18px; font-weight: 800; }
.compare-table td.c-no { color: var(--faded); text-align: center; font-size: 18px; }
.compare-table tbody tr.analyzer-col {
  background: linear-gradient(90deg, transparent, rgba(255,222,26,0.04), transparent);
}
.compare-table td.analyzer-cell {
  background: rgba(255,222,26,0.06);
  text-align: center; font-size: 18px; font-weight: 800; color: var(--green);
  border-left: 1px solid rgba(255,222,26,0.12);
  border-right: 1px solid rgba(255,222,26,0.12);
}
.compare-table tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr { margin-bottom: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; }
  .compare-table td { padding: 8px 12px; border-bottom: 0; text-align: left !important; display: flex; justify-content: space-between; }
  .compare-table td.cap-name { font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
  .compare-table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  .compare-table td.analyzer-cell { background: transparent; border: 0; }
}

/* ==========================================================================
   V2 — Home simplificado: 4 secciones
   ========================================================================== */

/* -------------------- HERO V2 (full-screen, edge-to-edge, asymmetric) -------------------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 72px 80px;
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 1100px) { .hero-v2 { padding: calc(var(--header-h) + 40px) 40px 60px; grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-bottom: 80px; } }
@media (max-width: 560px) { .hero-v2 { padding: calc(var(--header-h) + 24px) 20px 60px; } }

.hero-v2::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,222,26,0.16), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(28,160,230,0.16), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-2) 100%);
}
.hero-v2::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-v2 > * { position: relative; z-index: 1; }

.hero-v2-copy {
  max-width: 720px;
}
.hero-v2 .kicker {
  margin-bottom: 28px;
}
.hero-v2-title {
  font-family: var(--f-sans);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 32px;
}
.hero-v2-title .line { display: block; }
.hero-v2-title .hl {
  background: linear-gradient(90deg, var(--analyzer-yellow), #FFE94A 50%, var(--analyzer-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-v2-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-v2-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-v2-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
@media (max-width: 720px) { .hero-v2-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.hero-v2-stat .sv {
  font-family: var(--f-mono);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-v2-stat .sl {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Right side: visual stack */
.hero-v2-visual {
  position: relative;
  height: 100%;
  min-height: 560px;
  display: grid;
  place-items: center;
}
@media (max-width: 1100px) { .hero-v2-visual { min-height: 420px; } }

.hv-fox {
  position: relative;
  width: min(520px, 90%);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.hv-fox-halo {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255,222,26,0.28), transparent 60%);
  animation: halo-pulse 4s ease-in-out infinite;
  border-radius: 50%;
}
.hv-fox-ring {
  position: absolute; inset: 16px;
  border: 1px dashed rgba(255,222,26,0.3);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}
.hv-fox-ring.in2 { inset: 52px; border-style: solid; border-color: rgba(28,160,230,0.25); animation-duration: 28s; animation-direction: reverse; }
.hv-fox-img {
  position: relative; z-index: 2;
  width: 78%; height: auto;
  filter: drop-shadow(0 40px 80px rgba(255,222,26,0.3));
  animation: float-mascot 5s ease-in-out infinite;
}
.hv-badge {
  position: absolute; z-index: 3;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.hv-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hv-badge.b1 { top: 6%; right: -2%; color: var(--empresas); animation-delay: 0s; }
.hv-badge.b2 { top: 32%; right: -8%; color: var(--cumplimiento); animation-delay: 1s; }
.hv-badge.b3 { bottom: 24%; left: -6%; color: var(--social); animation-delay: 2s; }
.hv-badge.b4 { bottom: 4%; right: 4%; color: var(--income); animation-delay: 1.5s; }
@media (max-width: 560px) {
  .hv-badge.b1, .hv-badge.b2 { right: 0; }
  .hv-badge.b3, .hv-badge.b4 { left: 0; right: auto; }
}

/* -------------------- LOGOS STRIP -------------------- */
.logos-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.logos-strip-head {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 920px) { .logos-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos-row { grid-template-columns: repeat(2, 1fr); } }
.logo-pill {
  padding: 18px 10px;
  text-align: center;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--faded);
  transition: color .25s ease, transform .25s ease;
  border-radius: var(--r-md);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-pill:hover { color: var(--text); transform: translateY(-2px); }

/* -------------------- SERVICES V2 (integrated ecosystem showcase) -------------------- */
.services-v2 { padding: 96px 0; }
@media (max-width: 560px) { .services-v2 { padding: 64px 0; } }
.services-v2-head { max-width: 860px; margin-bottom: 56px; }
.services-v2-head h2 { margin: 14px 0 18px; }
.services-v2-head p { color: var(--muted); font-size: 17px; line-height: 1.55; }

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

/* Service layout sizes: featured 3 cols, rest 3 cols of 2 */
.service-card.feat { grid-column: span 3; }
.service-card.half { grid-column: span 3; }
.service-card.third { grid-column: span 2; }
@media (max-width: 900px) {
  .service-card.feat, .service-card.half, .service-card.third { grid-column: span 2; }
}
@media (max-width: 560px) {
  .service-card.feat, .service-card.half, .service-card.third { grid-column: span 1; }
}

.service-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: grid; place-items: center;
}
.service-visual.v-empresas { background: radial-gradient(circle at 30% 40%, rgba(28,160,230,0.25), transparent 60%), linear-gradient(135deg, #0F2B40 0%, #0A1A24 100%); }
.service-visual.v-kyc { background: radial-gradient(circle at 30% 40%, rgba(255,222,26,0.22), transparent 60%), linear-gradient(135deg, #3A2A00 0%, #1A1500 100%); }
.service-visual.v-whatsapp { background: radial-gradient(circle at 30% 40%, rgba(66,224,75,0.22), transparent 60%), linear-gradient(135deg, #0D3D2E 0%, #061F17 100%); }
.service-visual.v-bio { background: radial-gradient(circle at 30% 40%, rgba(147,51,234,0.25), transparent 60%), linear-gradient(135deg, #2A0E45 0%, #130622 100%); }
.service-visual.v-firma { background: radial-gradient(circle at 30% 40%, rgba(255,107,44,0.22), transparent 60%), linear-gradient(135deg, #3A2512 0%, #1A1108 100%); }
.service-visual.v-agent { background: radial-gradient(circle at 30% 40%, rgba(255,222,26,0.22), transparent 60%), linear-gradient(135deg, #332500 0%, #1A1200 100%); }

/* Mascot + mockup split layout */
.service-split {
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: center;
  padding: 0 20px;
}
.service-split.center { grid-template-columns: 1fr; place-items: center; }
.service-mascot {
  position: relative;
  height: 90%;
  display: grid;
  place-items: end center;
}
.service-mascot img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
  animation: float-mascot 5s ease-in-out infinite;
}
.service-mockup { width: 100%; display: grid; place-items: center; }
@media (max-width: 560px) {
  .service-split { grid-template-columns: 1fr; padding: 10px; }
  .service-mascot { height: 140px; }
}

.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 22px; margin: 12px 0 10px; letter-spacing: -0.02em; }
.service-body p { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin-bottom: 16px; }
.service-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; margin-bottom: 18px; }
.service-features span {
  font-size: 11px; font-weight: 600; padding: 5px 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text-dim);
}
.service-link {
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-link svg { transition: transform .2s; }
.service-card:hover .service-link svg { transform: translateX(4px); }
.service-card.feat .service-link { color: var(--empresas); }
.service-card.half.kyc .service-link { color: var(--analyzer-yellow); }
.service-card.half.whatsapp .service-link { color: var(--cumplimiento); }
.service-card.third.bio .service-link { color: var(--social); }
.service-card.third.firma .service-link { color: var(--income); }

.service-tag {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--r-full);
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
}
.service-tag.t-empresas { color: var(--empresas); border-color: rgba(28,160,230,0.35); }
.service-tag.t-kyc { color: var(--analyzer-yellow); border-color: rgba(255,222,26,0.35); }
.service-tag.t-whatsapp { color: var(--cumplimiento); border-color: rgba(66,224,75,0.35); }
.service-tag.t-bio { color: var(--social); border-color: rgba(236,30,121,0.35); }
.service-tag.t-firma { color: var(--income); border-color: rgba(255,107,44,0.35); }

/* ---- Visual mockups per service ---- */

/* Empresas: BAIT gauge + mini bars */
.mock-empresas {
  position: relative;
  width: 82%; height: 82%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
  padding: 16px;
}
.mock-gauge { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.mock-gauge svg { width: 100%; height: 100%; }
.mock-gauge-label {
  position: absolute; text-align: center;
  top: 55%; left: 50%; transform: translate(-50%, -50%);
}
.mock-gauge-label .n { font-family: var(--f-mono); font-size: 34px; font-weight: 700; color: var(--red); }
.mock-gauge-label .t { font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.mock-bars { display: flex; flex-direction: column; gap: 8px; }
.mock-bar { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.mock-bar .lbl { width: 70px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 9px; }
.mock-bar .track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.mock-bar .fill { height: 100%; border-radius: 3px; }
.mock-bar.r1 .fill { width: 27%; background: var(--red); }
.mock-bar.r2 .fill { width: 21%; background: var(--red); }
.mock-bar.r3 .fill { width: 15%; background: var(--red); }
.mock-bar.r4 .fill { width: 47%; background: var(--amber); }
.mock-bar.r5 .fill { width: 15%; background: var(--red); }

/* KYC: identity card */
.mock-kyc {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  color: #0B0E10;
  width: 78%;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,222,26,0.3);
  position: relative;
}
.mock-kyc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-kyc-brand { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: #666; text-transform: uppercase; }
.mock-kyc-status { font-size: 9px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: #10B981; color: white; letter-spacing: 0.1em; }
.mock-kyc-grid { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; }
.mock-kyc-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #FFDE1A, #F4CC00); display: grid; place-items: center; font-size: 24px; }
.mock-kyc-info .name { font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.mock-kyc-info .id { font-family: var(--f-mono); font-size: 11px; color: #666; margin-top: 2px; }
.mock-kyc-rows { margin-top: 14px; display: grid; gap: 6px; font-size: 10px; }
.mock-kyc-row { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid #eee; }
.mock-kyc-row .k { color: #888; }
.mock-kyc-row .v { font-weight: 700; color: #0B0E10; }
.mock-kyc-row .v.ok { color: #10B981; }

/* WhatsApp mock */
.mock-wsp {
  background: #075E54;
  background-image: linear-gradient(180deg, #075E54 0%, #128C7E 100%);
  width: 76%;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}
.mock-wsp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mock-wsp-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--analyzer-yellow); display: grid; place-items: center; font-size: 16px; }
.mock-wsp-title { color: white; font-size: 12px; font-weight: 700; }
.mock-wsp-sub { color: rgba(255,255,255,0.6); font-size: 9px; }
.mock-wsp-chat { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.wsp-msg { padding: 8px 12px; border-radius: 12px; font-size: 12px; max-width: 85%; }
.wsp-msg.in { background: rgba(255,255,255,0.95); color: #0B0E10; border-bottom-left-radius: 4px; align-self: flex-start; }
.wsp-msg.out { background: #DCF8C6; color: #0B0E10; border-bottom-right-radius: 4px; align-self: flex-end; }
.wsp-msg .t { display: block; font-size: 8px; color: #666; margin-top: 3px; text-align: right; }
.wsp-check { font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 4px; background: rgba(16,185,129,0.15); color: #10B981; display: inline-block; margin-top: 4px; }

/* Biometría mock */
.mock-bio {
  width: 72%;
  aspect-ratio: 1;
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(236,30,121,0.25), transparent 60%),
    linear-gradient(135deg, #1a0a1e, #0a0510);
  overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid rgba(236,30,121,0.3);
}
.mock-bio-face {
  width: 60%; aspect-ratio: 3/4;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, #2a1228 0%, #1a0818 100%);
  position: relative;
  display: grid; place-items: center;
}
.mock-bio-face::before {
  content: ''; position: absolute; width: 60%; height: 80%;
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.15), transparent 25%),
    radial-gradient(circle at 70% 35%, rgba(255,255,255,0.15), transparent 25%);
}
.mock-bio-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236,30,121,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,30,121,0.25) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}
.mock-bio-scan {
  position: absolute; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--social), transparent);
  top: 50%;
  box-shadow: 0 0 20px var(--social);
  animation: scan-move 2.5s ease-in-out infinite;
}
@keyframes scan-move { 0%, 100% { top: 20%; } 50% { top: 80%; } }
.mock-bio-dots { position: absolute; inset: 0; pointer-events: none; }
.mock-bio-dots span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--social); box-shadow: 0 0 8px var(--social); }
.mock-bio-dots span:nth-child(1) { top: 32%; left: 35%; }
.mock-bio-dots span:nth-child(2) { top: 32%; right: 35%; }
.mock-bio-dots span:nth-child(3) { top: 50%; left: 50%; transform: translateX(-50%); }
.mock-bio-dots span:nth-child(4) { top: 62%; left: 40%; }
.mock-bio-dots span:nth-child(5) { top: 62%; right: 40%; }
.mock-bio-check {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(16,185,129,0.15); color: #10B981;
  border: 1px solid rgba(16,185,129,0.4);
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}

/* Firma digital mock */
.mock-firma {
  width: 72%;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
  transform: rotate(-3deg);
}
.mock-firma-lines { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; }
.mock-firma-line { height: 5px; background: #e0e0e0; border-radius: 2px; }
.mock-firma-line.short { width: 60%; }
.mock-firma-line.medium { width: 85%; }
.mock-firma-head { height: 10px; background: #0B0E10; width: 50%; border-radius: 2px; margin-bottom: 12px; }
.mock-firma-sig {
  margin-top: 24px; padding: 14px 12px;
  border-top: 2px dashed #bbb;
  position: relative;
}
.mock-firma-sig svg { width: 100%; height: 50px; }
.mock-firma-sig-path { stroke: var(--income); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mock-firma-seal {
  position: absolute; bottom: 20px; right: 16px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,0.9), rgba(255,107,44,0.6));
  display: grid; place-items: center;
  color: white; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.3);
  transform: rotate(12deg);
  box-shadow: 0 8px 16px rgba(255,107,44,0.4);
}
.mock-firma-seal span { display: block; }

/* -------------------- ECOSYSTEM FLOW (Section 4) -------------------- */
.eco-flow {
  padding: 80px 72px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,222,26,0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
@media (max-width: 760px) { .eco-flow { padding: 60px 24px; } }
.eco-flow-inner { max-width: 1200px; margin: 0 auto; }
.eco-flow-head { text-align: center; margin-bottom: 56px; }
.eco-flow-head h2 { margin: 14px auto 18px; max-width: 800px; }
.eco-flow-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.55; }

.eco-layers {
  display: grid;
  gap: 20px;
}
.eco-layer {
  padding: 24px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
}
@media (max-width: 760px) { .eco-layer { grid-template-columns: 1fr; padding: 20px; } }
.eco-layer-num {
  font-family: var(--f-mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 8px;
}
.eco-layer-num .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eco-layer h4 { font-size: 20px; margin-bottom: 6px; }
.eco-layer p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.eco-layer .layer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.eco-layer .layer-tags span { font-size: 11px; padding: 4px 9px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-full); color: var(--text-dim); }

.eco-layer.l1 { border-left: 3px solid var(--analyzer-yellow); }
.eco-layer.l1 .eco-layer-num { color: var(--analyzer-yellow); }
.eco-layer.l2 { border-left: 3px solid var(--empresas); }
.eco-layer.l2 .eco-layer-num { color: var(--empresas); }
.eco-layer.l3 { border-left: 3px solid var(--cumplimiento); }
.eco-layer.l3 .eco-layer-num { color: var(--cumplimiento); }
.eco-layer.l4 { border-left: 3px solid var(--income); }
.eco-layer.l4 .eco-layer-num { color: var(--income); }

.eco-cta {
  margin-top: 60px;
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--r-2xl);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,222,26,0.15), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(28,160,230,0.12), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.eco-cta h3 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; margin-bottom: 16px; }
.eco-cta p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; line-height: 1.55; }
.eco-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   V3 — 3 canales + developers
   ========================================================================== */

/* ----- Hero V3 (3-channel diagram) ----- */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 72px 72px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 1100px) { .hero-v3 { padding: calc(var(--header-h) + 40px) 40px 60px; grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-bottom: 80px; } }
@media (max-width: 560px) { .hero-v3 { padding: calc(var(--header-h) + 24px) 20px 60px; } }

.hero-v3::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,222,26,0.16), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(28,160,230,0.14), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-2) 100%);
}
.hero-v3::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-v3 > * { position: relative; z-index: 1; }

/* 3-channel flow diagram (animated) */
.flow-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
}
@media (max-width: 1100px) { .flow-diagram { aspect-ratio: auto; min-height: 420px; } }

.flow-channels {
  display: flex; flex-direction: column; gap: 24px;
}
.flow-channel {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 700;
  min-width: 160px;
  transition: transform .3s;
}
.flow-channel:hover { transform: translateX(4px); }
.flow-channel-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 20px;
}
.flow-channel.web .flow-channel-icon { background: rgba(255,255,255,0.06); color: var(--text); }
.flow-channel.whatsapp .flow-channel-icon { background: #25D366; color: white; }
.flow-channel.dev .flow-channel-icon { background: var(--analyzer-yellow); color: var(--bg); font-family: var(--f-mono); }
.flow-channel-label { display: flex; flex-direction: column; gap: 2px; }
.flow-channel-label .n { font-size: 13px; }
.flow-channel-label .s { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.flow-hub {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}
.flow-hub-core {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,222,26,0.25), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(28,160,230,0.22), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.flow-hub-core::before,
.flow-hub-core::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px dashed rgba(255,222,26,0.25);
  animation: spin-slow 50s linear infinite;
}
.flow-hub-core::after { inset: -36px; border-color: rgba(28,160,230,0.22); animation-direction: reverse; animation-duration: 38s; }

.flow-hub-mascots {
  position: relative;
  width: 100%; height: 100%;
}
.flow-hub-mascots img {
  position: absolute;
  width: 46%; height: auto;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3));
}

.flow-services {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flow-service {
  position: absolute;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  animation: float 5s ease-in-out infinite;
}
.flow-service::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.flow-service.s1 { top: 4%; left: 50%; transform: translateX(-50%); color: var(--empresas); animation-delay: 0s; }
.flow-service.s2 { top: 30%; right: -6%; color: var(--cumplimiento); animation-delay: .8s; }
.flow-service.s3 { bottom: 30%; right: -8%; color: var(--social); animation-delay: 1.6s; }
.flow-service.s4 { bottom: 4%; left: 50%; transform: translateX(-50%); color: var(--income); animation-delay: 2.4s; }
.flow-service.s5 { top: 30%; left: -6%; color: var(--analyzer-yellow); animation-delay: 1.2s; }

/* Data packets traveling along the flow */
.flow-packet {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 16px currentColor;
}
.flow-packet.p1 { top: 20%; left: 25%; background: var(--text); color: var(--text); animation: packet-in-1 3.5s linear infinite; }
.flow-packet.p2 { top: 50%; left: 25%; background: #25D366; color: #25D366; animation: packet-in-2 3.5s linear infinite .8s; }
.flow-packet.p3 { top: 80%; left: 25%; background: var(--analyzer-yellow); color: var(--analyzer-yellow); animation: packet-in-3 3.5s linear infinite 1.6s; }
@keyframes packet-in-1 { 0% { left: 18%; opacity: 0; } 15% { opacity: 1; } 50% { left: 50%; top: 40%; opacity: 1; } 85% { opacity: 1; } 100% { left: 85%; top: 50%; opacity: 0; } }
@keyframes packet-in-2 { 0% { left: 18%; opacity: 0; } 15% { opacity: 1; } 50% { left: 50%; opacity: 1; } 100% { left: 85%; opacity: 0; } }
@keyframes packet-in-3 { 0% { left: 18%; opacity: 0; } 15% { opacity: 1; } 50% { left: 50%; top: 60%; opacity: 1; } 100% { left: 85%; top: 50%; opacity: 0; } }

.flow-output {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}
.flow-output-icon {
  font-size: 28px; margin-bottom: 8px;
}
.flow-output-label .n { font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.flow-output-label .s { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

/* ----- Section: 3 Channels ----- */
.channels-section { padding: 96px 0; }
@media (max-width: 560px) { .channels-section { padding: 64px 0; } }
.channels-head { max-width: 860px; margin-bottom: 48px; }
.channels-head h2 { margin: 14px 0 16px; }
.channels-head p { color: var(--muted); font-size: 17px; line-height: 1.55; }

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .channels-grid { grid-template-columns: 1fr; } }

.channel-card {
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
  background: var(--bg-2);
}
.channel-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.channel-visual {
  aspect-ratio: 16/11;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.channel-visual.v-web { background: linear-gradient(135deg, #1a3040 0%, #0a1824 100%); }
.channel-visual.v-wsp { background: linear-gradient(135deg, #0d3d2e 0%, #061f17 100%); }
.channel-visual.v-dev { background: linear-gradient(135deg, #1a1a0a 0%, #0a0a00 100%); }

.channel-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.channel-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px;
}
.channel-card.web .channel-kicker { color: var(--empresas); }
.channel-card.wsp .channel-kicker { color: var(--cumplimiento); }
.channel-card.dev .channel-kicker { color: var(--analyzer-yellow); }
.channel-body h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.channel-body p { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.channel-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 700;
  align-self: flex-start;
  transition: transform .15s;
}
.channel-cta:hover { transform: translateX(3px); }
.channel-card.web .channel-cta { background: rgba(28,160,230,0.12); color: var(--empresas); border: 1px solid rgba(28,160,230,0.3); }
.channel-card.wsp .channel-cta { background: rgba(66,224,75,0.12); color: var(--cumplimiento); border: 1px solid rgba(66,224,75,0.3); }
.channel-card.dev .channel-cta { background: var(--analyzer-yellow); color: var(--bg); }

/* Web dashboard mock */
.mock-web {
  width: 86%; max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.mock-web-top { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.mock-web-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--faded); }
.mock-web-body { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-web-stat { padding: 10px; background: var(--bg-3); border-radius: 6px; }
.mock-web-stat .v { font-family: var(--f-mono); font-size: 18px; font-weight: 700; }
.mock-web-stat .l { font-size: 8px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.mock-web-stat.danger .v { color: var(--red); }
.mock-web-stat.ok .v { color: var(--cumplimiento); }
.mock-web-stat.warn .v { color: var(--amber); }
.mock-web-stat.blue .v { color: var(--empresas); }
.mock-web-chart {
  grid-column: span 2;
  height: 40px;
  background: linear-gradient(180deg, rgba(28,160,230,0.15), transparent);
  border-radius: 6px;
  position: relative;
}
.mock-web-chart svg { width: 100%; height: 100%; }

/* WhatsApp full-journey chat mock (for channel card) */
.mock-wsp-full {
  width: 80%; max-width: 260px;
  background: linear-gradient(180deg, #075E54 0%, #128C7E 100%);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.mock-wsp-full-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mock-wsp-full-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--analyzer-yellow); display: grid; place-items: center; font-size: 14px; }
.mock-wsp-full-title { color: white; font-size: 11px; font-weight: 700; }
.mock-wsp-full-sub { color: rgba(255,255,255,0.6); font-size: 8px; }
.mock-wsp-full-chat { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; max-height: 190px; overflow: hidden; }
.wspf-msg { padding: 6px 10px; border-radius: 10px; font-size: 10px; max-width: 88%; line-height: 1.4; }
.wspf-msg.in { background: rgba(255,255,255,0.95); color: #0B0E10; align-self: flex-start; border-bottom-left-radius: 3px; }
.wspf-msg.out { background: #DCF8C6; color: #0B0E10; align-self: flex-end; border-bottom-right-radius: 3px; }
.wspf-msg.sys { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); font-style: italic; align-self: center; font-size: 9px; padding: 3px 10px; }
.wspf-pill { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(16,185,129,0.2); color: #10B981; font-size: 8px; font-weight: 800; margin-top: 3px; }

/* Code snippet mock */
.mock-code {
  width: 86%; max-width: 360px;
  background: #0a0a00;
  border: 1px solid rgba(255,222,26,0.2);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--f-mono);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.mock-code-tabs { display: flex; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,222,26,0.15); }
.mock-code-tab { padding: 8px 14px; font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.05); }
.mock-code-tab.active { background: var(--analyzer-yellow); color: var(--bg); }
.mock-code-body { padding: 14px; font-size: 11px; line-height: 1.6; color: #E5E7EB; }
.mock-code-body .keyword { color: #FFDE1A; }
.mock-code-body .string { color: #42E04B; }
.mock-code-body .func { color: #1CA0E6; }
.mock-code-body .comment { color: #64748B; }
.mock-code-body .var { color: #F5F6F8; }

/* ----- Service card CTA + channel badges ----- */
.service-channels {
  display: inline-flex; gap: 4px;
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-channel-pill {
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid var(--line);
  text-transform: uppercase;
}
.service-channel-pill.on { color: var(--analyzer-yellow); background: rgba(255,222,26,0.1); border-color: rgba(255,222,26,0.3); }

.service-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.service-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 700;
  transition: background .2s, border-color .2s, transform .15s;
}
.service-cta:hover { transform: translateY(-1px); }
.service-cta.c-empresas { border-color: rgba(28,160,230,0.4); color: var(--empresas); }
.service-cta.c-empresas:hover { background: rgba(28,160,230,0.08); }
.service-cta.c-kyc { border-color: rgba(255,222,26,0.4); color: var(--analyzer-yellow); }
.service-cta.c-kyc:hover { background: rgba(255,222,26,0.08); }
.service-cta.c-wsp { border-color: rgba(66,224,75,0.4); color: var(--cumplimiento); }
.service-cta.c-wsp:hover { background: rgba(66,224,75,0.08); }
.service-cta.c-bio { border-color: rgba(147,51,234,0.4); color: #C084FC; }
.service-cta.c-bio:hover { background: rgba(147,51,234,0.08); }
.service-cta.c-firma { border-color: rgba(255,107,44,0.4); color: var(--income); }
.service-cta.c-firma:hover { background: rgba(255,107,44,0.08); }
.service-cta.c-agent { border-color: rgba(255,222,26,0.4); color: var(--analyzer-yellow); background: rgba(255,222,26,0.05); }
.service-cta.c-agent:hover { background: rgba(255,222,26,0.12); }

/* ----- Triple CTA final ----- */
.triple-cta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 32px;
}
@media (max-width: 720px) { .triple-cta { grid-template-columns: 1fr; } }
.triple-cta-item {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  text-align: left;
  transition: border-color .2s, transform .2s;
}
.triple-cta-item:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.triple-cta-item .icon { font-size: 22px; }
.triple-cta-item .t { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.triple-cta-item .d { font-size: 13px; color: var(--muted); line-height: 1.45; }
.triple-cta-item .arrow { margin-top: 8px; font-size: 12px; font-weight: 700; }
.triple-cta-item.a1 .arrow { color: var(--analyzer-yellow); }
.triple-cta-item.a2 .arrow { color: var(--cumplimiento); }
.triple-cta-item.a3 .arrow { color: var(--empresas); }

/* ==========================================================================
   DEVELOPERS PAGE
   ========================================================================== */
.dev-hero {
  padding: calc(var(--header-h) + 60px) 72px 64px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,222,26,0.14), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(28,160,230,0.12), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1100px) { .dev-hero { padding: calc(var(--header-h) + 40px) 40px 56px; } }
@media (max-width: 560px) { .dev-hero { padding: calc(var(--header-h) + 24px) 20px 48px; } }

.dev-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .dev-hero-inner { grid-template-columns: 1fr; } }

.dev-hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 24px; }
.dev-hero h1 .hl { background: linear-gradient(90deg, var(--analyzer-yellow), #FFE94A 50%, var(--analyzer-yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dev-hero p { font-size: 18px; color: var(--text-dim); line-height: 1.55; margin-bottom: 32px; max-width: 560px; }
.dev-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.dev-hero-stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dev-hero-stat .v { font-family: var(--f-mono); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.dev-hero-stat .l { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; font-weight: 700; }

.dev-hero-code {
  background: #0a0a00;
  border: 1px solid rgba(255,222,26,0.25);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  font-family: var(--f-mono);
}
.dev-code-header { display: flex; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,222,26,0.15); }
.dev-code-tab { padding: 12px 18px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: color .2s; }
.dev-code-tab:hover { color: var(--text); }
.dev-code-tab.active { background: var(--analyzer-yellow); color: var(--bg); }
.dev-code-body { padding: 24px; font-size: 13px; line-height: 1.7; color: #E5E7EB; overflow-x: auto; }
.dev-code-body pre { margin: 0; font-family: var(--f-mono); }
.dev-code-body .kw { color: var(--analyzer-yellow); }
.dev-code-body .st { color: var(--cumplimiento); }
.dev-code-body .fn { color: var(--empresas); }
.dev-code-body .cm { color: var(--faded); font-style: italic; }
.dev-code-body .var { color: #F5F6F8; }

/* Matrix 3x5 */
.dev-matrix-section { padding: 80px 72px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .dev-matrix-section { padding: 56px 24px; } }
.dev-matrix-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.dev-matrix-head h2 { margin: 12px 0 14px; }
.dev-matrix-head p { color: var(--muted); font-size: 16px; line-height: 1.55; }

.dev-matrix {
  max-width: 1080px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}
.dev-matrix-row { display: grid; grid-template-columns: 180px repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.dev-matrix-row:last-child { border-bottom: 0; }
.dev-matrix-head-row { background: var(--bg-3); }
.dev-matrix-cell { padding: 18px 16px; text-align: center; border-right: 1px solid var(--line); font-size: 14px; }
.dev-matrix-cell:last-child { border-right: 0; }
.dev-matrix-cell.row-label { text-align: left; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.dev-matrix-cell.row-label img { width: 32px; height: auto; }
.dev-matrix-cell.head { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 14px; }
.dev-matrix-cell.yes { color: var(--cumplimiento); font-size: 18px; font-weight: 800; }
.dev-matrix-cell.soon { color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 720px) {
  .dev-matrix-row { grid-template-columns: 120px repeat(3, 1fr); }
  .dev-matrix-cell { padding: 12px 8px; font-size: 12px; }
  .dev-matrix-cell.row-label { font-size: 12px; padding: 12px; }
  .dev-matrix-cell.row-label img { width: 24px; }
}

/* MCP highlight */
.dev-mcp-section { padding: 96px 72px; position: relative; overflow: hidden; }
@media (max-width: 900px) { .dev-mcp-section { padding: 64px 24px; } }
.dev-mcp-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,222,26,0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(28,160,230,0.10), transparent 50%);
}
.dev-mcp-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .dev-mcp-inner { grid-template-columns: 1fr; } }
.dev-mcp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--analyzer-yellow);
  color: var(--bg);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.dev-mcp-inner h2 { margin-bottom: 18px; }
.dev-mcp-inner p { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.dev-mcp-features { display: grid; gap: 10px; margin-bottom: 28px; }
.dev-mcp-feature { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.dev-mcp-feature .i { font-size: 20px; flex-shrink: 0; }
.dev-mcp-feature .t { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.dev-mcp-feature .d { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* SDKs grid */
.dev-sdks-section { padding: 80px 72px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .dev-sdks-section { padding: 56px 24px; } }
.dev-sdks-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.dev-sdks-head h2 { margin: 12px 0 14px; }
.dev-sdks-head p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.dev-sdks { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .dev-sdks { grid-template-columns: 1fr; } }
.dev-sdk-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.dev-sdk-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.dev-sdk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dev-sdk-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 16px; font-weight: 700;
  background: var(--bg-3);
}
.dev-sdk-icon.node { background: #3C873A; color: white; }
.dev-sdk-icon.python { background: #3776AB; color: white; }
.dev-sdk-icon.php { background: #777BB4; color: white; }
.dev-sdk-card h4 { font-size: 16px; margin: 0; }
.dev-sdk-card .lang { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--f-mono); }
.dev-sdk-card p { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin: 10px 0 14px; }
.dev-sdk-install {
  font-family: var(--f-mono); font-size: 12px;
  padding: 10px 12px;
  background: #0a0a00;
  border-radius: 6px;
  color: var(--analyzer-yellow);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  border: 1px solid rgba(255,222,26,0.15);
}
.dev-sdk-install .copy { color: var(--muted); font-size: 10px; cursor: pointer; }

/* Pricing dev */
.dev-pricing-section { padding: 80px 72px; }
@media (max-width: 900px) { .dev-pricing-section { padding: 56px 24px; } }
.dev-pricing-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.dev-pricing { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .dev-pricing { grid-template-columns: 1fr; } }
.price-card {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column;
}
.price-card.feat { background: linear-gradient(180deg, rgba(255,222,26,0.10), var(--bg-2)); border-color: rgba(255,222,26,0.35); position: relative; }
.price-card.feat::before { content: 'Recomendado'; position: absolute; top: -10px; right: 20px; padding: 4px 10px; background: var(--analyzer-yellow); color: var(--bg); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; border-radius: var(--r-full); }
.price-name { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.price-amt { font-family: var(--f-mono); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.price-amt .unit { font-size: 14px; color: var(--muted); font-weight: 500; }
.price-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
.price-list { display: grid; gap: 8px; margin-bottom: 24px; flex: 1; }
.price-list li { font-size: 13px; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start; }
.price-list li::before { content: '✓'; color: var(--cumplimiento); font-weight: 800; flex-shrink: 0; }

/* ==========================================================================
   V4 — Home orientado a productos (mascotas como protagonistas)
   ========================================================================== */

/* ----- Product row (alternating mascot + content) ----- */
.products { padding: 40px 0 0; }
.products-head { max-width: 800px; margin: 80px auto 24px; text-align: center; padding: 0 24px; }
.products-head h2 { margin: 14px 0 16px; }
.products-head p { color: var(--muted); font-size: 17px; line-height: 1.55; }

/* ============================================================
   PRODUCT ROWS — full-width sections with bg image + mascot
   ============================================================ */
.product-row {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 90vh;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
}
.product-row + .product-row { border-top: 1px solid var(--line); }

.product-row .product-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.45;
  filter: saturate(0.85);
}
.product-row .product-overlay {
  position: absolute; inset: 0;
  z-index: -1;
}

.product-row-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .product-row-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; text-align: center; }
  .product-row { min-height: auto; padding: 80px 0; }
}
.product-row.reverse .product-content { order: 2; }
.product-row.reverse .product-mascot-float { order: 1; }
@media (max-width: 900px) {
  .product-row.reverse .product-mascot-float { order: 1; }
  .product-row.reverse .product-content { order: 2; }
}

/* ---- Background images per product ---- */
/* TORO · Analyzer Empresas — decorative composition evoking the real 360 report */
.product-row.toro-section .product-bg {
  /* no image — gradient wash; the deco blocks are the visual content */
  background:
    radial-gradient(ellipse at 85% 35%, rgba(28,160,230,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(28,160,230,0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,20,28,0.8) 0%, rgba(8,10,12,1) 100%);
  inset: 0 0 0 45%;
  opacity: 1;
  filter: none;
}
.product-row.toro-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(8,10,12,1) 0%, rgba(8,10,12,1) 44%, rgba(8,10,12,0.55) 55%, rgba(8,10,12,0.15) 100%);
}

/* ---- Empresas decorative composition (right half) ---- */
.empresas-deco {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: 1;
  pointer-events: none;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "search  search"
    "result  gauge";
  gap: 14px;
  align-content: center;
}
.emp-search {
  grid-area: search;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px;
  background: rgba(20,24,32,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 480px;
}
.emp-search-field {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  flex: 1;
}
.emp-search-field svg { color: rgba(255,255,255,0.4); }
.emp-search-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--analyzer-blue, #1CA0E6);
  padding: 3px 8px;
  background: rgba(28,160,230,0.12);
  border-radius: 6px;
}

.emp-result-card {
  grid-area: result;
  padding: 14px 16px;
  background: rgba(20,24,32,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}
.emp-result-row { display: flex; flex-direction: column; gap: 2px; }
.emp-result-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.emp-result-value {
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.emp-pill-active {
  display: inline-block;
  color: #7BC267;
  background: rgba(123,194,103,0.12);
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.emp-gauge-card {
  grid-area: gauge;
  padding: 16px 18px;
  background: rgba(20,24,32,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.emp-gauge-head { display: flex; flex-direction: column; gap: 2px; }
.emp-gauge-title {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
}
.emp-gauge-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}
.emp-gauge-svg { width: 100%; max-width: 220px; height: auto; }
.emp-gauge-value {
  display: flex; align-items: baseline; gap: 2px;
  margin-top: -32px;
}
.emp-gauge-num {
  font-size: 34px; font-weight: 800; line-height: 1;
  color: #fff; letter-spacing: -0.03em;
}
.emp-gauge-den {
  font-size: 13px; color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.emp-gauge-levels { margin-top: 4px; }
.emp-gauge-lvl {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 8px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.emp-gauge-lvl.lvl-lo { background: rgba(226,60,60,0.18); color: #FF7979; }
.emp-gauge-lvl.lvl-hi { background: rgba(47,174,74,0.18); color: #7BE093; }

/* Indicadores vs mercado (inside the gauge card, under the score) */
.emp-indicators {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
}
.emp-ind-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.emp-ind-list { display: flex; flex-direction: column; gap: 8px; }
.emp-ind {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  align-items: center;
  gap: 10px;
}
.emp-ind-name {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.emp-ind-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.emp-ind-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.emp-ind-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-align: right;
  letter-spacing: 0.04em;
}

@media (max-width: 920px) {
  .empresas-deco { display: none; }
}

/* Light mode overrides for empresas deco */
:root[data-theme="light"] .empresas-deco .emp-search,
:root[data-theme="light"] .empresas-deco .emp-result-card,
:root[data-theme="light"] .empresas-deco .emp-gauge-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(8,10,12,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
:root[data-theme="light"] .emp-indicators { border-top-color: rgba(8,10,12,0.08); }
:root[data-theme="light"] .emp-search-field { color: #0F1218; }
:root[data-theme="light"] .emp-search-field svg { color: rgba(8,10,12,0.4); }
:root[data-theme="light"] .emp-result-label,
:root[data-theme="light"] .emp-ind-head,
:root[data-theme="light"] .emp-gauge-sub { color: rgba(8,10,12,0.55); }
:root[data-theme="light"] .emp-result-value,
:root[data-theme="light"] .emp-gauge-title,
:root[data-theme="light"] .emp-gauge-num,
:root[data-theme="light"] .emp-ind-name,
:root[data-theme="light"] .emp-ind-pct { color: #0F1218; }
:root[data-theme="light"] .emp-ind-bar { background: rgba(0,0,0,0.08); }
:root[data-theme="light"] .emp-gauge-svg path[stroke="rgba(255,255,255,0.08)"] { stroke: rgba(0,0,0,0.08); }
:root[data-theme="light"] .emp-gauge-svg line[stroke="#fff"] { stroke: #0F1218; }
:root[data-theme="light"] .emp-gauge-svg circle[fill="#fff"] { fill: #0F1218; }

/* ZORRO · Analyzer Cumplimiento — deco (scanning card) on LEFT half with the
   fox mascot centered on top of it. The mascot in the product-row-inner grid
   is hidden on desktop so the scene is a single composed visual. */
.product-row.zorro-section .product-overlay {
  background:
    linear-gradient(90deg, transparent 0%, transparent 40%, rgba(8,10,12,0.75) 55%, rgba(8,10,12,1) 68%),
    radial-gradient(ellipse at 20% 50%, rgba(255,222,26,0.12), transparent 55%);
  pointer-events: none;
}

.cumplimiento-deco {
  position: absolute;
  inset: 0 50% 0 0;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 40px 40px 64px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.cumplimiento-deco::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(255,222,26,0.10), transparent 60%),
    radial-gradient(ellipse 50% 35% at 60% 80%, rgba(28,160,230,0.08), transparent 70%);
}
/* Fox mascot centered on top of the scanning deco. z-index above .cd-scene.
   Transparent PNG — no background box, just drop-shadow for depth. */
.cd-fox {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: auto;
  max-width: 60%;
  z-index: 2;
  filter: drop-shadow(0 28px 48px rgba(0,0,0,0.5));
  animation: float-mascot 5s ease-in-out infinite;
  pointer-events: none;
}
@media (max-width: 960px) {
  .cd-fox { display: none; }
}

.cd-scene {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  background: linear-gradient(180deg, rgba(23,30,34,0.95), rgba(15,20,23,0.95));
  border: 1px solid rgba(255,222,26,0.2);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,222,26,0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: cdFloat 6s ease-in-out infinite;
}
@keyframes cdFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.cd-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FFE05E;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,222,26,0.12);
  border: 1px solid rgba(255,222,26,0.3);
  width: fit-content; margin-bottom: 16px;
}
.cd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFE05E;
  box-shadow: 0 0 0 4px rgba(255,222,26,0.2);
  animation: cdDotPulse 1.2s ease-in-out infinite;
}
@keyframes cdDotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.cd-subject {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; margin-bottom: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.cd-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #FFDE1A, #E6C500);
  color: #0F1218;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.cd-subject-info { flex: 1; min-width: 0; }
.cd-name { font-size: 14px; font-weight: 700; color: #F5F6F8; }
.cd-id   { font-size: 11px; color: #94A3B8; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.cd-status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.cd-status-scanning {
  background: rgba(28,160,230,0.14);
  color: #7CC7ED;
  border: 1px solid rgba(28,160,230,0.35);
}
.cd-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: cdDotPulse 1.1s ease-in-out infinite;
}

.cd-lists {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.cd-list-row {
  display: grid; grid-template-columns: 1.1fr 1.5fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 12.5px;
  opacity: 0;
  transform: translateX(-6px);
  animation: cdRowIn 0.4s ease-out forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes cdRowIn {
  to { opacity: 1; transform: translateX(0); }
}
.cd-list-name {
  font-weight: 700; color: #F5F6F8;
  letter-spacing: -0.01em;
}
.cd-list-sources {
  font-size: 11px; color: #94A3B8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cd-list-status {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.cd-list-status::before {
  content: '●'; font-size: 8px; line-height: 1;
}
.cd-list-status.ok   { background: rgba(66,224,75,0.14); color: #7FE08B; border: 1px solid rgba(66,224,75,0.35); }
.cd-list-status.warn { background: rgba(245,158,11,0.14); color: #FBBF24; border: 1px solid rgba(245,158,11,0.4); }
.cd-list-status.scan { background: rgba(28,160,230,0.14); color: #7CC7ED; border: 1px solid rgba(28,160,230,0.35); }
.cd-list-status.scan::before { animation: cdDotPulse 1.1s ease-in-out infinite; }

/* AI Agent analysis card — the star of the scanning deco */
.cd-agent {
  position: relative;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,222,26,0.09), rgba(255,222,26,0.03));
  border: 1.5px solid rgba(255,222,26,0.4);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(255,222,26,0.08), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.cd-agent::before {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,222,26,0.6), transparent 40%, rgba(66,224,75,0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}
.cd-agent-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.cd-agent-avatar {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #FFDE1A, #E6C500);
  color: #0F1218;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,222,26,0.35);
  animation: cdAgentPulse 2.4s ease-in-out infinite;
}
@keyframes cdAgentPulse {
  0%,100% { box-shadow: 0 6px 18px rgba(255,222,26,0.35), 0 0 0 0 rgba(255,222,26,0.35); }
  50%     { box-shadow: 0 6px 18px rgba(255,222,26,0.35), 0 0 0 8px rgba(255,222,26,0); }
}
.cd-agent-meta { flex: 1; min-width: 0; }
.cd-agent-title {
  font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  color: #F5F6F8;
}
.cd-agent-sub {
  font-size: 11px; color: #94A3B8;
  display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.cd-agent-live {
  display: inline-flex; align-items: center; gap: 5px;
  color: #7FE08B; font-weight: 600;
}
.cd-agent-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #42E04B;
  box-shadow: 0 0 0 3px rgba(66,224,75,0.22);
  animation: cdDotPulse 1.1s ease-in-out infinite;
}
.cd-agent-sep { color: rgba(148,163,184,0.5); }

.cd-agent-quote {
  position: relative;
  margin: 0 0 12px;
  padding: 12px 14px 12px 28px;
  font-size: 12.5px; line-height: 1.5; color: #E2E8F0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid #FFDE1A;
  border-radius: 10px;
}
.cd-agent-quote::before {
  content: '“';
  position: absolute; top: 0; left: 8px;
  font-family: Georgia, serif; font-size: 30px; line-height: 1;
  color: rgba(255,222,26,0.55);
}
.cd-agent-quote strong { color: #FFE05E; font-weight: 700; }

.cd-agent-foot {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px;
  margin-bottom: 10px;
}
.cd-agent-reco {
  padding: 10px 12px;
  background: rgba(66,224,75,0.08);
  border: 1px solid rgba(66,224,75,0.3);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.cd-agent-reco-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #7FE08B;
}
.cd-agent-reco-value {
  font-size: 13px; font-weight: 800; color: #F5F6F8;
  letter-spacing: -0.01em; line-height: 1.2;
}
.cd-agent-conf {
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
}
.cd-agent-conf-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10px; color: #94A3B8;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.cd-agent-conf-top strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: #FFDE1A;
  letter-spacing: -0.02em;
}
.cd-agent-conf-bar {
  height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.cd-agent-conf-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #FFDE1A, #FFC107);
  border-radius: 2px;
  animation: cdAgentConfFill 1.6s cubic-bezier(.2,.7,.2,1) 1.6s forwards;
}
@keyframes cdAgentConfFill { to { width: 94%; } }

.cd-agent-score-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  font-family: inherit;
}
.cd-agent-score-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #94A3B8;
  flex-shrink: 0;
}
.cd-agent-score-bar {
  flex: 1; height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden;
}
.cd-agent-score-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #F59E0B, #42E04B);
  border-radius: 3px;
  animation: cdAgentScoreFill 1.8s cubic-bezier(.2,.7,.2,1) 0.8s forwards;
}
@keyframes cdAgentScoreFill { to { width: 82%; } }
.cd-agent-score-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 700; color: #F5F6F8;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.cd-agent-score-total { color: #94A3B8; font-size: 11px; }

/* On desktop hide the standard mascot-float column for zorro (the fox lives
   inside the deco now) and keep content pinned to the right column. */
@media (min-width: 961px) {
  .product-row.zorro-section .product-mascot-float { display: none; }
  .product-row.zorro-section .product-content { grid-column: 2; }
}
/* On mobile hide the deco (no room) — the mascot can return via a floated img */
@media (max-width: 960px) {
  .cumplimiento-deco { display: none; }
  .product-row.zorro-section .product-overlay {
    background: linear-gradient(180deg, rgba(8,10,12,0.7), rgba(8,10,12,1));
  }
}


/* BÚHO · Biometría — persona haciendo validación biométrica en móvil */
/* BUHO · Biometría — persona con celular haciendo face ID
   Image is clipped to the RIGHT HALF of the section only, so the title side
   stays clean on solid dark background. */
.product-row.buho-section .product-bg {
  background-image:
    url('https://images.unsplash.com/photo-1512428559087-560fa5ceab42?auto=format&fit=crop&w=1800&q=80');
  inset: 0 0 0 50%;
  opacity: 0.7;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-row.buho-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(8,10,12,1) 0%, rgba(8,10,12,1) 50%, rgba(8,10,12,0.35) 62%, rgba(8,10,12,0.1) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(147,51,234,0.22), transparent 55%);
}

/* CASTOR · Firma Digital — persona firmando en celular
   Image clipped to LEFT HALF. */
.product-row.castor-section .product-bg {
  background-image:
    url('https://images.unsplash.com/photo-1586769852044-692d6e3703f0?auto=format&fit=crop&w=1800&q=80');
  inset: 0 50% 0 0;
  opacity: 0.7;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-row.castor-section .product-overlay {
  background:
    linear-gradient(270deg, rgba(8,10,12,1) 0%, rgba(8,10,12,1) 50%, rgba(8,10,12,0.35) 62%, rgba(8,10,12,0.1) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(255,107,44,0.22), transparent 55%);
}

/* ---- Mascot floating area (no box, no oval bg) ---- */
.product-mascot-float {
  position: relative;
  display: grid; place-items: center;
  min-height: 420px;
}
.product-mascot-float img {
  width: 100%; max-width: 280px; height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  animation: float-mascot 5s ease-in-out infinite;
  position: relative; z-index: 2;
}
.product-mascot-float::before {
  content: '';
  position: absolute;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  z-index: 1;
  filter: blur(30px);
}

/* ---- Fact card floating next to mascot ---- */
.product-fact-card {
  position: absolute;
  bottom: 10%;
  right: -8%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  min-width: 220px;
  max-width: 260px;
  border-radius: 14px;
  background: rgba(14, 16, 20, 0.82);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  animation: float-mascot 5.6s ease-in-out 0.4s infinite;
}
.product-fact-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.product-fact-big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.product-fact-card.t-toro .product-fact-big { color: var(--analyzer-blue, #1CA0E6); }
.product-fact-label {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 920px) {
  .product-fact-card {
    position: relative; right: auto; bottom: auto;
    margin: 16px auto 0;
    animation: none;
  }
}
:root[data-theme="light"] .product-fact-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(8,10,12,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}
:root[data-theme="light"] .product-fact-kicker { color: rgba(8,10,12,0.55); }
:root[data-theme="light"] .product-fact-big { color: #0F1218; }
:root[data-theme="light"] .product-fact-label { color: rgba(8,10,12,0.72); }
.product-row.toro-section .product-mascot-float::before { background: radial-gradient(circle, rgba(28,160,230,0.30) 0%, transparent 70%); width: 86%; }

/* Toro Empresas — ilustración enmarcada (imagen con fondo propio), SIN animación de flotación */
.product-row.toro-section .product-mascot-float img.toro-desk {
  animation: none;
  width: 100%;
  max-width: 300px;
  max-height: none;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
:root[data-theme="light"] .product-row.toro-section .product-mascot-float img.toro-desk {
  border-color: rgba(8,10,12,0.10);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
@media (max-width: 560px) {
  .product-row.toro-section .product-mascot-float img.toro-desk { max-width: 240px; border-radius: 18px; }
}
.product-row.zorro-section .product-mascot-float::before { background: radial-gradient(circle, rgba(255,222,26,0.22) 0%, transparent 70%); }
.product-row.buho-section .product-mascot-float::before { background: radial-gradient(circle, rgba(147,51,234,0.25) 0%, transparent 70%); }
.product-row.castor-section .product-mascot-float::before { background: radial-gradient(circle, rgba(255,107,44,0.22) 0%, transparent 70%); }

.product-badge {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 8px 14px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.product-badge.t-toro { color: var(--empresas); border-color: rgba(28,160,230,0.35); }
.product-badge.t-zorro { color: var(--analyzer-yellow); border-color: rgba(255,222,26,0.35); }
.product-badge.t-buho { color: #C084FC; border-color: rgba(147,51,234,0.4); }
.product-badge.t-castor { color: var(--income); border-color: rgba(255,107,44,0.35); }

.product-number { display: none; }

.product-content { max-width: 520px; }
@media (max-width: 900px) { .product-content { max-width: 100%; margin: 0 auto; } }

.product-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 14px;
}
.product-content.toro .product-kicker { color: var(--empresas); }
.product-content.zorro .product-kicker { color: var(--analyzer-yellow); }
.product-content.buho .product-kicker { color: #C084FC; }
.product-content.castor .product-kicker { color: var(--income); }

.product-title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--text);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
:root[data-theme="light"] .product-title {
  text-shadow: 0 2px 12px rgba(255,255,255,0.6);
}
.product-title .hl { display: inline-block; }
.product-content.toro .product-title .hl { color: var(--empresas); }
.product-content.zorro .product-title .hl { color: var(--analyzer-yellow); }
.product-content.buho .product-title .hl { color: #C084FC; }
.product-content.castor .product-title .hl { color: var(--income); }

.product-lead {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-benefits {
  display: grid; gap: 12px;
  margin-bottom: 28px;
}
.product-benefit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s;
}
.product-benefit:hover { border-color: var(--line-strong); transform: translateX(4px); }
.product-benefit .check {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
  flex-shrink: 0;
}
.product-content.toro .product-benefit .check { background: rgba(28,160,230,0.15); color: var(--empresas); }
.product-content.zorro .product-benefit .check { background: rgba(255,222,26,0.15); color: var(--analyzer-yellow); }
.product-content.buho .product-benefit .check { background: rgba(147,51,234,0.2); color: #C084FC; }
.product-content.castor .product-benefit .check { background: rgba(255,107,44,0.18); color: var(--income); }
.product-benefit .text { font-size: 14px; line-height: 1.5; color: var(--text); }
.product-benefit .text strong { color: var(--text); font-weight: 700; }

.product-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.product-content.toro .product-cta { background: var(--empresas); color: white; box-shadow: 0 8px 20px rgba(28,160,230,0.3); }
.product-content.zorro .product-cta { background: var(--analyzer-yellow); color: #0F1218; box-shadow: 0 8px 20px rgba(255,222,26,0.3); }
.product-content.buho .product-cta { background: #9333EA; color: white; box-shadow: 0 8px 20px rgba(147,51,234,0.3); }
.product-content.castor .product-cta { background: var(--income); color: white; box-shadow: 0 8px 20px rgba(255,107,44,0.3); }
.product-cta:hover { transform: translateY(-2px); }
.product-cta svg { transition: transform .15s; }
.product-cta:hover svg { transform: translateX(4px); }

/* ----- WhatsApp integrator block ----- */
.whatsapp-block {
  padding: 96px 72px;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(66,224,75,0.18), transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(18,140,126,0.15), transparent 50%),
    linear-gradient(135deg, #0B2B20 0%, #061510 100%);
  border-top: 1px solid rgba(66,224,75,0.2);
  border-bottom: 1px solid rgba(66,224,75,0.2);
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .whatsapp-block { padding: 64px 24px; } }
.whatsapp-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(66,224,75,0.08) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.whatsapp-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .whatsapp-inner { grid-template-columns: 1fr; } }

.whatsapp-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: #25D366;
  color: white;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(37,211,102,0.35);
}

.whatsapp-block h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.whatsapp-block h2 .hl {
  background: linear-gradient(90deg, #42E04B 0%, #25D366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.whatsapp-block .lead-wsp {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 560px;
}

.whatsapp-benefits {
  display: grid; gap: 14px;
  margin-bottom: 36px;
}
.whatsapp-benefit {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 20px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66,224,75,0.25);
  border-radius: var(--r-lg);
}
.whatsapp-benefit .icon {
  font-size: 26px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(66,224,75,0.15);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.whatsapp-benefit .title { font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.whatsapp-benefit .desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.45; }

.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: #25D366;
  color: white;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 700;
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
  transition: transform .15s, box-shadow .2s;
}
.whatsapp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,211,102,0.5); }

.whatsapp-visual {
  position: relative;
  display: grid; place-items: center;
}
.whatsapp-visual-frog {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 340px;
  filter: drop-shadow(0 24px 48px rgba(66,224,75,0.4));
  animation: float-mascot 5s ease-in-out infinite;
}
.whatsapp-visual-halo {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(66,224,75,0.3), transparent 55%);
  animation: halo-pulse 4s ease-in-out infinite;
}
.whatsapp-floating-mascots {
  position: absolute; inset: 0;
  z-index: 3; pointer-events: none;
}
.whatsapp-floating-mascots img {
  position: absolute;
  width: 70px; height: auto;
  opacity: 0.75;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  animation: float 5s ease-in-out infinite;
}
.whatsapp-floating-mascots img.f1 { top: 5%; right: 5%; animation-delay: 0s; }
.whatsapp-floating-mascots img.f2 { top: 20%; left: 0%; animation-delay: 1s; }
.whatsapp-floating-mascots img.f3 { bottom: 20%; right: 0%; animation-delay: 2s; }
.whatsapp-floating-mascots img.f4 { bottom: 5%; left: 8%; animation-delay: 1.5s; }

/* ==========================================================================
   V5 — Merge Twilio (claridad) + Globant (presencia visual)
   ========================================================================== */

/* ----- HERO V5: promesa + mecánica + gradiente moderno ----- */
.hero-v5 {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 72px 80px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  overflow: hidden;
  background: #0A0D10;
}
@media (max-width: 1100px) { .hero-v5 { padding: calc(var(--header-h) + 40px) 40px 64px; grid-template-columns: 1fr; gap: 48px; min-height: auto; } }
@media (max-width: 560px) { .hero-v5 { padding: calc(var(--header-h) + 24px) 20px 56px; } }

.hero-v5::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(255,222,26,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(28,160,230,0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 0%, rgba(66,224,75,0.12), transparent 60%),
    linear-gradient(180deg, #0A0D10 0%, #0A0D10 70%, #12171B 100%);
}
.hero-v5::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-v5 > * { position: relative; z-index: 1; }

.hero-v5-copy { max-width: 720px; }
.hero-v5-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,222,26,0.08);
  border: 1px solid rgba(255,222,26,0.3);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--analyzer-yellow);
  margin-bottom: 28px;
}
.hero-v5-kicker::before { content: '●'; color: var(--analyzer-yellow); animation: pulse-soft 1.5s ease-in-out infinite; font-size: 10px; }

.hero-v5-title {
  font-family: var(--f-sans);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero-v5-title .line { display: block; }
.hero-v5-title .hl {
  background: linear-gradient(90deg, var(--analyzer-yellow) 0%, #FFE94A 50%, var(--cumplimiento) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-v5-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-v5-sub strong { color: var(--text); font-weight: 700; }

.hero-v5-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-v5-meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-v5-meta .sig { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-v5-meta .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-v5-meta .pill {
  font-size: 12px; padding: 5px 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text-dim); font-weight: 600;
}

/* Hero visual: composite showing the 4 mascots + flow */
.hero-v5-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
@media (max-width: 1100px) { .hero-v5-visual { min-height: 440px; } }

.hero-ring {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,222,26,0.2), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(28,160,230,0.2), transparent 55%);
  display: grid;
  place-items: center;
}
.hero-ring::before,
.hero-ring::after {
  content: ''; position: absolute; inset: 8%; border-radius: 50%;
  border: 1px dashed rgba(255,222,26,0.25);
  animation: spin-slow 50s linear infinite;
}
.hero-ring::after {
  inset: 26%;
  border-style: solid;
  border-color: rgba(28,160,230,0.25);
  animation-duration: 38s;
  animation-direction: reverse;
}
.hero-center-fox {
  position: relative; z-index: 2;
  width: 46%;
  animation: float-mascot 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(255,222,26,0.3));
}

.hero-orbit-mascot {
  position: absolute;
  z-index: 3;
  width: 90px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
  animation: float 5s ease-in-out infinite;
}
.hero-orbit-mascot.m-toro { top: 4%; right: 8%; animation-delay: 0s; }
.hero-orbit-mascot.m-owl { top: 48%; right: -4%; animation-delay: 1s; }
.hero-orbit-mascot.m-beaver { bottom: 4%; left: 16%; animation-delay: 2s; }
.hero-orbit-mascot.m-frog { top: 24%; left: -2%; animation-delay: 1.5s; }

.hero-code-peek {
  position: absolute;
  bottom: 6%; right: 2%;
  width: 300px;
  background: #0a0a00;
  border: 1px solid rgba(255,222,26,0.25);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 11px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 4;
}
@media (max-width: 1100px) { .hero-code-peek { display: none; } }
.hero-code-peek-head {
  padding: 8px 14px;
  background: rgba(255,222,26,0.08);
  border-bottom: 1px solid rgba(255,222,26,0.2);
  font-size: 9px;
  font-weight: 700;
  color: var(--analyzer-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.hero-code-peek-body { padding: 12px; color: #E5E7EB; line-height: 1.7; }
.hero-code-peek-body .kw { color: var(--analyzer-yellow); }
.hero-code-peek-body .st { color: var(--cumplimiento); }
.hero-code-peek-body .fn { color: var(--empresas); }

/* ----- LOGOS MASIVOS (Globant-style) por industria ----- */
.logos-masiv {
  padding: 64px 72px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .logos-masiv { padding: 48px 24px; } }
.logos-masiv-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.logos-masiv-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .logos-masiv-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-slot {
  padding: 24px 16px;
  background: var(--bg-2);
  display: grid; place-items: center;
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--muted);
  min-height: 90px;
  text-align: center;
  transition: color .25s, background .25s;
  line-height: 1.2;
}
.logo-slot:hover { color: var(--text); background: var(--bg-3); }
.logo-slot-industry {
  font-size: 9px; font-weight: 700; color: var(--faded); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 6px; display: block;
}

/* ----- Datos Abiertos DNA block ----- */
.dna-block {
  padding: 96px 72px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .dna-block { padding: 64px 24px; } }
.dna-block::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,222,26,0.1), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(28,160,230,0.08), transparent 60%);
  pointer-events: none;
}
.dna-inner { max-width: 1200px; margin: 0 auto; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .dna-inner { grid-template-columns: 1fr; gap: 40px; } }

.dna-eyebrow { color: var(--analyzer-yellow); margin-bottom: 16px; }
.dna-block h2 { margin-bottom: 20px; font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.025em; line-height: 1.05; }
.dna-block h2 { color: var(--text); }
.dna-block h2 .hl {
  background: linear-gradient(90deg, var(--analyzer-yellow), var(--cumplimiento));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="light"] .dna-block h2 { color: var(--text); }
:root[data-theme="light"] .dna-block h2 .hl {
  background: linear-gradient(90deg, #8B6F00, #0F7A1D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="light"] .dna-block p { color: var(--text-dim); }
.dna-block p { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin-bottom: 16px; }
.dna-block p:last-of-type { margin-bottom: 28px; }

.dna-sources-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.dna-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--analyzer-yellow), var(--analyzer-yellow-dim));
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 24px;
  color: var(--bg);
  box-shadow: 0 20px 60px rgba(255,222,26,0.4);
  z-index: 3;
  animation: pulse-soft 3s ease-in-out infinite;
  text-align: center;
  line-height: 1.1;
}
.dna-center .num { font-size: 32px; display: block; }
.dna-center .label { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; opacity: 0.8; }

/* New logo-centered variant */
.dna-center-logo {
  background: transparent;
  box-shadow: none;
  animation: none;
  width: 340px; height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
}
.dna-center-logo::before {
  /* halo ring behind the logo */
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,222,26,0.32) 0%, rgba(255,222,26,0.12) 40%, transparent 70%);
  z-index: -1;
  filter: blur(4px);
}
.dna-center-img {
  width: 240px; height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.4));
  animation: float-mascot 5s ease-in-out infinite;
}
.dna-center-caption {
  font-family: var(--f-sans, inherit);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.dna-orbit-item {
  position: absolute;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 6px;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}
.dna-orbit-item::before { content: '●'; color: currentColor; }
.dna-orbit-item.i1 { top: 5%; left: 50%; transform: translateX(-50%); color: var(--empresas); animation-delay: 0s; }
.dna-orbit-item.i2 { top: 18%; right: 4%; color: var(--cumplimiento); animation-delay: .5s; }
.dna-orbit-item.i3 { top: 50%; right: -4%; transform: translateY(-50%); color: var(--social); animation-delay: 1s; }
.dna-orbit-item.i4 { bottom: 18%; right: 4%; color: var(--income); animation-delay: 1.5s; }
.dna-orbit-item.i5 { bottom: 5%; left: 50%; transform: translateX(-50%); color: var(--analyzer-yellow); animation-delay: 2s; }
.dna-orbit-item.i6 { bottom: 18%; left: 4%; color: var(--cumplimiento); animation-delay: 2.5s; }
.dna-orbit-item.i7 { top: 50%; left: -4%; transform: translateY(-50%); color: var(--empresas); animation-delay: 3s; }
.dna-orbit-item.i8 { top: 18%; left: 4%; color: var(--analyzer-yellow); animation-delay: 1.2s; }

.dna-orbit-ring {
  position: absolute; inset: 12%;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 50%;
  animation: spin-slow 80s linear infinite;
}

.dna-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px;
}
.dna-stat {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.dna-stat .v { font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--analyzer-yellow); letter-spacing: -0.02em; }
.dna-stat .l { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ----- INDUSTRIES SECTION (3 cards + dedicated sections) ----- */
.industries-intro { padding: 96px 72px 40px; }
@media (max-width: 900px) { .industries-intro { padding: 64px 24px 24px; } }
.industries-intro-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.industries-intro-inner h2 { margin: 14px auto 16px; max-width: 800px; font-size: clamp(32px, 4.5vw, 52px); }
.industries-intro-inner p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; line-height: 1.55; }

.industries-cards {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 72px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industries-cards.industries-cards-4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1200px) { .industries-cards.industries-cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .industries-cards, .industries-cards.industries-cards-4 { grid-template-columns: 1fr; padding: 24px 24px 64px; } }

.industry-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  background: var(--bg-2);
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.industry-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.industry-card.fintech:hover { border-color: rgba(28,160,230,0.4); }
.industry-card.banca:hover { border-color: rgba(255,222,26,0.4); }
.industry-card.transporte:hover { border-color: rgba(255,107,44,0.4); }
.industry-card.cooperativas:hover { border-color: rgba(66,224,75,0.4); }
.industry-card.cooperativas .industry-card-tag { color: #42E04B; border-color: rgba(66,224,75,0.4); }
.industry-card.cooperativas .industry-card-cta { background: #42E04B; color: var(--bg); }

.industry-card-image {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.industry-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.industry-card:hover .industry-card-image img { transform: scale(1.05); }
.industry-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.industry-card-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 2;
}
.industry-card.fintech .industry-card-tag { color: #7DD3FC; border-color: rgba(125,211,252,0.4); }
.industry-card.banca .industry-card-tag { color: var(--analyzer-yellow); border-color: rgba(255,222,26,0.4); }
.industry-card.transporte .industry-card-tag { color: #FB923C; border-color: rgba(251,146,60,0.4); }
.industry-card.transporte .urgent-ribbon {
  position: absolute; top: 16px; right: 16px;
  padding: 5px 10px;
  background: var(--red); color: white;
  border-radius: var(--r-full);
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 2;
  animation: pulse-soft 1.5s ease-in-out infinite;
}
.industry-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.industry-card-body h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.02em; }
.industry-card-body p { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.industry-card-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
}
.industry-card-list span {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text-dim);
}
.industry-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 700;
  transition: transform .15s;
  align-self: flex-start;
}
.industry-card.fintech .industry-card-cta { background: var(--empresas); color: white; }
.industry-card.banca .industry-card-cta { background: var(--analyzer-yellow); color: var(--bg); }
.industry-card.transporte .industry-card-cta { background: var(--income); color: white; }
.industry-card:hover .industry-card-cta { transform: translateX(4px); }

/* ----- Dedicated industry section (expanded case) ----- */
.industry-deep {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.industry-deep::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.industry-deep.fintech::before { background: radial-gradient(ellipse 50% 40% at 0% 50%, rgba(28,160,230,0.08), transparent 60%); }
.industry-deep.banca::before { background: radial-gradient(ellipse 50% 40% at 100% 50%, rgba(255,222,26,0.08), transparent 60%); }
.industry-deep.transporte::before { background: radial-gradient(ellipse 50% 40% at 0% 50%, rgba(255,107,44,0.08), transparent 60%); }

.industry-deep-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .industry-deep-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; } }

.industry-deep.banca .industry-deep-inner { direction: rtl; }
.industry-deep.banca .industry-deep-inner > * { direction: ltr; }
@media (max-width: 900px) { .industry-deep.banca .industry-deep-inner { direction: ltr; } }

.industry-deep-image {
  aspect-ratio: 4/5;
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.industry-deep-image img { width: 100%; height: 100%; object-fit: cover; }
.industry-deep-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
}
.industry-deep-image .overlay-stat {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  padding: 16px 20px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  z-index: 2;
}
.industry-deep-image .overlay-stat .v { font-family: var(--f-mono); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2px; }
.industry-deep-image .overlay-stat .l { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 600; }
.industry-deep.fintech .overlay-stat .v { color: var(--empresas); }
.industry-deep.banca .overlay-stat .v { color: var(--analyzer-yellow); }
.industry-deep.transporte .overlay-stat .v { color: var(--income); }

.industry-deep-content .kicker-ind {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.industry-deep.fintech .kicker-ind { background: rgba(28,160,230,0.1); color: var(--empresas); border: 1px solid rgba(28,160,230,0.3); }
.industry-deep.banca .kicker-ind { background: rgba(255,222,26,0.1); color: var(--analyzer-yellow); border: 1px solid rgba(255,222,26,0.3); }
.industry-deep.transporte .kicker-ind { background: rgba(255,107,44,0.1); color: var(--income); border: 1px solid rgba(255,107,44,0.3); }

.industry-deep-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.industry-deep-content h2 .hl { display: inline-block; }
.industry-deep.fintech h2 .hl { color: var(--empresas); }
.industry-deep.banca h2 .hl { color: var(--analyzer-yellow); }
.industry-deep.transporte h2 .hl { color: var(--income); }

.industry-deep-content .lead { font-size: 16px; color: var(--text-dim); line-height: 1.6; margin-bottom: 24px; }

.industry-pain {
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(239,68,68,0.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: 24px;
}
.industry-pain .t { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.industry-pain .d { font-size: 14px; color: var(--text); line-height: 1.55; }

.industry-solution-list { display: grid; gap: 12px; margin-bottom: 28px; }
.industry-solution-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.industry-solution-item .i { font-size: 22px; flex-shrink: 0; width: 32px; }
.industry-solution-item .t { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.industry-solution-item .d { font-size: 13px; color: var(--muted); line-height: 1.5; }

.industry-deep-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.industry-deep.fintech .industry-deep-cta { background: var(--empresas); color: white; box-shadow: 0 8px 24px rgba(28,160,230,0.3); }
.industry-deep.banca .industry-deep-cta { background: var(--analyzer-yellow); color: var(--bg); box-shadow: 0 8px 24px rgba(255,222,26,0.3); }
.industry-deep.transporte .industry-deep-cta { background: var(--income); color: white; box-shadow: 0 8px 24px rgba(255,107,44,0.3); }
.industry-deep-cta:hover { transform: translateY(-2px); }

/* ==========================================================================
   V6 — Lovable-style: WhatsApp mockup protagonista
   ========================================================================== */

/* ----- Header V6: toggle + Contacto + WhatsApp verde brillante ----- */
.nav-cta.nav-contact {
  background: var(--bg-3) !important;
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  padding: 10px 18px !important;
  box-shadow: none;
  font-weight: 700 !important;
}
.nav-cta.nav-contact:hover { background: var(--bg-4) !important; }

.nav-cta.nav-wsp {
  background: #25D366 !important;
  color: white !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1px rgba(66,224,75,0.6), 0 12px 32px rgba(37,211,102,0.45), 0 0 24px rgba(66,224,75,0.35);
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: visible;
}
.nav-cta.nav-wsp::before {
  content: ''; position: absolute; inset: -4px; border-radius: calc(var(--r-sm) + 4px);
  background: radial-gradient(circle, rgba(66,224,75,0.3), transparent 65%);
  z-index: -1;
  animation: pulse-soft 2s ease-in-out infinite;
}
.nav-cta.nav-wsp:hover { background: #42E04B !important; transform: translateY(-1px); }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color .2s, background .2s;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--text); background: var(--bg-4); }

/* ----- HERO V6: split 50/50 with WhatsApp mockup ----- */
.hero-v6 {
  position: relative;
  padding: calc(var(--header-h) + 64px) 72px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  overflow: hidden;
  background: #080A0C;
  min-height: calc(100vh - 60px);
}
@media (max-width: 1100px) {
  .hero-v6 { padding: calc(var(--header-h) + 40px) 40px 60px; grid-template-columns: 1fr; gap: 48px; min-height: auto; }
}
@media (max-width: 560px) { .hero-v6 { padding: calc(var(--header-h) + 32px) 20px 56px; } }

.hero-v6::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 15%, rgba(255,222,26,0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(66,224,75,0.08), transparent 60%);
  pointer-events: none;
}
.hero-v6 > * { position: relative; z-index: 1; }

.hero-v6-left { max-width: 680px; }

.hero-v6-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  background: rgba(255,222,26,0.06);
  border: 1px solid rgba(255,222,26,0.25);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 800;
  color: var(--analyzer-yellow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-v6-badge::before {
  content: '✦';
  font-size: 12px;
}

.hero-v6-title {
  font-family: var(--f-sans);
  font-size: clamp(44px, 6.2vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-v6-title .hl {
  color: var(--analyzer-yellow);
}

.hero-v6-tagline {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--analyzer-yellow);
  margin: -8px 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-v6-tagline::before {
  content: ''; display: inline-block;
  width: 32px; height: 2px;
  background: var(--analyzer-yellow);
  border-radius: 2px;
}

.hero-v6-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: #BCC3CC;
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-v6-lead strong { color: var(--text); font-weight: 700; }

.hero-v6-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn-wsp-hero {
  background: #25D366;
  color: white;
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 0 1px rgba(66,224,75,0.6), 0 16px 40px rgba(37,211,102,0.5), 0 0 32px rgba(66,224,75,0.4);
  transition: transform .15s, box-shadow .2s;
  position: relative;
}
.btn-wsp-hero::before {
  content: ''; position: absolute; inset: -6px; border-radius: calc(var(--r-md) + 6px);
  background: radial-gradient(circle, rgba(66,224,75,0.25), transparent 65%);
  z-index: -1;
  animation: pulse-soft 2s ease-in-out infinite;
}
.btn-wsp-hero:hover { background: #42E04B; transform: translateY(-2px); }

.btn-dark-hero {
  background: var(--bg-3);
  color: var(--text);
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s, transform .15s;
}
.btn-dark-hero:hover { background: var(--bg-4); transform: translateY(-1px); }

.hero-v6-sources {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.hero-v6-sources-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--faded);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-v6-source-chip {
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ---- WhatsApp Mockup Card (the star) ---- */
.wsp-mockup {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  background: #0F1417;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: min(680px, 82vh);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(66,224,75,0.15),
    0 0 60px rgba(66,224,75,0.1);
}
.wsp-mockup-header { flex-shrink: 0; }

.wsp-mockup-header {
  background: linear-gradient(180deg, #25D366 0%, #1ABC54 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.wsp-mockup-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  color: white;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.wsp-mockup-info {
  flex: 1;
}
.wsp-mockup-name {
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wsp-mockup-status {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wsp-mockup-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #B9FCCB;
  animation: pulse-soft 1.5s ease-in-out infinite;
}
.wsp-mockup-badge {
  padding: 5px 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wsp-mockup-chat {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
  background-color: #0B0E10;
  background-image: url('brand/whatsapp-chat-bg.png');
  background-size: 460px auto;
  background-repeat: repeat;
  background-position: center top;
  position: relative;
}
.wsp-mockup-chat::-webkit-scrollbar { width: 4px; }
.wsp-mockup-chat::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.wsp-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 86%;
}
.wsp-bubble.out { align-self: flex-end; flex-direction: row-reverse; }
.wsp-bubble.in { align-self: flex-start; }

.wsp-bubble-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-3);
  overflow: hidden;
  border: 1px solid var(--line);
}
.wsp-bubble-avatar img { width: 110%; height: 110%; object-fit: cover; object-position: top; }

.wsp-bubble-content {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.wsp-bubble.out .wsp-bubble-content {
  background: #204D3C;
  color: white;
  border-bottom-right-radius: 4px;
}
.wsp-bubble-photo {
  padding: 4px !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 180px;
}
.wsp-bubble-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}
.wsp-bubble-caption {
  display: block;
  padding: 2px 8px 4px;
  font-size: 12px;
  color: white;
}
.wsp-bubble.in .wsp-bubble-content {
  background: #1A2026;
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}

.wsp-service-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wsp-service-label.buho { color: #C084FC; }
.wsp-service-label.zorro { color: var(--analyzer-yellow); }
.wsp-service-label.castor { color: #FB923C; }
.wsp-service-label.toro { color: #60A5FA; }

.wsp-service-text {
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.wsp-service-text strong { font-weight: 700; }

.wsp-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wsp-service-pill::before { content: '✓'; font-size: 10px; }
.wsp-service-pill.bio { background: rgba(147,51,234,0.15); color: #C084FC; }
.wsp-service-pill.lists { background: rgba(255,222,26,0.15); color: var(--analyzer-yellow); }
.wsp-service-pill.sign { background: rgba(255,107,44,0.15); color: #FB923C; }

.wsp-complete {
  align-self: center;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid rgba(66,224,75,0.3);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #42E04B;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wsp-complete::before { content: '✓'; color: #42E04B; }

/* --- WhatsApp animation states ---
   Hidden = takes no space (max-height 0), so messages stack from TOP as they appear */
.wsp-bubble, .wsp-typing, .wsp-complete {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  transform: translateY(4px);
  transition:
    opacity .35s ease,
    max-height .45s cubic-bezier(0.4, 0, 0.2, 1),
    margin-bottom .35s ease,
    transform .35s ease;
}
.wsp-bubble.visible, .wsp-typing.visible, .wsp-complete.visible {
  opacity: 1;
  max-height: 500px;
  margin-bottom: 10px;
  transform: translateY(0);
  overflow: visible;
}

.wsp-typing {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  max-width: 86%;
  align-self: flex-start;
}
.wsp-typing-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  flex-shrink: 0;
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.wsp-typing-avatar img { width: 110%; height: 110%; object-fit: cover; object-position: top; }
.wsp-typing-bubble {
  padding: 14px 16px;
  background: #1A2026;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.wsp-typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.wsp-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wsp-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.wsp-mockup-footer {
  padding: 12px 14px;
  background: #0B0E10;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.wsp-mockup-action {
  padding: 9px 6px;
  background: var(--analyzer-yellow);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.wsp-mockup-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  max-width: 480px;
  width: 100%;
}
.wsp-mockup-caption {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
:root[data-theme="light"] .wsp-mockup-caption { color: var(--text-dim); }

/* ----- Logos carousel (infinite marquee, Lovable-style) ----- */
.logos-carousel {
  padding: 48px 0 64px;
  background: #080A0C;
  border-top: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.logos-carousel::before,
.logos-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.logos-carousel::before { left: 0; background: linear-gradient(90deg, #080A0C, transparent); }
.logos-carousel::after { right: 0; background: linear-gradient(270deg, #080A0C, transparent); }

.logos-carousel-title {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 0 24px;
}

.logos-track-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
  margin-bottom: 16px;
}
.logos-track {
  display: flex;
  gap: 14px;
  align-items: center;
  animation: logosMarquee 50s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 14px;
}
.logos-track-wrap.reverse .logos-track {
  animation-direction: reverse;
  animation-duration: 42s;
}
.logos-track-wrap:hover .logos-track { animation-play-state: paused; }
@keyframes logosMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  padding: 14px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .25s, border-color .25s, background .25s, transform .2s;
  flex-shrink: 0;
  cursor: pointer;
}
.client-logo:hover {
  color: var(--text);
  border-color: var(--analyzer-yellow);
  background: rgba(255,222,26,0.05);
  transform: translateY(-1px);
}
.client-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.6;
}
.client-logo.banca { color: #60A5FA; }
.client-logo.coop { color: #42E04B; }
.client-logo.fintech { color: #C084FC; }
.client-logo.data { color: #FB923C; }
.client-logo.seguros { color: #FFDE1A; }
.client-logo.transporte { color: #F87171; }

/* Image-based client logo variant (e.g. featured customer wordmark) */
.client-logo.client-logo-img { padding: 10px 22px; gap: 0; }
.client-logo.client-logo-img img { height: 22px; width: auto; display: block; }
.client-logo.client-logo-img .img-light { display: block; }
.client-logo.client-logo-img .img-dark  { display: none; }
:root[data-theme="light"] .client-logo.client-logo-img .img-light { display: none; }
:root[data-theme="light"] .client-logo.client-logo-img .img-dark  { display: block; }
.client-logo.client-logo-img:hover { background: rgba(253,54,126,0.05); border-color: rgba(253,54,126,0.5); transform: translateY(-1px); }

.client-logo:hover { color: var(--text); }
.client-logo.banca:hover { border-color: #60A5FA; background: rgba(96,165,250,0.06); }
.client-logo.coop:hover { border-color: #42E04B; background: rgba(66,224,75,0.06); }
.client-logo.fintech:hover { border-color: #C084FC; background: rgba(192,132,252,0.06); }
.client-logo.data:hover { border-color: #FB923C; background: rgba(251,146,60,0.06); }
.client-logo.seguros:hover { border-color: #FFDE1A; background: rgba(255,222,26,0.06); }
.client-logo.transporte:hover { border-color: #F87171; background: rgba(248,113,113,0.06); }

/* -------------------- Placeholder pages -------------------- */
.placeholder-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  text-align: center;
}
.placeholder-hero h1 { margin-bottom: 20px; }
.placeholder-hero p { color: var(--muted); max-width: 600px; margin: 0 auto 32px; }
.under-construction {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 14px 22px;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--r-full); color: var(--amber); font-size: 14px; font-weight: 600;
}

/* ==========================================================================
   LIGHT MODE — toggled via [data-theme="light"] on <html>
   ========================================================================== */
:root[data-theme="light"] {
  --bg: #FAFBFC;
  --bg-2: #F2F4F7;
  --bg-3: #E7EAEE;
  --bg-4: #DADEE4;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.18);
  --text: #0F172A;
  --text-dim: #334155;
  --muted: #64748B;
  --faded: #94A3B8;
}

/* Body + page background */
:root[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}

/* Header transitions to light */
:root[data-theme="light"] .header {
  background: rgba(250, 251, 252, 0.85);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}
:root[data-theme="light"] .header.scrolled {
  background: rgba(250, 251, 252, 0.95);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .nav a { color: var(--text-dim); }
:root[data-theme="light"] .nav a:hover { color: var(--text); }

/* Hero v6 */
:root[data-theme="light"] .hero-v6 {
  background:
    radial-gradient(ellipse at top right, rgba(255,222,26,0.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(66,224,75,0.08), transparent 55%),
    #FAFBFC;
}
:root[data-theme="light"] .hero-v6-title { color: var(--text); }
:root[data-theme="light"] .hero-v6-lead { color: var(--text-dim); }
:root[data-theme="light"] .hero-v6-badge {
  background: rgba(255,222,26,0.18);
  color: #8B6F00;
  border-color: rgba(255,222,26,0.5);
}
:root[data-theme="light"] .hero-v6-source-chip {
  background: white;
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
:root[data-theme="light"] .btn-dark-hero {
  background: var(--text);
  color: white;
}

/* WhatsApp mockup stays dark (authentic) */
/* but border softens */
:root[data-theme="light"] .wsp-mockup {
  box-shadow: 0 30px 80px rgba(15,23,42,0.18), 0 4px 16px rgba(15,23,42,0.08);
}

/* Logos carousel */
:root[data-theme="light"] .logos-carousel { background: var(--bg); }
:root[data-theme="light"] .logos-carousel::before {
  background: linear-gradient(90deg, var(--bg), transparent);
}
:root[data-theme="light"] .logos-carousel::after {
  background: linear-gradient(270deg, var(--bg), transparent);
}
:root[data-theme="light"] .logos-carousel-title { color: var(--muted); }
:root[data-theme="light"] .client-logo {
  background: white;
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

/* Products section base */
:root[data-theme="light"] .products-head h2 { color: var(--text); }
:root[data-theme="light"] .products-head p { color: var(--text-dim); }
:root[data-theme="light"] .products-head .eyebrow { color: #8B6F00; }

/* Product rows — overlays need to flip for light bg */
:root[data-theme="light"] .product-row.toro-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(250,251,252,0.96) 0%, rgba(250,251,252,0.88) 40%, rgba(250,251,252,0.55) 100%),
    radial-gradient(ellipse at 85% 50%, rgba(28,160,230,0.18), transparent 55%);
}
:root[data-theme="light"] .product-row.zorro-section .product-overlay {
  background:
    linear-gradient(90deg, transparent 0%, transparent 40%, rgba(250,251,252,0.8) 55%, rgba(250,251,252,1) 68%),
    radial-gradient(ellipse at 20% 50%, rgba(255,222,26,0.14), transparent 55%);
}

/* Cumplimiento deco · light mode */
:root[data-theme="light"] .cd-scene {
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
  border-color: rgba(255,222,26,0.55);
  box-shadow: 0 24px 60px rgba(15,30,50,0.1), 0 0 0 1px rgba(255,222,26,0.15);
}
:root[data-theme="light"] .cd-head {
  color: #8B6F00;
  background: rgba(255,222,26,0.16);
  border-color: rgba(255,222,26,0.55);
}
:root[data-theme="light"] .cd-dot { background: #B8860B; box-shadow: 0 0 0 4px rgba(184,134,11,0.18); }
:root[data-theme="light"] .cd-subject {
  background: #F8FAFC;
  border-color: rgba(8,10,12,0.08);
}
:root[data-theme="light"] .cd-name { color: #0F1218; }
:root[data-theme="light"] .cd-id { color: #64748B; }
:root[data-theme="light"] .cd-list-row {
  background: #FFFFFF;
  border-color: rgba(8,10,12,0.08);
  box-shadow: 0 2px 4px rgba(15,30,50,0.03);
}
:root[data-theme="light"] .cd-list-name { color: #0F1218; }
:root[data-theme="light"] .cd-list-sources { color: #64748B; }
:root[data-theme="light"] .cd-list-status.ok   { color: #166534; background: rgba(66,224,75,0.12); }
:root[data-theme="light"] .cd-list-status.warn { color: #92400E; background: rgba(245,158,11,0.14); }
:root[data-theme="light"] .cd-list-status.scan { color: #075985; background: rgba(28,160,230,0.14); }
:root[data-theme="light"] .cd-agent {
  background: linear-gradient(180deg, rgba(255,222,26,0.12), rgba(255,222,26,0.04));
  border-color: rgba(255,222,26,0.55);
  box-shadow: 0 14px 32px rgba(255,222,26,0.12);
}
:root[data-theme="light"] .cd-agent-title { color: #0F1218; }
:root[data-theme="light"] .cd-agent-sub { color: #64748B; }
:root[data-theme="light"] .cd-agent-live { color: #15803D; }
:root[data-theme="light"] .cd-agent-live-dot { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
:root[data-theme="light"] .cd-agent-quote {
  color: #1E293B;
  background: #FFFFFF;
  border-color: rgba(8,10,12,0.08);
  border-left-color: #FFDE1A;
}
:root[data-theme="light"] .cd-agent-quote strong { color: #8B6F00; }
:root[data-theme="light"] .cd-agent-reco {
  background: rgba(66,224,75,0.1);
  border-color: rgba(66,224,75,0.4);
}
:root[data-theme="light"] .cd-agent-reco-label { color: #166534; }
:root[data-theme="light"] .cd-agent-reco-value { color: #0F1218; }
:root[data-theme="light"] .cd-agent-conf {
  background: #FFFFFF;
  border-color: rgba(8,10,12,0.08);
}
:root[data-theme="light"] .cd-agent-conf-top { color: #64748B; }
:root[data-theme="light"] .cd-agent-conf-top strong { color: #B8860B; }
:root[data-theme="light"] .cd-agent-conf-bar,
:root[data-theme="light"] .cd-agent-score-bar { background: rgba(8,10,12,0.08); }
:root[data-theme="light"] .cd-agent-score-strip {
  background: #F8FAFC;
}
:root[data-theme="light"] .cd-agent-score-label { color: #64748B; }
:root[data-theme="light"] .cd-agent-score-value { color: #0F1218; }
:root[data-theme="light"] .cd-agent-score-total { color: #94A3B8; }
:root[data-theme="light"] .product-row.buho-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(250,251,252,0.96) 0%, rgba(250,251,252,0.85) 40%, rgba(250,251,252,0.45) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(147,51,234,0.18), transparent 55%);
}
:root[data-theme="light"] .product-row.castor-section .product-overlay {
  background:
    linear-gradient(270deg, rgba(250,251,252,0.96) 0%, rgba(250,251,252,0.85) 40%, rgba(250,251,252,0.45) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(255,107,44,0.18), transparent 55%);
}
:root[data-theme="light"] .product-row + .product-row { border-top-color: var(--line); }
:root[data-theme="light"] .product-title,
:root[data-theme="light"] .product-title .hl { color: inherit; }
:root[data-theme="light"] .product-title { color: var(--text); }
:root[data-theme="light"] .product-lead { color: var(--text-dim); }
:root[data-theme="light"] .product-benefit {
  background: white;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}
:root[data-theme="light"] .product-number { color: rgba(15,23,42,0.06); }

/* WhatsApp block (integrator) */
:root[data-theme="light"] .whatsapp-block {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(66,224,75,0.10), transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(255,222,26,0.08), transparent 50%),
    #F2F4F7;
}
:root[data-theme="light"] .whatsapp-benefit {
  background: white;
  border-color: var(--line);
}
:root[data-theme="light"] .whatsapp-benefit .title { color: var(--text); }
:root[data-theme="light"] .whatsapp-benefit .desc { color: var(--text-dim); }

/* Fix WhatsApp block heading/lead/mascots on light bg */
:root[data-theme="light"] .whatsapp-block h2 { color: var(--text); }
:root[data-theme="light"] .whatsapp-block .lead-wsp { color: var(--text-dim); }
:root[data-theme="light"] .whatsapp-pill {
  background: rgba(66,224,75,0.12);
  border-color: rgba(66,224,75,0.35);
  color: #0F7A1D;
}
:root[data-theme="light"] .whatsapp-visual .mascot {
  filter: grayscale(0.15) brightness(1.05);
}

/* Industry cards / deep sections */
:root[data-theme="light"] .industry-card {
  background: white;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
:root[data-theme="light"] .industry-card h3 { color: var(--text); }
:root[data-theme="light"] .industry-card p { color: var(--text-dim); }

/* Triple CTA */
:root[data-theme="light"] .cta-block { background: var(--bg-2); }
:root[data-theme="light"] .cta-card {
  background: white;
  border-color: var(--line);
}

/* Footer */
:root[data-theme="light"] footer,
:root[data-theme="light"] .footer {
  background: var(--bg-2);
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}
:root[data-theme="light"] .footer a { color: var(--text-dim); }

/* Theme toggle icon swap */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Smooth transition when toggling */
body, .header, .product-benefit, .industry-card, .cta-card, .whatsapp-benefit, .client-logo, .hero-v6-source-chip {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* ==========================================================================
   LIGHT MODE — yellow text contrast fix (yellow unreadable on white bg)
   Replace yellow text with darker amber/gold in light mode
   ========================================================================== */
:root[data-theme="light"] {
  --yellow-text-light: #8B6F00;
  --yellow-text-light-strong: #6B5400;
}

/* Stats & counters */
:root[data-theme="light"] .dna-stat .v,
:root[data-theme="light"] .od-counter .v,
:root[data-theme="light"] .hero-v6-tagline {
  color: var(--yellow-text-light-strong);
}
:root[data-theme="light"] .hero-v6-tagline::before {
  background: var(--yellow-text-light-strong);
}

/* Highlights inside titles */
:root[data-theme="light"] .hero-v6-title .hl,
:root[data-theme="light"] .product-content.zorro .product-title .hl,
:root[data-theme="light"] .product-content.zorro .product-kicker,
:root[data-theme="light"] .accent-yellow,
:root[data-theme="light"] .hero h1 .accent,
:root[data-theme="light"] .module-personas .module-link,
:root[data-theme="light"] .compare-table thead th.highlight,
:root[data-theme="light"] .opendata-quote strong,
:root[data-theme="light"] .service-card.half.kyc .service-link,
:root[data-theme="light"] .service-tag.t-kyc,
:root[data-theme="light"] .product-badge.t-zorro,
:root[data-theme="light"] .wsp-service-label.zorro,
:root[data-theme="light"] .wsp-service-pill.lists,
:root[data-theme="light"] .client-logo.coop,
:root[data-theme="light"] .kicker.yellow,
:root[data-theme="light"] .dna-eyebrow,
:root[data-theme="light"] .eyebrow {
  color: var(--yellow-text-light-strong);
}

/* Kicker/eyebrow pills that use yellow bg — deepen border and bg on light */
:root[data-theme="light"] .kicker.yellow {
  background: rgba(139,111,0,0.08);
  border-color: rgba(139,111,0,0.35);
}
:root[data-theme="light"] .product-badge.t-zorro {
  background: rgba(255,255,255,0.85);
  border-color: rgba(139,111,0,0.35);
}

/* The sources orbit chips */
:root[data-theme="light"] .dna-orbit-item {
  background: white;
  border-color: var(--line);
  color: var(--text-dim);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

/* DNA center (if using the yellow version still visible) — and caption of the new logo version */
:root[data-theme="light"] .dna-center-caption {
  background: white;
  border-color: var(--line);
  color: var(--text);
}

/* hero v6 sources chips already handled; ensure chip yellow dot readable */
:root[data-theme="light"] .client-logo-dot {
  filter: brightness(0.85) saturate(1.3);
}

/* Footer yellow accents in light */
:root[data-theme="light"] .footer h4,
:root[data-theme="light"] .footer .hl {
  color: var(--yellow-text-light-strong);
}

/* WhatsApp mockup stays dark — no changes to internal yellow (it's on dark bg) */

/* ==========================================================================
   WhatsApp FLOW TIMELINE — stepped explanation synced with chat animation
   ========================================================================== */
.hero-v6-right {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 1100px) {
  .hero-v6-right { flex-direction: column; align-items: stretch; gap: 32px; }
}

.wsp-flow {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@media (max-width: 1100px) {
  .wsp-flow { flex: 1 1 auto; max-width: 480px; margin: 0 auto; }
}

.wsp-flow-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--analyzer-yellow);
  margin-bottom: 4px;
}

.wsp-flow-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  opacity: 0.38;
  transform: translateX(-6px);
  transition: opacity .45s ease, transform .45s ease, background .3s, border-color .3s, box-shadow .3s;
  position: relative;
}
.wsp-flow-step.active {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255,222,26,0.08);
  border-color: rgba(255,222,26,0.45);
  box-shadow: 0 0 24px rgba(255,222,26,0.18), inset 0 0 0 1px rgba(255,222,26,0.12);
}
.wsp-flow-step.done {
  opacity: 0.95;
  transform: translateX(0);
  background: rgba(66,224,75,0.05);
  border-color: rgba(66,224,75,0.30);
}

.wsp-flow-dot {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid var(--line-strong);
  transition: background .3s, color .3s, border-color .3s;
}
.wsp-flow-step.active .wsp-flow-dot {
  background: var(--analyzer-yellow);
  color: var(--bg);
  border-color: var(--analyzer-yellow);
  box-shadow: 0 0 18px rgba(255,222,26,0.6);
  animation: flow-pulse 1.6s ease-in-out infinite;
}
.wsp-flow-step.done .wsp-flow-dot {
  background: #42E04B;
  color: white;
  border-color: #42E04B;
  font-size: 0; /* hide the number */
}
.wsp-flow-step.done .wsp-flow-dot::before {
  content: '✓';
  font-size: 15px;
  font-weight: 900;
}
@keyframes flow-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255,222,26,0.5); }
  50% { box-shadow: 0 0 28px rgba(255,222,26,0.9); }
}

.wsp-flow-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wsp-flow-label {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color .3s;
}
.wsp-flow-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  font-weight: 500;
  transition: color .3s;
}
.wsp-flow-step.active .wsp-flow-label {
  color: var(--analyzer-yellow);
  text-shadow: 0 0 16px rgba(255,222,26,0.4);
}
.wsp-flow-step.active .wsp-flow-desc { color: var(--text); }
.wsp-flow-step.done .wsp-flow-label { color: var(--text); }
.wsp-flow-step.done .wsp-flow-desc { color: var(--text-dim); }
:root[data-theme="light"] .wsp-flow-label { color: var(--text); }
:root[data-theme="light"] .wsp-flow-desc { color: var(--text-dim); }
:root[data-theme="light"] .wsp-flow-step.active .wsp-flow-label {
  color: #8B6F00;
  text-shadow: none;
}
:root[data-theme="light"] .wsp-flow-step.active .wsp-flow-desc { color: var(--text); }

/* Connector line between steps */
.wsp-flow-step:not(:last-of-type)::after {
  content: '';
  position: absolute;
  left: 31px;
  top: calc(100% + 0px);
  width: 2px;
  height: 18px;
  background: var(--line);
  z-index: 0;
}
.wsp-flow-step.done:not(:last-of-type)::after {
  background: #42E04B;
}

/* Final message */
.wsp-flow-final {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(66,224,75,0.12), rgba(255,222,26,0.08));
  border: 1px solid rgba(66,224,75,0.35);
  border-radius: var(--r-md);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease;
}
.wsp-flow-final.visible {
  opacity: 1;
  transform: translateY(0);
}
.wsp-flow-final-num {
  font-family: var(--f-mono);
  font-size: 38px;
  font-weight: 800;
  color: #42E04B;
  line-height: 1;
  letter-spacing: -0.04em;
}
.wsp-flow-final-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.35;
}
.wsp-flow-final-text strong {
  color: var(--text);
  font-weight: 800;
}

/* Light-mode adjustments */
:root[data-theme="light"] .wsp-flow-step {
  background: white;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
:root[data-theme="light"] .wsp-flow-step.active {
  background: rgba(255,222,26,0.15);
  border-color: rgba(139,111,0,0.5);
}
:root[data-theme="light"] .wsp-flow-step.active .wsp-flow-dot {
  background: #8B6F00;
  color: white;
  border-color: #8B6F00;
}
:root[data-theme="light"] .wsp-flow-label { color: var(--text); }
:root[data-theme="light"] .wsp-flow-kicker { color: #8B6F00; }
:root[data-theme="light"] .wsp-flow-final { background: linear-gradient(135deg, rgba(66,224,75,0.10), rgba(255,222,26,0.06)); }

/* ==========================================================================
   PRODUCT CHAPTER MARKER — band between product sections
   ========================================================================== */
.product-chapter {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 28px 72px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 5;
  overflow: hidden;
}
@media (max-width: 700px) {
  .product-chapter { padding: 20px 24px; gap: 12px; flex-wrap: wrap; }
}
.product-chapter::before {
  /* color accent on the left edge */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: currentColor;
}

.product-chapter-num {
  font-family: var(--f-mono);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: currentColor;
  opacity: 0.9;
}
.product-chapter-divider {
  flex: 0 0 2px;
  align-self: stretch;
  background: var(--line-strong);
  margin: 6px 0;
}
.product-chapter-name {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
}
.product-chapter-mascot {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.product-chapter-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: currentColor;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: var(--r-full);
  opacity: 0.9;
}
@media (max-width: 700px) {
  .product-chapter-num { font-size: 30px; }
  .product-chapter-name { font-size: 18px; }
  .product-chapter-mascot { font-size: 24px; }
  .product-chapter-tag { font-size: 10px; padding: 6px 10px; }
}

/* Color per product */
.product-chapter.t-toro { color: var(--empresas); }
.product-chapter.t-zorro { color: var(--analyzer-yellow); }
.product-chapter.t-buho { color: #C084FC; }
.product-chapter.t-castor { color: var(--income); }

/* Light mode: softer color on light bg */
:root[data-theme="light"] .product-chapter {
  background: var(--bg-2);
  border-color: var(--line);
}
:root[data-theme="light"] .product-chapter-name { color: var(--text); }
:root[data-theme="light"] .product-chapter.t-zorro { color: #8B6F00; }

/* Remove the old border between rows since the chapter now separates them */
.product-row + .product-row { border-top: none; }
.product-chapter + .product-row { border-top: none; }

/* ==========================================================================
   HERO floating mascots — decorative, subtle, reinforces brand identity
   ========================================================================== */
.hero-mascot {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: blur(0.3px);
}
.hero-mascot img { width: 100%; height: auto; display: block; }

.hero-mascot-bull   { width: 110px; top: 18%; right: 48%;  animation: float-mascot 7s ease-in-out infinite; }
.hero-mascot-fox    { width: 90px;  bottom: 18%; left: 38%; animation: float-mascot 6s ease-in-out infinite 1s; }
.hero-mascot-owl    { width: 75px;  top: 24%;  left: 10%;  animation: float-mascot 8s ease-in-out infinite 0.5s; }
.hero-mascot-beaver { width: 85px;  bottom: 12%; left: 6%;  animation: float-mascot 7s ease-in-out infinite 1.8s; }

@media (max-width: 1100px) {
  /* Keep only two small mascots on smaller screens to avoid clutter */
  .hero-mascot-bull, .hero-mascot-fox { display: none; }
  .hero-mascot-owl, .hero-mascot-beaver { opacity: 0.12; width: 60px; }
}

:root[data-theme="light"] .hero-mascot { opacity: 0.28; }

/* ==========================================================================
   INDUSTRIES TABS (consolidated) — replaces 4 cards + 4 deep-dives
   ========================================================================== */
.industries-tabs-section { padding: 24px 0 96px; background: var(--bg); }
.industries-tabs-wrap { max-width: 1280px; margin: 0 auto; padding: 0 72px; }
@media (max-width: 900px) { .industries-tabs-wrap { padding: 0 24px; } }

.industries-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .industries-tabs-bar { border-radius: var(--r-lg); padding: 6px; gap: 4px; }
}

.industry-tab {
  flex: 1 1 auto;
  padding: 14px 22px;
  background: transparent;
  border: none;
  border-radius: var(--r-full);
  color: var(--muted);
  font-family: var(--f-sans, inherit);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .25s, color .25s, transform .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  white-space: nowrap;
}
.industry-tab .tab-emoji { font-size: 18px; }
.industry-tab:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.industry-tab.active {
  background: var(--bg-3);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.industry-tab.active.fintech { box-shadow: 0 2px 12px rgba(28,160,230,0.25); outline: 1px solid rgba(28,160,230,0.45); }
.industry-tab.active.banca { box-shadow: 0 2px 12px rgba(255,222,26,0.25); outline: 1px solid rgba(255,222,26,0.45); }
.industry-tab.active.transporte { box-shadow: 0 2px 12px rgba(255,107,44,0.25); outline: 1px solid rgba(255,107,44,0.45); }
.industry-tab.active.cooperativas { box-shadow: 0 2px 12px rgba(66,224,75,0.25); outline: 1px solid rgba(66,224,75,0.45); }

.tab-ribbon {
  position: absolute;
  top: -10px; right: 8px;
  background: var(--income);
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: pulse-soft 2s ease-in-out infinite;
}

.industry-panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
  animation: fadeInUp .4s ease;
}
.industry-panel.active { display: grid; }
@media (max-width: 900px) {
  .industry-panel.active { grid-template-columns: 1fr; gap: 24px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.industry-panel-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 360px;
  background: var(--bg-2);
}
.industry-panel-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.industry-panel-image .overlay-stat {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  padding: 16px 20px;
  background: rgba(8,10,12,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  display: flex; align-items: center; gap: 14px;
}
.industry-panel-image .overlay-stat .v {
  font-family: var(--f-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--analyzer-yellow);
  line-height: 1;
  white-space: nowrap;
}
.industry-panel-image .overlay-stat.urgent .v { color: var(--income); }
.industry-panel-image .overlay-stat .l {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}

.industry-panel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.industry-panel-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
}
.industry-panel.fintech .hl { color: var(--empresas); }
.industry-panel.banca .hl { color: var(--analyzer-yellow); }
.industry-panel.transporte .hl { color: var(--income); }
.industry-panel.cooperativas .hl { color: #42E04B; }

.industry-panel-lead {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 22px;
}
.industry-panel-items {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.ipi {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.ipi .i { font-size: 20px; flex-shrink: 0; }
.ipi .t { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.ipi .d { font-size: 13px; color: var(--text-dim); line-height: 1.4; }

.industry-panel-cta {
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .2s;
}
.industry-panel-cta:hover { transform: translateY(-2px); }
.industry-panel-cta.fintech { background: var(--empresas); color: white; box-shadow: 0 8px 20px rgba(28,160,230,0.3); }
.industry-panel-cta.banca { background: var(--analyzer-yellow); color: var(--bg); box-shadow: 0 8px 20px rgba(255,222,26,0.3); }
.industry-panel-cta.transporte { background: var(--income); color: white; box-shadow: 0 8px 20px rgba(255,107,44,0.3); }
.industry-panel-cta.cooperativas { background: #42E04B; color: var(--bg); box-shadow: 0 8px 20px rgba(66,224,75,0.3); }

/* Light mode */
:root[data-theme="light"] .industries-tabs-section { background: var(--bg); }
:root[data-theme="light"] .industries-tabs-bar { background: white; border-color: var(--line); }
:root[data-theme="light"] .industry-tab { color: var(--muted); }
:root[data-theme="light"] .industry-tab:hover { background: var(--bg-2); color: var(--text); }
:root[data-theme="light"] .industry-tab.active { background: var(--bg-2); color: var(--text); }
:root[data-theme="light"] .ipi { background: white; border-color: var(--line); }
:root[data-theme="light"] .industry-panel-image .overlay-stat {
  background: rgba(255,255,255,0.92);
  border-color: var(--line-strong);
}
:root[data-theme="light"] .industry-panel-image .overlay-stat .v { color: #8B6F00; }
:root[data-theme="light"] .industry-panel-image .overlay-stat .l { color: var(--text-dim); }
:root[data-theme="light"] .industry-panel.banca .hl { color: #8B6F00; }

/* ==========================================================================
   PRICING SIGNAL — compact tiers block
   ========================================================================== */
.pricing-signal { padding: 96px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-signal-inner { max-width: 1200px; margin: 0 auto; padding: 0 72px; }
@media (max-width: 900px) { .pricing-signal-inner { padding: 0 24px; } .pricing-signal { padding: 64px 0; } }

.pricing-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--analyzer-yellow);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255,222,26,0.3);
  background: rgba(255,222,26,0.06);
  border-radius: var(--r-full);
}
.pricing-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 820px;
}
.pricing-title .hl {
  background: linear-gradient(90deg, var(--analyzer-yellow), var(--cumplimiento));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-lead { color: var(--text-dim); font-size: 16px; line-height: 1.55; max-width: 720px; margin-bottom: 40px; }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .pricing-tiers { grid-template-columns: 1fr; } }

.pricing-tier {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.pricing-tier:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.pricing-tier.featured {
  border-color: rgba(255,222,26,0.5);
  box-shadow: 0 20px 60px rgba(255,222,26,0.08), inset 0 0 0 1px rgba(255,222,26,0.15);
}
.tier-badge {
  align-self: flex-start;
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 1px solid var(--line);
}
.pricing-tier.featured .tier-badge { background: var(--analyzer-yellow); color: var(--bg); border-color: var(--analyzer-yellow); }
.pricing-tier.enterprise .tier-badge { background: rgba(28,160,230,0.12); color: var(--empresas); border-color: rgba(28,160,230,0.3); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-price .v { font-family: var(--f-mono); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.tier-price .u { font-size: 13px; color: var(--muted); font-weight: 600; }
.tier-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.tier-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tier-bullets li {
  font-size: 13px; color: var(--text-dim);
  padding-left: 22px; position: relative;
}
.tier-bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: #42E04B; font-weight: 800;
}
.tier-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 700;
  transition: background .2s, border-color .2s;
}
.tier-cta:hover { background: var(--bg-3); }
.tier-cta.primary {
  background: var(--analyzer-yellow);
  color: var(--bg);
  border-color: var(--analyzer-yellow);
  box-shadow: 0 8px 20px rgba(255,222,26,0.25);
}
.tier-cta.primary:hover { background: var(--analyzer-yellow-dim); }

.pricing-footnote {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255,222,26,0.04);
  border: 1px dashed rgba(255,222,26,0.25);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.pricing-footnote strong { color: var(--text); }

/* Light mode */
:root[data-theme="light"] .pricing-signal { background: var(--bg-2); }
:root[data-theme="light"] .pricing-tier { background: white; }
:root[data-theme="light"] .pricing-kicker { background: rgba(139,111,0,0.08); color: #8B6F00; border-color: rgba(139,111,0,0.3); }
:root[data-theme="light"] .pricing-title .hl { background: linear-gradient(90deg, #8B6F00, #0F7A1D); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .tier-cta.primary { background: #8B6F00; color: white; border-color: #8B6F00; }
:root[data-theme="light"] .pricing-tier.featured { border-color: rgba(139,111,0,0.4); box-shadow: 0 20px 60px rgba(139,111,0,0.08); }

/* ==========================================================================
   RANA (Producto 05) — Analyzer Conversacional · WhatsApp · Jelou
   ========================================================================== */
:root {
  --rana: #25D366; /* WhatsApp green */
  --rana-deep: #1ABC54;
}

/* Chapter marker color */
.product-chapter.t-rana { color: var(--rana); }

/* Row background: WhatsApp chat mockup on right half */
.product-row.rana-section .product-bg {
  background-image: url('brand/whatsapp-chat-bg.png');
  inset: 0 0 0 50%;
  opacity: 0.7;
  background-size: 420px auto;
  background-position: center center;
  background-repeat: repeat;
  background-color: #0B0E10;
}
.product-row.rana-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(8,10,12,1) 0%, rgba(8,10,12,1) 50%, rgba(8,10,12,0.35) 62%, rgba(8,10,12,0.15) 100%),
    radial-gradient(ellipse at 82% 50%, rgba(37,211,102,0.30), transparent 55%);
}

/* Product content colors */
.product-content.rana .product-kicker { color: var(--rana); }
.product-content.rana .product-title .hl { color: var(--rana); }
.product-content.rana .product-benefit .check { background: rgba(37,211,102,0.18); color: var(--rana); }
.product-content.rana .product-cta { background: var(--rana); color: white; box-shadow: 0 8px 20px rgba(37,211,102,0.3); }

.product-badge.t-rana { color: var(--rana); border-color: rgba(37,211,102,0.4); }

.product-row.rana-section .product-mascot-float::before {
  background: radial-gradient(circle, rgba(37,211,102,0.28) 0%, transparent 70%);
}

/* Light-mode rana */
:root[data-theme="light"] .product-row.rana-section .product-overlay {
  background:
    linear-gradient(90deg, rgba(250,251,252,1) 0%, rgba(250,251,252,1) 50%, rgba(250,251,252,0.35) 62%, rgba(250,251,252,0.15) 100%),
    radial-gradient(ellipse at 82% 50%, rgba(37,211,102,0.22), transparent 55%);
}

/* =====================================================================
   HERO CAROUSEL · 6 slides con navegación
   Overrides the default .hero-v6 grid so the carousel owns the layout.
   ===================================================================== */
.hero-v6.hero-carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 14px) 0 0;
  grid-template-columns: none;
  gap: 0;
  min-height: calc(100vh - 60px);
}
.hero-v6.hero-carousel > .hero-viewport { position: relative; z-index: 1; }
.hero-v6.hero-carousel > .hero-carousel-nav { position: relative; z-index: 3; }
/* Mascots stay absolute inside the section */
.hero-v6.hero-carousel > .hero-mascot { position: absolute; z-index: 0; }

.hero-carousel { position: relative; overflow: hidden; }
.hero-viewport { overflow: hidden; position: relative; width: 100%; }
.hero-track {
  display: flex;
  width: 600%;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 16.6667%;
  width: 16.6667%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 8px 72px 24px;
  min-height: 0;
}
.hero-slide > .hero-v6-left,
.hero-slide > .hero-v6-right { min-width: 0; }
@media (max-width: 1100px) {
  .hero-v6.hero-carousel { padding-top: calc(var(--header-h) + 32px); }
  .hero-slide { grid-template-columns: 1fr; gap: 40px; padding: 24px 40px 56px; min-height: auto; }
}
@media (max-width: 560px) {
  .hero-slide { padding: 20px 20px 48px; gap: 32px; }
}

/* Slide-agnostic colored highlights used in titles */
.hero-v6-title .hl-yellow { color: var(--analyzer-yellow, #FFDE1A); }
.hero-v6-title .hl-blue   { color: var(--empresas, #1CA0E6); }
.hero-v6-title .hl-purple { color: #B980FF; }
.hero-v6-title .hl-orange { color: #FF6B2C; }
/* "conversación de WhatsApp" → verde WhatsApp en la versión clara */
:root[data-theme="light"] .hero-v6-title .hl-wsp { color: #25D366; }

/* Colored hero badges per slide */
.hero-v6-badge.t-zorro  { background: rgba(255,222,26,0.18); color: #E6C500; border-color: rgba(255,222,26,0.4); }
.hero-v6-badge.t-toro   { background: rgba(28,160,230,0.18); color: #1CA0E6; border-color: rgba(28,160,230,0.4); }
.hero-v6-badge.t-buho   { background: rgba(147,51,234,0.18); color: #B980FF; border-color: rgba(147,51,234,0.4); }
.hero-v6-badge.t-castor { background: rgba(255,107,44,0.18); color: #FF6B2C; border-color: rgba(255,107,44,0.4); }

/* Colored hero CTAs per slide (variant buttons) */
.btn-yellow-hero, .btn-blue-hero, .btn-purple-hero, .btn-orange-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  text-decoration: none; color: #0F1218; border: 0;
  transition: transform .15s, box-shadow .2s;
}
.btn-yellow-hero { background: var(--analyzer-yellow, #FFDE1A); box-shadow: 0 12px 28px rgba(255,222,26,0.38); }
.btn-blue-hero   { background: var(--empresas, #1CA0E6); color: #fff; box-shadow: 0 12px 28px rgba(28,160,230,0.38); }
.btn-purple-hero { background: #9333EA; color: #fff; box-shadow: 0 12px 28px rgba(147,51,234,0.38); }
.btn-orange-hero { background: #FF6B2C; color: #fff; box-shadow: 0 12px 28px rgba(255,107,44,0.38); }
.btn-yellow-hero:hover, .btn-blue-hero:hover, .btn-purple-hero:hover, .btn-orange-hero:hover {
  transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

/* Shared visual container for slides 2-6 */
.hero-visual {
  position: relative;
  width: 100%; max-width: 540px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.hv-card {
  position: relative; z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, rgba(23,30,34,0.96), rgba(15,20,23,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: hvFloat 6s ease-in-out infinite;
}
@keyframes hvFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.hv-mascot {
  position: absolute;
  width: 140px; height: auto;
  bottom: -28px;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
  animation: hvFloat 5s ease-in-out infinite 0.5s;
}
.hv-mascot-fox    { right: -28px; bottom: -40px; width: 170px; }
.hv-mascot-lottie {
  position: absolute;
  right: -40px; bottom: -50px;
  width: 220px; height: 220px;
  z-index: 2;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.35));
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hv-mascot-lottie svg,
.hv-mascot-lottie canvas { width: 100% !important; height: 100% !important; }
.hv-mascot-lottie .hv-lottie-fallback {
  width: 100%; height: 100%; object-fit: contain;
  animation: hvFloat 5s ease-in-out infinite 0.5s;
}
/* When Lottie successfully mounts an SVG, hide the fallback image */
.hv-mascot-lottie.is-animated .hv-lottie-fallback { display: none; }
.hv-mascot-bull   { right: -24px; bottom: -20px; width: 170px; }
.hv-mascot-owl    { right: -32px; bottom: -30px; width: 160px; }
.hv-mascot-beaver { right: -28px; bottom: -24px; width: 160px; }

/* ===== Slide 2 · KYC visual ===== */
.hv-kyc-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FFE05E; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,222,26,0.12); border: 1px solid rgba(255,222,26,0.3);
  width: fit-content; margin-bottom: 14px;
}
.hv-kyc-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #FFE05E;
  box-shadow: 0 0 0 4px rgba(255,222,26,0.2);
  animation: cdDotPulse 1.2s ease-in-out infinite;
}
.hv-kyc-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hv-kyc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
  font-size: 13px; color: #F5F6F8; font-weight: 600;
}
.hv-kyc-row .pill {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.hv-kyc-row .pill.ok   { background: rgba(66,224,75,0.14); color: #7FE08B; }
.hv-kyc-row .pill.warn { background: rgba(245,158,11,0.14); color: #FBBF24; }
.hv-kyc-row .pill.scan { background: rgba(28,160,230,0.14); color: #7CC7ED; }
.hv-kyc-agent {
  display: flex; gap: 10px;
  padding: 12px; border-radius: 12px;
  background: rgba(255,222,26,0.08);
  border: 1px solid rgba(255,222,26,0.35);
}
.hv-kyc-agent-spark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #FFDE1A, #E6C500);
  color: #0F1218; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
}
.hv-kyc-agent-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #FFE05E; margin-bottom: 2px;
}
.hv-kyc-agent-quote { font-size: 12.5px; color: #E2E8F0; line-height: 1.4; }
.hv-kyc-agent-quote strong { color: #FFE05E; }

/* ===== Slide 3 · Empresas visual ===== */
.hv-emp-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.hv-emp-name { font-size: 16px; font-weight: 800; color: #F5F6F8; letter-spacing: -0.01em; }
.hv-emp-nit { font-size: 11px; color: #94A3B8; font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.hv-emp-pill {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(66,224,75,0.14); color: #7FE08B; border: 1px solid rgba(66,224,75,0.35);
}
.hv-emp-gauge {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.hv-gauge-svg { width: 220px; height: 120px; }
.hv-emp-score {
  position: absolute; top: 48%; left: 50%; transform: translate(-50%, -30%);
  text-align: center;
}
.hv-emp-score-num {
  font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 700;
  color: #F5F6F8; letter-spacing: -0.02em;
}
.hv-emp-score-num span { font-size: 14px; color: #94A3B8; font-weight: 500; }
.hv-emp-score-lbl { font-size: 10px; color: #94A3B8; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hv-emp-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
.hv-emp-row {
  display: grid; grid-template-columns: 100px 1fr 38px;
  align-items: center; gap: 10px;
  font-size: 12px; color: #CBD5E1;
}
.hv-emp-row .bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.hv-emp-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, #1CA0E6, #42E04B); border-radius: 3px; }
.hv-emp-row .val { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #7FE08B; text-align: right; font-size: 12px; }

/* ===== Slide 4 · Biometría visual ===== */
.hv-bio-phone { padding: 0; overflow: hidden; }
.hv-bio-scan {
  position: relative; aspect-ratio: 1 / 1.05;
  overflow: hidden; border-radius: 20px 20px 0 0;
}
.hv-bio-scan img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hv-bio-frame {
  position: absolute; inset: 14%;
  border: 2px solid rgba(185,128,255,0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 2000px rgba(0,0,0,0.35), 0 0 40px rgba(147,51,234,0.45);
}
.hv-bio-scanner {
  position: absolute; left: 14%; right: 14%; top: 14%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(185,128,255,1), transparent);
  box-shadow: 0 0 20px rgba(147,51,234,0.8);
  animation: hvBioScan 2.4s ease-in-out infinite;
}
@keyframes hvBioScan {
  0%,100% { top: 14%; opacity: 0.2; }
  50%     { top: 82%; opacity: 1; }
}
.hv-bio-corners span {
  position: absolute; width: 16px; height: 16px;
  border: 2px solid rgba(185,128,255,0.9);
}
.hv-bio-corners span:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.hv-bio-corners span:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.hv-bio-corners span:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.hv-bio-corners span:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.hv-bio-status { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.hv-bio-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #F5F6F8;
}
.hv-bio-row svg {
  color: #0F1218; background: #B980FF; border-radius: 50%;
  padding: 3px; flex-shrink: 0;
}
.hv-bio-row strong { color: #B980FF; font-family: 'JetBrains Mono', monospace; }

/* ===== Slide 5 · Firma visual ===== */
.hv-firma-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hv-firma-title { font-size: 15px; font-weight: 800; color: #F5F6F8; }
.hv-firma-sub { font-size: 11px; color: #94A3B8; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.hv-firma-pill {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  background: #FF6B2C; color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,44,0.4);
}
.hv-firma-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.hv-firma-lines span {
  height: 5px; background: rgba(255,255,255,0.07);
  border-radius: 2.5px;
}
.hv-firma-signature {
  padding: 12px; margin-bottom: 12px;
  background: rgba(255,107,44,0.06);
  border: 1px dashed rgba(255,107,44,0.4);
  border-radius: 10px;
}
.hv-firma-svg {
  width: 100%; height: 40px;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: hvFirmaSign 1.8s ease-out 0.5s forwards;
}
@keyframes hvFirmaSign { to { stroke-dashoffset: 0; } }
.hv-firma-meta { margin-top: 6px; font-size: 11px; color: #94A3B8; line-height: 1.5; }
.hv-firma-meta .mono { font-family: 'JetBrains Mono', monospace; color: #CBD5E1; }
.hv-firma-chain {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.hv-firma-chain-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(66,224,75,0.08); border: 1px solid rgba(66,224,75,0.25);
  font-size: 11.5px; color: #7FE08B; font-weight: 600;
}
.hv-firma-chain-item svg {
  color: #0F1218; background: #42E04B; border-radius: 50%;
  padding: 2px; flex-shrink: 0;
}

/* ===== Slide 6 · WhatsApp compact visual ===== */
.hv-wsp-compact {
  padding: 0; overflow: hidden;
  background: linear-gradient(180deg, #111B21, #0B141A);
}
.hv-wsp-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #25D366;
}
.hv-wsp-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.hv-wsp-name { color: #fff; font-weight: 700; font-size: 14px; }
.hv-wsp-status {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.85); font-size: 11px;
}
.hv-wsp-status span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7FFF7F;
  animation: cdDotPulse 1.2s ease-in-out infinite;
}
.hv-wsp-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18); color: #fff;
}
.hv-wsp-chat {
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,211,102,0.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37,211,102,0.03), transparent 50%),
    #0B141A;
  min-height: 340px;
}
.hv-wsp-bubble {
  font-size: 13px;
  padding: 9px 14px; border-radius: 14px;
  max-width: 82%; width: fit-content;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hv-wsp-bubble.out {
  align-self: flex-end; margin-left: auto;
  background: #005C4B; color: #E9EDEF;
  border-bottom-right-radius: 4px;
}
.hv-wsp-bubble.in {
  background: #202C33; color: #E9EDEF;
  border-bottom-left-radius: 4px;
}
.hv-wsp-bubble strong.t-buho   { color: #B980FF; }
.hv-wsp-bubble strong.t-zorro  { color: #FFE05E; }
.hv-wsp-bubble strong.t-toro   { color: #7CC7ED; }
.hv-wsp-bubble strong.t-castor { color: #FF9A6C; }
.hv-wsp-done {
  align-self: center; margin-top: 6px;
  font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(66,224,75,0.14); color: #42E04B;
  border: 1px solid rgba(66,224,75,0.35);
}
.hv-wsp-done strong { color: #7FE08B; }

/* =====================================================================
   Carousel navigation controls
   ===================================================================== */
.hero-carousel-nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  padding: 16px 24px 8px;
}
.hero-nav {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text, #F5F6F8);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.hero-nav:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
  transform: scale(1.05);
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(148,163,184,0.28);
  border: 0; cursor: pointer;
  transition: all .2s;
}
.hero-dot:hover { background: rgba(148,163,184,0.55); }
.hero-dot.active {
  width: 28px; border-radius: 999px;
  background: var(--analyzer-yellow, #FFDE1A);
  box-shadow: 0 0 0 4px rgba(255,222,26,0.15);
}

/* Light mode */
:root[data-theme="light"] .hv-card {
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
  border-color: rgba(8,10,12,0.08);
  box-shadow: 0 24px 60px rgba(15,30,50,0.1);
}
:root[data-theme="light"] .hv-kyc-row { background: #F8FAFC; border-color: rgba(8,10,12,0.08); color: #0F1218; }
:root[data-theme="light"] .hv-kyc-agent { background: rgba(255,222,26,0.12); border-color: rgba(255,222,26,0.5); }
:root[data-theme="light"] .hv-kyc-agent-quote { color: #334155; }
:root[data-theme="light"] .hv-kyc-agent-quote strong { color: #8B6F00; }
:root[data-theme="light"] .hv-emp-name { color: #0F1218; }
:root[data-theme="light"] .hv-emp-score-num { color: #0F1218; }
:root[data-theme="light"] .hv-emp-rows { border-top-color: rgba(8,10,12,0.08); }
:root[data-theme="light"] .hv-emp-row { color: #475569; }
:root[data-theme="light"] .hv-emp-row .bar { background: rgba(8,10,12,0.08); }
:root[data-theme="light"] .hv-firma-title { color: #0F1218; }
:root[data-theme="light"] .hv-firma-head { border-bottom-color: rgba(8,10,12,0.08); }
:root[data-theme="light"] .hv-firma-lines span { background: rgba(8,10,12,0.07); }
:root[data-theme="light"] .hv-firma-meta { color: #475569; }
:root[data-theme="light"] .hv-firma-meta .mono { color: #334155; }
:root[data-theme="light"] .hv-bio-row { color: #0F1218; }
:root[data-theme="light"] .hero-nav {
  background: #fff; border-color: rgba(8,10,12,0.1); color: #0F1218;
  box-shadow: 0 4px 12px rgba(15,30,50,0.06);
}
:root[data-theme="light"] .hero-nav:hover { background: #F8FAFC; }
:root[data-theme="light"] .hero-dot { background: rgba(8,10,12,0.2); }
:root[data-theme="light"] .hero-dot:hover { background: rgba(8,10,12,0.45); }
:root[data-theme="light"] .hero-dot.active { background: #E6C500; box-shadow: 0 0 0 4px rgba(230,197,0,0.15); }

/* Mobile: stack content vertically, smaller visual */
@media (max-width: 980px) {
  .hero-visual { max-width: 380px; }
  .hv-mascot { width: 110px !important; }
  .hero-carousel-nav { padding: 20px 16px 4px; gap: 14px; }
  .hero-nav { width: 36px; height: 36px; }
}
