/* =========================================================
   IMPORTS
========================================================= */
@import url('./variables.css');

/* =========================================================
   FUENTES
========================================================= */
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi/Satoshi-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi/Satoshi-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/satoshi/Satoshi-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }

/* =========================================================
   RESET
========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }

/* ═══════════════════════════════════════════════════════
   BODY — EL FONDO ES EL BODY, NO LAS SECCIONES
   GSAP anima este background-color en tiempo real.
   Ninguna sección tiene background propio — así la
   transición es completamente fluida sin líneas.
═══════════════════════════════════════════════════════ */
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #041015;
  color: white;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* =========================================================
   CONTAINER
========================================================= */
.container { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 80px; }

/* =========================================================
   ANIMACIÓN DE ENTRADA
========================================================= */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1),
              transform .75s cubic-bezier(.16,1,.3,1);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  position: fixed; top: 16px; left: 0; right: 0;
  width: 100%; z-index: 100;
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  /* Sin fondo propio — la píldora lo tiene */
}

/* La píldora — este es el navbar real */
.navbar-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  /* Estado inicial oscuro */
  background: rgba(4,16,21,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.24);
  transition: background .5s ease, border-color .5s ease, box-shadow .5s ease;
}

/* Estado oscuro */
.navbar.is-dark .navbar-container {
  background: rgba(4,16,21,0.75);
  border-color: rgba(255,255,255,0.08);
}

/* Estado claro — píldora blanca */
.navbar.is-light .navbar-container {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.navbar.is-light .nav a       { color: #16323b; }
.navbar.is-light .nav a:hover { color: #01c2d2; }
.navbar.is-light .logo-dark   { opacity: 0; }
.navbar.is-light .logo-light  { opacity: 1; }

/* =========================================================
   LOGO
========================================================= */
.logo { position: relative; width: 160px; height: 44px; }
.logo img { position: absolute; inset: 0; height: 44px; transition: opacity .45s ease; }
.logo-dark  { opacity: 1; }
.logo-light { opacity: 0; }

/* =========================================================
   NAV
========================================================= */
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { color: rgba(255,255,255,0.78); font-size: .88rem; font-weight: 500; transition: color .25s ease; }
.nav a:hover { color: white; }

/* =========================================================
   BOTONES
========================================================= */
.btn-primary { background: linear-gradient(135deg, #01c2d2, #1be0ef); color: white; padding: 11px 22px; border-radius: 999px; font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: .88rem; transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 0 40px rgba(1,194,210,0.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 80px rgba(1,194,210,0.28); }
.btn-secondary { padding: 18px 34px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); color: white; font-family: 'Satoshi', sans-serif; font-size: .95rem; transition: transform .3s ease, border-color .3s ease; }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(1,194,210,0.28); }

/* =========================================================
   HERO
   SIN background-color propio.
   La decoración visual (grid, glows, circuit) está en
   pseudo-elementos y divs absolutos que se ven sobre
   cualquier color de fondo — pero el fondo ES el body.
========================================================= */
.s-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
  /* Sin background — el body es el fondo */
}

/* Decoraciones internas — se ven sobre el oscuro del body */
.hero-bg-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid  { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px); background-size: 82px 82px; opacity: .20; }
.bg-noise { position: absolute; inset: 0; opacity: .012; mix-blend-mode: soft-light; background-image: url("https://grainy-gradients.vercel.app/noise.svg"); }
.bg-glow  { position: absolute; border-radius: 50%; filter: blur(160px); }
.glow-1   { width: 480px; height: 480px; top: -220px; left: -180px; background: rgba(1,194,210,0.055); }
.glow-2   { width: 680px; height: 680px; right: -220px; bottom: -260px; background: rgba(1,194,210,0.065); }

.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; width: 100%; }
.hero-content { max-width: 820px; }

.hero-badge { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); backdrop-filter: blur(16px); color: #1cf3ff; margin-bottom: 32px; font-size: .88rem; font-weight: 500; }
.badge-dot  { width: 9px; height: 9px; border-radius: 50%; background: #1cf3ff; box-shadow: 0 0 16px rgba(1,194,210,1); flex-shrink: 0; }

h1 { font-size: clamp(3.6rem, 4.8vw, 5.4rem); line-height: .95; letter-spacing: -4px; font-weight: 700; margin-bottom: 26px; max-width: 700px; }
.hero-content p { max-width: 540px; font-size: 1.02rem; line-height: 1.85; color: rgba(255,255,255,0.54); margin-bottom: 38px; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.hero-orb   { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(1,194,210,0.18) 0%, rgba(1,194,210,0.08) 28%, transparent 70%); mix-blend-mode: screen; filter: blur(50px); z-index: 0; }
.hero-light { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(1,194,210,0.08) 0%, rgba(1,194,210,0.03) 40%, transparent 70%); filter: blur(80px); z-index: 0; }
.hero-ring  { position: absolute; width: 580px; height: 580px; border-radius: 50%; border: 1px solid rgba(1,194,210,0.04); z-index: 1; }
.hero-ring::before { content: ''; position: absolute; inset: -60px; border-radius: 50%; border: 1px solid rgba(1,194,210,0.025); }
.tech-lines { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 660px; height: 660px; z-index: 2; pointer-events: none; opacity: .12; background: repeating-linear-gradient(90deg, transparent 0px, transparent 90px, rgba(1,194,210,0.05) 91px, transparent 92px), repeating-linear-gradient(0deg, transparent 0px, transparent 90px, rgba(1,194,210,0.045) 91px, transparent 92px); }
.circuit-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 580px; height: 580px; z-index: 3; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 35%, transparent 70%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 35%, transparent 70%); }
.betan-bot  { position: relative; z-index: 5; width: 100%; max-width: 440px; filter: drop-shadow(0 0 80px rgba(1,194,210,0.14)); animation: floatBot 7s ease-in-out infinite; }

.floating-metric { position: absolute; right: 14px; bottom: 80px; z-index: 20; background: linear-gradient(180deg, rgba(10,34,38,0.88), rgba(6,20,24,0.92)); border: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(20px); box-shadow: 0 16px 48px rgba(0,0,0,0.28); width: 148px; height: 148px; padding: 18px; border-radius: 22px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; }
.metric-number      { font-size: 38px; line-height: 1; letter-spacing: -2px; font-weight: 800; color: white; }
.metric-number span { color: #01c2d2; }
.metric-label       { font-size: 10.5px; line-height: 1.1; font-weight: 700; }
.metric-cyan        { color: #01c2d2; }

/* =========================================================
   REVEAL — sin background propio
========================================================= */
.s-reveal {
  padding: 130px 0 110px;
  /* Sin background — el body ya es blanco cuando llega aquí */
}
.s-reveal-inner { text-align: center; max-width: 960px; margin: 0 auto; }

.reveal-label { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; margin-bottom: 32px; border-radius: 999px; background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.07); color: #0f3a46; font-family: 'Satoshi', sans-serif; font-size: .86rem; font-weight: 600; }
.s-reveal h2 { font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: 1.04; letter-spacing: -3.5px; font-weight: 700; color: #07141a; margin-bottom: 28px; }
.s-reveal p  { max-width: 700px; margin: 0 auto; font-size: 1.12rem; line-height: 1.9; color: rgba(7,20,26,0.62); }

/* =========================================================
   ECOSYSTEM — sin background propio
========================================================= */
.s-eco { padding: 72px 0 72px; }

.s-eco-inner { position: relative; }
.s-eco-inner::before { content: ''; display: block; width: 60px; height: 1px; background: rgba(1,194,210,0.28); margin: 0 auto 36px; }

.s-eco-header { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.eco-pill { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; margin-bottom: 18px; border-radius: 999px; background: rgba(1,194,210,0.07); border: 1px solid rgba(1,194,210,0.16); color: #017880; font-family: 'Satoshi', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eco-headline { font-family: 'Satoshi', sans-serif; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.08; letter-spacing: -1.8px; font-weight: 700; color: #07141a; margin-bottom: 14px; }
.eco-desc { font-family: 'Satoshi', sans-serif; font-size: .94rem; line-height: 1.75; color: rgba(7,20,26,0.56); }

.s-eco-flow { display: flex; align-items: flex-start; justify-content: center; width: 100%; margin-bottom: 32px; }

.s-eco-node { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 112px; flex-shrink: 0; text-align: center; }
.s-eco-circle { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.09); background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: border-color .4s ease, box-shadow .4s ease; margin-bottom: 2px; }
.s-eco-circle:hover { border-color: rgba(1,194,210,0.5); box-shadow: 0 0 0 4px rgba(1,194,210,0.06), 0 4px 20px rgba(1,194,210,0.12); }
.s-eco-circle img { width: 28px; height: 28px; }
.s-eco-num   { font-family: 'Satoshi', sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .04em; color: #01c2d2; }
.s-eco-title { font-family: 'Satoshi', sans-serif; font-size: .74rem; font-weight: 700; color: #07141a; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; }
.s-eco-desc  { font-family: 'Satoshi', sans-serif; font-size: .65rem; line-height: 1.5; color: rgba(7,20,26,0.55); padding: 0 2px; }

.s-eco-connector { flex: 1; display: flex; align-items: center; margin-top: 32px; min-width: 12px; position: relative; }
.s-eco-line { width: 100%; height: 1px; background: linear-gradient(90deg, rgba(1,194,210,0.28), rgba(1,194,210,0.10)); }
.s-eco-dot  { position: absolute; right: -3px; width: 5px; height: 5px; border-radius: 50%; background: rgba(1,194,210,0.45); flex-shrink: 0; }

.s-eco-card { background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.07); border-radius: 18px; padding: 20px 28px; display: flex; align-items: center; gap: 22px; box-shadow: 0 2px 24px rgba(0,0,0,0.06); backdrop-filter: blur(8px); }
.eco-card-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(1,194,210,0.06); border: 1px solid rgba(1,194,210,0.12); display: flex; align-items: center; justify-content: center; }
.eco-card-icon svg { width: 22px; height: 22px; }
.eco-card-text { flex: 1; }
.eco-card-text h3 { font-family: 'Satoshi', sans-serif; font-size: .96rem; font-weight: 700; color: #07141a; letter-spacing: -.02em; margin-bottom: 4px; }
.eco-card-text p  { font-family: 'Satoshi', sans-serif; font-size: .80rem; line-height: 1.6; color: rgba(7,20,26,0.46); }
.eco-card-badges  { display: flex; gap: 8px; flex-shrink: 0; }
.eco-badge { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 999px; background: rgba(1,194,210,0.05); border: 1px solid rgba(1,194,210,0.11); font-family: 'Satoshi', sans-serif; font-size: .71rem; font-weight: 600; color: #016e7a; white-space: nowrap; }
.eco-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes floatBot {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* =========================================================
   RESPONSIVE — 1280px
========================================================= */
@media (max-width: 1280px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-content   { text-align: center; margin: 0 auto; }
  .hero-content p, .hero-badge { margin-inline: auto; }
  .hero-buttons   { justify-content: center; }
  .hero-visual    { min-height: 520px; margin-top: 24px; }
  .s-eco-node     { width: 90px; }
  .eco-card-badges { display: none; }
}

/* =========================================================
   MÓVIL ≤768px
========================================================= */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav        { display: none; }
  .navbar     { top: 10px; }
  .navbar-container { padding: 8px 8px 8px 16px; max-width: calc(100% - 24px); }
  .logo       { width: 130px; height: 36px; }
  .logo img   { height: 36px; }
  .navbar-btn { padding: 9px 14px; font-size: .78rem; }
  .btn-primary, .btn-secondary { padding: 13px 22px; font-size: .88rem; }

  /* Hero móvil */
  .s-hero { min-height: 100svh; padding: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .hero-container { display: flex; flex-direction: column; height: 100svh; }
  .hero-content { text-align: center; margin: 0 auto; padding: 80px 0 16px; flex-shrink: 0; position: relative; z-index: 2; }
  h1 { font-size: clamp(2.3rem, 9vw, 3rem); letter-spacing: -2.5px; line-height: 1.02; margin-bottom: 14px; }
  .hero-badge { font-size: .74rem; padding: 9px 16px; margin-bottom: 16px; margin-inline: auto; display: inline-flex; }
  .hero-content p { font-size: .9rem; line-height: 1.72; color: rgba(255,255,255,0.58); margin-bottom: 22px; margin-inline: auto; max-width: 340px; }
  .hero-buttons { justify-content: center; gap: 10px; }
  .hero-visual { flex: 1; min-height: 0; align-items: flex-end; margin-top: 0; }
  .betan-bot { max-width: 250px; }
  .hero-orb { width: 340px; height: 340px; }
  .hero-light { width: 380px; height: 380px; }
  .hero-ring { width: 300px; height: 300px; }
  .hero-ring::before { inset: -36px; }
  .circuit-bg { width: 300px; height: 300px; }
  .tech-lines { width: 340px; height: 340px; }
  .floating-metric { right: 12px; bottom: 16px; width: 112px; height: 112px; padding: 12px; border-radius: 18px; }
  .metric-number { font-size: 26px; letter-spacing: -1px; }
  .metric-label  { font-size: 9px; }

  /* Reveal móvil */
  .s-reveal { padding: 72px 0 64px; }
  .s-reveal-inner { text-align: center; }
  .reveal-label { font-size: .72rem; padding: 9px 16px; margin-bottom: 20px; }
  .s-reveal h2 { font-size: clamp(1.9rem, 7.5vw, 2.7rem); letter-spacing: -2px; margin-bottom: 18px; }
  .s-reveal p  { font-size: .92rem; line-height: 1.78; }

  /* Ecosystem móvil */
  .s-eco { padding: 52px 0 64px; }
  .s-eco-inner::before { margin-bottom: 36px; }
  .s-eco-header { margin-bottom: 28px; }
  .eco-headline { font-size: clamp(1.6rem, 6.5vw, 2.1rem); letter-spacing: -1.2px; }
  .eco-desc { font-size: .85rem; }
  .eco-desc br { display: none; }

  .s-eco-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; margin-bottom: 28px; }
  .s-eco-connector { display: none; }
  .s-eco-node { width: 100%; }
  .s-eco-node:last-child { grid-column: 1 / -1; max-width: 130px; margin: 0 auto; }
  .s-eco-circle { width: 62px; height: 62px; }
  .s-eco-circle img { width: 26px; height: 26px; }

  .s-eco-card { flex-direction: column; text-align: center; padding: 20px 16px; gap: 14px; border-radius: 16px; }
  .eco-card-icon  { margin: 0 auto; }
  .eco-card-text h3 { font-size: .9rem; }
  .eco-card-text p  { font-size: .78rem; }
  .eco-card-badges  { flex-wrap: wrap; justify-content: center; display: flex; gap: 6px; }
  .eco-badge        { font-size: .69rem; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .betan-bot { max-width: 210px; }
  .s-reveal h2 { font-size: clamp(1.75rem, 8.5vw, 2.3rem); }
  .eco-headline { font-size: clamp(1.45rem, 7vw, 1.85rem); }
}

/* =========================================================
   SECCIÓN AGENTS
========================================================= */
.s-agents {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.s-agents::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 78% 52%, rgba(1,194,210,0.03), transparent),
    radial-gradient(ellipse 35% 45% at 18% 88%, rgba(1,194,210,0.02), transparent);
  pointer-events: none;
}

/* Layout: 240px col-izq (30%) + resto bots (70%) */
.s-agents-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna izquierda sticky */
.s-agents-left { position: sticky; top: 76px; }

.s-agents-eyebrow {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #01c2d2; margin-bottom: 10px;
}
.s-agents-headline {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.85rem; line-height: 1.1; letter-spacing: -.8px;
  font-weight: 700; color: white; margin-bottom: 10px;
}
.accent-cyan { color: #01c2d2; }
.s-agents-desc {
  font-family: 'Satoshi', sans-serif;
  font-size: .80rem; line-height: 1.7;
  color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.s-agents-left hr {
  border: none; border-top: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px;
}
.s-agents-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 6px; margin-bottom: 20px;
}
.agent-stat { display: flex; align-items: flex-start; gap: 6px; }
.agent-stat svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.agent-stat div { display: flex; flex-direction: column; gap: 1px; }
.agent-stat strong { font-family: 'Satoshi', sans-serif; font-size: .72rem; font-weight: 700; color: white; }
.agent-stat span   { font-family: 'Satoshi', sans-serif; font-size: .63rem; color: rgba(255,255,255,0.30); line-height: 1.3; }

.btn-agents {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: white; font-family: 'Satoshi', sans-serif;
  font-size: .80rem; font-weight: 600;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.btn-agents:hover {
  background: rgba(1,194,210,0.08);
  border-color: rgba(1,194,210,0.25);
  transform: translateY(-2px);
}
.btn-agents svg { width: 12px; height: 12px; }

/* Banner pill */
.s-agents-banner {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 14px 16px;
  border-radius: 12px;
  background: rgba(1,194,210,0.05);
  border: 1px solid rgba(1,194,210,0.12);
  width: 100%;
}
.s-agents-banner svg {
  width: 18px; height: 18px; flex-shrink: 0; color: #01c2d2;
}
.s-agents-banner p {
  font-family: 'Satoshi', sans-serif;
  font-size: .75rem; font-weight: 500; line-height: 1.55;
  color: rgba(255,255,255,0.45); margin: 0;
}
.s-agents-banner a  { color: #01c2d2; font-weight: 600; }
.s-agents-banner a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   GRID DE AGENTES
   Posición absoluta exacta.
   Card height: 360px — bot (260px) + texto (~100px)
   Grid height: 760px — fila1 (top:0) + fila2 (top:380px)
   Los bots son protagonistas, el texto es soporte.
══════════════════════════════════════════════════════ */
.s-agents-grid {
  position: relative;
  height: 700px;
}

/* Cada card: tamaño fijo, bots arriba, texto abajo */
.agent-card {
  position: absolute;
  width: 33.33%;
  height: 340px;
  /* Elevación al hover: suave, premium, sin rebote */
  transition: transform 400ms ease-out;
}
.agent-card:hover { transform: translateY(-8px); }

/* Fila 1 */
.agent-card:nth-child(1) { left: 0%;     top: 0; }
.agent-card:nth-child(2) { left: 33.33%; top: 0; }
.agent-card:nth-child(3) { left: 66.66%; top: 0; }
/* Fila 2 — centradas, bajadas */
.agent-card:nth-child(4) { left: 16.66%; top: 350px; }
.agent-card:nth-child(5) { left: 50%;    top: 350px; }

/* ── Bot: absolute arriba, protagonista visual ── */
.agent-card-bot {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* +40% respecto al tamaño anterior */
  height: 260px;
  pointer-events: none;
}

/* Glow ambiental: sutil, premium, no gaming
   Color propio de cada agente via --glow.
   Tamaño amplio para ambiente, no para brillar. */
.agent-card-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--glow) 0%,
    var(--glow) 25%,
    transparent 68%
  );
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  /* blur alto = difuminado suave = premium */
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
  /* Transición del glow en hover */
  transition: opacity 400ms ease-out, filter 400ms ease-out;
}
/* En hover: glow ligeramente más intenso */
.agent-card:hover .agent-card-glow {
  filter: blur(28px);
  opacity: 1.15;
}

/* Bot imagen: el centro visual de cada card */
.agent-card-bot img {
  height: 260px; width: auto;
  object-fit: contain;
  position: relative; z-index: 1;
  /* Drop shadow sutil para separar del fondo */
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.30));
  transition: transform 400ms ease-out;
}
.agent-card:hover .agent-card-bot img {
  transform: translateY(-8px);
}

/* ── Texto: justo debajo del bot, no al fondo ── */
.agent-card-body {
  position: absolute;
  top: 220px; left: 8px; right: 8px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.agent-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(1,194,210,0.35);
  font-family: 'Satoshi', sans-serif;
  font-size: .62rem; font-weight: 700; color: #01c2d2;
  margin-bottom: 6px;
}
/* Nombre: jerarquía visual clara — primero el personaje, segundo el nombre */
.agent-card-name {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.08rem; font-weight: 700;
  color: white; line-height: 1.2; margin-bottom: 5px;
}
.agent-card-desc {
  font-family: 'Satoshi', sans-serif;
  font-size: .70rem; line-height: 1.55;
  /* Más tenue que antes — el texto apoya, no lidera */
  color: rgba(255,255,255,0.38); margin-bottom: 8px;
}
.agent-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Satoshi', sans-serif;
  font-size: .70rem; font-weight: 600;
  transition: gap 300ms ease-out;
}
.agent-link:hover { gap: 9px; }
.agent-link svg { width: 12px; height: 12px; }

/* =========================================================
   SECCIÓN CTA
========================================================= */
.s-cta {
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Glow de fondo */
.s-cta::before {
  content: '';
  position: absolute;
  bottom: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,194,210,0.07), transparent 70%);
  pointer-events: none;
}

.s-cta-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Bot */
.s-cta-bot {
  flex-shrink: 0;
  width: 180px;
}
.s-cta-bot img {
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(1,194,210,0.14));
  animation: floatBot 7s ease-in-out infinite;
}

/* Contenido */
.s-cta-content { flex: 1; }

.s-cta-headline {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12; letter-spacing: -1.5px;
  font-weight: 700; color: white;
  margin-bottom: 12px;
}

.s-cta-desc {
  font-family: 'Satoshi', sans-serif;
  font-size: .95rem; line-height: 1.7;
  color: rgba(255,255,255,0.48);
  margin-bottom: 28px;
}

.s-cta-actions {
  display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}

.s-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
}
.s-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25d366; font-family: 'Satoshi', sans-serif;
  font-size: .95rem; font-weight: 600;
  transition: background .3s ease, transform .3s ease;
}
.btn-whatsapp:hover {
  background: rgba(37,211,102,0.14);
  transform: translateY(-2px);
}
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

.s-cta-checks {
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.s-cta-checks span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Satoshi', sans-serif;
  font-size: .80rem; font-weight: 500;
  color: rgba(255,255,255,0.46);
}
.s-cta-checks svg { width: 15px; height: 15px; flex-shrink: 0; }

/* =========================================================
   AGENTS RESPONSIVE — 1280px
========================================================= */
@media (max-width: 1280px) {
  .s-agents-wrap { grid-template-columns: 220px 1fr; gap: 36px; }
  .s-agents-grid { height: 700px; }
  .agent-card { height: 310px; }
  .agent-card:nth-child(4),
  .agent-card:nth-child(5) { top: 320px; }
  .agent-card-bot { height: 235px; }
  .agent-card-bot img { height: 235px; }
  .agent-card-body { top: 200px; }
  .agent-card-glow { width: 180px; height: 180px; }
}

/* =========================================================
   AGENTS + CTA RESPONSIVE — 768px
========================================================= */
@media (max-width: 768px) {

  .s-agents { padding: 52px 0 20px; }
  .s-agents-wrap { grid-template-columns: 1fr; gap: 28px; }
  .s-agents-left { position: static; text-align: center; }
  .s-agents-headline { font-size: 1.75rem; }
  .s-agents-stats { justify-items: center; }
  .s-agents-banner { max-width: 100%; }

  /* Mobile: grid 2 columnas, no absoluto */
  .s-agents-grid {
    position: relative; height: auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
  .agent-card {
    position: relative; width: 100%; height: 260px;
    left: auto !important; top: auto !important;
  }
  .agent-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 200px; margin: 0 auto;
  }
  .agent-card-bot { top: 0; height: 168px; }
  .agent-card-bot img { height: 165px; }
  .agent-card-glow { width: 140px; height: 140px; filter: blur(22px); }
  .agent-card-body { left: 2px; right: 2px; }
  .agent-card-name { font-size: .9rem; }
  .agent-card-desc { font-size: .66rem; display: none; }

  /* CTA */
  .s-cta { padding: 60px 0 68px; }
  .s-cta-inner { flex-direction: column; gap: 22px; text-align: center; }
  .s-cta-bot { width: 115px; }
  .s-cta-headline { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .s-cta-actions { justify-content: center; flex-direction: column; align-items: stretch; }
  .btn-primary.s-cta-btn, .btn-whatsapp { justify-content: center; }
  .s-cta-checks { justify-content: center; gap: 12px; }
}

@media (max-width: 480px) {
  .agent-card { height: 230px; }
  .agent-card-bot { height: 145px; }
  .agent-card-bot img { height: 142px; }
  .agent-card-name { font-size: .82rem; }
}

/* =========================================================
   SECCIÓN CTA
========================================================= */
.s-cta {
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Glow de fondo */
.s-cta::before {
  content: '';
  position: absolute;
  bottom: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,194,210,0.07), transparent 70%);
  pointer-events: none;
}

.s-cta-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Bot */
.s-cta-bot {
  flex-shrink: 0;
  width: 180px;
}
.s-cta-bot img {
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(1,194,210,0.14));
  animation: floatBot 7s ease-in-out infinite;
}

/* Contenido */
.s-cta-content { flex: 1; }

.s-cta-headline {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12; letter-spacing: -1.5px;
  font-weight: 700; color: white;
  margin-bottom: 12px;
}

.s-cta-desc {
  font-family: 'Satoshi', sans-serif;
  font-size: .95rem; line-height: 1.7;
  color: rgba(255,255,255,0.48);
  margin-bottom: 28px;
}

.s-cta-actions {
  display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}

.s-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
}
.s-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25d366; font-family: 'Satoshi', sans-serif;
  font-size: .95rem; font-weight: 600;
  transition: background .3s ease, transform .3s ease;
}
.btn-whatsapp:hover {
  background: rgba(37,211,102,0.14);
  transform: translateY(-2px);
}
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

.s-cta-checks {
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.s-cta-checks span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Satoshi', sans-serif;
  font-size: .80rem; font-weight: 500;
  color: rgba(255,255,255,0.46);
}
.s-cta-checks svg { width: 15px; height: 15px; flex-shrink: 0; }

/* =========================================================
   AGENTS RESPONSIVE — 1280px
========================================================= */
@media (max-width: 1280px) {
  .s-agents-wrap { grid-template-columns: 260px 1fr; gap: 36px; }
  .s-agents-grid { height: 580px; }
  .agent-card-bot img { height: 178px; }
  .agent-card-bot { height: 178px; }
  .agent-card-glow { width: 150px; height: 150px; }
}

/* =========================================================
   AGENTS + CTA RESPONSIVE — 768px
========================================================= */
@media (max-width: 768px) {

  /* Agents */
  .s-agents { padding: 52px 0 0; }
  .s-agents-wrap { grid-template-columns: 1fr; gap: 28px; }
  .s-agents-left { position: static; text-align: center; }
  .s-agents-headline { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Mobile: grid simple 2 columnas */
  .s-agents-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .agent-card:nth-child(1) { grid-column: 1 / 3; }
  .agent-card:nth-child(2) { grid-column: 3 / 5; }
  .agent-card:nth-child(3) { grid-column: 1 / 3; }
  .agent-card:nth-child(4) { grid-column: 3 / 5; }
  .agent-card:nth-child(5) { grid-column: 2 / 4; }

  .agent-card { padding-top: 80px; }
  .agent-card-bot { top: -58px; height: 142px; }
  .agent-card-bot img { height: 132px; }
  .agent-card-name { font-size: .86rem; }
  .agent-card-desc { font-size: .68rem; }

  /* CTA */
  .s-cta { padding: 60px 0 68px; }
  .s-cta-inner { flex-direction: column; gap: 22px; text-align: center; }
  .s-cta-bot { width: 115px; }
  .s-cta-headline { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .s-cta-actions { justify-content: center; flex-direction: column; align-items: stretch; }
  .btn-primary.s-cta-btn, .btn-whatsapp { justify-content: center; }
  .s-cta-checks { justify-content: center; gap: 12px; }
}

@media (max-width: 480px) {
  .agent-card-bot img { height: 130px; }
  .agent-card-bot { height: 140px; }
  .agent-card-name { font-size: .88rem; }
}